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
1030 enable_explorerframe
1031 enable_ext_ms_win_gdi_devcaps_l1_1_0
1176 enable_photometadatahandler
1256 enable_windowscodecs
1257 enable_windowscodecsext
1259 enable_winecoreaudio_drv
1261 enable_winegstreamer
1262 enable_winejoystick_drv
1268 enable_wineqtdecoder
1305 enable_documentation
1313 enable_aspnet_regiis
1346 enable_presentationfontcache
1359 enable_servicemodelreg
1379 enable_winemenubuilder
1381 enable_winemsibuilder
1395 ac_precious_vars
='build_alias
1444 # Initialize some variables set by options.
1446 ac_init_version
=false
1447 ac_unrecognized_opts
=
1448 ac_unrecognized_sep
=
1449 # The variables have the same names as the options, with
1450 # dashes changed to underlines.
1451 cache_file
=/dev
/null
1458 program_transform_name
=s
,x
,x
,
1466 # Installation directory options.
1467 # These are left unexpanded so users can "make install exec_prefix=/foo"
1468 # and all the variables that are supposed to be based on exec_prefix
1469 # by default will actually change.
1470 # Use braces instead of parens because sh, perl, etc. also accept them.
1471 # (The list follows the same order as the GNU Coding Standards.)
1472 bindir
='${exec_prefix}/bin'
1473 sbindir
='${exec_prefix}/sbin'
1474 libexecdir
='${exec_prefix}/libexec'
1475 datarootdir
='${prefix}/share'
1476 datadir
='${datarootdir}'
1477 sysconfdir
='${prefix}/etc'
1478 sharedstatedir
='${prefix}/com'
1479 localstatedir
='${prefix}/var'
1480 includedir
='${prefix}/include'
1481 oldincludedir
='/usr/include'
1482 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1483 infodir
='${datarootdir}/info'
1488 libdir
='${exec_prefix}/lib'
1489 localedir
='${datarootdir}/locale'
1490 mandir
='${datarootdir}/man'
1496 # If the previous option needs an argument, assign it.
1497 if test -n "$ac_prev"; then
1498 eval $ac_prev=\
$ac_option
1504 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1509 # Accept the important Cygnus configure options, so we can diagnose typos.
1511 case $ac_dashdash$ac_option in
1515 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1517 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1518 bindir
=$ac_optarg ;;
1520 -build |
--build |
--buil |
--bui |
--bu)
1521 ac_prev
=build_alias
;;
1522 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1523 build_alias
=$ac_optarg ;;
1525 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1526 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1527 ac_prev
=cache_file
;;
1528 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1529 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1530 cache_file
=$ac_optarg ;;
1532 --config-cache |
-C)
1533 cache_file
=config.cache
;;
1535 -datadir |
--datadir |
--datadi |
--datad)
1537 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1538 datadir
=$ac_optarg ;;
1540 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1541 |
--dataroo |
--dataro |
--datar)
1542 ac_prev
=datarootdir
;;
1543 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1544 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1545 datarootdir
=$ac_optarg ;;
1547 -disable-* |
--disable-*)
1548 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1549 # Reject names that are not valid shell variable names.
1550 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1551 as_fn_error $?
"invalid feature name: $ac_useropt"
1552 ac_useropt_orig
=$ac_useropt
1553 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1554 case $ac_user_opts in
1556 "enable_
$ac_useropt"
1558 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1559 ac_unrecognized_sep
=', ';;
1561 eval enable_
$ac_useropt=no
;;
1563 -docdir |
--docdir |
--docdi |
--doc |
--do)
1565 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1566 docdir
=$ac_optarg ;;
1568 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1570 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1571 dvidir
=$ac_optarg ;;
1573 -enable-* |
--enable-*)
1574 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1575 # Reject names that are not valid shell variable names.
1576 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1577 as_fn_error $?
"invalid feature name: $ac_useropt"
1578 ac_useropt_orig
=$ac_useropt
1579 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1580 case $ac_user_opts in
1582 "enable_
$ac_useropt"
1584 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1585 ac_unrecognized_sep
=', ';;
1587 eval enable_
$ac_useropt=\
$ac_optarg ;;
1589 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1590 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1591 |
--exec |
--exe |
--ex)
1592 ac_prev
=exec_prefix
;;
1593 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1594 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1595 |
--exec=* |
--exe=* |
--ex=*)
1596 exec_prefix
=$ac_optarg ;;
1598 -gas |
--gas |
--ga |
--g)
1599 # Obsolete; use --with-gas.
1602 -help |
--help |
--hel |
--he |
-h)
1603 ac_init_help
=long
;;
1604 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1605 ac_init_help
=recursive
;;
1606 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1607 ac_init_help
=short
;;
1609 -host |
--host |
--hos |
--ho)
1610 ac_prev
=host_alias
;;
1611 -host=* |
--host=* |
--hos=* |
--ho=*)
1612 host_alias
=$ac_optarg ;;
1614 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1616 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1618 htmldir
=$ac_optarg ;;
1620 -includedir |
--includedir |
--includedi |
--included |
--include \
1621 |
--includ |
--inclu |
--incl |
--inc)
1622 ac_prev
=includedir
;;
1623 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1624 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1625 includedir
=$ac_optarg ;;
1627 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1629 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1630 infodir
=$ac_optarg ;;
1632 -libdir |
--libdir |
--libdi |
--libd)
1634 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1635 libdir
=$ac_optarg ;;
1637 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1638 |
--libexe |
--libex |
--libe)
1639 ac_prev
=libexecdir
;;
1640 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1641 |
--libexe=* |
--libex=* |
--libe=*)
1642 libexecdir
=$ac_optarg ;;
1644 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1645 ac_prev
=localedir
;;
1646 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1647 localedir
=$ac_optarg ;;
1649 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1650 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1651 ac_prev
=localstatedir
;;
1652 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1653 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1654 localstatedir
=$ac_optarg ;;
1656 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1658 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1659 mandir
=$ac_optarg ;;
1661 -nfp |
--nfp |
--nf)
1662 # Obsolete; use --without-fp.
1665 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1666 |
--no-cr |
--no-c |
-n)
1669 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1670 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1673 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1674 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1675 |
--oldin |
--oldi |
--old |
--ol |
--o)
1676 ac_prev
=oldincludedir
;;
1677 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1678 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1679 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1680 oldincludedir
=$ac_optarg ;;
1682 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1684 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1685 prefix
=$ac_optarg ;;
1687 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1688 |
--program-pre |
--program-pr |
--program-p)
1689 ac_prev
=program_prefix
;;
1690 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1691 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1692 program_prefix
=$ac_optarg ;;
1694 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1695 |
--program-suf |
--program-su |
--program-s)
1696 ac_prev
=program_suffix
;;
1697 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1698 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1699 program_suffix
=$ac_optarg ;;
1701 -program-transform-name |
--program-transform-name \
1702 |
--program-transform-nam |
--program-transform-na \
1703 |
--program-transform-n |
--program-transform- \
1704 |
--program-transform |
--program-transfor \
1705 |
--program-transfo |
--program-transf \
1706 |
--program-trans |
--program-tran \
1707 |
--progr-tra |
--program-tr |
--program-t)
1708 ac_prev
=program_transform_name
;;
1709 -program-transform-name=* |
--program-transform-name=* \
1710 |
--program-transform-nam=* |
--program-transform-na=* \
1711 |
--program-transform-n=* |
--program-transform-=* \
1712 |
--program-transform=* |
--program-transfor=* \
1713 |
--program-transfo=* |
--program-transf=* \
1714 |
--program-trans=* |
--program-tran=* \
1715 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1716 program_transform_name
=$ac_optarg ;;
1718 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1720 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1721 pdfdir
=$ac_optarg ;;
1723 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1725 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1728 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1729 |
-silent |
--silent |
--silen |
--sile |
--sil)
1732 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1734 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1736 sbindir
=$ac_optarg ;;
1738 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1739 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1740 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1742 ac_prev
=sharedstatedir
;;
1743 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1744 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1745 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1747 sharedstatedir
=$ac_optarg ;;
1749 -site |
--site |
--sit)
1751 -site=* |
--site=* |
--sit=*)
1754 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1756 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1757 srcdir
=$ac_optarg ;;
1759 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1760 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1761 ac_prev
=sysconfdir
;;
1762 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1763 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1764 sysconfdir
=$ac_optarg ;;
1766 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1767 ac_prev
=target_alias
;;
1768 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1769 target_alias
=$ac_optarg ;;
1771 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1774 -version |
--version |
--versio |
--versi |
--vers |
-V)
1775 ac_init_version
=: ;;
1778 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1779 # Reject names that are not valid shell variable names.
1780 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1781 as_fn_error $?
"invalid package name: $ac_useropt"
1782 ac_useropt_orig
=$ac_useropt
1783 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1784 case $ac_user_opts in
1788 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1789 ac_unrecognized_sep
=', ';;
1791 eval with_
$ac_useropt=\
$ac_optarg ;;
1793 -without-* |
--without-*)
1794 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1795 # Reject names that are not valid shell variable names.
1796 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1797 as_fn_error $?
"invalid package name: $ac_useropt"
1798 ac_useropt_orig
=$ac_useropt
1799 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1800 case $ac_user_opts in
1804 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1805 ac_unrecognized_sep
=', ';;
1807 eval with_
$ac_useropt=no
;;
1810 # Obsolete; use --with-x.
1813 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1814 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1815 ac_prev
=x_includes
;;
1816 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1817 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1818 x_includes
=$ac_optarg ;;
1820 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1821 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1822 ac_prev
=x_libraries
;;
1823 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1824 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1825 x_libraries
=$ac_optarg ;;
1827 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1828 Try \`$0 --help' for more information"
1832 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1833 # Reject names that are not valid shell variable names.
1834 case $ac_envvar in #(
1835 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1836 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1838 eval $ac_envvar=\
$ac_optarg
1839 export $ac_envvar ;;
1842 # FIXME: should be removed in autoconf 3.0.
1843 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1844 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1845 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1846 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1852 if test -n "$ac_prev"; then
1853 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1854 as_fn_error $?
"missing argument to $ac_option"
1857 if test -n "$ac_unrecognized_opts"; then
1858 case $enable_option_checking in
1860 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1861 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1865 # Check all directory arguments for consistency.
1866 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1867 datadir sysconfdir sharedstatedir localstatedir includedir \
1868 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1869 libdir localedir mandir
1871 eval ac_val
=\$
$ac_var
1872 # Remove trailing slashes.
1875 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1876 eval $ac_var=\
$ac_val;;
1878 # Be sure to have absolute directory names.
1880 [\\/$
]* | ?
:[\\/]* ) continue;;
1881 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1883 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1886 # There might be people who depend on the old broken behavior: `$host'
1887 # used to hold the argument of --host etc.
1888 # FIXME: To remove some day.
1891 target
=$target_alias
1893 # FIXME: To remove some day.
1894 if test "x$host_alias" != x
; then
1895 if test "x$build_alias" = x
; then
1896 cross_compiling
=maybe
1897 elif test "x$build_alias" != "x$host_alias"; then
1903 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1905 test "$silent" = yes && exec 6>/dev
/null
1908 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1909 ac_ls_di
=`ls -di .` &&
1910 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1911 as_fn_error $?
"working directory cannot be determined"
1912 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1913 as_fn_error $?
"pwd does not report name of working directory"
1916 # Find the source files, if location was not specified.
1917 if test -z "$srcdir"; then
1918 ac_srcdir_defaulted
=yes
1919 # Try the directory containing this script, then the parent directory.
1920 ac_confdir
=`$as_dirname -- "$as_myself" ||
1921 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1922 X"$as_myself" : 'X\(//\)[^/]' \| \
1923 X"$as_myself" : 'X\(//\)$' \| \
1924 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1925 $as_echo X"$as_myself" |
1926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1944 if test ! -r "$srcdir/$ac_unique_file"; then
1948 ac_srcdir_defaulted
=no
1950 if test ! -r "$srcdir/$ac_unique_file"; then
1951 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1952 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1954 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1956 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1958 # When building in place, set srcdir=.
1959 if test "$ac_abs_confdir" = "$ac_pwd"; then
1962 # Remove unnecessary trailing slashes from srcdir.
1963 # Double slashes in file names in object file debugging info
1964 # mess up M-x gdb in Emacs.
1966 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1968 for ac_var
in $ac_precious_vars; do
1969 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1970 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1971 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1972 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1976 # Report the --help message.
1978 if test "$ac_init_help" = "long"; then
1979 # Omit some internal or obsolete options to make the list less imposing.
1980 # This message is too long to be a string in the A/UX 3.1 sh.
1982 \`configure' configures Wine 1.7.25 to adapt to many kinds of systems.
1984 Usage: $0 [OPTION]... [VAR=VALUE]...
1986 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1987 VAR=VALUE. See below for descriptions of some of the useful variables.
1989 Defaults for the options are specified in brackets.
1992 -h, --help display this help and exit
1993 --help=short display options specific to this package
1994 --help=recursive display the short help of all the included packages
1995 -V, --version display version information and exit
1996 -q, --quiet, --silent do not print \`checking ...' messages
1997 --cache-file=FILE cache test results in FILE [disabled]
1998 -C, --config-cache alias for \`--cache-file=config.cache'
1999 -n, --no-create do not create output files
2000 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2002 Installation directories:
2003 --prefix=PREFIX install architecture-independent files in PREFIX
2004 [$ac_default_prefix]
2005 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2008 By default, \`make install' will install all the files in
2009 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2010 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2011 for instance \`--prefix=\$HOME'.
2013 For better control, use the options below.
2015 Fine tuning of the installation directories:
2016 --bindir=DIR user executables [EPREFIX/bin]
2017 --sbindir=DIR system admin executables [EPREFIX/sbin]
2018 --libexecdir=DIR program executables [EPREFIX/libexec]
2019 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2020 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2021 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2022 --libdir=DIR object code libraries [EPREFIX/lib]
2023 --includedir=DIR C header files [PREFIX/include]
2024 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2025 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2026 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2027 --infodir=DIR info documentation [DATAROOTDIR/info]
2028 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2029 --mandir=DIR man documentation [DATAROOTDIR/man]
2030 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2031 --htmldir=DIR html documentation [DOCDIR]
2032 --dvidir=DIR dvi documentation [DOCDIR]
2033 --pdfdir=DIR pdf documentation [DOCDIR]
2034 --psdir=DIR ps documentation [DOCDIR]
2040 --x-includes=DIR X include files are
in DIR
2041 --x-libraries=DIR X library files are
in DIR
2044 --build=BUILD configure
for building on BUILD
[guessed
]
2045 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2049 if test -n "$ac_init_help"; then
2050 case $ac_init_help in
2051 short | recursive
) echo "Configuration of Wine 1.7.25:";;
2056 --disable-option-checking ignore unrecognized
--enable/--with options
2057 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2058 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2059 --disable-win16 do not include Win16 support
2060 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2062 --disable-tests do not build the regression tests
2063 --enable-maintainer-mode
2064 enable maintainer-specific build rules
2065 --disable-largefile omit support for large files
2068 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2069 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2070 --without-alsa do not use the Alsa sound support
2071 --without-capi do not use CAPI (ISDN support)
2072 --without-cms do not use CMS (color management support)
2073 --without-coreaudio do not use the CoreAudio sound support
2074 --without-cups do not use CUPS
2075 --without-curses do not use (n)curses
2076 --without-dbus do not use DBus (dynamic device support)
2077 --without-fontconfig do not use fontconfig
2078 --without-freetype do not use the FreeType library
2079 --without-gettext do not use gettext
2080 --with-gettextpo use the GetTextPO library to rebuild po files
2081 --without-gphoto do not use gphoto (Digital Camera support)
2082 --without-glu do not use the GLU library
2083 --without-gnutls do not use GnuTLS (schannel support)
2084 --without-gsm do not use libgsm (GSM 06.10 codec support)
2085 --without-gstreamer do not use GStreamer (codecs support)
2086 --without-hal do not use HAL (dynamic device support)
2087 --without-jpeg do not use JPEG
2088 --without-ldap do not use LDAP
2089 --without-mpg123 do not use the mpg123 library
2090 --without-netapi do not use the Samba NetAPI library
2091 --without-openal do not use OpenAL
2092 --without-opencl do not use OpenCL
2093 --without-opengl do not use OpenGL
2094 --without-osmesa do not use the OSMesa library
2095 --without-oss do not use the OSS sound support
2096 --without-pcap do not use the Packet Capture library
2097 --without-png do not use PNG
2098 --without-pthread do not use the pthread library
2099 --without-sane do not use SANE (scanner support)
2100 --without-tiff do not use TIFF
2101 --without-v4l do not use v4l1 (v4l support)
2102 --without-xcomposite do not use the Xcomposite extension
2103 --without-xcursor do not use the Xcursor extension
2104 --without-xinerama do not use Xinerama (multi-monitor support)
2105 --without-xinput do not use the Xinput extension
2106 --without-xinput2 do not use the Xinput 2 extension
2107 --without-xml do not use XML
2108 --without-xrandr do not use Xrandr (resolution changes)
2109 --without-xrender do not use the Xrender extension
2110 --without-xshape do not use the Xshape extension
2111 --without-xshm do not use XShm (shared memory extension)
2112 --without-xslt do not use XSLT
2113 --without-xxf86vm do not use XFree video mode extension
2114 --without-zlib do not use Zlib (data compression)
2115 --with-wine-tools=DIR use Wine tools from directory DIR
2116 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2117 --with-x use the X Window System
2119 Some influential environment variables:
2120 CC C compiler command
2121 CFLAGS C compiler flags
2122 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2123 nonstandard directory <lib dir>
2124 LIBS libraries to pass to the linker, e.g. -l<library>
2125 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2126 you have headers in a nonstandard directory <include dir>
2127 CXX C++ compiler command
2128 CXXFLAGS C++ compiler flags
2130 XMKMF Path to xmkmf, Makefile generator for X Window System
2131 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2132 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2133 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2134 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2135 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2136 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2137 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2138 HAL_LIBS Linker flags for hal, overriding pkg-config
2140 C compiler flags for gnutls, overriding pkg-config
2141 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2142 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2143 SANE_LIBS Linker flags for libsane, overriding pkg-config
2145 C compiler flags for libgphoto2, overriding pkg-config
2147 Linker flags for libgphoto2, overriding pkg-config
2149 C compiler flags for libgphoto2_port, overriding pkg-config
2151 Linker flags for libgphoto2_port, overriding pkg-config
2153 C compiler flags for lcms2, overriding pkg-config
2154 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2156 C compiler flags for freetype2, overriding pkg-config
2158 Linker flags for freetype2, overriding pkg-config
2160 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2162 Linker flags for gstreamer-app-0.10, overriding pkg-config
2164 C compiler flags for capi20, overriding pkg-config
2165 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2167 C compiler flags for fontconfig, overriding pkg-config
2169 Linker flags for fontconfig, overriding pkg-config
2170 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2171 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2172 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2173 PNG_LIBS Linker flags for libpng, overriding pkg-config
2174 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2175 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2177 C compiler flags for libmpg123, overriding pkg-config
2178 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2180 Use these variables to override the choices made by `configure' or to
help
2181 it to
find libraries and programs with nonstandard names
/locations.
2183 Report bugs to
<wine-devel@winehq.org
>.
2184 Wine home page
: <http
://www.winehq.org
>.
2189 if test "$ac_init_help" = "recursive"; then
2190 # If there are subdirs, report their specific --help.
2191 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2192 test -d "$ac_dir" ||
2193 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2198 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2200 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2201 # A ".." for each directory in $ac_dir_suffix.
2202 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2203 case $ac_top_builddir_sub in
2204 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2205 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2208 ac_abs_top_builddir
=$ac_pwd
2209 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2210 # for backward compatibility:
2211 ac_top_builddir
=$ac_top_build_prefix
2214 .
) # We are building in place.
2216 ac_top_srcdir
=$ac_top_builddir_sub
2217 ac_abs_top_srcdir
=$ac_pwd ;;
2218 [\\/]* | ?
:[\\/]* ) # Absolute name.
2219 ac_srcdir
=$srcdir$ac_dir_suffix;
2220 ac_top_srcdir
=$srcdir
2221 ac_abs_top_srcdir
=$srcdir ;;
2223 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2224 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2225 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2227 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2229 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2230 # Check for guested configure.
2231 if test -f "$ac_srcdir/configure.gnu"; then
2233 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2234 elif test -f "$ac_srcdir/configure"; then
2236 $SHELL "$ac_srcdir/configure" --help=recursive
2238 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2240 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2244 test -n "$ac_init_help" && exit $ac_status
2245 if $ac_init_version; then
2247 Wine configure
1.7.25
2248 generated by GNU Autoconf
2.69
2250 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2251 This configure
script is free software
; the Free Software Foundation
2252 gives unlimited permission to copy
, distribute and modify it.
2257 ## ------------------------ ##
2258 ## Autoconf initialization. ##
2259 ## ------------------------ ##
2261 # ac_fn_c_try_compile LINENO
2262 # --------------------------
2263 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2264 ac_fn_c_try_compile
()
2266 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2267 rm -f conftest.
$ac_objext
2268 if { { ac_try
="$ac_compile"
2270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2271 *) ac_try_echo=$ac_try;;
2273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2274 $as_echo "$ac_try_echo"; } >&5
2275 (eval "$ac_compile") 2>conftest.err
2277 if test -s conftest.err; then
2278 grep -v '^ *+' conftest.err >conftest.er1
2279 cat conftest.er1 >&5
2280 mv -f conftest.er1 conftest.err
2282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2283 test $ac_status = 0; } && {
2284 test -z "$ac_c_werror_flag" ||
2285 test ! -s conftest.err
2286 } && test -s conftest.$ac_objext; then :
2289 $as_echo "$as_me: failed program was:" >&5
2290 sed 's/^/| /' conftest.$ac_ext >&5
2294 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2295 as_fn_set_status $ac_retval
2297 } # ac_fn_c_try_compile
2299 # ac_fn_cxx_try_compile LINENO
2300 # ----------------------------
2301 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2302 ac_fn_cxx_try_compile ()
2304 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2305 rm -f conftest.$ac_objext
2306 if { { ac_try="$ac_compile"
2308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2309 *) ac_try_echo
=$ac_try;;
2311 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2312 $as_echo "$ac_try_echo"; } >&5
2313 (eval "$ac_compile") 2>conftest.err
2315 if test -s conftest.err
; then
2316 grep -v '^ *+' conftest.err
>conftest.er1
2317 cat conftest.er1
>&5
2318 mv -f conftest.er1 conftest.err
2320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2321 test $ac_status = 0; } && {
2322 test -z "$ac_cxx_werror_flag" ||
2323 test ! -s conftest.err
2324 } && test -s conftest.
$ac_objext; then :
2327 $as_echo "$as_me: failed program was:" >&5
2328 sed 's/^/| /' conftest.
$ac_ext >&5
2332 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2333 as_fn_set_status
$ac_retval
2335 } # ac_fn_cxx_try_compile
2337 # ac_fn_c_try_link LINENO
2338 # -----------------------
2339 # Try to link conftest.$ac_ext, and return whether this succeeded.
2342 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2343 rm -f conftest.
$ac_objext conftest
$ac_exeext
2344 if { { ac_try
="$ac_link"
2346 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2347 *) ac_try_echo=$ac_try;;
2349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2350 $as_echo "$ac_try_echo"; } >&5
2351 (eval "$ac_link") 2>conftest.err
2353 if test -s conftest.err; then
2354 grep -v '^ *+' conftest.err >conftest.er1
2355 cat conftest.er1 >&5
2356 mv -f conftest.er1 conftest.err
2358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2359 test $ac_status = 0; } && {
2360 test -z "$ac_c_werror_flag" ||
2361 test ! -s conftest.err
2362 } && test -s conftest$ac_exeext && {
2363 test "$cross_compiling" = yes ||
2364 test -x conftest$ac_exeext
2368 $as_echo "$as_me: failed program was:" >&5
2369 sed 's/^/| /' conftest.$ac_ext >&5
2373 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2374 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2375 # interfere with the next link command; also delete a directory that is
2376 # left behind by Apple's compiler. We do this before executing the actions.
2377 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2378 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2379 as_fn_set_status $ac_retval
2381 } # ac_fn_c_try_link
2383 # ac_fn_c_try_cpp LINENO
2384 # ----------------------
2385 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2388 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2389 if { { ac_try="$ac_cpp conftest.$ac_ext"
2391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2392 *) ac_try_echo
=$ac_try;;
2394 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2395 $as_echo "$ac_try_echo"; } >&5
2396 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2398 if test -s conftest.err
; then
2399 grep -v '^ *+' conftest.err
>conftest.er1
2400 cat conftest.er1
>&5
2401 mv -f conftest.er1 conftest.err
2403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2404 test $ac_status = 0; } > conftest.i
&& {
2405 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2406 test ! -s conftest.err
2410 $as_echo "$as_me: failed program was:" >&5
2411 sed 's/^/| /' conftest.
$ac_ext >&5
2415 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2416 as_fn_set_status
$ac_retval
2420 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2421 # -------------------------------------------------------
2422 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2423 # the include files in INCLUDES and setting the cache variable VAR
2425 ac_fn_c_check_header_mongrel
()
2427 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2428 if eval \
${$3+:} false
; then :
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2430 $as_echo_n "checking for $2... " >&6; }
2431 if eval \
${$3+:} false
; then :
2432 $as_echo_n "(cached) " >&6
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2436 $as_echo "$ac_res" >&6; }
2438 # Is the header compilable?
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2440 $as_echo_n "checking $2 usability... " >&6; }
2441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2446 if ac_fn_c_try_compile
"$LINENO"; then :
2447 ac_header_compiler
=yes
2449 ac_header_compiler
=no
2451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2453 $as_echo "$ac_header_compiler" >&6; }
2455 # Is the header present?
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2457 $as_echo_n "checking $2 presence... " >&6; }
2458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2459 /* end confdefs.h. */
2462 if ac_fn_c_try_cpp
"$LINENO"; then :
2463 ac_header_preproc
=yes
2465 ac_header_preproc
=no
2467 rm -f conftest.err conftest.i conftest.
$ac_ext
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2469 $as_echo "$ac_header_preproc" >&6; }
2471 # So? What about this header?
2472 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2475 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2477 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2481 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2483 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2485 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2487 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2489 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2490 ( $as_echo "## ------------------------------------ ##
2491 ## Report this to wine-devel@winehq.org ##
2492 ## ------------------------------------ ##"
2493 ) |
sed "s/^/$as_me: WARNING: /" >&2
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2497 $as_echo_n "checking for $2... " >&6; }
2498 if eval \
${$3+:} false
; then :
2499 $as_echo_n "(cached) " >&6
2501 eval "$3=\$ac_header_compiler"
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2505 $as_echo "$ac_res" >&6; }
2507 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2509 } # ac_fn_c_check_header_mongrel
2511 # ac_fn_c_try_run LINENO
2512 # ----------------------
2513 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2514 # that executables *can* be run.
2517 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2518 if { { ac_try
="$ac_link"
2520 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2521 *) ac_try_echo=$ac_try;;
2523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2524 $as_echo "$ac_try_echo"; } >&5
2525 (eval "$ac_link") 2>&5
2527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2528 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2529 { { case "(($ac_try" in
2530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2531 *) ac_try_echo
=$ac_try;;
2533 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2534 $as_echo "$ac_try_echo"; } >&5
2535 (eval "$ac_try") 2>&5
2537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2538 test $ac_status = 0; }; }; then :
2541 $as_echo "$as_me: program exited with status $ac_status" >&5
2542 $as_echo "$as_me: failed program was:" >&5
2543 sed 's/^/| /' conftest.
$ac_ext >&5
2545 ac_retval
=$ac_status
2547 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2548 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2549 as_fn_set_status
$ac_retval
2553 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2554 # -------------------------------------------------------
2555 # Tests whether HEADER exists and can be compiled using the include files in
2556 # INCLUDES, setting the cache variable VAR accordingly.
2557 ac_fn_c_check_header_compile
()
2559 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2561 $as_echo_n "checking for $2... " >&6; }
2562 if eval \
${$3+:} false
; then :
2563 $as_echo_n "(cached) " >&6
2565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2566 /* end confdefs.h. */
2570 if ac_fn_c_try_compile
"$LINENO"; then :
2575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2579 $as_echo "$ac_res" >&6; }
2580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2582 } # ac_fn_c_check_header_compile
2584 # ac_fn_c_check_func LINENO FUNC VAR
2585 # ----------------------------------
2586 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2587 ac_fn_c_check_func
()
2589 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2591 $as_echo_n "checking for $2... " >&6; }
2592 if eval \
${$3+:} false
; then :
2593 $as_echo_n "(cached) " >&6
2595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2596 /* end confdefs.h. */
2597 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2599 #define $2 innocuous_$2
2601 /* System header to define __stub macros and hopefully few prototypes,
2602 which can conflict with char $2 (); below.
2603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2604 <limits.h> exists even on freestanding compilers. */
2607 # include <limits.h>
2609 # include <assert.h>
2614 /* Override any GCC internal prototype to avoid an error.
2615 Use char because int might match the return type of a GCC
2616 builtin and then its argument prototype would still apply. */
2621 /* The GNU C library defines this for functions which it implements
2622 to always fail with ENOSYS. Some functions are actually named
2623 something starting with __ and the normal name is an alias. */
2624 #if defined __stub_$2 || defined __stub___$2
2636 if ac_fn_c_try_link
"$LINENO"; then :
2641 rm -f core conftest.err conftest.
$ac_objext \
2642 conftest
$ac_exeext conftest.
$ac_ext
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2646 $as_echo "$ac_res" >&6; }
2647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2649 } # ac_fn_c_check_func
2651 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2652 # ----------------------------------------------------
2653 # Tries to find if the field MEMBER exists in type AGGR, after including
2654 # INCLUDES, setting cache variable VAR accordingly.
2655 ac_fn_c_check_member
()
2657 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2659 $as_echo_n "checking for $2.$3... " >&6; }
2660 if eval \
${$4+:} false
; then :
2661 $as_echo_n "(cached) " >&6
2663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2664 /* end confdefs.h. */
2676 if ac_fn_c_try_compile
"$LINENO"; then :
2679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2680 /* end confdefs.h. */
2686 if (sizeof ac_aggr.$3)
2692 if ac_fn_c_try_compile
"$LINENO"; then :
2697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2703 $as_echo "$ac_res" >&6; }
2704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2706 } # ac_fn_c_check_member
2708 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2709 # -------------------------------------------
2710 # Tests whether TYPE exists after having included INCLUDES, setting cache
2711 # variable VAR accordingly.
2712 ac_fn_c_check_type
()
2714 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2716 $as_echo_n "checking for $2... " >&6; }
2717 if eval \
${$3+:} false
; then :
2718 $as_echo_n "(cached) " >&6
2721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2722 /* end confdefs.h. */
2733 if ac_fn_c_try_compile
"$LINENO"; then :
2734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2735 /* end confdefs.h. */
2746 if ac_fn_c_try_compile
"$LINENO"; then :
2751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2757 $as_echo "$ac_res" >&6; }
2758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2760 } # ac_fn_c_check_type
2761 cat >config.log
<<_ACEOF
2762 This file contains any messages produced by compilers while
2763 running configure, to aid debugging if configure makes a mistake.
2765 It was created by Wine $as_me 1.7.25, which was
2766 generated by GNU Autoconf 2.69. Invocation command line was
2778 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2779 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2780 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2781 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2782 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2784 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2785 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2787 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2788 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2789 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2790 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2791 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2792 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2793 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2801 test -z "$as_dir" && as_dir
=.
2802 $as_echo "PATH: $as_dir"
2818 # Keep a trace of the command line.
2819 # Strip out --no-create and --no-recursion so they do not pile up.
2820 # Strip out --silent because we don't want to record it for future runs.
2821 # Also quote any args containing shell meta-characters.
2822 # Make two passes to allow for proper duplicate-argument suppression.
2826 ac_must_keep_next
=false
2832 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2833 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2834 |
-silent |
--silent |
--silen |
--sile |
--sil)
2837 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2840 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2842 as_fn_append ac_configure_args1
" '$ac_arg'"
2843 if test $ac_must_keep_next = true
; then
2844 ac_must_keep_next
=false
# Got value, back to normal.
2847 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2848 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2849 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2850 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2851 case "$ac_configure_args0 " in
2852 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2855 -* ) ac_must_keep_next
=true
;;
2858 as_fn_append ac_configure_args
" '$ac_arg'"
2863 { ac_configure_args0
=; unset ac_configure_args0
;}
2864 { ac_configure_args1
=; unset ac_configure_args1
;}
2866 # When interrupted or exit'd, cleanup temporary files, and complete
2867 # config.log. We remove comments because anyway the quotes in there
2868 # would cause problems or look ugly.
2869 # WARNING: Use '\'' to represent an apostrophe within the trap.
2870 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2871 trap 'exit_status=$?
2872 # Save into config.log some information that might help in debugging.
2876 $as_echo "## ---------------- ##
2877 ## Cache variables. ##
2878 ## ---------------- ##"
2880 # The following way of writing the cache mishandles newlines in values,
2882 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2883 eval ac_val=\$$ac_var
2887 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2888 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2891 _ | IFS | as_nl) ;; #(
2892 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2893 *) { eval $ac_var=; unset $ac_var;} ;;
2898 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2899 *${as_nl}ac_space=\ *)
2901 "s/'\''/'\''\\\\'\'''\''/g;
2902 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2905 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2912 $as_echo "## ----------------- ##
2913 ## Output variables. ##
2914 ## ----------------- ##"
2916 for ac_var in $ac_subst_vars
2918 eval ac_val=\$$ac_var
2920 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2922 $as_echo "$ac_var='\''$ac_val'\''"
2926 if test -n "$ac_subst_files"; then
2927 $as_echo "## ------------------- ##
2928 ## File substitutions. ##
2929 ## ------------------- ##"
2931 for ac_var
in $ac_subst_files
2933 eval ac_val
=\$
$ac_var
2935 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2937 $as_echo "$ac_var='\''$ac_val'\''"
2942 if test -s confdefs.h; then
2943 $as_echo "## ----------- ##
2950 test "$ac_signal" != 0 &&
2951 $as_echo "$as_me: caught signal $ac_signal"
2952 $as_echo "$as_me: exit $exit_status"
2954 rm -f core *.core core.conftest.* &&
2955 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2958 for ac_signal
in 1 2 13 15; do
2959 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2963 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2964 rm -f -r conftest
* confdefs.h
2966 $as_echo "/* confdefs.h */" > confdefs.h
2968 # Predefined preprocessor variables.
2970 cat >>confdefs.h
<<_ACEOF
2971 #define PACKAGE_NAME "$PACKAGE_NAME"
2974 cat >>confdefs.h
<<_ACEOF
2975 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2978 cat >>confdefs.h
<<_ACEOF
2979 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2982 cat >>confdefs.h
<<_ACEOF
2983 #define PACKAGE_STRING "$PACKAGE_STRING"
2986 cat >>confdefs.h
<<_ACEOF
2987 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2990 cat >>confdefs.h
<<_ACEOF
2991 #define PACKAGE_URL "$PACKAGE_URL"
2995 # Let the site file select an alternate cache file if it wants to.
2996 # Prefer an explicitly selected file to automatically selected ones.
2999 if test -n "$CONFIG_SITE"; then
3000 # We do not want a PATH search for config.site.
3001 case $CONFIG_SITE in #((
3002 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3003 */*) ac_site_file1
=$CONFIG_SITE;;
3004 *) ac_site_file1
=.
/$CONFIG_SITE;;
3006 elif test "x$prefix" != xNONE
; then
3007 ac_site_file1
=$prefix/share
/config.site
3008 ac_site_file2
=$prefix/etc
/config.site
3010 ac_site_file1
=$ac_default_prefix/share
/config.site
3011 ac_site_file2
=$ac_default_prefix/etc
/config.site
3013 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3015 test "x$ac_site_file" = xNONE
&& continue
3016 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3018 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3019 sed 's/^/| /' "$ac_site_file" >&5
3021 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3023 as_fn_error $?
"failed to load site script $ac_site_file
3024 See \`config.log' for more details" "$LINENO" 5; }
3028 if test -r "$cache_file"; then
3029 # Some versions of bash will fail to source /dev/null (special files
3030 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3031 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3033 $as_echo "$as_me: loading cache $cache_file" >&6;}
3035 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3036 *) .
"./$cache_file";;
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3041 $as_echo "$as_me: creating cache $cache_file" >&6;}
3045 # Check that the precious variables saved in the cache have kept the same
3047 ac_cache_corrupted
=false
3048 for ac_var
in $ac_precious_vars; do
3049 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3050 eval ac_new_set
=\
$ac_env_${ac_var}_set
3051 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3052 eval ac_new_val
=\
$ac_env_${ac_var}_value
3053 case $ac_old_set,$ac_new_set in
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3056 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3057 ac_cache_corrupted
=: ;;
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3060 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3061 ac_cache_corrupted
=: ;;
3064 if test "x$ac_old_val" != "x$ac_new_val"; then
3065 # differences in whitespace do not lead to failure.
3066 ac_old_val_w
=`echo x $ac_old_val`
3067 ac_new_val_w
=`echo x $ac_new_val`
3068 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3070 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3071 ac_cache_corrupted
=:
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3074 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3075 eval $ac_var=\
$ac_old_val
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3078 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3080 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3083 # Pass precious variables to config.status.
3084 if test "$ac_new_set" = set; then
3086 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3087 *) ac_arg
=$ac_var=$ac_new_val ;;
3089 case " $ac_configure_args " in
3090 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3091 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3095 if $ac_cache_corrupted; then
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3099 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3100 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3102 ## -------------------- ##
3103 ## Main body of script. ##
3104 ## -------------------- ##
3107 ac_cpp
='$CPP $CPPFLAGS'
3108 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3109 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3110 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3114 ac_config_headers
="$ac_config_headers include/config.h"
3117 for ac_dir
in tools
"$srcdir"/tools
; do
3118 if test -f "$ac_dir/install-sh"; then
3120 ac_install_sh
="$ac_aux_dir/install-sh -c"
3122 elif test -f "$ac_dir/install.sh"; then
3124 ac_install_sh
="$ac_aux_dir/install.sh -c"
3126 elif test -f "$ac_dir/shtool"; then
3128 ac_install_sh
="$ac_aux_dir/shtool install -c"
3132 if test -z "$ac_aux_dir"; then
3133 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3136 # These three variables are undocumented and unsupported,
3137 # and are intended to be withdrawn in a future Autoconf release.
3138 # They can cause serious problems if a builder's source tree is in a directory
3139 # whose full name contains unusual characters.
3140 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3141 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3142 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3146 libwine_version
="1.0"
3150 # Check whether --enable-win16 was given.
3151 if test "${enable_win16+set}" = set; then :
3152 enableval
=$enable_win16;
3155 # Check whether --enable-win64 was given.
3156 if test "${enable_win64+set}" = set; then :
3157 enableval
=$enable_win64;
3160 # Check whether --enable-tests was given.
3161 if test "${enable_tests+set}" = set; then :
3162 enableval
=$enable_tests;
3165 # Check whether --enable-maintainer-mode was given.
3166 if test "${enable_maintainer_mode+set}" = set; then :
3167 enableval
=$enable_maintainer_mode;
3172 # Check whether --with-alsa was given.
3173 if test "${with_alsa+set}" = set; then :
3174 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3178 # Check whether --with-capi was given.
3179 if test "${with_capi+set}" = set; then :
3184 # Check whether --with-cms was given.
3185 if test "${with_cms+set}" = set; then :
3190 # Check whether --with-coreaudio was given.
3191 if test "${with_coreaudio+set}" = set; then :
3192 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3196 # Check whether --with-cups was given.
3197 if test "${with_cups+set}" = set; then :
3202 # Check whether --with-curses was given.
3203 if test "${with_curses+set}" = set; then :
3204 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3208 # Check whether --with-dbus was given.
3209 if test "${with_dbus+set}" = set; then :
3214 # Check whether --with-fontconfig was given.
3215 if test "${with_fontconfig+set}" = set; then :
3216 withval
=$with_fontconfig;
3220 # Check whether --with-freetype was given.
3221 if test "${with_freetype+set}" = set; then :
3222 withval
=$with_freetype;
3226 # Check whether --with-gettext was given.
3227 if test "${with_gettext+set}" = set; then :
3228 withval
=$with_gettext;
3232 # Check whether --with-gettextpo was given.
3233 if test "${with_gettextpo+set}" = set; then :
3234 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3238 # Check whether --with-gphoto was given.
3239 if test "${with_gphoto+set}" = set; then :
3240 withval
=$with_gphoto;
3244 # Check whether --with-glu was given.
3245 if test "${with_glu+set}" = set; then :
3250 # Check whether --with-gnutls was given.
3251 if test "${with_gnutls+set}" = set; then :
3252 withval
=$with_gnutls;
3256 # Check whether --with-gsm was given.
3257 if test "${with_gsm+set}" = set; then :
3258 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3262 # Check whether --with-gstreamer was given.
3263 if test "${with_gstreamer+set}" = set; then :
3264 withval
=$with_gstreamer;
3268 # Check whether --with-hal was given.
3269 if test "${with_hal+set}" = set; then :
3274 # Check whether --with-jpeg was given.
3275 if test "${with_jpeg+set}" = set; then :
3280 # Check whether --with-ldap was given.
3281 if test "${with_ldap+set}" = set; then :
3282 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3286 # Check whether --with-mpg123 was given.
3287 if test "${with_mpg123+set}" = set; then :
3288 withval
=$with_mpg123;
3292 # Check whether --with-netapi was given.
3293 if test "${with_netapi+set}" = set; then :
3294 withval
=$with_netapi;
3298 # Check whether --with-openal was given.
3299 if test "${with_openal+set}" = set; then :
3300 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3304 # Check whether --with-opencl was given.
3305 if test "${with_opencl+set}" = set; then :
3306 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3310 # Check whether --with-opengl was given.
3311 if test "${with_opengl+set}" = set; then :
3312 withval
=$with_opengl;
3316 # Check whether --with-osmesa was given.
3317 if test "${with_osmesa+set}" = set; then :
3318 withval
=$with_osmesa;
3322 # Check whether --with-oss was given.
3323 if test "${with_oss+set}" = set; then :
3328 # Check whether --with-pcap was given.
3329 if test "${with_pcap+set}" = set; then :
3330 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3334 # Check whether --with-png was given.
3335 if test "${with_png+set}" = set; then :
3340 # Check whether --with-pthread was given.
3341 if test "${with_pthread+set}" = set; then :
3342 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3346 # Check whether --with-sane was given.
3347 if test "${with_sane+set}" = set; then :
3352 # Check whether --with-tiff was given.
3353 if test "${with_tiff+set}" = set; then :
3358 # Check whether --with-v4l was given.
3359 if test "${with_v4l+set}" = set; then :
3364 # Check whether --with-xcomposite was given.
3365 if test "${with_xcomposite+set}" = set; then :
3366 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3370 # Check whether --with-xcursor was given.
3371 if test "${with_xcursor+set}" = set; then :
3372 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3376 # Check whether --with-xinerama was given.
3377 if test "${with_xinerama+set}" = set; then :
3378 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3382 # Check whether --with-xinput was given.
3383 if test "${with_xinput+set}" = set; then :
3384 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3388 # Check whether --with-xinput2 was given.
3389 if test "${with_xinput2+set}" = set; then :
3390 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3394 # Check whether --with-xml was given.
3395 if test "${with_xml+set}" = set; then :
3400 # Check whether --with-xrandr was given.
3401 if test "${with_xrandr+set}" = set; then :
3402 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3406 # Check whether --with-xrender was given.
3407 if test "${with_xrender+set}" = set; then :
3408 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3412 # Check whether --with-xshape was given.
3413 if test "${with_xshape+set}" = set; then :
3414 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3418 # Check whether --with-xshm was given.
3419 if test "${with_xshm+set}" = set; then :
3420 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3424 # Check whether --with-xslt was given.
3425 if test "${with_xslt+set}" = set; then :
3430 # Check whether --with-xxf86vm was given.
3431 if test "${with_xxf86vm+set}" = set; then :
3432 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
3436 # Check whether --with-zlib was given.
3437 if test "${with_zlib+set}" = set; then :
3438 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3443 # Check whether --with-wine-tools was given.
3444 if test "${with_wine_tools+set}" = set; then :
3445 withval
=$with_wine_tools;
3449 # Check whether --with-wine64 was given.
3450 if test "${with_wine64+set}" = set; then :
3451 withval
=$with_wine64;
3455 # Make sure we can run config.sub.
3456 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3457 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3460 $as_echo_n "checking build system type... " >&6; }
3461 if ${ac_cv_build+:} false
; then :
3462 $as_echo_n "(cached) " >&6
3464 ac_build_alias
=$build_alias
3465 test "x$ac_build_alias" = x
&&
3466 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3467 test "x$ac_build_alias" = x
&&
3468 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3469 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3470 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3474 $as_echo "$ac_cv_build" >&6; }
3475 case $ac_cv_build in
3477 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3480 ac_save_IFS
=$IFS; IFS
='-'
3486 # Remember, the first character of IFS is used to create $*,
3487 # except with old shells:
3490 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3494 $as_echo_n "checking host system type... " >&6; }
3495 if ${ac_cv_host+:} false
; then :
3496 $as_echo_n "(cached) " >&6
3498 if test "x$host_alias" = x
; then
3499 ac_cv_host
=$ac_cv_build
3501 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3502 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3507 $as_echo "$ac_cv_host" >&6; }
3510 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3513 ac_save_IFS
=$IFS; IFS
='-'
3519 # Remember, the first character of IFS is used to create $*,
3520 # except with old shells:
3523 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3529 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3530 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3531 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3537 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3539 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3540 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3541 $as_echo_n "(cached) " >&6
3543 cat >conftest.
make <<\_ACEOF
3546 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3548 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3549 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3551 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3553 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3557 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3559 $as_echo "yes" >&6; }
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3563 $as_echo "no" >&6; }
3564 SET_MAKE
="MAKE=${MAKE-make}"
3568 ac_cpp
='$CPP $CPPFLAGS'
3569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3572 if test -n "$ac_tool_prefix"; then
3573 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3574 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3576 $as_echo_n "checking for $ac_word... " >&6; }
3577 if ${ac_cv_prog_CC+:} false
; then :
3578 $as_echo_n "(cached) " >&6
3580 if test -n "$CC"; then
3581 ac_cv_prog_CC
="$CC" # Let the user override the test.
3583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3587 test -z "$as_dir" && as_dir
=.
3588 for ac_exec_ext
in '' $ac_executable_extensions; do
3589 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3590 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 if test -n "$CC"; then
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3603 $as_echo "$CC" >&6; }
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3606 $as_echo "no" >&6; }
3611 if test -z "$ac_cv_prog_CC"; then
3613 # Extract the first word of "gcc", so it can be a program name with args.
3614 set dummy gcc
; ac_word
=$2
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3616 $as_echo_n "checking for $ac_word... " >&6; }
3617 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3618 $as_echo_n "(cached) " >&6
3620 if test -n "$ac_ct_CC"; then
3621 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3627 test -z "$as_dir" && as_dir
=.
3628 for ac_exec_ext
in '' $ac_executable_extensions; do
3629 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3630 ac_cv_prog_ac_ct_CC
="gcc"
3631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3640 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3641 if test -n "$ac_ct_CC"; then
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3643 $as_echo "$ac_ct_CC" >&6; }
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3646 $as_echo "no" >&6; }
3649 if test "x$ac_ct_CC" = x
; then
3652 case $cross_compiling:$ac_tool_warned in
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3655 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3656 ac_tool_warned
=yes ;;
3664 if test -z "$CC"; then
3665 if test -n "$ac_tool_prefix"; then
3666 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3667 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3669 $as_echo_n "checking for $ac_word... " >&6; }
3670 if ${ac_cv_prog_CC+:} false
; then :
3671 $as_echo_n "(cached) " >&6
3673 if test -n "$CC"; then
3674 ac_cv_prog_CC
="$CC" # Let the user override the test.
3676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3680 test -z "$as_dir" && as_dir
=.
3681 for ac_exec_ext
in '' $ac_executable_extensions; do
3682 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3683 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3694 if test -n "$CC"; then
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3696 $as_echo "$CC" >&6; }
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 $as_echo "no" >&6; }
3705 if test -z "$CC"; then
3706 # Extract the first word of "cc", so it can be a program name with args.
3707 set dummy cc
; ac_word
=$2
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3709 $as_echo_n "checking for $ac_word... " >&6; }
3710 if ${ac_cv_prog_CC+:} false
; then :
3711 $as_echo_n "(cached) " >&6
3713 if test -n "$CC"; then
3714 ac_cv_prog_CC
="$CC" # Let the user override the test.
3717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3721 test -z "$as_dir" && as_dir
=.
3722 for ac_exec_ext
in '' $ac_executable_extensions; do
3723 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3724 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3725 ac_prog_rejected
=yes
3729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3736 if test $ac_prog_rejected = yes; then
3737 # We found a bogon in the path, so make sure we never use it.
3738 set dummy
$ac_cv_prog_CC
3740 if test $# != 0; then
3741 # We chose a different compiler from the bogus one.
3742 # However, it has the same basename, so the bogon will be chosen
3743 # first if we set CC to just the basename; use the full file name.
3745 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3751 if test -n "$CC"; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3753 $as_echo "$CC" >&6; }
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3756 $as_echo "no" >&6; }
3761 if test -z "$CC"; then
3762 if test -n "$ac_tool_prefix"; then
3763 for ac_prog
in cl.exe
3765 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3766 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768 $as_echo_n "checking for $ac_word... " >&6; }
3769 if ${ac_cv_prog_CC+:} false
; then :
3770 $as_echo_n "(cached) " >&6
3772 if test -n "$CC"; then
3773 ac_cv_prog_CC
="$CC" # Let the user override the test.
3775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3779 test -z "$as_dir" && as_dir
=.
3780 for ac_exec_ext
in '' $ac_executable_extensions; do
3781 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3782 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3793 if test -n "$CC"; then
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3795 $as_echo "$CC" >&6; }
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3798 $as_echo "no" >&6; }
3802 test -n "$CC" && break
3805 if test -z "$CC"; then
3807 for ac_prog
in cl.exe
3809 # Extract the first word of "$ac_prog", so it can be a program name with args.
3810 set dummy
$ac_prog; ac_word
=$2
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3812 $as_echo_n "checking for $ac_word... " >&6; }
3813 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3814 $as_echo_n "(cached) " >&6
3816 if test -n "$ac_ct_CC"; then
3817 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3823 test -z "$as_dir" && as_dir
=.
3824 for ac_exec_ext
in '' $ac_executable_extensions; do
3825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3826 ac_cv_prog_ac_ct_CC
="$ac_prog"
3827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3836 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3837 if test -n "$ac_ct_CC"; then
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3839 $as_echo "$ac_ct_CC" >&6; }
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3842 $as_echo "no" >&6; }
3846 test -n "$ac_ct_CC" && break
3849 if test "x$ac_ct_CC" = x
; then
3852 case $cross_compiling:$ac_tool_warned in
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3856 ac_tool_warned
=yes ;;
3865 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3867 as_fn_error $?
"no acceptable C compiler found in \$PATH
3868 See \`config.log' for more details" "$LINENO" 5; }
3870 # Provide some information about the compiler.
3871 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3874 for ac_option
in --version -v -V -qversion; do
3875 { { ac_try
="$ac_compiler $ac_option >&5"
3877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3878 *) ac_try_echo=$ac_try;;
3880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3881 $as_echo "$ac_try_echo"; } >&5
3882 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3884 if test -s conftest.err; then
3886 ... rest of stderr output deleted ...
3887 10q' conftest.err >conftest.er1
3888 cat conftest.er1 >&5
3890 rm -f conftest.er1 conftest.err
3891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3892 test $ac_status = 0; }
3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h. */
3906 ac_clean_files_save=$ac_clean_files
3907 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3908 # Try to create an executable without -o first, disregard a.out.
3909 # It will help us diagnose broken compilers, and finding out an intuition
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3912 $as_echo_n "checking whether the C compiler works... " >&6; }
3913 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3915 # The possible output files:
3916 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3919 for ac_file in $ac_files
3922 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3923 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3928 if { { ac_try="$ac_link_default"
3930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3931 *) ac_try_echo
=$ac_try;;
3933 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3934 $as_echo "$ac_try_echo"; } >&5
3935 (eval "$ac_link_default") 2>&5
3937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3938 test $ac_status = 0; }; then :
3939 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3940 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3941 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3942 # so that the user can short-circuit this test for compilers unknown to
3944 for ac_file
in $ac_files ''
3946 test -f "$ac_file" ||
continue
3948 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3951 # We found the default executable, but exeext='' is most
3955 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3957 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3959 # We set ac_cv_exeext here because the later test for it is not
3960 # safe: cross compilers may not add the suffix if given an `-o'
3961 # argument, so we may need to know it at that point already.
3962 # Even if this section looks crufty: it has the advantage of
3969 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3974 if test -z "$ac_file"; then :
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3977 $as_echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.
$ac_ext >&5
3980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3982 as_fn_error
77 "C compiler cannot create executables
3983 See \`config.log' for more details" "$LINENO" 5; }
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3986 $as_echo "yes" >&6; }
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3989 $as_echo_n "checking for C compiler default output file name... " >&6; }
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3991 $as_echo "$ac_file" >&6; }
3992 ac_exeext
=$ac_cv_exeext
3994 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3995 ac_clean_files
=$ac_clean_files_save
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3997 $as_echo_n "checking for suffix of executables... " >&6; }
3998 if { { ac_try
="$ac_link"
4000 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4001 *) ac_try_echo=$ac_try;;
4003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4004 $as_echo "$ac_try_echo"; } >&5
4005 (eval "$ac_link") 2>&5
4007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4008 test $ac_status = 0; }; then :
4009 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4010 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4011 # work properly (i.e., refer to `conftest.exe'), while it won't with
4013 for ac_file
in conftest.exe conftest conftest.
*; do
4014 test -f "$ac_file" ||
continue
4016 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4017 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4025 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4026 See \`config.log' for more details" "$LINENO" 5; }
4028 rm -f conftest conftest
$ac_cv_exeext
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4030 $as_echo "$ac_cv_exeext" >&6; }
4032 rm -f conftest.
$ac_ext
4033 EXEEXT
=$ac_cv_exeext
4035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4036 /* end confdefs.h. */
4041 FILE *f = fopen ("conftest.out", "w");
4042 return ferror (f) || fclose (f) != 0;
4048 ac_clean_files
="$ac_clean_files conftest.out"
4049 # Check that the compiler produces executables we can run. If not, either
4050 # the compiler is broken, or we cross compile.
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4052 $as_echo_n "checking whether we are cross compiling... " >&6; }
4053 if test "$cross_compiling" != yes; then
4054 { { ac_try
="$ac_link"
4056 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4057 *) ac_try_echo=$ac_try;;
4059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4060 $as_echo "$ac_try_echo"; } >&5
4061 (eval "$ac_link") 2>&5
4063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4064 test $ac_status = 0; }
4065 if { ac_try='./conftest$ac_cv_exeext'
4066 { { case "(($ac_try" in
4067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4068 *) ac_try_echo
=$ac_try;;
4070 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4071 $as_echo "$ac_try_echo"; } >&5
4072 (eval "$ac_try") 2>&5
4074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4075 test $ac_status = 0; }; }; then
4078 if test "$cross_compiling" = maybe
; then
4081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4083 as_fn_error $?
"cannot run C compiled programs.
4084 If you meant to cross compile, use \`--host'.
4085 See \`config.log' for more details" "$LINENO" 5; }
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4090 $as_echo "$cross_compiling" >&6; }
4092 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4093 ac_clean_files
=$ac_clean_files_save
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4095 $as_echo_n "checking for suffix of object files... " >&6; }
4096 if ${ac_cv_objext+:} false
; then :
4097 $as_echo_n "(cached) " >&6
4099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4110 rm -f conftest.o conftest.obj
4111 if { { ac_try
="$ac_compile"
4113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117 $as_echo "$ac_try_echo"; } >&5
4118 (eval "$ac_compile") 2>&5
4120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4121 test $ac_status = 0; }; then :
4122 for ac_file in conftest.o conftest.obj conftest.*; do
4123 test -f "$ac_file" || continue;
4125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4126 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4131 $as_echo "$as_me: failed program was:" >&5
4132 sed 's/^/| /' conftest.$ac_ext >&5
4134 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4136 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4137 See \
`config.log' for more details" "$LINENO" 5; }
4139 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4142 $as_echo "$ac_cv_objext" >&6; }
4143 OBJEXT=$ac_cv_objext
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4146 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4147 if ${ac_cv_c_compiler_gnu+:} false; then :
4148 $as_echo_n "(cached) " >&6
4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4164 if ac_fn_c_try_compile "$LINENO"; then :
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4174 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4175 if test $ac_compiler_gnu = yes; then
4180 ac_test_CFLAGS=${CFLAGS+set}
4181 ac_save_CFLAGS=$CFLAGS
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4183 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4184 if ${ac_cv_prog_cc_g+:} false; then :
4185 $as_echo_n "(cached) " >&6
4187 ac_save_c_werror_flag=$ac_c_werror_flag
4188 ac_c_werror_flag=yes
4191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4202 if ac_fn_c_try_compile "$LINENO"; then :
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4217 if ac_fn_c_try_compile "$LINENO"; then :
4220 ac_c_werror_flag=$ac_save_c_werror_flag
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4233 if ac_fn_c_try_compile "$LINENO"; then :
4236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 ac_c_werror_flag=$ac_save_c_werror_flag
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4244 $as_echo "$ac_cv_prog_cc_g" >&6; }
4245 if test "$ac_test_CFLAGS" = set; then
4246 CFLAGS=$ac_save_CFLAGS
4247 elif test $ac_cv_prog_cc_g = yes; then
4248 if test "$GCC" = yes; then
4254 if test "$GCC" = yes; then
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4261 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4262 if ${ac_cv_prog_cc_c89+:} false; then :
4263 $as_echo_n "(cached) " >&6
4265 ac_cv_prog_cc_c89=no
4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4268 /* end confdefs.h. */
4272 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4273 struct buf { int x; };
4274 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4275 static char *e (p, i)
4281 static char *f (char * (*g) (char **, int), char **p, ...)
4286 s = g (p, va_arg (v,int));
4291 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4292 function prototypes and stuff, but not '\xHH' hex character constants.
4293 These don't provoke an error unfortunately, instead are silently treated
4294 as 'x'. The following induces an error, until -std is added to get
4295 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4296 array size at least. It's necessary to write '\x00'==0 to get something
4297 that's true only with -std. */
4298 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4300 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4301 inside strings and character constants. */
4303 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4305 int test (int i, double x);
4306 struct s1 {int (*f) (int a);};
4307 struct s2 {int (*f) (double a);};
4308 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4314 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4319 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4320 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4322 CC="$ac_save_CC $ac_arg"
4323 if ac_fn_c_try_compile "$LINENO"; then :
4324 ac_cv_prog_cc_c89=$ac_arg
4326 rm -f core conftest.err conftest.$ac_objext
4327 test "x$ac_cv_prog_cc_c89" != "xno" && break
4329 rm -f conftest.$ac_ext
4334 case "x$ac_cv_prog_cc_c89" in
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4337 $as_echo "none needed" >&6; } ;;
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4340 $as_echo "unsupported" >&6; } ;;
4342 CC="$CC $ac_cv_prog_cc_c89"
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4344 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4346 if test "x$ac_cv_prog_cc_c89" != xno; then :
4351 ac_cpp='$CPP $CPPFLAGS'
4352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4357 ac_cpp='$CXXCPP $CPPFLAGS'
4358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4361 if test -z "$CXX"; then
4362 if test -n "$CCC"; then
4365 if test -n "$ac_tool_prefix"; then
4366 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4368 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4369 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4371 $as_echo_n "checking for $ac_word... " >&6; }
4372 if ${ac_cv_prog_CXX+:} false; then :
4373 $as_echo_n "(cached) " >&6
4375 if test -n "$CXX"; then
4376 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4382 test -z "$as_dir" && as_dir=.
4383 for ac_exec_ext in '' $ac_executable_extensions; do
4384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4385 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4396 if test -n "$CXX"; then
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4398 $as_echo "$CXX" >&6; }
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4401 $as_echo "no" >&6; }
4405 test -n "$CXX" && break
4408 if test -z "$CXX"; then
4410 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4412 # Extract the first word of "$ac_prog", so it can be a program name with args.
4413 set dummy $ac_prog; ac_word=$2
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4415 $as_echo_n "checking for $ac_word... " >&6; }
4416 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4417 $as_echo_n "(cached) " >&6
4419 if test -n "$ac_ct_CXX"; then
4420 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 test -z "$as_dir" && as_dir=.
4427 for ac_exec_ext in '' $ac_executable_extensions; do
4428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4429 ac_cv_prog_ac_ct_CXX="$ac_prog"
4430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4439 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4440 if test -n "$ac_ct_CXX"; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4442 $as_echo "$ac_ct_CXX" >&6; }
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4449 test -n "$ac_ct_CXX" && break
4452 if test "x$ac_ct_CXX" = x; then
4455 case $cross_compiling:$ac_tool_warned in
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4459 ac_tool_warned=yes ;;
4467 # Provide some information about the compiler.
4468 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4471 for ac_option in --version -v -V -qversion; do
4472 { { ac_try="$ac_compiler $ac_option >&5"
4474 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4475 *) ac_try_echo
=$ac_try;;
4477 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4478 $as_echo "$ac_try_echo"; } >&5
4479 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4481 if test -s conftest.err
; then
4483 ... rest of stderr output deleted ...
4484 10q' conftest.err
>conftest.er1
4485 cat conftest.er1
>&5
4487 rm -f conftest.er1 conftest.err
4488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4489 test $ac_status = 0; }
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4493 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4494 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4495 $as_echo_n "(cached) " >&6
4497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4498 /* end confdefs.h. */
4511 if ac_fn_cxx_try_compile
"$LINENO"; then :
4516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4517 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4521 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4522 if test $ac_compiler_gnu = yes; then
4527 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4528 ac_save_CXXFLAGS
=$CXXFLAGS
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4530 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4531 if ${ac_cv_prog_cxx_g+:} false
; then :
4532 $as_echo_n "(cached) " >&6
4534 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4535 ac_cxx_werror_flag
=yes
4538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4549 if ac_fn_cxx_try_compile
"$LINENO"; then :
4550 ac_cv_prog_cxx_g
=yes
4553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4564 if ac_fn_cxx_try_compile
"$LINENO"; then :
4567 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4570 /* end confdefs.h. */
4580 if ac_fn_cxx_try_compile
"$LINENO"; then :
4581 ac_cv_prog_cxx_g
=yes
4583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4588 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4591 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4592 if test "$ac_test_CXXFLAGS" = set; then
4593 CXXFLAGS
=$ac_save_CXXFLAGS
4594 elif test $ac_cv_prog_cxx_g = yes; then
4595 if test "$GXX" = yes; then
4601 if test "$GXX" = yes; then
4608 ac_cpp
='$CPP $CPPFLAGS'
4609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4613 if test -n "$ac_tool_prefix"; then
4614 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4615 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617 $as_echo_n "checking for $ac_word... " >&6; }
4618 if ${ac_cv_prog_CPPBIN+:} false
; then :
4619 $as_echo_n "(cached) " >&6
4621 if test -n "$CPPBIN"; then
4622 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4628 test -z "$as_dir" && as_dir
=.
4629 for ac_exec_ext
in '' $ac_executable_extensions; do
4630 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4631 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4641 CPPBIN
=$ac_cv_prog_CPPBIN
4642 if test -n "$CPPBIN"; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4644 $as_echo "$CPPBIN" >&6; }
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4647 $as_echo "no" >&6; }
4652 if test -z "$ac_cv_prog_CPPBIN"; then
4653 ac_ct_CPPBIN
=$CPPBIN
4654 # Extract the first word of "cpp", so it can be a program name with args.
4655 set dummy cpp
; ac_word
=$2
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4657 $as_echo_n "checking for $ac_word... " >&6; }
4658 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4659 $as_echo_n "(cached) " >&6
4661 if test -n "$ac_ct_CPPBIN"; then
4662 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4668 test -z "$as_dir" && as_dir
=.
4669 for ac_exec_ext
in '' $ac_executable_extensions; do
4670 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4671 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4681 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4682 if test -n "$ac_ct_CPPBIN"; then
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4684 $as_echo "$ac_ct_CPPBIN" >&6; }
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 $as_echo "no" >&6; }
4690 if test "x$ac_ct_CPPBIN" = x
; then
4693 case $cross_compiling:$ac_tool_warned in
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4697 ac_tool_warned
=yes ;;
4699 CPPBIN
=$ac_ct_CPPBIN
4702 CPPBIN
="$ac_cv_prog_CPPBIN"
4706 cat >>confdefs.h
<<_ACEOF
4707 #define EXEEXT "$ac_exeext"
4713 if test "x$enable_win64" = "xyes"
4718 notice_platform
="64-bit "
4725 notice_platform
="32-bit "
4728 enable_win16
=${enable_win16:-yes}
4730 with_fontconfig
=${with_fontconfig:-no}
4733 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4738 $as_echo_n "checking whether $CC works... " >&6; }
4740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4751 if ac_fn_c_try_link
"$LINENO"; then :
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4753 $as_echo "yes" >&6; }
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4756 $as_echo "no" >&6; }
4757 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4759 rm -f core conftest.err conftest.
$ac_objext \
4760 conftest
$ac_exeext conftest.
$ac_ext
4762 notice_platform
="32-bit "
4765 enable_win16
=${enable_win16:-yes}
4767 if test "x${GCC}" = "xyes"
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4770 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */
4777 void func(__builtin_ms_va_list *args);
4782 if ac_fn_c_try_compile
"$LINENO"; then :
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4784 $as_echo "yes" >&6; }
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4788 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4798 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4801 int ac_test(int i) { return i; }
4805 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4810 if ac_fn_c_try_link
"$LINENO"; then :
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4812 $as_echo "yes" >&6; }
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815 $as_echo "no" >&6; }
4816 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4818 rm -f core conftest.err conftest.
$ac_objext \
4819 conftest
$ac_exeext conftest.
$ac_ext
4820 CFLAGS
="$CFLAGS -marm"
4824 *-mingw32*|
*-cygwin*)
4825 enable_win16
=${enable_win16:-no}
4826 CFLAGS
="$CFLAGS -D_WIN32"
4829 enable_win16
=${enable_win16:-yes}
4833 enable_win16
=${enable_win16:-no}
4834 enable_win64
=${enable_win64:-no}
4836 enable_winetest
=${enable_winetest:-$enable_tests}
4838 if test -n "$with_wine64"
4840 if test "x$enable_win64" = "xyes"
4842 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4843 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4845 enable_fonts
=${enable_fonts:-no}
4846 enable_server
=${enable_server:-no}
4847 elif test "x$enable_win64" = "xyes"
4849 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4853 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4854 if ${wine_cv_toolsdir+:} false
; then :
4855 $as_echo_n "(cached) " >&6
4857 wine_cv_toolsdir
="$with_wine_tools"
4858 if test -z "$with_wine_tools"; then
4859 if test "$cross_compiling" = "yes"; then
4860 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4861 elif test -n "$with_wine64"; then
4862 wine_cv_toolsdir
="$with_wine64"
4865 if test -z "$wine_cv_toolsdir"; then
4866 wine_makedep
=tools
/makedep
4867 wine_cv_toolsdir
="\$(top_builddir)"
4868 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4869 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4870 case "$wine_cv_toolsdir" in
4872 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4874 enable_tools
=${enable_tools:-no}
4875 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4877 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4881 $as_echo "$wine_cv_toolsdir" >&6; }
4882 TOOLSDIR
=$wine_cv_toolsdir
4884 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4886 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4892 # Extract the first word of "$ac_prog", so it can be a program name with args.
4893 set dummy
$ac_prog; ac_word
=$2
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4895 $as_echo_n "checking for $ac_word... " >&6; }
4896 if ${ac_cv_prog_FLEX+:} false
; then :
4897 $as_echo_n "(cached) " >&6
4899 if test -n "$FLEX"; then
4900 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4906 test -z "$as_dir" && as_dir
=.
4907 for ac_exec_ext
in '' $ac_executable_extensions; do
4908 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4909 ac_cv_prog_FLEX
="$ac_prog"
4910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4919 FLEX
=$ac_cv_prog_FLEX
4920 if test -n "$FLEX"; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4922 $as_echo "$FLEX" >&6; }
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4929 test -n "$FLEX" && break
4931 test -n "$FLEX" || FLEX
="none"
4933 if test "$FLEX" = "none"
4935 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4938 $as_echo_n "checking whether flex is recent enough... " >&6; }
4939 cat >conftest.l
<<EOF
4941 #include "prediluvian.h"
4945 if $FLEX -t conftest.l
>/dev
/null
2>&5
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4948 $as_echo "yes" >&6; }
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 $as_echo "no" >&6; }
4952 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4955 for ac_prog
in bison
4957 # Extract the first word of "$ac_prog", so it can be a program name with args.
4958 set dummy
$ac_prog; ac_word
=$2
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4960 $as_echo_n "checking for $ac_word... " >&6; }
4961 if ${ac_cv_prog_BISON+:} false
; then :
4962 $as_echo_n "(cached) " >&6
4964 if test -n "$BISON"; then
4965 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4971 test -z "$as_dir" && as_dir
=.
4972 for ac_exec_ext
in '' $ac_executable_extensions; do
4973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4974 ac_cv_prog_BISON
="$ac_prog"
4975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4984 BISON
=$ac_cv_prog_BISON
4985 if test -n "$BISON"; then
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4987 $as_echo "$BISON" >&6; }
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4990 $as_echo "no" >&6; }
4994 test -n "$BISON" && break
4996 test -n "$BISON" || BISON
="none"
4998 if test "$BISON" = "none"
5000 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5003 if test -n "$ac_tool_prefix"; then
5004 for ac_prog
in ar gar
5006 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5007 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009 $as_echo_n "checking for $ac_word... " >&6; }
5010 if ${ac_cv_prog_AR+:} false
; then :
5011 $as_echo_n "(cached) " >&6
5013 if test -n "$AR"; then
5014 ac_cv_prog_AR
="$AR" # Let the user override the test.
5016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5020 test -z "$as_dir" && as_dir
=.
5021 for ac_exec_ext
in '' $ac_executable_extensions; do
5022 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5023 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5034 if test -n "$AR"; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5036 $as_echo "$AR" >&6; }
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5043 test -n "$AR" && break
5046 if test -z "$AR"; then
5048 for ac_prog
in ar gar
5050 # Extract the first word of "$ac_prog", so it can be a program name with args.
5051 set dummy
$ac_prog; ac_word
=$2
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 $as_echo_n "checking for $ac_word... " >&6; }
5054 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5055 $as_echo_n "(cached) " >&6
5057 if test -n "$ac_ct_AR"; then
5058 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5064 test -z "$as_dir" && as_dir
=.
5065 for ac_exec_ext
in '' $ac_executable_extensions; do
5066 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5067 ac_cv_prog_ac_ct_AR
="$ac_prog"
5068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5077 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5078 if test -n "$ac_ct_AR"; then
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5080 $as_echo "$ac_ct_AR" >&6; }
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5087 test -n "$ac_ct_AR" && break
5090 if test "x$ac_ct_AR" = x
; then
5093 case $cross_compiling:$ac_tool_warned in
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5097 ac_tool_warned
=yes ;;
5103 if test -n "$ac_tool_prefix"; then
5104 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5105 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if ${ac_cv_prog_STRIP+:} false
; then :
5109 $as_echo_n "(cached) " >&6
5111 if test -n "$STRIP"; then
5112 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5118 test -z "$as_dir" && as_dir
=.
5119 for ac_exec_ext
in '' $ac_executable_extensions; do
5120 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5121 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5131 STRIP
=$ac_cv_prog_STRIP
5132 if test -n "$STRIP"; then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5134 $as_echo "$STRIP" >&6; }
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5142 if test -z "$ac_cv_prog_STRIP"; then
5144 # Extract the first word of "strip", so it can be a program name with args.
5145 set dummy strip
; ac_word
=$2
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147 $as_echo_n "checking for $ac_word... " >&6; }
5148 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5149 $as_echo_n "(cached) " >&6
5151 if test -n "$ac_ct_STRIP"; then
5152 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5158 test -z "$as_dir" && as_dir
=.
5159 for ac_exec_ext
in '' $ac_executable_extensions; do
5160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5161 ac_cv_prog_ac_ct_STRIP
="strip"
5162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5172 if test -n "$ac_ct_STRIP"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5174 $as_echo "$ac_ct_STRIP" >&6; }
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5180 if test "x$ac_ct_STRIP" = x
; then
5183 case $cross_compiling:$ac_tool_warned in
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5187 ac_tool_warned
=yes ;;
5192 STRIP
="$ac_cv_prog_STRIP"
5197 if test -n "$ac_tool_prefix"; then
5198 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5199 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if ${ac_cv_prog_RANLIB+:} false
; then :
5203 $as_echo_n "(cached) " >&6
5205 if test -n "$RANLIB"; then
5206 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5212 test -z "$as_dir" && as_dir
=.
5213 for ac_exec_ext
in '' $ac_executable_extensions; do
5214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5215 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 RANLIB
=$ac_cv_prog_RANLIB
5226 if test -n "$RANLIB"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5228 $as_echo "$RANLIB" >&6; }
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5236 if test -z "$ac_cv_prog_RANLIB"; then
5237 ac_ct_RANLIB
=$RANLIB
5238 # Extract the first word of "ranlib", so it can be a program name with args.
5239 set dummy ranlib
; ac_word
=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5243 $as_echo_n "(cached) " >&6
5245 if test -n "$ac_ct_RANLIB"; then
5246 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5252 test -z "$as_dir" && as_dir
=.
5253 for ac_exec_ext
in '' $ac_executable_extensions; do
5254 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5255 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5266 if test -n "$ac_ct_RANLIB"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5268 $as_echo "$ac_ct_RANLIB" >&6; }
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5274 if test "x$ac_ct_RANLIB" = x
; then
5277 case $cross_compiling:$ac_tool_warned in
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5281 ac_tool_warned
=yes ;;
5283 RANLIB
=$ac_ct_RANLIB
5286 RANLIB
="$ac_cv_prog_RANLIB"
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5290 $as_echo_n "checking whether ln -s works... " >&6; }
5292 if test "$LN_S" = "ln -s"; then
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5294 $as_echo "yes" >&6; }
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5297 $as_echo "no, using $LN_S" >&6; }
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5301 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5302 if ${ac_cv_path_GREP+:} false
; then :
5303 $as_echo_n "(cached) " >&6
5305 if test -z "$GREP"; then
5306 ac_path_GREP_found
=false
5307 # Loop through the user's path and test for each of PROGNAME-LIST
5308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5309 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5312 test -z "$as_dir" && as_dir
=.
5313 for ac_prog
in grep ggrep
; do
5314 for ac_exec_ext
in '' $ac_executable_extensions; do
5315 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5316 as_fn_executable_p
"$ac_path_GREP" ||
continue
5317 # Check for GNU ac_path_GREP and select it if it is found.
5318 # Check for GNU $ac_path_GREP
5319 case `"$ac_path_GREP" --version 2>&1` in
5321 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5324 $as_echo_n 0123456789 >"conftest.in"
5327 cat "conftest.in" "conftest.in" >"conftest.tmp"
5328 mv "conftest.tmp" "conftest.in"
5329 cp "conftest.in" "conftest.nl"
5330 $as_echo 'GREP' >> "conftest.nl"
5331 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5332 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5333 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5334 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5335 # Best one so far, save it but keep looking for a better one
5336 ac_cv_path_GREP
="$ac_path_GREP"
5337 ac_path_GREP_max
=$ac_count
5339 # 10*(2^10) chars as input seems more than enough
5340 test $ac_count -gt 10 && break
5342 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5345 $ac_path_GREP_found && break 3
5350 if test -z "$ac_cv_path_GREP"; then
5351 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5354 ac_cv_path_GREP
=$GREP
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5359 $as_echo "$ac_cv_path_GREP" >&6; }
5360 GREP
="$ac_cv_path_GREP"
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5364 $as_echo_n "checking for egrep... " >&6; }
5365 if ${ac_cv_path_EGREP+:} false
; then :
5366 $as_echo_n "(cached) " >&6
5368 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5369 then ac_cv_path_EGREP
="$GREP -E"
5371 if test -z "$EGREP"; then
5372 ac_path_EGREP_found
=false
5373 # Loop through the user's path and test for each of PROGNAME-LIST
5374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5375 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5378 test -z "$as_dir" && as_dir
=.
5379 for ac_prog
in egrep; do
5380 for ac_exec_ext
in '' $ac_executable_extensions; do
5381 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5382 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5383 # Check for GNU ac_path_EGREP and select it if it is found.
5384 # Check for GNU $ac_path_EGREP
5385 case `"$ac_path_EGREP" --version 2>&1` in
5387 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5390 $as_echo_n 0123456789 >"conftest.in"
5393 cat "conftest.in" "conftest.in" >"conftest.tmp"
5394 mv "conftest.tmp" "conftest.in"
5395 cp "conftest.in" "conftest.nl"
5396 $as_echo 'EGREP' >> "conftest.nl"
5397 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5398 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5399 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5400 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5401 # Best one so far, save it but keep looking for a better one
5402 ac_cv_path_EGREP
="$ac_path_EGREP"
5403 ac_path_EGREP_max
=$ac_count
5405 # 10*(2^10) chars as input seems more than enough
5406 test $ac_count -gt 10 && break
5408 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5411 $ac_path_EGREP_found && break 3
5416 if test -z "$ac_cv_path_EGREP"; then
5417 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5420 ac_cv_path_EGREP
=$EGREP
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5426 $as_echo "$ac_cv_path_EGREP" >&6; }
5427 EGREP
="$ac_cv_path_EGREP"
5430 # Extract the first word of "ldconfig", so it can be a program name with args.
5431 set dummy ldconfig
; ac_word
=$2
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5433 $as_echo_n "checking for $ac_word... " >&6; }
5434 if ${ac_cv_path_LDCONFIG+:} false
; then :
5435 $as_echo_n "(cached) " >&6
5439 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5443 for as_dir
in /sbin
/usr
/sbin
$PATH
5446 test -z "$as_dir" && as_dir
=.
5447 for ac_exec_ext
in '' $ac_executable_extensions; do
5448 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5449 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5457 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5461 LDCONFIG
=$ac_cv_path_LDCONFIG
5462 if test -n "$LDCONFIG"; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5464 $as_echo "$LDCONFIG" >&6; }
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467 $as_echo "no" >&6; }
5471 for ac_prog
in msgfmt
5473 # Extract the first word of "$ac_prog", so it can be a program name with args.
5474 set dummy
$ac_prog; ac_word
=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if ${ac_cv_prog_MSGFMT+:} false
; then :
5478 $as_echo_n "(cached) " >&6
5480 if test -n "$MSGFMT"; then
5481 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5487 test -z "$as_dir" && as_dir
=.
5488 for ac_exec_ext
in '' $ac_executable_extensions; do
5489 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5490 ac_cv_prog_MSGFMT
="$ac_prog"
5491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5500 MSGFMT
=$ac_cv_prog_MSGFMT
5501 if test -n "$MSGFMT"; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5503 $as_echo "$MSGFMT" >&6; }
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5510 test -n "$MSGFMT" && break
5512 test -n "$MSGFMT" || MSGFMT
="false"
5514 if ${ac_tool_prefix+:} false
; then :
5515 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5516 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5518 $as_echo_n "checking for $ac_word... " >&6; }
5519 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5520 $as_echo_n "(cached) " >&6
5522 if test -n "$PKG_CONFIG"; then
5523 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5529 test -z "$as_dir" && as_dir
=.
5530 for ac_exec_ext
in '' $ac_executable_extensions; do
5531 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5532 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5543 if test -n "$PKG_CONFIG"; then
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5545 $as_echo "$PKG_CONFIG" >&6; }
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5548 $as_echo "no" >&6; }
5553 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5554 if test "x$cross_compiling" = xyes
; then :
5557 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5558 # Extract the first word of "pkg-config", so it can be a program name with args.
5559 set dummy pkg-config
; ac_word
=$2
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5561 $as_echo_n "checking for $ac_word... " >&6; }
5562 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5563 $as_echo_n "(cached) " >&6
5565 if test -n "$PKG_CONFIG"; then
5566 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5572 test -z "$as_dir" && as_dir
=.
5573 for ac_exec_ext
in '' $ac_executable_extensions; do
5574 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5575 ac_cv_prog_PKG_CONFIG
="pkg-config"
5576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5585 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5586 if test -n "$PKG_CONFIG"; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5588 $as_echo "$PKG_CONFIG" >&6; }
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5591 $as_echo "no" >&6; }
5597 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5600 if test "x$enable_maintainer_mode" != "xyes"
5607 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5608 for ac_prog
in fontforge
5610 # Extract the first word of "$ac_prog", so it can be a program name with args.
5611 set dummy
$ac_prog; ac_word
=$2
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613 $as_echo_n "checking for $ac_word... " >&6; }
5614 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5615 $as_echo_n "(cached) " >&6
5617 if test -n "$FONTFORGE"; then
5618 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5624 test -z "$as_dir" && as_dir
=.
5625 for ac_exec_ext
in '' $ac_executable_extensions; do
5626 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5627 ac_cv_prog_FONTFORGE
="$ac_prog"
5628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5637 FONTFORGE
=$ac_cv_prog_FONTFORGE
5638 if test -n "$FONTFORGE"; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5640 $as_echo "$FONTFORGE" >&6; }
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643 $as_echo "no" >&6; }
5647 test -n "$FONTFORGE" && break
5649 test -n "$FONTFORGE" || FONTFORGE
="false"
5653 # Extract the first word of "$ac_prog", so it can be a program name with args.
5654 set dummy
$ac_prog; ac_word
=$2
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5656 $as_echo_n "checking for $ac_word... " >&6; }
5657 if ${ac_cv_prog_RSVG+:} false
; then :
5658 $as_echo_n "(cached) " >&6
5660 if test -n "$RSVG"; then
5661 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5667 test -z "$as_dir" && as_dir
=.
5668 for ac_exec_ext
in '' $ac_executable_extensions; do
5669 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5670 ac_cv_prog_RSVG
="$ac_prog"
5671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5680 RSVG
=$ac_cv_prog_RSVG
5681 if test -n "$RSVG"; then
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5683 $as_echo "$RSVG" >&6; }
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5686 $as_echo "no" >&6; }
5690 test -n "$RSVG" && break
5692 test -n "$RSVG" || RSVG
="false"
5694 for ac_prog
in convert
5696 # Extract the first word of "$ac_prog", so it can be a program name with args.
5697 set dummy
$ac_prog; ac_word
=$2
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5699 $as_echo_n "checking for $ac_word... " >&6; }
5700 if ${ac_cv_prog_CONVERT+:} false
; then :
5701 $as_echo_n "(cached) " >&6
5703 if test -n "$CONVERT"; then
5704 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5710 test -z "$as_dir" && as_dir
=.
5711 for ac_exec_ext
in '' $ac_executable_extensions; do
5712 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5713 ac_cv_prog_CONVERT
="$ac_prog"
5714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5723 CONVERT
=$ac_cv_prog_CONVERT
5724 if test -n "$CONVERT"; then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5726 $as_echo "$CONVERT" >&6; }
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5733 test -n "$CONVERT" && break
5735 test -n "$CONVERT" || CONVERT
="false"
5737 for ac_prog
in icotool
5739 # Extract the first word of "$ac_prog", so it can be a program name with args.
5740 set dummy
$ac_prog; ac_word
=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5744 $as_echo_n "(cached) " >&6
5746 if test -n "$ICOTOOL"; then
5747 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5753 test -z "$as_dir" && as_dir
=.
5754 for ac_exec_ext
in '' $ac_executable_extensions; do
5755 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5756 ac_cv_prog_ICOTOOL
="$ac_prog"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5766 ICOTOOL
=$ac_cv_prog_ICOTOOL
5767 if test -n "$ICOTOOL"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5769 $as_echo "$ICOTOOL" >&6; }
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5776 test -n "$ICOTOOL" && break
5778 test -n "$ICOTOOL" || ICOTOOL
="false"
5780 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5781 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5783 if test "$CONVERT" = false
5785 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5788 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5789 convert_version
=`convert --version | head -n1`
5790 if test "x$convert_version" != "x"
5792 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5793 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5794 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5799 if test "$CONVERT" = false
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5802 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5803 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5806 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5810 if test "$ICOTOOL" = false
5812 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5815 $as_echo_n "checking for recent enough icotool... " >&6; }
5816 icotool_version
=`icotool --version | head -n1`
5817 if test "x$icotool_version" != "x"
5819 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5820 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5821 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5824 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5827 if test "$ICOTOOL" = false
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5830 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5831 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5834 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5840 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5843 test "x$with_gettext" != xno || MSGFMT
=false
5844 if test "$MSGFMT" != "false"
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5847 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5848 cat >conftest.po
<<EOF
5854 if $MSGFMT -o /dev
/null conftest.po
2>&5
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5857 $as_echo "yes" >&6; }
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860 $as_echo "no" >&6; }
5864 if test "$MSGFMT" = false
; then :
5865 case "x$with_gettext" in
5866 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5868 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5869 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5875 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5876 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5877 $as_echo_n "(cached) " >&6
5879 ac_check_lib_save_LIBS
=$LIBS
5881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5882 /* end confdefs.h. */
5884 /* Override any GCC internal prototype to avoid an error.
5885 Use char because int might match the return type of a GCC
5886 builtin and then its argument prototype would still apply. */
5890 char i386_set_ldt ();
5894 return i386_set_ldt ();
5899 if ac_fn_c_try_link
"$LINENO"; then :
5900 ac_cv_lib_i386_i386_set_ldt
=yes
5902 ac_cv_lib_i386_i386_set_ldt
=no
5904 rm -f core conftest.err conftest.
$ac_objext \
5905 conftest
$ac_exeext conftest.
$ac_ext
5906 LIBS
=$ac_check_lib_save_LIBS
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5909 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5910 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5911 cat >>confdefs.h
<<_ACEOF
5912 #define HAVE_LIBI386 1
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5920 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5921 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5922 $as_echo_n "(cached) " >&6
5924 ac_check_lib_save_LIBS
=$LIBS
5925 LIBS
="-lossaudio $LIBS"
5926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5927 /* end confdefs.h. */
5929 /* Override any GCC internal prototype to avoid an error.
5930 Use char because int might match the return type of a GCC
5931 builtin and then its argument prototype would still apply. */
5939 return _oss_ioctl ();
5944 if ac_fn_c_try_link
"$LINENO"; then :
5945 ac_cv_lib_ossaudio__oss_ioctl
=yes
5947 ac_cv_lib_ossaudio__oss_ioctl
=no
5949 rm -f core conftest.err conftest.
$ac_objext \
5950 conftest
$ac_exeext conftest.
$ac_ext
5951 LIBS
=$ac_check_lib_save_LIBS
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5954 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5955 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5956 cat >>confdefs.h
<<_ACEOF
5957 #define HAVE_LIBOSSAUDIO 1
5960 LIBS
="-lossaudio $LIBS"
5969 # Check whether --enable-largefile was given.
5970 if test "${enable_largefile+set}" = set; then :
5971 enableval
=$enable_largefile;
5974 if test "$enable_largefile" != no
; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5977 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5978 if ${ac_cv_sys_largefile_CC+:} false
; then :
5979 $as_echo_n "(cached) " >&6
5981 ac_cv_sys_largefile_CC
=no
5982 if test "$GCC" != yes; then
5985 # IRIX 6.2 and later do not support large files by default,
5986 # so use the C compiler's -n32 option if that helps.
5987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5988 /* end confdefs.h. */
5989 #include <sys/types.h>
5990 /* Check that off_t can represent 2**63 - 1 correctly.
5991 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5992 since some C++ compilers masquerading as C compilers
5993 incorrectly reject 9223372036854775807. */
5994 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5995 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5996 && LARGE_OFF_T % 2147483647 == 1)
6006 if ac_fn_c_try_compile
"$LINENO"; then :
6009 rm -f core conftest.err conftest.
$ac_objext
6011 if ac_fn_c_try_compile
"$LINENO"; then :
6012 ac_cv_sys_largefile_CC
=' -n32'; break
6014 rm -f core conftest.err conftest.
$ac_objext
6018 rm -f conftest.
$ac_ext
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6022 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6023 if test "$ac_cv_sys_largefile_CC" != no
; then
6024 CC
=$CC$ac_cv_sys_largefile_CC
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6028 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6029 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6030 $as_echo_n "(cached) " >&6
6033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6034 /* end confdefs.h. */
6035 #include <sys/types.h>
6036 /* Check that off_t can represent 2**63 - 1 correctly.
6037 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6038 since some C++ compilers masquerading as C compilers
6039 incorrectly reject 9223372036854775807. */
6040 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6041 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6042 && LARGE_OFF_T % 2147483647 == 1)
6052 if ac_fn_c_try_compile
"$LINENO"; then :
6053 ac_cv_sys_file_offset_bits
=no
; break
6055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6057 /* end confdefs.h. */
6058 #define _FILE_OFFSET_BITS 64
6059 #include <sys/types.h>
6060 /* Check that off_t can represent 2**63 - 1 correctly.
6061 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6062 since some C++ compilers masquerading as C compilers
6063 incorrectly reject 9223372036854775807. */
6064 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6065 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6066 && LARGE_OFF_T % 2147483647 == 1)
6076 if ac_fn_c_try_compile
"$LINENO"; then :
6077 ac_cv_sys_file_offset_bits
=64; break
6079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6080 ac_cv_sys_file_offset_bits
=unknown
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6085 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6086 case $ac_cv_sys_file_offset_bits in #(
6089 cat >>confdefs.h
<<_ACEOF
6090 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6095 if test $ac_cv_sys_file_offset_bits = unknown
; then
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6097 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6098 if ${ac_cv_sys_large_files+:} false
; then :
6099 $as_echo_n "(cached) " >&6
6102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6103 /* end confdefs.h. */
6104 #include <sys/types.h>
6105 /* Check that off_t can represent 2**63 - 1 correctly.
6106 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6107 since some C++ compilers masquerading as C compilers
6108 incorrectly reject 9223372036854775807. */
6109 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6110 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6111 && LARGE_OFF_T % 2147483647 == 1)
6121 if ac_fn_c_try_compile
"$LINENO"; then :
6122 ac_cv_sys_large_files
=no
; break
6124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6126 /* end confdefs.h. */
6127 #define _LARGE_FILES 1
6128 #include <sys/types.h>
6129 /* Check that off_t can represent 2**63 - 1 correctly.
6130 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6131 since some C++ compilers masquerading as C compilers
6132 incorrectly reject 9223372036854775807. */
6133 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6134 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6135 && LARGE_OFF_T % 2147483647 == 1)
6145 if ac_fn_c_try_compile
"$LINENO"; then :
6146 ac_cv_sys_large_files
=1; break
6148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6149 ac_cv_sys_large_files
=unknown
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6154 $as_echo "$ac_cv_sys_large_files" >&6; }
6155 case $ac_cv_sys_large_files in #(
6158 cat >>confdefs.h
<<_ACEOF
6159 #define _LARGE_FILES $ac_cv_sys_large_files
6171 ac_cpp
='$CPP $CPPFLAGS'
6172 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6173 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6174 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6176 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6177 # On Suns, sometimes $CPP names a directory.
6178 if test -n "$CPP" && test -d "$CPP"; then
6181 if test -z "$CPP"; then
6182 if ${ac_cv_prog_CPP+:} false
; then :
6183 $as_echo_n "(cached) " >&6
6185 # Double quotes because CPP needs to be expanded
6186 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6189 for ac_c_preproc_warn_flag
in '' yes
6191 # Use a header file that comes with gcc, so configuring glibc
6192 # with a fresh cross-compiler works.
6193 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6194 # <limits.h> exists even on freestanding compilers.
6195 # On the NeXT, cc -E runs the code through the compiler's parser,
6196 # not just through cpp. "Syntax error" is here to catch this case.
6197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6198 /* end confdefs.h. */
6200 # include <limits.h>
6202 # include <assert.h>
6206 if ac_fn_c_try_cpp
"$LINENO"; then :
6209 # Broken: fails on valid input.
6212 rm -f conftest.err conftest.i conftest.
$ac_ext
6214 # OK, works on sane cases. Now check whether nonexistent headers
6215 # can be detected and how.
6216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6217 /* end confdefs.h. */
6218 #include <ac_nonexistent.h>
6220 if ac_fn_c_try_cpp
"$LINENO"; then :
6221 # Broken: success on invalid input.
6224 # Passes both tests.
6228 rm -f conftest.err conftest.i conftest.
$ac_ext
6231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6232 rm -f conftest.i conftest.err conftest.
$ac_ext
6233 if $ac_preproc_ok; then :
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6246 $as_echo "$CPP" >&6; }
6248 for ac_c_preproc_warn_flag
in '' yes
6250 # Use a header file that comes with gcc, so configuring glibc
6251 # with a fresh cross-compiler works.
6252 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6253 # <limits.h> exists even on freestanding compilers.
6254 # On the NeXT, cc -E runs the code through the compiler's parser,
6255 # not just through cpp. "Syntax error" is here to catch this case.
6256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6257 /* end confdefs.h. */
6259 # include <limits.h>
6261 # include <assert.h>
6265 if ac_fn_c_try_cpp
"$LINENO"; then :
6268 # Broken: fails on valid input.
6271 rm -f conftest.err conftest.i conftest.
$ac_ext
6273 # OK, works on sane cases. Now check whether nonexistent headers
6274 # can be detected and how.
6275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6276 /* end confdefs.h. */
6277 #include <ac_nonexistent.h>
6279 if ac_fn_c_try_cpp
"$LINENO"; then :
6280 # Broken: success on invalid input.
6283 # Passes both tests.
6287 rm -f conftest.err conftest.i conftest.
$ac_ext
6290 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6291 rm -f conftest.i conftest.err conftest.
$ac_ext
6292 if $ac_preproc_ok; then :
6295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6297 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6298 See \`config.log' for more details" "$LINENO" 5; }
6302 ac_cpp
='$CPP $CPPFLAGS'
6303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6309 $as_echo_n "checking for ANSI C header files... " >&6; }
6310 if ${ac_cv_header_stdc+:} false
; then :
6311 $as_echo_n "(cached) " >&6
6313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6328 if ac_fn_c_try_compile
"$LINENO"; then :
6329 ac_cv_header_stdc
=yes
6331 ac_cv_header_stdc
=no
6333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6335 if test $ac_cv_header_stdc = yes; then
6336 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6338 /* end confdefs.h. */
6342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6343 $EGREP "memchr" >/dev
/null
2>&1; then :
6346 ac_cv_header_stdc
=no
6352 if test $ac_cv_header_stdc = yes; then
6353 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6355 /* end confdefs.h. */
6359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6360 $EGREP "free" >/dev
/null
2>&1; then :
6363 ac_cv_header_stdc
=no
6369 if test $ac_cv_header_stdc = yes; then
6370 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6371 if test "$cross_compiling" = yes; then :
6374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6378 #if ((' ' & 0x0FF) == 0x020)
6379 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6380 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6382 # define ISLOWER(c) \
6383 (('a' <= (c) && (c) <= 'i') \
6384 || ('j' <= (c) && (c) <= 'r') \
6385 || ('s' <= (c) && (c) <= 'z'))
6386 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6389 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6394 for (i = 0; i < 256; i++)
6395 if (XOR (islower (i), ISLOWER (i))
6396 || toupper (i) != TOUPPER (i))
6401 if ac_fn_c_try_run
"$LINENO"; then :
6404 ac_cv_header_stdc
=no
6406 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6407 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6413 $as_echo "$ac_cv_header_stdc" >&6; }
6414 if test $ac_cv_header_stdc = yes; then
6416 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6420 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6421 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6422 inttypes.h stdint.h unistd.h
6424 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6425 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6427 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6428 cat >>confdefs.h
<<_ACEOF
6429 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6439 ApplicationServices
/ApplicationServices.h \
6440 AudioToolbox
/AudioConverter.h \
6441 AudioUnit
/AudioUnit.h \
6442 AudioUnit
/AudioComponent.h \
6445 CoreAudio
/CoreAudio.h \
6446 CoreServices
/CoreServices.h \
6447 DiskArbitration
/DiskArbitration.h \
6449 IOKit
/hid
/IOHIDLib.h \
6452 QuickTime
/ImageCompression.h \
6453 Security
/Security.h \
6504 netinet
/in_systm.h \
6566 valgrind
/memcheck.h \
6567 valgrind
/valgrind.h \
6571 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6572 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6573 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6574 cat >>confdefs.h
<<_ACEOF
6575 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6583 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6584 if ${ac_cv_header_stat_broken+:} false
; then :
6585 $as_echo_n "(cached) " >&6
6587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6588 /* end confdefs.h. */
6589 #include <sys/types.h>
6590 #include <sys/stat.h>
6592 #if defined S_ISBLK && defined S_IFDIR
6593 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6596 #if defined S_ISBLK && defined S_IFCHR
6597 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6600 #if defined S_ISLNK && defined S_IFREG
6601 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6604 #if defined S_ISSOCK && defined S_IFREG
6605 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6609 if ac_fn_c_try_compile
"$LINENO"; then :
6610 ac_cv_header_stat_broken
=no
6612 ac_cv_header_stat_broken
=yes
6614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6617 $as_echo "$ac_cv_header_stat_broken" >&6; }
6618 if test $ac_cv_header_stat_broken = yes; then
6620 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6626 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6628 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6629 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6630 #ifdef HAVE_SYS_PARAM_H
6631 # include <sys/param.h>
6634 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6635 cat >>confdefs.h
<<_ACEOF
6636 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6651 netinet
/if_ether.h \
6652 netinet
/if_inarp.h \
6661 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6662 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6663 #ifdef HAVE_SYS_SOCKET_H
6664 # include <sys/socket.h>
6666 #ifdef HAVE_SYS_SOCKETVAR_H
6667 # include <sys/socketvar.h>
6669 #ifdef HAVE_NET_ROUTE_H
6670 # include <net/route.h>
6672 #ifdef HAVE_NETINET_IN_H
6673 # include <netinet/in.h>
6675 #ifdef HAVE_NETINET_IN_SYSTM_H
6676 # include <netinet/in_systm.h>
6678 #ifdef HAVE_NET_IF_H
6679 # include <net/if.h>
6681 #ifdef HAVE_NETINET_IP_H
6682 # include <netinet/ip.h>
6685 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6686 cat >>confdefs.h
<<_ACEOF
6687 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6695 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6697 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6698 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6702 #ifdef HAVE_SYS_SOCKET_H
6703 # include <sys/socket.h>
6705 #ifdef HAVE_SYS_SOCKETVAR_H
6706 # include <sys/socketvar.h>
6708 #ifdef HAVE_SYS_TIMEOUT_H
6709 # include <sys/timeout.h>
6711 #ifdef HAVE_NETINET_IN_H
6712 # include <netinet/in.h>
6714 #ifdef HAVE_NETINET_IN_SYSTM_H
6715 # include <netinet/in_systm.h>
6717 #ifdef HAVE_NETINET_IP_H
6718 # include <netinet/ip.h>
6720 #ifdef HAVE_NETINET_IP_VAR_H
6721 # include <netinet/ip_var.h>
6723 #ifdef HAVE_NETINET_IP_ICMP_H
6724 # include <netinet/ip_icmp.h>
6726 #ifdef HAVE_NETINET_UDP_H
6727 # include <netinet/udp.h>
6729 #ifdef HAVE_NETINET_TCP_H
6730 # include <netinet/tcp.h>
6732 #ifdef HAVE_NETINET_TCP_TIMER_H
6733 #include <netinet/tcp_timer.h>
6736 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6737 cat >>confdefs.h
<<_ACEOF
6738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6746 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6748 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6749 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6750 #ifdef HAVE_ASM_TYPES_H
6751 # include <asm/types.h>
6753 #ifdef HAVE_SYS_SOCKET_H
6754 # include <sys/socket.h>
6756 #ifdef HAVE_LINUX_TYPES_H
6757 # include <linux/types.h>
6760 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6761 cat >>confdefs.h
<<_ACEOF
6762 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6770 for ac_header
in mach-o
/dyld_images.h
6772 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6773 # include <stdbool.h>
6775 #ifdef HAVE_STDINT_H
6776 # include <stdint.h>
6779 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6780 cat >>confdefs.h
<<_ACEOF
6781 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6789 for ac_header
in resolv.h
6791 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6792 #ifdef HAVE_SYS_SOCKET_H
6793 # include <sys/socket.h>
6795 #ifdef HAVE_NETINET_IN_H
6796 # include <netinet/in.h>
6798 #ifdef HAVE_ARPA_NAMESER_H
6799 # include <arpa/nameser.h>
6802 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6803 cat >>confdefs.h
<<_ACEOF
6804 #define HAVE_RESOLV_H 1
6812 for ac_header
in ifaddrs.h
6814 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6816 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6817 cat >>confdefs.h
<<_ACEOF
6818 #define HAVE_IFADDRS_H 1
6826 for ac_header
in sys
/ucontext.h
6828 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6830 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6831 cat >>confdefs.h
<<_ACEOF
6832 #define HAVE_SYS_UCONTEXT_H 1
6840 for ac_header
in sys
/thr.h
6842 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6843 #ifdef HAVE_SYS_UCONTEXT_H
6844 #include <sys/ucontext.h>
6847 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6848 cat >>confdefs.h
<<_ACEOF
6849 #define HAVE_SYS_THR_H 1
6857 for ac_header
in pthread_np.h
6859 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6860 #include <pthread.h>
6863 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6864 cat >>confdefs.h
<<_ACEOF
6865 #define HAVE_PTHREAD_NP_H 1
6873 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6875 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6876 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6877 #include <sys/time.h>
6879 #include <sys/types.h>
6880 #ifdef HAVE_ASM_TYPES_H
6881 #include <asm/types.h>
6884 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6885 cat >>confdefs.h
<<_ACEOF
6886 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6894 for ac_header
in libprocstat.h
6896 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6897 #include <sys/param.h>
6899 #ifdef HAVE_SYS_QUEUE_H
6900 #include <sys/queue.h>
6902 #ifdef HAVE_SYS_SOCKET_H
6903 #include <sys/socket.h>
6906 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6907 cat >>confdefs.h
<<_ACEOF
6908 #define HAVE_LIBPROCSTAT_H 1
6917 dlldir
="\${libdir}/wine"
6921 DLLFLAGS
="-D_REENTRANT"
6930 STATIC_IMPLIBEXT
="def.a"
6931 # Extract the first word of "ldd", so it can be a program name with args.
6932 set dummy ldd
; ac_word
=$2
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6934 $as_echo_n "checking for $ac_word... " >&6; }
6935 if ${ac_cv_path_LDD+:} false
; then :
6936 $as_echo_n "(cached) " >&6
6940 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6944 as_dummy
="/sbin:/usr/sbin:$PATH"
6945 for as_dir
in $as_dummy
6948 test -z "$as_dir" && as_dir
=.
6949 for ac_exec_ext
in '' $ac_executable_extensions; do
6950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6951 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6959 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6964 if test -n "$LDD"; then
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6966 $as_echo "$LDD" >&6; }
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6969 $as_echo "no" >&6; }
6973 if test -n "$ac_tool_prefix"; then
6974 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6975 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6977 $as_echo_n "checking for $ac_word... " >&6; }
6978 if ${ac_cv_prog_READELF+:} false
; then :
6979 $as_echo_n "(cached) " >&6
6981 if test -n "$READELF"; then
6982 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6988 test -z "$as_dir" && as_dir
=.
6989 for ac_exec_ext
in '' $ac_executable_extensions; do
6990 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6991 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7001 READELF
=$ac_cv_prog_READELF
7002 if test -n "$READELF"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7004 $as_echo "$READELF" >&6; }
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7007 $as_echo "no" >&6; }
7012 if test -z "$ac_cv_prog_READELF"; then
7013 ac_ct_READELF
=$READELF
7014 # Extract the first word of "readelf", so it can be a program name with args.
7015 set dummy readelf
; ac_word
=$2
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7017 $as_echo_n "checking for $ac_word... " >&6; }
7018 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7019 $as_echo_n "(cached) " >&6
7021 if test -n "$ac_ct_READELF"; then
7022 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7028 test -z "$as_dir" && as_dir
=.
7029 for ac_exec_ext
in '' $ac_executable_extensions; do
7030 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7031 ac_cv_prog_ac_ct_READELF
="readelf"
7032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7041 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7042 if test -n "$ac_ct_READELF"; then
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7044 $as_echo "$ac_ct_READELF" >&6; }
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7047 $as_echo "no" >&6; }
7050 if test "x$ac_ct_READELF" = x
; then
7053 case $cross_compiling:$ac_tool_warned in
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7057 ac_tool_warned
=yes ;;
7059 READELF
=$ac_ct_READELF
7062 READELF
="$ac_cv_prog_READELF"
7065 wine_rules_file
=conf$
$rules.
make
7066 rm -f $wine_rules_file
7068 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7069 ALL_TEST_RESOURCES
=""
7072 wine_fn_append_file
()
7074 as_fn_append
$1 " \\$as_nl $2"
7077 wine_fn_ignore_file
()
7080 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7081 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7082 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7086 wine_fn_append_rule
()
7088 $as_echo "$1" >>$wine_rules_file
7093 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7096 wine_fn_depend_rules
()
7098 wine_fn_append_rule \
7099 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7100 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7101 depend: $ac_dir/depend
7102 .PHONY: $ac_dir/depend
7103 $ac_dir/depend: \$(MAKEDEP) dummy
7104 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7107 wine_fn_pot_rules
()
7109 test "x$with_gettextpo" = xyes ||
return
7111 if wine_fn_has_flag mc
7113 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7114 wine_fn_append_rule \
7115 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7116 @cd $ac_dir && \$(MAKE) msg.pot
7117 $ac_dir/msg.pot: tools/wmc include"
7119 if wine_fn_has_flag po
7121 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7122 wine_fn_append_rule \
7123 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7124 @cd $ac_dir && \$(MAKE) rsrc.pot
7125 $ac_dir/rsrc.pot: tools/wrc include"
7129 wine_fn_all_rules
()
7131 wine_fn_depend_rules
7132 wine_fn_append_rule \
7135 $ac_dir: $ac_dir/Makefile dummy
7136 @cd $ac_dir && \$(MAKE)"
7139 wine_fn_install_rules
()
7141 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7143 wine_fn_append_rule \
7144 ".PHONY: $ac_dir/install $ac_dir/uninstall
7145 $ac_dir/install:: $ac_dir
7146 @cd $ac_dir && \$(MAKE) install
7147 $ac_dir/uninstall:: $ac_dir/Makefile
7148 @cd $ac_dir && \$(MAKE) uninstall
7149 install:: $ac_dir/install
7150 __uninstall__: $ac_dir/uninstall"
7152 if wine_fn_has_flag install-lib
7154 wine_fn_append_rule \
7155 ".PHONY: $ac_dir/install-lib
7156 $ac_dir/install-lib:: $ac_dir
7157 @cd $ac_dir && \$(MAKE) install-lib
7158 install-lib:: $ac_dir/install-lib"
7161 if wine_fn_has_flag install-dev
7163 wine_fn_append_rule \
7164 ".PHONY: $ac_dir/install-dev
7165 $ac_dir/install-dev:: $ac_dir
7166 @cd $ac_dir && \$(MAKE) install-dev
7167 install-dev:: $ac_dir/install-dev"
7171 wine_fn_clean_rules
()
7174 ac_extraclean
="$ac_dir/Makefile"
7175 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7177 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7180 if wine_fn_has_flag clean
7182 wine_fn_append_rule \
7183 "__clean__: $ac_dir/clean
7184 .PHONY: $ac_dir/clean
7185 $ac_dir/clean: $ac_dir/Makefile
7186 @cd $ac_dir && \$(MAKE) clean
7187 \$(RM) $ac_extraclean"
7189 wine_fn_append_rule \
7190 "__clean__: $ac_dir/clean
7191 .PHONY: $ac_dir/clean
7192 $ac_dir/clean: dummy
7193 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7197 wine_fn_disabled_rules
()
7200 ac_extraclean
="$ac_dir/Makefile"
7201 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7203 wine_fn_append_rule \
7204 "__clean__: $ac_dir/clean
7205 .PHONY: $ac_dir/clean
7206 $ac_dir/clean: dummy
7207 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7210 wine_fn_config_makefile
()
7216 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7217 wine_fn_disabled_rules
; return
7220 wine_fn_install_rules
7224 wine_fn_config_lib
()
7228 ac_dir
=dlls
/$ac_name
7231 if test "x$enable_tools" = xno
; then :
7234 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7239 wine_fn_append_rule \
7240 ".PHONY: $ac_dir/install $ac_dir/uninstall
7241 $ac_dir/install:: $ac_dir
7242 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7244 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7245 install install-dev:: $ac_dir/install
7246 __uninstall__: $ac_dir/uninstall
7247 __builddeps__: $ac_dir
7251 wine_fn_config_dll
()
7254 ac_dir
=dlls
/$ac_name
7257 ac_implib
=${4:-$ac_name}
7258 ac_file
=$ac_dir/lib
$ac_implib
7263 if test "x$enable_tools" = xno
; then :
7266 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7269 *16) ac_implibflags
=" -m16" ;;
7271 *) ac_dll
=$ac_dll.dll
;;
7275 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7276 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7277 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7278 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7280 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7281 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7283 wine_fn_depend_rules
7284 wine_fn_clean_rules
$ac_clean
7286 wine_fn_disabled_rules
$ac_clean
7291 wine_fn_clean_rules
$ac_clean
7292 wine_fn_append_rule \
7293 "$ac_dir: __builddeps__
7294 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7295 @cd $ac_dir && \$(MAKE) \$@
7296 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7297 install install-lib:: $ac_dir/install-lib
7298 __uninstall__: $ac_dir/uninstall"
7299 if test -n "$DLLEXT"
7301 wine_fn_append_rule \
7302 "$ac_dir/install-lib:: $ac_dir
7303 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7304 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7306 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7308 wine_fn_append_rule \
7309 "$ac_dir/install-lib:: $ac_dir
7310 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7312 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7318 if wine_fn_has_flag staticimplib
7320 wine_fn_append_rule \
7321 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7322 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7323 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7324 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7325 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7326 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7327 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7328 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7329 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7331 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7332 install install-dev:: $ac_dir/install-dev
7333 __uninstall__: $ac_dir/uninstall"
7335 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7337 wine_fn_append_rule \
7338 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7339 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7341 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7344 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7346 wine_fn_append_rule \
7347 "__builddeps__: $ac_file.cross.a
7348 $ac_file.cross.a: $ac_dir/Makefile dummy
7349 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7352 elif wine_fn_has_flag implib
7354 wine_fn_append_rule \
7355 "__builddeps__: $ac_file.$IMPLIBEXT
7356 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7357 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7358 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7359 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7360 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7361 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7362 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7364 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7365 install install-dev:: $ac_dir/install-dev
7366 __uninstall__: $ac_dir/uninstall"
7367 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7369 wine_fn_append_rule \
7370 "__builddeps__: $ac_file.cross.a
7371 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7372 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7375 if test "$ac_name" != "$ac_implib"
7377 wine_fn_append_rule \
7378 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7379 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7380 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7382 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7383 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7384 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7386 wine_fn_append_rule \
7387 "__builddeps__: dlls/lib$ac_implib.cross.a
7388 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7389 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7391 \$(RM) dlls/lib$ac_implib.cross.a"
7392 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7398 wine_fn_config_program
()
7401 ac_dir
=programs
/$ac_name
7408 *) ac_program
=$ac_program.exe
;;
7412 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7413 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7414 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7415 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7417 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7418 wine_fn_disabled_rules
$ac_clean; return
7422 wine_fn_clean_rules
$ac_clean
7423 wine_fn_append_rule
"$ac_dir: __builddeps__"
7426 wine_fn_has_flag
install ||
return
7427 wine_fn_append_rule \
7428 ".PHONY: $ac_dir/install $ac_dir/uninstall
7429 install install-lib:: $ac_dir/install
7430 __uninstall__: $ac_dir/uninstall"
7432 if test -n "$DLLEXT"
7434 wine_fn_append_rule \
7435 "$ac_dir/install:: $ac_dir
7436 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7437 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7439 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7441 if test -z "$with_wine64" && wine_fn_has_flag installbin
7443 wine_fn_append_rule \
7444 "$ac_dir/install:: __tooldeps__
7445 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7447 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7450 wine_fn_append_rule \
7451 "$ac_dir/install:: $ac_dir
7452 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7454 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7457 if test -z "$with_wine64" && wine_fn_has_flag manpage
7459 wine_fn_append_rule \
7460 "$ac_dir/install:: $ac_dir
7461 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7463 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7467 wine_fn_config_test
()
7474 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7475 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7477 if test "x$enable_tests" = xno
; then :
7478 wine_fn_disabled_rules
$ac_clean; return
7481 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7483 wine_fn_clean_rules
$ac_clean
7485 wine_fn_append_rule \
7486 "$ac_dir: programs/winetest/Makefile __builddeps__
7487 programs/winetest: $ac_dir
7488 check test: $ac_dir/test
7489 .PHONY: $ac_dir/test
7491 @cd $ac_dir && \$(MAKE) test
7493 \$(RM) $ac_dir/*.ok"
7495 if test -n "$CROSSTARGET"
7497 wine_fn_append_rule \
7498 "crosstest: $ac_dir/crosstest
7499 .PHONY: $ac_dir/crosstest
7500 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7501 @cd $ac_dir && \$(MAKE) crosstest"
7505 wine_fn_config_tool
()
7509 if test "x$enable_tools" = xno
; then :
7514 wine_fn_install_rules
7517 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7518 wine_fn_append_rule
"$ac_dir: libs/port"
7520 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7524 wine_fn_config_symlink
()
7527 if test "x$1" = "x-d"
7533 wine_fn_append_rule \
7535 @./config.status \$@
7538 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7539 test -n "$ac_linkdir" ||
return
7540 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7544 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7545 loader_programs
="$wine_binary wine-installed"
7546 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7551 install install-lib:: wine-installed
7552 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7555 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7561 if test -n "$ac_tool_prefix"; then
7562 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7563 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7565 $as_echo_n "checking for $ac_word... " >&6; }
7566 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7567 $as_echo_n "(cached) " >&6
7569 if test -n "$DLLTOOL"; then
7570 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7576 test -z "$as_dir" && as_dir
=.
7577 for ac_exec_ext
in '' $ac_executable_extensions; do
7578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7579 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7589 DLLTOOL
=$ac_cv_prog_DLLTOOL
7590 if test -n "$DLLTOOL"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7592 $as_echo "$DLLTOOL" >&6; }
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }
7600 if test -z "$ac_cv_prog_DLLTOOL"; then
7601 ac_ct_DLLTOOL
=$DLLTOOL
7602 # Extract the first word of "dlltool", so it can be a program name with args.
7603 set dummy dlltool
; ac_word
=$2
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7605 $as_echo_n "checking for $ac_word... " >&6; }
7606 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7607 $as_echo_n "(cached) " >&6
7609 if test -n "$ac_ct_DLLTOOL"; then
7610 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7616 test -z "$as_dir" && as_dir
=.
7617 for ac_exec_ext
in '' $ac_executable_extensions; do
7618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7619 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7629 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7630 if test -n "$ac_ct_DLLTOOL"; then
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7632 $as_echo "$ac_ct_DLLTOOL" >&6; }
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7635 $as_echo "no" >&6; }
7638 if test "x$ac_ct_DLLTOOL" = x
; then
7641 case $cross_compiling:$ac_tool_warned in
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7645 ac_tool_warned
=yes ;;
7647 DLLTOOL
=$ac_ct_DLLTOOL
7650 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7656 STATIC_IMPLIBEXT
="a"
7657 enable_iphlpapi
=${enable_iphlpapi:-no}
7658 enable_kernel32
=${enable_kernel32:-no}
7659 enable_msvcrt
=${enable_msvcrt:-no}
7660 enable_ntdll
=${enable_ntdll:-no}
7661 enable_ws2_32
=${enable_ws2_32:-no}
7662 enable_loader
=${enable_loader:-no}
7663 enable_server
=${enable_server:-no}
7664 with_x
=${with_x:-no}
7665 with_pthread
=${with_pthread:-no}
7671 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7675 libwine_targets
="libwine.dll libwine.a"
7677 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7679 all: libwine.dll libwine.a
7681 libwine.a: \$(srcdir)/wine.def
7682 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7684 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7685 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7687 install install-lib:: libwine.dll
7688 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7690 install install-dev:: libwine.a
7691 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7694 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7701 DLLFLAGS
="$DLLFLAGS -fPIC"
7702 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7703 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7704 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7705 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7707 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7709 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7711 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7713 CORESERVICES_LIBS
="-framework CoreServices"
7715 APPKIT_LIBS
="-framework AppKit"
7717 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7719 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7721 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7723 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7726 if test "$ac_cv_header_Security_Security_h" = "yes"
7728 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7730 ac_save_LIBS
="$LIBS"
7731 LIBS
="$LIBS $SECURITY_LIBS"
7732 for ac_func
in SSLCopyPeerCertificates
7734 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7735 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7736 cat >>confdefs.h
<<_ACEOF
7737 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7743 LIBS
="$ac_save_LIBS"
7744 with_gnutls
=${with_gnutls:-no}
7746 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7748 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7750 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7753 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7756 ac_save_LIBS
="$LIBS"
7757 LIBS
="$LIBS $COREAUDIO_LIBS"
7758 for ac_func
in AUGraphAddNode
7760 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7761 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7762 cat >>confdefs.h
<<_ACEOF
7763 #define HAVE_AUGRAPHADDNODE 1
7769 LIBS
="$ac_save_LIBS"
7771 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7773 OPENAL_LIBS
="-framework OpenAL"
7776 cat >>confdefs.h
<<_ACEOF
7777 #define HAVE_OPENAL 1
7780 ac_cv_lib_openal
=yes
7782 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7784 OPENCL_LIBS
="-framework OpenCL"
7786 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7788 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7790 ac_save_LIBS
="$LIBS"
7791 LIBS
="$LIBS $IOKIT_LIBS"
7792 for ac_func
in IOHIDManagerCreate
7794 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7795 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7796 cat >>confdefs.h
<<_ACEOF
7797 #define HAVE_IOHIDMANAGERCREATE 1
7803 LIBS
="$ac_save_LIBS"
7805 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7807 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7809 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7811 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7813 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7815 CARBON_LIBS
="-framework Carbon"
7819 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7821 ac_save_LIBS
="$LIBS"
7822 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7823 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7824 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7825 enable_winemac_drv
=${enable_winemac_drv:-yes}
7828 LIBS
="$ac_save_LIBS"
7831 if test "x$enable_win16" = "xyes"
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7834 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7835 if test "$cross_compiling" = yes; then :
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7837 $as_echo "cross-compiling, assuming yes" >&6; }
7839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7840 /* end confdefs.h. */
7843 "good:\tnop;nop\n\t"
7844 ".globl _testfunc\n"
7845 "_testfunc:\tcallw good");
7846 extern void testfunc();
7850 unsigned short *p = (unsigned short *)testfunc;
7851 return p[0] != 0xe866 || p[1] != 0xfffa
7856 if ac_fn_c_try_run
"$LINENO"; then :
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7858 $as_echo "yes" >&6; }
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7861 $as_echo "no" >&6; }
7862 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
7864 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7865 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7870 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7872 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7876 libwine.$libwine_version.dylib: \$(OBJS)
7877 \$(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 \$@
7879 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7880 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7882 libwine.dylib: libwine.$libwine_soversion.dylib
7883 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7885 install install-lib:: libwine.$libwine_version.dylib
7886 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7887 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7889 install install-dev::
7890 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7893 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7897 as_fn_append LOADER_RULES
"
7898 $wine_binary: main.o wine_info.plist
7899 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7901 wine-installed: main.o wine_info.plist
7902 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7907 DLLFLAGS
="$DLLFLAGS -fPIC"
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7912 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7913 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7914 $as_echo_n "(cached) " >&6
7916 ac_wine_try_cflags_saved
=$CFLAGS
7917 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7919 /* end confdefs.h. */
7920 int main(int argc, char **argv) { return 0; }
7922 if ac_fn_c_try_link
"$LINENO"; then :
7923 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7925 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7927 rm -f core conftest.err conftest.
$ac_objext \
7928 conftest
$ac_exeext conftest.
$ac_ext
7929 CFLAGS
=$ac_wine_try_cflags_saved
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7932 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7933 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7934 LDEXECFLAGS
="-Wl,--export-dynamic"
7936 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7938 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7939 if eval \
${$as_ac_var+:} false
; then :
7940 $as_echo_n "(cached) " >&6
7942 ac_wine_try_cflags_saved
=$CFLAGS
7943 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7945 /* end confdefs.h. */
7946 int main(int argc, char **argv) { return 0; }
7948 if ac_fn_c_try_link
"$LINENO"; then :
7949 eval "$as_ac_var=yes"
7951 eval "$as_ac_var=no"
7953 rm -f core conftest.err conftest.
$ac_objext \
7954 conftest
$ac_exeext conftest.
$ac_ext
7955 CFLAGS
=$ac_wine_try_cflags_saved
7957 eval ac_res
=\$
$as_ac_var
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7959 $as_echo "$ac_res" >&6; }
7960 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7961 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7962 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7964 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7966 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7967 if eval \
${$as_ac_var+:} false
; then :
7968 $as_echo_n "(cached) " >&6
7970 ac_wine_try_cflags_saved
=$CFLAGS
7971 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7973 /* end confdefs.h. */
7974 int main(int argc, char **argv) { return 0; }
7976 if ac_fn_c_try_link
"$LINENO"; then :
7977 eval "$as_ac_var=yes"
7979 eval "$as_ac_var=no"
7981 rm -f core conftest.err conftest.
$ac_objext \
7982 conftest
$ac_exeext conftest.
$ac_ext
7983 CFLAGS
=$ac_wine_try_cflags_saved
7985 eval ac_res
=\$
$as_ac_var
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7987 $as_echo "$ac_res" >&6; }
7988 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7989 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7990 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7995 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7996 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7997 $as_echo_n "(cached) " >&6
7999 ac_wine_try_cflags_saved
=$CFLAGS
8000 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8002 /* end confdefs.h. */
8003 int main(int argc, char **argv) { return 0; }
8005 if ac_fn_c_try_link
"$LINENO"; then :
8006 ac_cv_cflags__Wl___enable_new_dtags
=yes
8008 ac_cv_cflags__Wl___enable_new_dtags
=no
8010 rm -f core conftest.err conftest.
$ac_objext \
8011 conftest
$ac_exeext conftest.
$ac_ext
8012 CFLAGS
=$ac_wine_try_cflags_saved
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8015 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8016 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8017 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8021 *i
[3456789]86* | x86_64
)
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8023 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8024 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8025 $as_echo_n "(cached) " >&6
8027 ac_wine_try_cflags_saved
=$CFLAGS
8028 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8030 /* end confdefs.h. */
8031 int main(int argc, char **argv) { return 0; }
8033 if ac_fn_c_try_link
"$LINENO"; then :
8034 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8036 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8038 rm -f core conftest.err conftest.
$ac_objext \
8039 conftest
$ac_exeext conftest.
$ac_ext
8040 CFLAGS
=$ac_wine_try_cflags_saved
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8043 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8044 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8045 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8050 libwine_targets
="libwine.so"
8052 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8056 libwine.so: \$(OBJS)
8057 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8059 install install-lib:: libwine.so
8060 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8063 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8067 as_fn_append LOADER_RULES
"
8068 $wine_binary: main.o
8069 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8071 wine-installed: main.o
8072 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8077 DLLFLAGS
="$DLLFLAGS -fPIC"
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8080 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8081 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8082 $as_echo_n "(cached) " >&6
8084 ac_wine_try_cflags_saved
=$CFLAGS
8085 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8087 /* end confdefs.h. */
8090 if ac_fn_c_try_link
"$LINENO"; then :
8091 ac_cv_c_dll_gnuelf
="yes"
8093 ac_cv_c_dll_gnuelf
="no"
8095 rm -f core conftest.err conftest.
$ac_objext \
8096 conftest
$ac_exeext conftest.
$ac_ext
8097 CFLAGS
=$ac_wine_try_cflags_saved
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8100 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8101 if test "$ac_cv_c_dll_gnuelf" = "yes"
8103 LDSHARED
="\$(CC) -shared"
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8105 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8106 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8107 $as_echo_n "(cached) " >&6
8109 ac_wine_try_cflags_saved
=$CFLAGS
8110 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8112 /* end confdefs.h. */
8113 int main(int argc, char **argv) { return 0; }
8115 if ac_fn_c_try_link
"$LINENO"; then :
8116 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8118 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8120 rm -f core conftest.err conftest.
$ac_objext \
8121 conftest
$ac_exeext conftest.
$ac_ext
8122 CFLAGS
=$ac_wine_try_cflags_saved
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8125 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8126 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8127 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8130 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8131 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8132 $as_echo_n "(cached) " >&6
8134 ac_wine_try_cflags_saved
=$CFLAGS
8135 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8137 /* end confdefs.h. */
8138 int main(int argc, char **argv) { return 0; }
8140 if ac_fn_c_try_link
"$LINENO"; then :
8141 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8143 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8145 rm -f core conftest.err conftest.
$ac_objext \
8146 conftest
$ac_exeext conftest.
$ac_ext
8147 CFLAGS
=$ac_wine_try_cflags_saved
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8150 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8151 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8152 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8156 echo '{ global: *; };' >conftest.map
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8158 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8159 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8160 $as_echo_n "(cached) " >&6
8162 ac_wine_try_cflags_saved
=$CFLAGS
8163 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8165 /* end confdefs.h. */
8166 int main(int argc, char **argv) { return 0; }
8168 if ac_fn_c_try_link
"$LINENO"; then :
8169 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8171 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8173 rm -f core conftest.err conftest.
$ac_objext \
8174 conftest
$ac_exeext conftest.
$ac_ext
8175 CFLAGS
=$ac_wine_try_cflags_saved
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8178 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8179 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8180 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8185 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8186 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8187 $as_echo_n "(cached) " >&6
8189 ac_wine_try_cflags_saved
=$CFLAGS
8190 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8192 /* end confdefs.h. */
8193 int main(int argc, char **argv) { return 0; }
8195 if ac_fn_c_try_link
"$LINENO"; then :
8196 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8198 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8200 rm -f core conftest.err conftest.
$ac_objext \
8201 conftest
$ac_exeext conftest.
$ac_ext
8202 CFLAGS
=$ac_wine_try_cflags_saved
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8205 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8206 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8207 LDEXECFLAGS
="-Wl,--export-dynamic"
8210 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8212 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8213 if eval \
${$as_ac_var+:} false
; then :
8214 $as_echo_n "(cached) " >&6
8216 ac_wine_try_cflags_saved
=$CFLAGS
8217 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8219 /* end confdefs.h. */
8220 int main(int argc, char **argv) { return 0; }
8222 if ac_fn_c_try_link
"$LINENO"; then :
8223 eval "$as_ac_var=yes"
8225 eval "$as_ac_var=no"
8227 rm -f core conftest.err conftest.
$ac_objext \
8228 conftest
$ac_exeext conftest.
$ac_ext
8229 CFLAGS
=$ac_wine_try_cflags_saved
8231 eval ac_res
=\$
$as_ac_var
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8233 $as_echo "$ac_res" >&6; }
8234 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8235 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8236 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8238 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8240 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8241 if eval \
${$as_ac_var+:} false
; then :
8242 $as_echo_n "(cached) " >&6
8244 ac_wine_try_cflags_saved
=$CFLAGS
8245 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8247 /* end confdefs.h. */
8248 int main(int argc, char **argv) { return 0; }
8250 if ac_fn_c_try_link
"$LINENO"; then :
8251 eval "$as_ac_var=yes"
8253 eval "$as_ac_var=no"
8255 rm -f core conftest.err conftest.
$ac_objext \
8256 conftest
$ac_exeext conftest.
$ac_ext
8257 CFLAGS
=$ac_wine_try_cflags_saved
8259 eval ac_res
=\$
$as_ac_var
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8261 $as_echo "$ac_res" >&6; }
8262 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8263 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8264 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8269 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8270 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8271 $as_echo_n "(cached) " >&6
8273 ac_wine_try_cflags_saved
=$CFLAGS
8274 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8276 /* end confdefs.h. */
8277 int main(int argc, char **argv) { return 0; }
8279 if ac_fn_c_try_link
"$LINENO"; then :
8280 ac_cv_cflags__Wl___enable_new_dtags
=yes
8282 ac_cv_cflags__Wl___enable_new_dtags
=no
8284 rm -f core conftest.err conftest.
$ac_objext \
8285 conftest
$ac_exeext conftest.
$ac_ext
8286 CFLAGS
=$ac_wine_try_cflags_saved
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8289 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8290 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8291 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8295 *i
[3456789]86* | x86_64
)
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8297 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8298 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8299 $as_echo_n "(cached) " >&6
8301 ac_wine_try_cflags_saved
=$CFLAGS
8302 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8305 int main(int argc, char **argv) { return 0; }
8307 if ac_fn_c_try_link
"$LINENO"; then :
8308 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8310 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8312 rm -f core conftest.err conftest.
$ac_objext \
8313 conftest
$ac_exeext conftest.
$ac_ext
8314 CFLAGS
=$ac_wine_try_cflags_saved
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8317 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8318 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8320 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8321 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8325 # Extract the first word of "prelink", so it can be a program name with args.
8326 set dummy prelink
; ac_word
=$2
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8328 $as_echo_n "checking for $ac_word... " >&6; }
8329 if ${ac_cv_path_PRELINK+:} false
; then :
8330 $as_echo_n "(cached) " >&6
8334 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8338 for as_dir
in /sbin
/usr
/sbin
$PATH
8341 test -z "$as_dir" && as_dir
=.
8342 for ac_exec_ext
in '' $ac_executable_extensions; do
8343 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8344 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8352 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8356 PRELINK
=$ac_cv_path_PRELINK
8357 if test -n "$PRELINK"; then
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8359 $as_echo "$PRELINK" >&6; }
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8362 $as_echo "no" >&6; }
8366 if test "x$PRELINK" = xfalse
8368 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8375 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8376 if ${ac_cv_c_dll_unixware+:} false
; then :
8377 $as_echo_n "(cached) " >&6
8379 ac_wine_try_cflags_saved
=$CFLAGS
8380 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8382 /* end confdefs.h. */
8385 if ac_fn_c_try_link
"$LINENO"; then :
8386 ac_cv_c_dll_unixware
="yes"
8388 ac_cv_c_dll_unixware
="no"
8390 rm -f core conftest.err conftest.
$ac_objext \
8391 conftest
$ac_exeext conftest.
$ac_ext
8392 CFLAGS
=$ac_wine_try_cflags_saved
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8395 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8396 if test "$ac_cv_c_dll_unixware" = "yes"
8398 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8401 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8403 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8407 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8408 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8410 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8411 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8413 libwine.so: libwine.so.$libwine_soversion
8414 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8416 install install-lib:: libwine.so.$libwine_version
8417 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8418 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8420 install install-dev::
8421 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8424 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8428 as_fn_append LOADER_RULES
"
8429 $wine_binary: main.o
8430 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8432 wine-installed: main.o
8433 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8438 as_fn_append LIBWINE_RULES
"
8439 EXTRA_TARGETS = $libwine_targets
8442 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8443 enable_winemac_drv
=${enable_winemac_drv:-no}
8447 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8451 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
8454 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 " ;;
8456 ac_prefix_list
="" ;;
8458 for ac_prog
in $ac_prefix_list
8460 # Extract the first word of "$ac_prog", so it can be a program name with args.
8461 set dummy
$ac_prog; ac_word
=$2
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8463 $as_echo_n "checking for $ac_word... " >&6; }
8464 if ${ac_cv_prog_CROSSCC+:} false
; then :
8465 $as_echo_n "(cached) " >&6
8467 if test -n "$CROSSCC"; then
8468 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8474 test -z "$as_dir" && as_dir
=.
8475 for ac_exec_ext
in '' $ac_executable_extensions; do
8476 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8477 ac_cv_prog_CROSSCC
="$ac_prog"
8478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8487 CROSSCC
=$ac_cv_prog_CROSSCC
8488 if test -n "$CROSSCC"; then
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8490 $as_echo "$CROSSCC" >&6; }
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8493 $as_echo "no" >&6; }
8497 test -n "$CROSSCC" && break
8499 test -n "$CROSSCC" || CROSSCC
="false"
8501 if test "$CROSSCC" != "false"
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8506 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8518 if ac_fn_c_try_compile
"$LINENO"; then :
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8520 $as_echo "yes" >&6; }
8526 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8532 $as_echo "no" >&6; }
8534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8540 if test "$ac_cv_header_pthread_h" = "yes"
8542 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8543 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8547 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8548 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8549 $as_echo_n "(cached) " >&6
8551 ac_check_lib_save_LIBS
=$LIBS
8552 LIBS
="-lpthread $LIBS"
8553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8556 /* Override any GCC internal prototype to avoid an error.
8557 Use char because int might match the return type of a GCC
8558 builtin and then its argument prototype would still apply. */
8562 char pthread_create ();
8566 return pthread_create ();
8571 if ac_fn_c_try_link
"$LINENO"; then :
8572 ac_cv_lib_pthread_pthread_create
=yes
8574 ac_cv_lib_pthread_pthread_create
=no
8576 rm -f core conftest.err conftest.
$ac_objext \
8577 conftest
$ac_exeext conftest.
$ac_ext
8578 LIBS
=$ac_check_lib_save_LIBS
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8581 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8582 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8583 PTHREAD_LIBS
="-lpthread"
8590 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8591 case "x$with_pthread" in
8593 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8594 Wine cannot support threads without libpthread.
8595 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8601 $as_echo_n "checking for X... " >&6; }
8604 # Check whether --with-x was given.
8605 if test "${with_x+set}" = set; then :
8609 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8610 if test "x$with_x" = xno
; then
8611 # The user explicitly disabled X.
8614 case $x_includes,$x_libraries in #(
8615 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8616 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8617 $as_echo_n "(cached) " >&6
8619 # One or both of the vars are not set, and there is no cached value.
8620 ac_x_includes
=no ac_x_libraries
=no
8621 rm -f -r conftest.dir
8622 if mkdir conftest.dir
; then
8624 cat >Imakefile
<<'_ACEOF'
8626 @echo incroot='${INCROOT}'
8628 @echo usrlibdir='${USRLIBDIR}'
8630 @echo libdir='${LIBDIR}'
8632 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8633 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8634 for ac_var
in incroot usrlibdir libdir
; do
8635 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8637 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8638 for ac_extension
in a so sl dylib la dll
; do
8639 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8640 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8641 ac_im_usrlibdir
=$ac_im_libdir; break
8644 # Screen out bogus values from the imake configuration. They are
8645 # bogus both because they are the default anyway, and because
8646 # using them would break gcc on systems where it needs fixed includes.
8647 case $ac_im_incroot in
8648 /usr
/include
) ac_x_includes
= ;;
8649 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8651 case $ac_im_usrlibdir in
8652 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8653 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8657 rm -f -r conftest.dir
8660 # Standard set of common directories for X headers.
8661 # Check X11 before X11Rn because it is often a symlink to the current release.
8675 /usr/local/X11/include
8676 /usr/local/X11R7/include
8677 /usr/local/X11R6/include
8678 /usr/local/X11R5/include
8679 /usr/local/X11R4/include
8681 /usr/local/include/X11
8682 /usr/local/include/X11R7
8683 /usr/local/include/X11R6
8684 /usr/local/include/X11R5
8685 /usr/local/include/X11R4
8689 /usr/XFree86/include/X11
8693 /usr/unsupported/include
8695 /usr/local/x11r5/include
8696 /usr/lpp/Xamples/include
8698 /usr/openwin/include
8699 /usr/openwin/share/include'
8701 if test "$ac_x_includes" = no
; then
8702 # Guess where to find include files, by looking for Xlib.h.
8703 # First, try using that file with no special directory specified.
8704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8705 /* end confdefs.h. */
8706 #include <X11/Xlib.h>
8708 if ac_fn_c_try_cpp
"$LINENO"; then :
8709 # We can compile using X headers with no special include directory.
8712 for ac_dir
in $ac_x_header_dirs; do
8713 if test -r "$ac_dir/X11/Xlib.h"; then
8714 ac_x_includes
=$ac_dir
8719 rm -f conftest.err conftest.i conftest.
$ac_ext
8720 fi # $ac_x_includes = no
8722 if test "$ac_x_libraries" = no
; then
8723 # Check for the libraries.
8724 # See if we find them without any special options.
8725 # Don't add to $LIBS permanently.
8728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8729 /* end confdefs.h. */
8730 #include <X11/Xlib.h>
8739 if ac_fn_c_try_link
"$LINENO"; then :
8741 # We can link X programs with no special library path.
8745 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8747 # Don't even attempt the hair of trying to link an X program!
8748 for ac_extension
in a so sl dylib la dll
; do
8749 if test -r "$ac_dir/libX11.$ac_extension"; then
8750 ac_x_libraries
=$ac_dir
8756 rm -f core conftest.err conftest.
$ac_objext \
8757 conftest
$ac_exeext conftest.
$ac_ext
8758 fi # $ac_x_libraries = no
8760 case $ac_x_includes,$ac_x_libraries in #(
8762 # Didn't find X, or a directory has "'" in its name.
8763 ac_cv_have_x
="have_x=no";; #(
8765 # Record where we found X for the cache.
8766 ac_cv_have_x
="have_x=yes\
8767 ac_x_includes='$ac_x_includes'\
8768 ac_x_libraries='$ac_x_libraries'"
8774 eval "$ac_cv_have_x"
8777 if test "$have_x" != yes; then
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8779 $as_echo "$have_x" >&6; }
8782 # If each of the values was on the command line, it overrides each guess.
8783 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8784 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8785 # Update the cache value to reflect the command line values.
8786 ac_cv_have_x
="have_x=yes\
8787 ac_x_includes='$x_includes'\
8788 ac_x_libraries='$x_libraries'"
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8790 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8793 if test "$no_x" = yes; then
8794 # Not all programs may use this symbol, but it does not hurt to define it.
8796 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8798 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8800 if test -n "$x_includes"; then
8801 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8804 # It would also be nice to do this for all -L options, not just this one.
8805 if test -n "$x_libraries"; then
8806 X_LIBS
="$X_LIBS -L$x_libraries"
8807 # For Solaris; some versions of Sun CC require a space after -R and
8808 # others require no space. Words are not sufficient . . . .
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8810 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8811 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8812 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8813 ac_c_werror_flag
=yes
8814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8815 /* end confdefs.h. */
8825 if ac_fn_c_try_link
"$LINENO"; then :
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8827 $as_echo "no" >&6; }
8828 X_LIBS
="$X_LIBS -R$x_libraries"
8830 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8832 /* end confdefs.h. */
8842 if ac_fn_c_try_link
"$LINENO"; then :
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8844 $as_echo "yes" >&6; }
8845 X_LIBS
="$X_LIBS -R $x_libraries"
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8848 $as_echo "neither works" >&6; }
8850 rm -f core conftest.err conftest.
$ac_objext \
8851 conftest
$ac_exeext conftest.
$ac_ext
8853 rm -f core conftest.err conftest.
$ac_objext \
8854 conftest
$ac_exeext conftest.
$ac_ext
8855 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8859 # Check for system-dependent libraries X programs must link with.
8860 # Do this before checking for the system-independent R6 libraries
8861 # (-lICE), since we may need -lsocket or whatever for X linking.
8863 if test "$ISC" = yes; then
8864 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8866 # Martyn Johnson says this is needed for Ultrix, if the X
8867 # libraries were built with DECnet support. And Karl Berry says
8868 # the Alpha needs dnet_stub (dnet does not exist).
8869 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h. */
8873 /* Override any GCC internal prototype to avoid an error.
8874 Use char because int might match the return type of a GCC
8875 builtin and then its argument prototype would still apply. */
8879 char XOpenDisplay ();
8883 return XOpenDisplay ();
8888 if ac_fn_c_try_link
"$LINENO"; then :
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8892 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8893 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8894 $as_echo_n "(cached) " >&6
8896 ac_check_lib_save_LIBS
=$LIBS
8898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8899 /* end confdefs.h. */
8901 /* Override any GCC internal prototype to avoid an error.
8902 Use char because int might match the return type of a GCC
8903 builtin and then its argument prototype would still apply. */
8911 return dnet_ntoa ();
8916 if ac_fn_c_try_link
"$LINENO"; then :
8917 ac_cv_lib_dnet_dnet_ntoa
=yes
8919 ac_cv_lib_dnet_dnet_ntoa
=no
8921 rm -f core conftest.err conftest.
$ac_objext \
8922 conftest
$ac_exeext conftest.
$ac_ext
8923 LIBS
=$ac_check_lib_save_LIBS
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8926 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8927 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8928 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8931 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8933 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8934 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8935 $as_echo_n "(cached) " >&6
8937 ac_check_lib_save_LIBS
=$LIBS
8938 LIBS
="-ldnet_stub $LIBS"
8939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8940 /* end confdefs.h. */
8942 /* Override any GCC internal prototype to avoid an error.
8943 Use char because int might match the return type of a GCC
8944 builtin and then its argument prototype would still apply. */
8952 return dnet_ntoa ();
8957 if ac_fn_c_try_link
"$LINENO"; then :
8958 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8960 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8962 rm -f core conftest.err conftest.
$ac_objext \
8963 conftest
$ac_exeext conftest.
$ac_ext
8964 LIBS
=$ac_check_lib_save_LIBS
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8967 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8968 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8969 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8974 rm -f core conftest.err conftest.
$ac_objext \
8975 conftest
$ac_exeext conftest.
$ac_ext
8976 LIBS
="$ac_xsave_LIBS"
8978 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8979 # to get the SysV transport functions.
8980 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8982 # The nsl library prevents programs from opening the X display
8983 # on Irix 5.2, according to T.E. Dickey.
8984 # The functions gethostbyname, getservbyname, and inet_addr are
8985 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8986 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8987 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8991 if test $ac_cv_func_gethostbyname = no
; then
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8993 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8994 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8995 $as_echo_n "(cached) " >&6
8997 ac_check_lib_save_LIBS
=$LIBS
8999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9000 /* end confdefs.h. */
9002 /* Override any GCC internal prototype to avoid an error.
9003 Use char because int might match the return type of a GCC
9004 builtin and then its argument prototype would still apply. */
9008 char gethostbyname ();
9012 return gethostbyname ();
9017 if ac_fn_c_try_link
"$LINENO"; then :
9018 ac_cv_lib_nsl_gethostbyname
=yes
9020 ac_cv_lib_nsl_gethostbyname
=no
9022 rm -f core conftest.err conftest.
$ac_objext \
9023 conftest
$ac_exeext conftest.
$ac_ext
9024 LIBS
=$ac_check_lib_save_LIBS
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9027 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9028 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9029 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9032 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9034 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9035 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9036 $as_echo_n "(cached) " >&6
9038 ac_check_lib_save_LIBS
=$LIBS
9040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9041 /* end confdefs.h. */
9043 /* Override any GCC internal prototype to avoid an error.
9044 Use char because int might match the return type of a GCC
9045 builtin and then its argument prototype would still apply. */
9049 char gethostbyname ();
9053 return gethostbyname ();
9058 if ac_fn_c_try_link
"$LINENO"; then :
9059 ac_cv_lib_bsd_gethostbyname
=yes
9061 ac_cv_lib_bsd_gethostbyname
=no
9063 rm -f core conftest.err conftest.
$ac_objext \
9064 conftest
$ac_exeext conftest.
$ac_ext
9065 LIBS
=$ac_check_lib_save_LIBS
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9068 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9069 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9070 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9076 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9077 # socket/setsockopt and other routines are undefined under SCO ODT
9078 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9079 # on later versions), says Simon Leinen: it contains gethostby*
9080 # variants that don't use the name server (or something). -lsocket
9081 # must be given before -lnsl if both are needed. We assume that
9082 # if connect needs -lnsl, so does gethostbyname.
9083 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9084 if test "x$ac_cv_func_connect" = xyes
; then :
9088 if test $ac_cv_func_connect = no
; then
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9090 $as_echo_n "checking for connect in -lsocket... " >&6; }
9091 if ${ac_cv_lib_socket_connect+:} false
; then :
9092 $as_echo_n "(cached) " >&6
9094 ac_check_lib_save_LIBS
=$LIBS
9095 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9097 /* end confdefs.h. */
9099 /* Override any GCC internal prototype to avoid an error.
9100 Use char because int might match the return type of a GCC
9101 builtin and then its argument prototype would still apply. */
9114 if ac_fn_c_try_link
"$LINENO"; then :
9115 ac_cv_lib_socket_connect
=yes
9117 ac_cv_lib_socket_connect
=no
9119 rm -f core conftest.err conftest.
$ac_objext \
9120 conftest
$ac_exeext conftest.
$ac_ext
9121 LIBS
=$ac_check_lib_save_LIBS
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9124 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9125 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9126 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9131 # Guillermo Gomez says -lposix is necessary on A/UX.
9132 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9133 if test "x$ac_cv_func_remove" = xyes
; then :
9137 if test $ac_cv_func_remove = no
; then
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9139 $as_echo_n "checking for remove in -lposix... " >&6; }
9140 if ${ac_cv_lib_posix_remove+:} false
; then :
9141 $as_echo_n "(cached) " >&6
9143 ac_check_lib_save_LIBS
=$LIBS
9144 LIBS
="-lposix $LIBS"
9145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9148 /* Override any GCC internal prototype to avoid an error.
9149 Use char because int might match the return type of a GCC
9150 builtin and then its argument prototype would still apply. */
9163 if ac_fn_c_try_link
"$LINENO"; then :
9164 ac_cv_lib_posix_remove
=yes
9166 ac_cv_lib_posix_remove
=no
9168 rm -f core conftest.err conftest.
$ac_objext \
9169 conftest
$ac_exeext conftest.
$ac_ext
9170 LIBS
=$ac_check_lib_save_LIBS
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9173 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9174 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9175 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9180 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9181 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9182 if test "x$ac_cv_func_shmat" = xyes
; then :
9186 if test $ac_cv_func_shmat = no
; then
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9188 $as_echo_n "checking for shmat in -lipc... " >&6; }
9189 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9190 $as_echo_n "(cached) " >&6
9192 ac_check_lib_save_LIBS
=$LIBS
9194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9195 /* end confdefs.h. */
9197 /* Override any GCC internal prototype to avoid an error.
9198 Use char because int might match the return type of a GCC
9199 builtin and then its argument prototype would still apply. */
9212 if ac_fn_c_try_link
"$LINENO"; then :
9213 ac_cv_lib_ipc_shmat
=yes
9215 ac_cv_lib_ipc_shmat
=no
9217 rm -f core conftest.err conftest.
$ac_objext \
9218 conftest
$ac_exeext conftest.
$ac_ext
9219 LIBS
=$ac_check_lib_save_LIBS
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9222 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9223 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9224 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9230 # Check for libraries that X11R6 Xt/Xaw programs need.
9231 ac_save_LDFLAGS
=$LDFLAGS
9232 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9233 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9234 # check for ICE first), but we must link in the order -lSM -lICE or
9235 # we get undefined symbols. So assume we have SM if we have ICE.
9236 # These have to be linked with before -lX11, unlike the other
9237 # libraries we check for below, so use a different variable.
9238 # John Interrante, Karl Berry
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9240 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9241 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9242 $as_echo_n "(cached) " >&6
9244 ac_check_lib_save_LIBS
=$LIBS
9245 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9247 /* end confdefs.h. */
9249 /* Override any GCC internal prototype to avoid an error.
9250 Use char because int might match the return type of a GCC
9251 builtin and then its argument prototype would still apply. */
9255 char IceConnectionNumber ();
9259 return IceConnectionNumber ();
9264 if ac_fn_c_try_link
"$LINENO"; then :
9265 ac_cv_lib_ICE_IceConnectionNumber
=yes
9267 ac_cv_lib_ICE_IceConnectionNumber
=no
9269 rm -f core conftest.err conftest.
$ac_objext \
9270 conftest
$ac_exeext conftest.
$ac_ext
9271 LIBS
=$ac_check_lib_save_LIBS
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9274 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9275 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9276 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9279 LDFLAGS
=$ac_save_LDFLAGS
9284 if test "$have_x" = "yes"
9286 ac_save_CPPFLAGS
="$CPPFLAGS"
9287 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9290 $as_echo_n "checking for -lX11... " >&6; }
9291 if ${ac_cv_lib_soname_X11+:} false
; then :
9292 $as_echo_n "(cached) " >&6
9294 ac_check_soname_save_LIBS
=$LIBS
9295 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h. */
9299 /* Override any GCC internal prototype to avoid an error.
9300 Use char because int might match the return type of a GCC
9301 builtin and then its argument prototype would still apply. */
9305 char XCreateWindow ();
9309 return XCreateWindow ();
9314 if ac_fn_c_try_link
"$LINENO"; then :
9316 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9317 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'` ;;
9318 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9319 if ${ac_cv_lib_soname_X11:+false} :; then :
9320 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9324 rm -f core conftest.err conftest.
$ac_objext \
9325 conftest
$ac_exeext conftest.
$ac_ext
9326 LIBS
=$ac_check_soname_save_LIBS
9328 if ${ac_cv_lib_soname_X11:+false} :; then :
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9330 $as_echo "not found" >&6; }
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9334 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9336 cat >>confdefs.h
<<_ACEOF
9337 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9343 $as_echo_n "checking for -lXext... " >&6; }
9344 if ${ac_cv_lib_soname_Xext+:} false
; then :
9345 $as_echo_n "(cached) " >&6
9347 ac_check_soname_save_LIBS
=$LIBS
9348 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9350 /* end confdefs.h. */
9352 /* Override any GCC internal prototype to avoid an error.
9353 Use char because int might match the return type of a GCC
9354 builtin and then its argument prototype would still apply. */
9358 char XextCreateExtension ();
9362 return XextCreateExtension ();
9367 if ac_fn_c_try_link
"$LINENO"; then :
9369 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9370 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'` ;;
9371 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9372 if ${ac_cv_lib_soname_Xext:+false} :; then :
9373 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9377 rm -f core conftest.err conftest.
$ac_objext \
9378 conftest
$ac_exeext conftest.
$ac_ext
9379 LIBS
=$ac_check_soname_save_LIBS
9381 if ${ac_cv_lib_soname_Xext:+false} :; then :
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9383 $as_echo "not found" >&6; }
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9387 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9389 cat >>confdefs.h
<<_ACEOF
9390 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9393 X_LIBS
="$X_LIBS -lXext"
9395 X_LIBS
="$X_LIBS -lX11"
9397 for ac_header
in X11
/Xlib.h \
9400 X11
/Xcursor
/Xcursor.h \
9401 X11
/extensions
/shape.h \
9402 X11
/extensions
/XInput.h \
9403 X11
/extensions
/XInput2.h \
9404 X11
/extensions
/XShm.h \
9405 X11
/extensions
/Xcomposite.h \
9406 X11
/extensions
/Xinerama.h \
9407 X11
/extensions
/Xrandr.h \
9408 X11
/extensions
/Xrender.h \
9409 X11
/extensions
/xf86vmode.h \
9410 X11
/extensions
/xf86vmproto.h
9412 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9413 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9414 # include <X11/Xlib.h>
9416 #ifdef HAVE_X11_XUTIL_H
9417 # include <X11/Xutil.h>
9420 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9421 cat >>confdefs.h
<<_ACEOF
9422 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9430 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9433 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9434 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9435 $as_echo_n "(cached) " >&6
9437 ac_check_lib_save_LIBS
=$LIBS
9438 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9442 /* Override any GCC internal prototype to avoid an error.
9443 Use char because int might match the return type of a GCC
9444 builtin and then its argument prototype would still apply. */
9448 char XkbQueryExtension ();
9452 return XkbQueryExtension ();
9457 if ac_fn_c_try_link
"$LINENO"; then :
9458 ac_cv_lib_X11_XkbQueryExtension
=yes
9460 ac_cv_lib_X11_XkbQueryExtension
=no
9462 rm -f core conftest.err conftest.
$ac_objext \
9463 conftest
$ac_exeext conftest.
$ac_ext
9464 LIBS
=$ac_check_lib_save_LIBS
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9467 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9468 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9470 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9476 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9479 $as_echo_n "checking for -lXcursor... " >&6; }
9480 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9481 $as_echo_n "(cached) " >&6
9483 ac_check_soname_save_LIBS
=$LIBS
9484 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9488 /* Override any GCC internal prototype to avoid an error.
9489 Use char because int might match the return type of a GCC
9490 builtin and then its argument prototype would still apply. */
9494 char XcursorImageLoadCursor ();
9498 return XcursorImageLoadCursor ();
9503 if ac_fn_c_try_link
"$LINENO"; then :
9505 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9506 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'` ;;
9507 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9508 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9509 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9513 rm -f core conftest.err conftest.
$ac_objext \
9514 conftest
$ac_exeext conftest.
$ac_ext
9515 LIBS
=$ac_check_soname_save_LIBS
9517 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9519 $as_echo "not found" >&6; }
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9523 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9525 cat >>confdefs.h
<<_ACEOF
9526 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9532 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9533 case "x$with_xcursor" in
9534 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9536 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9537 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9541 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9544 $as_echo_n "checking for -lXi... " >&6; }
9545 if ${ac_cv_lib_soname_Xi+:} false
; then :
9546 $as_echo_n "(cached) " >&6
9548 ac_check_soname_save_LIBS
=$LIBS
9549 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9551 /* end confdefs.h. */
9553 /* Override any GCC internal prototype to avoid an error.
9554 Use char because int might match the return type of a GCC
9555 builtin and then its argument prototype would still apply. */
9559 char XOpenDevice ();
9563 return XOpenDevice ();
9568 if ac_fn_c_try_link
"$LINENO"; then :
9570 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9571 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'` ;;
9572 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9573 if ${ac_cv_lib_soname_Xi:+false} :; then :
9574 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9578 rm -f core conftest.err conftest.
$ac_objext \
9579 conftest
$ac_exeext conftest.
$ac_ext
9580 LIBS
=$ac_check_soname_save_LIBS
9582 if ${ac_cv_lib_soname_Xi:+false} :; then :
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9584 $as_echo "not found" >&6; }
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9588 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9590 cat >>confdefs.h
<<_ACEOF
9591 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9597 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9598 case "x$with_xinput" in
9599 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9601 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9602 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9606 if test "x$ac_cv_lib_soname_Xi" != x
9608 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9609 case "x$with_xinput2" in
9610 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9612 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9613 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9618 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9621 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9622 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9623 $as_echo_n "(cached) " >&6
9625 ac_check_lib_save_LIBS
=$LIBS
9626 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9628 /* end confdefs.h. */
9630 /* Override any GCC internal prototype to avoid an error.
9631 Use char because int might match the return type of a GCC
9632 builtin and then its argument prototype would still apply. */
9636 char XShmQueryExtension ();
9640 return XShmQueryExtension ();
9645 if ac_fn_c_try_link
"$LINENO"; then :
9646 ac_cv_lib_Xext_XShmQueryExtension
=yes
9648 ac_cv_lib_Xext_XShmQueryExtension
=no
9650 rm -f core conftest.err conftest.
$ac_objext \
9651 conftest
$ac_exeext conftest.
$ac_ext
9652 LIBS
=$ac_check_lib_save_LIBS
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9655 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9656 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9658 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9663 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9664 case "x$with_xshm" in
9665 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9667 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9668 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9672 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9675 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9676 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9677 $as_echo_n "(cached) " >&6
9679 ac_check_lib_save_LIBS
=$LIBS
9680 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9682 /* end confdefs.h. */
9684 /* Override any GCC internal prototype to avoid an error.
9685 Use char because int might match the return type of a GCC
9686 builtin and then its argument prototype would still apply. */
9690 char XShapeQueryExtension ();
9694 return XShapeQueryExtension ();
9699 if ac_fn_c_try_link
"$LINENO"; then :
9700 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9702 ac_cv_lib_Xext_XShapeQueryExtension
=no
9704 rm -f core conftest.err conftest.
$ac_objext \
9705 conftest
$ac_exeext conftest.
$ac_ext
9706 LIBS
=$ac_check_lib_save_LIBS
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9709 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9710 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9712 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9717 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9718 case "x$with_xshape" in
9719 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9721 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9722 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9726 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9729 $as_echo_n "checking for -lXxf86vm... " >&6; }
9730 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9731 $as_echo_n "(cached) " >&6
9733 ac_check_soname_save_LIBS
=$LIBS
9734 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9736 /* end confdefs.h. */
9738 /* Override any GCC internal prototype to avoid an error.
9739 Use char because int might match the return type of a GCC
9740 builtin and then its argument prototype would still apply. */
9744 char XF86VidModeQueryExtension ();
9748 return XF86VidModeQueryExtension ();
9753 if ac_fn_c_try_link
"$LINENO"; then :
9755 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9756 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'` ;;
9757 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9758 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9759 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9763 rm -f core conftest.err conftest.
$ac_objext \
9764 conftest
$ac_exeext conftest.
$ac_ext
9765 LIBS
=$ac_check_soname_save_LIBS
9767 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9769 $as_echo "not found" >&6; }
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9773 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9775 cat >>confdefs.h
<<_ACEOF
9776 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9782 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9783 case "x$with_xxf86vm" in
9784 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9786 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9787 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9791 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"
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9794 $as_echo_n "checking for -lXrender... " >&6; }
9795 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9796 $as_echo_n "(cached) " >&6
9798 ac_check_soname_save_LIBS
=$LIBS
9799 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9801 /* end confdefs.h. */
9803 /* Override any GCC internal prototype to avoid an error.
9804 Use char because int might match the return type of a GCC
9805 builtin and then its argument prototype would still apply. */
9809 char XRenderQueryExtension ();
9813 return XRenderQueryExtension ();
9818 if ac_fn_c_try_link
"$LINENO"; then :
9820 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9821 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'` ;;
9822 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9823 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9824 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9828 rm -f core conftest.err conftest.
$ac_objext \
9829 conftest
$ac_exeext conftest.
$ac_ext
9830 LIBS
=$ac_check_soname_save_LIBS
9832 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9834 $as_echo "not found" >&6; }
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9838 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9840 cat >>confdefs.h
<<_ACEOF
9841 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9845 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9846 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9847 $as_echo_n "(cached) " >&6
9849 ac_check_lib_save_LIBS
=$LIBS
9850 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h. */
9854 /* Override any GCC internal prototype to avoid an error.
9855 Use char because int might match the return type of a GCC
9856 builtin and then its argument prototype would still apply. */
9860 char XRenderSetPictureTransform ();
9864 return XRenderSetPictureTransform ();
9869 if ac_fn_c_try_link
"$LINENO"; then :
9870 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9872 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9874 rm -f core conftest.err conftest.
$ac_objext \
9875 conftest
$ac_exeext conftest.
$ac_ext
9876 LIBS
=$ac_check_lib_save_LIBS
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9879 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9880 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9882 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9887 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9888 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9889 $as_echo_n "(cached) " >&6
9891 ac_check_lib_save_LIBS
=$LIBS
9892 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h. */
9896 /* Override any GCC internal prototype to avoid an error.
9897 Use char because int might match the return type of a GCC
9898 builtin and then its argument prototype would still apply. */
9902 char XRenderCreateLinearGradient ();
9906 return XRenderCreateLinearGradient ();
9911 if ac_fn_c_try_link
"$LINENO"; then :
9912 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9914 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9916 rm -f core conftest.err conftest.
$ac_objext \
9917 conftest
$ac_exeext conftest.
$ac_ext
9918 LIBS
=$ac_check_lib_save_LIBS
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9921 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9922 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9924 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9931 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9932 case "x$with_xrender" in
9933 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9935 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9936 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9940 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9944 #include <X11/Xlib.h>
9945 #include <X11/extensions/Xrandr.h>
9949 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9954 if ac_fn_c_try_compile
"$LINENO"; then :
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9956 $as_echo_n "checking for -lXrandr... " >&6; }
9957 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9958 $as_echo_n "(cached) " >&6
9960 ac_check_soname_save_LIBS
=$LIBS
9961 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9963 /* end confdefs.h. */
9965 /* Override any GCC internal prototype to avoid an error.
9966 Use char because int might match the return type of a GCC
9967 builtin and then its argument prototype would still apply. */
9971 char XRRQueryExtension ();
9975 return XRRQueryExtension ();
9980 if ac_fn_c_try_link
"$LINENO"; then :
9982 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9983 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'` ;;
9984 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9985 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9986 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9990 rm -f core conftest.err conftest.
$ac_objext \
9991 conftest
$ac_exeext conftest.
$ac_ext
9992 LIBS
=$ac_check_soname_save_LIBS
9994 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9996 $as_echo "not found" >&6; }
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10000 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10002 cat >>confdefs.h
<<_ACEOF
10003 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10008 #include <X11/Xlib.h>
10009 #include <X11/extensions/Xrandr.h>
10013 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10018 if ac_fn_c_try_compile
"$LINENO"; then :
10020 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10028 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10029 case "x$with_xrandr" in
10030 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10032 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10033 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10037 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10040 /* end confdefs.h. */
10041 #include <X11/Xlib.h>
10042 #include <X11/extensions/Xinerama.h>
10046 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10051 if ac_fn_c_try_compile
"$LINENO"; then :
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10053 $as_echo_n "checking for -lXinerama... " >&6; }
10054 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10055 $as_echo_n "(cached) " >&6
10057 ac_check_soname_save_LIBS
=$LIBS
10058 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10060 /* end confdefs.h. */
10062 /* Override any GCC internal prototype to avoid an error.
10063 Use char because int might match the return type of a GCC
10064 builtin and then its argument prototype would still apply. */
10068 char XineramaQueryScreens ();
10072 return XineramaQueryScreens ();
10077 if ac_fn_c_try_link
"$LINENO"; then :
10079 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10080 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'` ;;
10081 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10082 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10083 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10087 rm -f core conftest.err conftest.
$ac_objext \
10088 conftest
$ac_exeext conftest.
$ac_ext
10089 LIBS
=$ac_check_soname_save_LIBS
10091 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10093 $as_echo "not found" >&6; }
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10097 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10099 cat >>confdefs.h
<<_ACEOF
10100 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10108 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10109 case "x$with_xinerama" in
10110 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10112 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10113 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10117 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10120 $as_echo_n "checking for -lXcomposite... " >&6; }
10121 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10122 $as_echo_n "(cached) " >&6
10124 ac_check_soname_save_LIBS
=$LIBS
10125 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10127 /* end confdefs.h. */
10129 /* Override any GCC internal prototype to avoid an error.
10130 Use char because int might match the return type of a GCC
10131 builtin and then its argument prototype would still apply. */
10135 char XCompositeRedirectWindow ();
10139 return XCompositeRedirectWindow ();
10144 if ac_fn_c_try_link
"$LINENO"; then :
10146 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10147 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'` ;;
10148 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10149 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10150 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10154 rm -f core conftest.err conftest.
$ac_objext \
10155 conftest
$ac_exeext conftest.
$ac_ext
10156 LIBS
=$ac_check_soname_save_LIBS
10158 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10160 $as_echo "not found" >&6; }
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10164 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10166 cat >>confdefs.h
<<_ACEOF
10167 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10173 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10174 case "x$with_xcomposite" in
10175 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10177 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10178 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10182 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10183 #include <X11/Xlib.h>
10186 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10188 cat >>confdefs.h
<<_ACEOF
10189 #define HAVE_XICCALLBACK_CALLBACK 1
10194 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10195 #include <X11/Xlib.h>
10198 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10200 cat >>confdefs.h
<<_ACEOF
10201 #define HAVE_XEVENT_XCOOKIE 1
10210 if test "x$with_opengl" != "xno"
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10213 $as_echo_n "checking for -lGL... " >&6; }
10214 if ${ac_cv_lib_soname_GL+:} false
; then :
10215 $as_echo_n "(cached) " >&6
10217 ac_check_soname_save_LIBS
=$LIBS
10218 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10222 /* Override any GCC internal prototype to avoid an error.
10223 Use char because int might match the return type of a GCC
10224 builtin and then its argument prototype would still apply. */
10228 char glXCreateContext ();
10232 return glXCreateContext ();
10237 if ac_fn_c_try_link
"$LINENO"; then :
10239 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10240 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'` ;;
10241 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10242 if ${ac_cv_lib_soname_GL:+false} :; then :
10243 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10247 rm -f core conftest.err conftest.
$ac_objext \
10248 conftest
$ac_exeext conftest.
$ac_ext
10249 LIBS
=$ac_check_soname_save_LIBS
10251 if ${ac_cv_lib_soname_GL:+false} :; then :
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10253 $as_echo "not found" >&6; }
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10255 $as_echo_n "checking for -lGL... " >&6; }
10256 if ${ac_cv_lib_soname_GL+:} false
; then :
10257 $as_echo_n "(cached) " >&6
10259 ac_check_soname_save_LIBS
=$LIBS
10260 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"
10261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h. */
10264 /* Override any GCC internal prototype to avoid an error.
10265 Use char because int might match the return type of a GCC
10266 builtin and then its argument prototype would still apply. */
10270 char glXCreateContext ();
10274 return glXCreateContext ();
10279 if ac_fn_c_try_link
"$LINENO"; then :
10281 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10282 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'` ;;
10283 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10284 if ${ac_cv_lib_soname_GL:+false} :; then :
10285 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10289 rm -f core conftest.err conftest.
$ac_objext \
10290 conftest
$ac_exeext conftest.
$ac_ext
10291 LIBS
=$ac_check_soname_save_LIBS
10293 if ${ac_cv_lib_soname_GL:+false} :; then :
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10295 $as_echo "not found" >&6; }
10296 if test -f /usr
/X11R
6/lib
/libGL.a
10298 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10299 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10301 opengl_msg
="No OpenGL library found on this system."
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10305 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10307 cat >>confdefs.h
<<_ACEOF
10308 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10311 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"
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10315 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10317 cat >>confdefs.h
<<_ACEOF
10318 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10323 if test "x$with_glu" != "xno"
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10326 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10327 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10328 $as_echo_n "(cached) " >&6
10330 ac_check_lib_save_LIBS
=$LIBS
10331 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10333 /* end confdefs.h. */
10335 /* Override any GCC internal prototype to avoid an error.
10336 Use char because int might match the return type of a GCC
10337 builtin and then its argument prototype would still apply. */
10345 return gluLookAt ();
10350 if ac_fn_c_try_link
"$LINENO"; then :
10351 ac_cv_lib_GLU_gluLookAt
=yes
10353 ac_cv_lib_GLU_gluLookAt
=no
10355 rm -f core conftest.err conftest.
$ac_objext \
10356 conftest
$ac_exeext conftest.
$ac_ext
10357 LIBS
=$ac_check_lib_save_LIBS
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10360 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10361 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10365 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10366 case "x$with_glu" in
10367 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10369 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10370 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10375 if test "x$with_osmesa" != "xno"
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10378 $as_echo_n "checking for -lOSMesa... " >&6; }
10379 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10380 $as_echo_n "(cached) " >&6
10382 ac_check_soname_save_LIBS
=$LIBS
10383 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10385 /* end confdefs.h. */
10387 /* Override any GCC internal prototype to avoid an error.
10388 Use char because int might match the return type of a GCC
10389 builtin and then its argument prototype would still apply. */
10402 if ac_fn_c_try_link
"$LINENO"; then :
10404 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10405 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'` ;;
10406 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10407 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10408 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10412 rm -f core conftest.err conftest.
$ac_objext \
10413 conftest
$ac_exeext conftest.
$ac_ext
10414 LIBS
=$ac_check_soname_save_LIBS
10416 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10418 $as_echo "not found" >&6; }
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10422 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10424 cat >>confdefs.h
<<_ACEOF
10425 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10430 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10431 case "x$with_osmesa" in
10432 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10434 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10435 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10440 if test -n "$opengl_msg"; then :
10441 case "x$with_opengl" in
10442 x
) as_fn_append wine_warnings
"|$opengl_msg
10443 OpenGL and Direct3D won't be supported." ;;
10445 *) as_fn_error $?
"$opengl_msg
10446 OpenGL and Direct3D won't be supported.
10447 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10451 CPPFLAGS
="$ac_save_CPPFLAGS"
10455 enable_winex11_drv
=${enable_winex11_drv:-no}
10457 if test "x$X_LIBS" = "x"; then :
10460 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10461 without X support, which probably isn't what you want. You will need
10462 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10463 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10467 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10469 if test "$ac_cv_header_CL_cl_h" = "yes"
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10472 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10473 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10474 $as_echo_n "(cached) " >&6
10476 ac_check_lib_save_LIBS
=$LIBS
10477 LIBS
="-lOpenCL $LIBS"
10478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10481 /* Override any GCC internal prototype to avoid an error.
10482 Use char because int might match the return type of a GCC
10483 builtin and then its argument prototype would still apply. */
10487 char clGetPlatformInfo ();
10491 return clGetPlatformInfo ();
10496 if ac_fn_c_try_link
"$LINENO"; then :
10497 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10499 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10501 rm -f core conftest.err conftest.
$ac_objext \
10502 conftest
$ac_exeext conftest.
$ac_ext
10503 LIBS
=$ac_check_lib_save_LIBS
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10506 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10507 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10508 OPENCL_LIBS
="-lOpenCL"
10513 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10514 case "x$with_opencl" in
10515 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10517 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10518 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10521 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10523 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10526 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10527 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10528 $as_echo_n "(cached) " >&6
10530 ac_check_lib_save_LIBS
=$LIBS
10531 LIBS
="-lpcap $LIBS"
10532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10533 /* end confdefs.h. */
10535 /* Override any GCC internal prototype to avoid an error.
10536 Use char because int might match the return type of a GCC
10537 builtin and then its argument prototype would still apply. */
10541 char pcap_create ();
10545 return pcap_create ();
10550 if ac_fn_c_try_link
"$LINENO"; then :
10551 ac_cv_lib_pcap_pcap_create
=yes
10553 ac_cv_lib_pcap_pcap_create
=no
10555 rm -f core conftest.err conftest.
$ac_objext \
10556 conftest
$ac_exeext conftest.
$ac_ext
10557 LIBS
=$ac_check_lib_save_LIBS
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10560 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10561 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10567 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10568 case "x$with_pcap" in
10569 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10571 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10572 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10575 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10578 if test "x$with_xml" != "xno"
10580 if ${XML2_CFLAGS:+false} :; then :
10581 if ${PKG_CONFIG+:} false
; then :
10582 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10585 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10586 if ${XML2_LIBS:+false} :; then :
10587 if ${PKG_CONFIG+:} false
; then :
10588 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10591 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10592 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10593 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10594 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10595 ac_save_CPPFLAGS
=$CPPFLAGS
10596 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10597 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10599 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10600 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10601 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10602 cat >>confdefs.h
<<_ACEOF
10603 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10610 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"
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10613 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10614 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10615 $as_echo_n "(cached) " >&6
10617 ac_check_lib_save_LIBS
=$LIBS
10618 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10620 /* end confdefs.h. */
10622 /* Override any GCC internal prototype to avoid an error.
10623 Use char because int might match the return type of a GCC
10624 builtin and then its argument prototype would still apply. */
10628 char xmlParseMemory ();
10632 return xmlParseMemory ();
10637 if ac_fn_c_try_link
"$LINENO"; then :
10638 ac_cv_lib_xml2_xmlParseMemory
=yes
10640 ac_cv_lib_xml2_xmlParseMemory
=no
10642 rm -f core conftest.err conftest.
$ac_objext \
10643 conftest
$ac_exeext conftest.
$ac_ext
10644 LIBS
=$ac_check_lib_save_LIBS
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10647 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10648 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10650 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10657 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10658 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10659 $as_echo_n "(cached) " >&6
10661 ac_check_lib_save_LIBS
=$LIBS
10662 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10664 /* end confdefs.h. */
10666 /* Override any GCC internal prototype to avoid an error.
10667 Use char because int might match the return type of a GCC
10668 builtin and then its argument prototype would still apply. */
10672 char xmlReadMemory ();
10676 return xmlReadMemory ();
10681 if ac_fn_c_try_link
"$LINENO"; then :
10682 ac_cv_lib_xml2_xmlReadMemory
=yes
10684 ac_cv_lib_xml2_xmlReadMemory
=no
10686 rm -f core conftest.err conftest.
$ac_objext \
10687 conftest
$ac_exeext conftest.
$ac_ext
10688 LIBS
=$ac_check_lib_save_LIBS
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10691 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10692 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10694 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10699 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10700 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10701 $as_echo_n "(cached) " >&6
10703 ac_check_lib_save_LIBS
=$LIBS
10704 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10708 /* Override any GCC internal prototype to avoid an error.
10709 Use char because int might match the return type of a GCC
10710 builtin and then its argument prototype would still apply. */
10714 char xmlNewDocPI ();
10718 return xmlNewDocPI ();
10723 if ac_fn_c_try_link
"$LINENO"; then :
10724 ac_cv_lib_xml2_xmlNewDocPI
=yes
10726 ac_cv_lib_xml2_xmlNewDocPI
=no
10728 rm -f core conftest.err conftest.
$ac_objext \
10729 conftest
$ac_exeext conftest.
$ac_ext
10730 LIBS
=$ac_check_lib_save_LIBS
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10733 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10734 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10736 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10741 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10742 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10743 $as_echo_n "(cached) " >&6
10745 ac_check_lib_save_LIBS
=$LIBS
10746 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10756 char xmlSchemaSetParserStructuredErrors ();
10760 return xmlSchemaSetParserStructuredErrors ();
10765 if ac_fn_c_try_link
"$LINENO"; then :
10766 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10768 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10770 rm -f core conftest.err conftest.
$ac_objext \
10771 conftest
$ac_exeext conftest.
$ac_ext
10772 LIBS
=$ac_check_lib_save_LIBS
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10775 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10776 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10778 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10783 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10784 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10785 $as_echo_n "(cached) " >&6
10787 ac_check_lib_save_LIBS
=$LIBS
10788 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10792 /* Override any GCC internal prototype to avoid an error.
10793 Use char because int might match the return type of a GCC
10794 builtin and then its argument prototype would still apply. */
10798 char xmlSchemaSetValidStructuredErrors ();
10802 return xmlSchemaSetValidStructuredErrors ();
10807 if ac_fn_c_try_link
"$LINENO"; then :
10808 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10810 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10812 rm -f core conftest.err conftest.
$ac_objext \
10813 conftest
$ac_exeext conftest.
$ac_ext
10814 LIBS
=$ac_check_lib_save_LIBS
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10817 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10818 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10820 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10825 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10826 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10827 $as_echo_n "(cached) " >&6
10829 ac_check_lib_save_LIBS
=$LIBS
10830 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10834 /* Override any GCC internal prototype to avoid an error.
10835 Use char because int might match the return type of a GCC
10836 builtin and then its argument prototype would still apply. */
10840 char xmlFirstElementChild ();
10844 return xmlFirstElementChild ();
10849 if ac_fn_c_try_link
"$LINENO"; then :
10850 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10852 ac_cv_lib_xml2_xmlFirstElementChild
=no
10854 rm -f core conftest.err conftest.
$ac_objext \
10855 conftest
$ac_exeext conftest.
$ac_ext
10856 LIBS
=$ac_check_lib_save_LIBS
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10859 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10860 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10862 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10866 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10868 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10870 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10878 CPPFLAGS
=$ac_save_CPPFLAGS
10879 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10880 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10883 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10884 case "x$with_xml" in
10885 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10887 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10888 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10892 if test "x$with_xslt" != "xno"
10894 if ${XSLT_CFLAGS:+false} :; then :
10895 if ${PKG_CONFIG+:} false
; then :
10896 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10899 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10900 if ${XSLT_LIBS:+false} :; then :
10901 if ${PKG_CONFIG+:} false
; then :
10902 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10905 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10906 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10907 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10908 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10909 ac_save_CPPFLAGS
=$CPPFLAGS
10910 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10911 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10913 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10914 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10915 # include <libxslt/pattern.h>
10918 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10919 cat >>confdefs.h
<<_ACEOF
10920 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10927 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10930 $as_echo_n "checking for -lxslt... " >&6; }
10931 if ${ac_cv_lib_soname_xslt+:} false
; then :
10932 $as_echo_n "(cached) " >&6
10934 ac_check_soname_save_LIBS
=$LIBS
10935 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10939 /* Override any GCC internal prototype to avoid an error.
10940 Use char because int might match the return type of a GCC
10941 builtin and then its argument prototype would still apply. */
10945 char xsltCompilePattern ();
10949 return xsltCompilePattern ();
10954 if ac_fn_c_try_link
"$LINENO"; then :
10956 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10957 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'` ;;
10958 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10959 if ${ac_cv_lib_soname_xslt:+false} :; then :
10960 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10964 rm -f core conftest.err conftest.
$ac_objext \
10965 conftest
$ac_exeext conftest.
$ac_ext
10966 LIBS
=$ac_check_soname_save_LIBS
10968 if ${ac_cv_lib_soname_xslt:+false} :; then :
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10970 $as_echo "not found" >&6; }
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10974 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10976 cat >>confdefs.h
<<_ACEOF
10977 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10985 CPPFLAGS
=$ac_save_CPPFLAGS
10986 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10987 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10990 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10991 case "x$with_xslt" in
10992 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10994 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10995 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10999 if test "x$with_dbus" != "xno"
11001 if ${DBUS_CFLAGS:+false} :; then :
11002 if ${PKG_CONFIG+:} false
; then :
11003 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11007 if ${DBUS_LIBS:+false} :; then :
11008 if ${PKG_CONFIG+:} false
; then :
11009 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11014 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11015 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11016 ac_save_CPPFLAGS
=$CPPFLAGS
11017 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11018 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11019 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11021 $as_echo_n "checking for -ldbus-1... " >&6; }
11022 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11023 $as_echo_n "(cached) " >&6
11025 ac_check_soname_save_LIBS
=$LIBS
11026 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11028 /* end confdefs.h. */
11030 /* Override any GCC internal prototype to avoid an error.
11031 Use char because int might match the return type of a GCC
11032 builtin and then its argument prototype would still apply. */
11036 char dbus_connection_close ();
11040 return dbus_connection_close ();
11045 if ac_fn_c_try_link
"$LINENO"; then :
11047 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11048 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'` ;;
11049 *) 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'`
11050 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11051 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11055 rm -f core conftest.err conftest.
$ac_objext \
11056 conftest
$ac_exeext conftest.
$ac_ext
11057 LIBS
=$ac_check_soname_save_LIBS
11059 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11061 $as_echo "not found" >&6; }
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11065 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11067 cat >>confdefs.h
<<_ACEOF
11068 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11078 CPPFLAGS
=$ac_save_CPPFLAGS
11079 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11080 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11083 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11084 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11085 case "x$with_dbus" in
11086 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11088 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11089 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11093 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11095 if ${HAL_CFLAGS:+false} :; then :
11096 if ${PKG_CONFIG+:} false
; then :
11097 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11101 if ${HAL_LIBS:+false} :; then :
11102 if ${PKG_CONFIG+:} false
; then :
11103 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11107 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11108 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11109 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11110 ac_save_CPPFLAGS
=$CPPFLAGS
11111 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11112 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11113 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11115 $as_echo_n "checking for -lhal... " >&6; }
11116 if ${ac_cv_lib_soname_hal+:} false
; then :
11117 $as_echo_n "(cached) " >&6
11119 ac_check_soname_save_LIBS
=$LIBS
11120 LIBS
="-lhal $HAL_LIBS $LIBS"
11121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11124 /* Override any GCC internal prototype to avoid an error.
11125 Use char because int might match the return type of a GCC
11126 builtin and then its argument prototype would still apply. */
11130 char libhal_ctx_new ();
11134 return libhal_ctx_new ();
11139 if ac_fn_c_try_link
"$LINENO"; then :
11141 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11142 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'` ;;
11143 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11144 if ${ac_cv_lib_soname_hal:+false} :; then :
11145 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11149 rm -f core conftest.err conftest.
$ac_objext \
11150 conftest
$ac_exeext conftest.
$ac_ext
11151 LIBS
=$ac_check_soname_save_LIBS
11153 if ${ac_cv_lib_soname_hal:+false} :; then :
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11155 $as_echo "not found" >&6; }
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11159 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11161 cat >>confdefs.h
<<_ACEOF
11162 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11172 CPPFLAGS
=$ac_save_CPPFLAGS
11173 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11174 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11176 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11177 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11178 case "x$with_hal" in
11179 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11181 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11182 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11187 if test "x$with_gnutls" != "xno"
11189 if ${GNUTLS_CFLAGS:+false} :; then :
11190 if ${PKG_CONFIG+:} false
; then :
11191 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11195 if ${GNUTLS_LIBS:+false} :; then :
11196 if ${PKG_CONFIG+:} false
; then :
11197 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11202 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11203 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11204 ac_save_CPPFLAGS
=$CPPFLAGS
11205 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11206 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11207 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11210 #include <gnutls/gnutls.h>
11211 #include <gnutls/crypto.h>
11215 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11220 if ac_fn_c_try_compile
"$LINENO"; then :
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11222 $as_echo_n "checking for -lgnutls... " >&6; }
11223 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11224 $as_echo_n "(cached) " >&6
11226 ac_check_soname_save_LIBS
=$LIBS
11227 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11231 /* Override any GCC internal prototype to avoid an error.
11232 Use char because int might match the return type of a GCC
11233 builtin and then its argument prototype would still apply. */
11237 char gnutls_global_init ();
11241 return gnutls_global_init ();
11246 if ac_fn_c_try_link
"$LINENO"; then :
11248 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11249 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'` ;;
11250 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11251 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11252 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11256 rm -f core conftest.err conftest.
$ac_objext \
11257 conftest
$ac_exeext conftest.
$ac_ext
11258 LIBS
=$ac_check_soname_save_LIBS
11260 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11262 $as_echo "not found" >&6; }
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11266 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11268 cat >>confdefs.h
<<_ACEOF
11269 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11281 CPPFLAGS
=$ac_save_CPPFLAGS
11282 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11283 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11286 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11287 case "x$with_gnutls" in
11288 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11290 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11291 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11296 if test "$ac_cv_header_ncurses_h" = "yes"
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11299 $as_echo_n "checking for -lncurses... " >&6; }
11300 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11301 $as_echo_n "(cached) " >&6
11303 ac_check_soname_save_LIBS
=$LIBS
11304 LIBS
="-lncurses $LIBS"
11305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11306 /* end confdefs.h. */
11308 /* Override any GCC internal prototype to avoid an error.
11309 Use char because int might match the return type of a GCC
11310 builtin and then its argument prototype would still apply. */
11323 if ac_fn_c_try_link
"$LINENO"; then :
11325 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11326 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'` ;;
11327 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11328 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11329 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11333 rm -f core conftest.err conftest.
$ac_objext \
11334 conftest
$ac_exeext conftest.
$ac_ext
11335 LIBS
=$ac_check_soname_save_LIBS
11337 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11339 $as_echo "not found" >&6; }
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11343 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11345 cat >>confdefs.h
<<_ACEOF
11346 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11349 CURSES_LIBS
="-lncurses"
11351 elif test "$ac_cv_header_curses_h" = "yes"
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11354 $as_echo_n "checking for -lcurses... " >&6; }
11355 if ${ac_cv_lib_soname_curses+:} false
; then :
11356 $as_echo_n "(cached) " >&6
11358 ac_check_soname_save_LIBS
=$LIBS
11359 LIBS
="-lcurses $LIBS"
11360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11361 /* end confdefs.h. */
11363 /* Override any GCC internal prototype to avoid an error.
11364 Use char because int might match the return type of a GCC
11365 builtin and then its argument prototype would still apply. */
11378 if ac_fn_c_try_link
"$LINENO"; then :
11380 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11381 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'` ;;
11382 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11383 if ${ac_cv_lib_soname_curses:+false} :; then :
11384 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11388 rm -f core conftest.err conftest.
$ac_objext \
11389 conftest
$ac_exeext conftest.
$ac_ext
11390 LIBS
=$ac_check_soname_save_LIBS
11392 if ${ac_cv_lib_soname_curses:+false} :; then :
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11394 $as_echo "not found" >&6; }
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11398 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11400 cat >>confdefs.h
<<_ACEOF
11401 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11404 CURSES_LIBS
="-lcurses"
11407 ac_save_LIBS
="$LIBS"
11408 LIBS
="$LIBS $CURSES_LIBS"
11409 for ac_func
in mousemask
11411 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11412 if test "x$ac_cv_func_mousemask" = xyes
; then :
11413 cat >>confdefs.h
<<_ACEOF
11414 #define HAVE_MOUSEMASK 1
11420 LIBS
="$ac_save_LIBS"
11421 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11422 case "x$with_curses" in
11423 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11425 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11426 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11430 if test "x$with_sane" != "xno"
11432 if ${SANE_CFLAGS:+false} :; then :
11433 if ${PKG_CONFIG+:} false
; then :
11434 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11437 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11438 if ${SANE_LIBS:+false} :; then :
11439 if ${PKG_CONFIG+:} false
; then :
11440 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11443 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11445 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11446 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11447 ac_save_CPPFLAGS
=$CPPFLAGS
11448 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11449 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11450 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11452 $as_echo_n "checking for -lsane... " >&6; }
11453 if ${ac_cv_lib_soname_sane+:} false
; then :
11454 $as_echo_n "(cached) " >&6
11456 ac_check_soname_save_LIBS
=$LIBS
11457 LIBS
="-lsane $SANE_LIBS $LIBS"
11458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11459 /* end confdefs.h. */
11461 /* Override any GCC internal prototype to avoid an error.
11462 Use char because int might match the return type of a GCC
11463 builtin and then its argument prototype would still apply. */
11471 return sane_init ();
11476 if ac_fn_c_try_link
"$LINENO"; then :
11478 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11479 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'` ;;
11480 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11481 if ${ac_cv_lib_soname_sane:+false} :; then :
11482 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11486 rm -f core conftest.err conftest.
$ac_objext \
11487 conftest
$ac_exeext conftest.
$ac_ext
11488 LIBS
=$ac_check_soname_save_LIBS
11490 if ${ac_cv_lib_soname_sane:+false} :; then :
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11492 $as_echo "not found" >&6; }
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11496 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11498 cat >>confdefs.h
<<_ACEOF
11499 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11509 CPPFLAGS
=$ac_save_CPPFLAGS
11510 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11511 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11514 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11515 case "x$with_sane" in
11516 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11518 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11519 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11523 if test "x$with_v4l" != "xno"
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11526 $as_echo_n "checking for -lv4l1... " >&6; }
11527 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11528 $as_echo_n "(cached) " >&6
11530 ac_check_soname_save_LIBS
=$LIBS
11531 LIBS
="-lv4l1 $LIBS"
11532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11533 /* end confdefs.h. */
11535 /* Override any GCC internal prototype to avoid an error.
11536 Use char because int might match the return type of a GCC
11537 builtin and then its argument prototype would still apply. */
11545 return v4l1_open ();
11550 if ac_fn_c_try_link
"$LINENO"; then :
11552 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11553 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'` ;;
11554 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11555 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11556 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11560 rm -f core conftest.err conftest.
$ac_objext \
11561 conftest
$ac_exeext conftest.
$ac_ext
11562 LIBS
=$ac_check_soname_save_LIBS
11564 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11566 $as_echo "not found" >&6; }
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11570 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11572 cat >>confdefs.h
<<_ACEOF
11573 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11579 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11580 case "x$with_v4l" in
11581 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11583 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11584 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11588 if test "x$with_gphoto" != "xno"
11590 if ${GPHOTO2_CFLAGS:+false} :; then :
11591 if ${PKG_CONFIG+:} false
; then :
11592 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11595 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11596 if ${GPHOTO2_LIBS:+false} :; then :
11597 if ${PKG_CONFIG+:} false
; then :
11598 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11601 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11602 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11603 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11604 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11605 ac_save_CPPFLAGS
=$CPPFLAGS
11606 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11607 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11608 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11610 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11611 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11612 $as_echo_n "(cached) " >&6
11614 ac_check_lib_save_LIBS
=$LIBS
11615 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h. */
11619 /* Override any GCC internal prototype to avoid an error.
11620 Use char because int might match the return type of a GCC
11621 builtin and then its argument prototype would still apply. */
11625 char gp_camera_new ();
11629 return gp_camera_new ();
11634 if ac_fn_c_try_link
"$LINENO"; then :
11635 ac_cv_lib_gphoto2_gp_camera_new
=yes
11637 ac_cv_lib_gphoto2_gp_camera_new
=no
11639 rm -f core conftest.err conftest.
$ac_objext \
11640 conftest
$ac_exeext conftest.
$ac_ext
11641 LIBS
=$ac_check_lib_save_LIBS
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11644 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11645 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11647 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11650 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11654 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11658 CPPFLAGS
=$ac_save_CPPFLAGS
11659 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11660 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11662 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11663 if ${PKG_CONFIG+:} false
; then :
11664 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11667 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11668 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11669 if ${PKG_CONFIG+:} false
; then :
11670 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11673 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11674 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11675 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11676 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11677 ac_save_CPPFLAGS
=$CPPFLAGS
11678 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11679 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11680 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11682 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11683 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11684 $as_echo_n "(cached) " >&6
11686 ac_check_lib_save_LIBS
=$LIBS
11687 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11689 /* end confdefs.h. */
11691 /* Override any GCC internal prototype to avoid an error.
11692 Use char because int might match the return type of a GCC
11693 builtin and then its argument prototype would still apply. */
11697 char gp_port_info_list_new ();
11701 return gp_port_info_list_new ();
11706 if ac_fn_c_try_link
"$LINENO"; then :
11707 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11709 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11711 rm -f core conftest.err conftest.
$ac_objext \
11712 conftest
$ac_exeext conftest.
$ac_ext
11713 LIBS
=$ac_check_lib_save_LIBS
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11716 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11717 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11719 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11722 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11726 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11730 CPPFLAGS
=$ac_save_CPPFLAGS
11731 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11732 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11735 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11736 case "x$with_gphoto" in
11737 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11739 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11740 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11743 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11744 case "x$with_gphoto" in
11745 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11747 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11748 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11753 if test "$ac_cv_header_resolv_h" = "yes"
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11756 $as_echo_n "checking for resolver library... " >&6; }
11757 if ${ac_cv_have_resolv+:} false
; then :
11758 $as_echo_n "(cached) " >&6
11760 ac_save_LIBS
="$LIBS"
11761 for lib
in '' -lresolv
11763 LIBS
="$lib $ac_save_LIBS"
11764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11765 /* end confdefs.h. */
11766 #ifdef HAVE_NETINET_IN_H
11767 #include <netinet/in.h>
11769 #include <resolv.h>
11773 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11778 if ac_fn_c_try_link
"$LINENO"; then :
11779 ac_cv_have_resolv
=${lib:-"none required"}
11781 ac_cv_have_resolv
="not found"
11783 rm -f core conftest.err conftest.
$ac_objext \
11784 conftest
$ac_exeext conftest.
$ac_ext
11785 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11787 LIBS
="$ac_save_LIBS"
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11790 $as_echo "$ac_cv_have_resolv" >&6; }
11792 case "$ac_cv_have_resolv" in
11796 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11799 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11801 RESOLV_LIBS
=$ac_cv_have_resolv
11806 if test "x$with_lcms2" != "xno"
11808 if ${LCMS2_CFLAGS:+false} :; then :
11809 if ${PKG_CONFIG+:} false
; then :
11810 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11814 if ${LCMS2_LIBS:+false} :; then :
11815 if ${PKG_CONFIG+:} false
; then :
11816 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11820 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11821 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11822 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11823 ac_save_CPPFLAGS
=$CPPFLAGS
11824 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11825 for ac_header
in lcms2.h
11827 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11828 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11829 cat >>confdefs.h
<<_ACEOF
11830 #define HAVE_LCMS2_H 1
11837 if test "$ac_cv_header_lcms2_h" = "yes"
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11840 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11841 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11842 $as_echo_n "(cached) " >&6
11844 ac_check_lib_save_LIBS
=$LIBS
11845 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11849 /* Override any GCC internal prototype to avoid an error.
11850 Use char because int might match the return type of a GCC
11851 builtin and then its argument prototype would still apply. */
11855 char cmsOpenProfileFromFile ();
11859 return cmsOpenProfileFromFile ();
11864 if ac_fn_c_try_link
"$LINENO"; then :
11865 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11867 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11869 rm -f core conftest.err conftest.
$ac_objext \
11870 conftest
$ac_exeext conftest.
$ac_ext
11871 LIBS
=$ac_check_lib_save_LIBS
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11874 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11875 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11877 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11887 CPPFLAGS
=$ac_save_CPPFLAGS
11888 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11889 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11892 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11893 case "x$with_cms" in
11894 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11896 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11897 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11901 if test "x$with_freetype" != "xno"
11903 if ${FREETYPE_CFLAGS:+false} :; then :
11904 if ${PKG_CONFIG+:} false
; then :
11905 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11908 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11909 if ${FREETYPE_LIBS:+false} :; then :
11910 if ${PKG_CONFIG+:} false
; then :
11911 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11914 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11915 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11916 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11917 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11918 ac_save_CPPFLAGS
=$CPPFLAGS
11919 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11920 for ac_header
in ft2build.h
11922 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11923 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11924 cat >>confdefs.h
<<_ACEOF
11925 #define HAVE_FT2BUILD_H 1
11932 if test "$ac_cv_header_ft2build_h" = "yes"
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11935 $as_echo_n "checking for -lfreetype... " >&6; }
11936 if ${ac_cv_lib_soname_freetype+:} false
; then :
11937 $as_echo_n "(cached) " >&6
11939 ac_check_soname_save_LIBS
=$LIBS
11940 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11944 /* Override any GCC internal prototype to avoid an error.
11945 Use char because int might match the return type of a GCC
11946 builtin and then its argument prototype would still apply. */
11950 char FT_Init_FreeType ();
11954 return FT_Init_FreeType ();
11959 if ac_fn_c_try_link
"$LINENO"; then :
11961 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11962 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'` ;;
11963 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11964 if ${ac_cv_lib_soname_freetype:+false} :; then :
11965 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11969 rm -f core conftest.err conftest.
$ac_objext \
11970 conftest
$ac_exeext conftest.
$ac_ext
11971 LIBS
=$ac_check_soname_save_LIBS
11973 if ${ac_cv_lib_soname_freetype:+false} :; then :
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11975 $as_echo "not found" >&6; }
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11979 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11981 cat >>confdefs.h
<<_ACEOF
11982 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11986 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11988 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11989 #include FT_MODULE_H
11991 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11993 cat >>confdefs.h
<<_ACEOF
11994 #define HAVE_FT_TRUETYPEENGINETYPE 1
12005 CPPFLAGS
=$ac_save_CPPFLAGS
12006 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12007 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12010 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12011 case "x$with_freetype" in
12013 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12014 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12017 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12020 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12021 if ${ac_cv_c_ppdev+:} false
; then :
12022 $as_echo_n "(cached) " >&6
12024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12026 #ifdef HAVE_SYS_IOCTL_H
12027 # include <sys/ioctl.h>
12029 #include <linux/ppdev.h>
12033 ioctl (1,PPCLAIM,0)
12038 if ac_fn_c_try_compile
"$LINENO"; then :
12039 ac_cv_c_ppdev
="yes"
12043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12046 $as_echo "$ac_cv_c_ppdev" >&6; }
12047 if test "$ac_cv_c_ppdev" = "yes"
12050 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12054 ac_wine_check_funcs_save_LIBS
="$LIBS"
12055 LIBS
="$LIBS $PTHREAD_LIBS"
12057 pthread_attr_get_np \
12058 pthread_getattr_np \
12059 pthread_getthreadid_np \
12060 pthread_get_stackaddr_np \
12061 pthread_get_stacksize_np
12063 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12064 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12065 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12066 cat >>confdefs.h
<<_ACEOF
12067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12073 LIBS
="$ac_wine_check_funcs_save_LIBS"
12075 if test "$ac_cv_header_zlib_h" = "yes"
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12078 $as_echo_n "checking for inflate in -lz... " >&6; }
12079 if ${ac_cv_lib_z_inflate+:} false
; then :
12080 $as_echo_n "(cached) " >&6
12082 ac_check_lib_save_LIBS
=$LIBS
12084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h. */
12087 /* Override any GCC internal prototype to avoid an error.
12088 Use char because int might match the return type of a GCC
12089 builtin and then its argument prototype would still apply. */
12102 if ac_fn_c_try_link
"$LINENO"; then :
12103 ac_cv_lib_z_inflate
=yes
12105 ac_cv_lib_z_inflate
=no
12107 rm -f core conftest.err conftest.
$ac_objext \
12108 conftest
$ac_exeext conftest.
$ac_ext
12109 LIBS
=$ac_check_lib_save_LIBS
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12112 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12113 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12115 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12122 if test "x$Z_LIBS" = "x"; then :
12123 case "x$with_zlib" in
12124 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12126 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12127 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12131 if test "x$enable_tools" != xno
12133 if test "$ac_cv_header_gettext_po_h" = "yes"
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12136 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12137 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12138 $as_echo_n "(cached) " >&6
12140 ac_check_lib_save_LIBS
=$LIBS
12141 LIBS
="-lgettextpo $LIBS"
12142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12143 /* end confdefs.h. */
12145 /* Override any GCC internal prototype to avoid an error.
12146 Use char because int might match the return type of a GCC
12147 builtin and then its argument prototype would still apply. */
12151 char po_message_msgctxt ();
12155 return po_message_msgctxt ();
12160 if ac_fn_c_try_link
"$LINENO"; then :
12161 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12163 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12165 rm -f core conftest.err conftest.
$ac_objext \
12166 conftest
$ac_exeext conftest.
$ac_ext
12167 LIBS
=$ac_check_lib_save_LIBS
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12170 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12171 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12173 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12175 GETTEXTPO_LIBS
="-lgettextpo"
12180 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12181 case "x$with_gettextpo" in
12182 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12184 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12185 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12190 if test "x$with_gstreamer" != "xno"
12192 if ${GSTREAMER_CFLAGS:+false} :; then :
12193 if ${PKG_CONFIG+:} false
; then :
12194 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12198 if ${GSTREAMER_LIBS:+false} :; then :
12199 if ${PKG_CONFIG+:} false
; then :
12200 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12205 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12206 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12207 ac_save_CPPFLAGS
=$CPPFLAGS
12208 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12210 for i
in $GSTREAMER_CFLAGS
12213 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12216 GSTREAMER_CFLAGS
=$ac_gst_incl
12217 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12218 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12219 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12220 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12221 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12223 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12225 /* end confdefs.h. */
12226 #include <gst/app/gstappsink.h>
12230 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12235 if ac_fn_c_try_compile
"$LINENO"; then :
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12237 $as_echo "yes" >&6; }
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12239 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12240 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12241 $as_echo_n "(cached) " >&6
12243 ac_check_lib_save_LIBS
=$LIBS
12244 LIBS
="-lgstreamer-0.10 $LIBS"
12245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12246 /* end confdefs.h. */
12248 /* Override any GCC internal prototype to avoid an error.
12249 Use char because int might match the return type of a GCC
12250 builtin and then its argument prototype would still apply. */
12254 char gst_pad_get_caps_reffed ();
12258 return gst_pad_get_caps_reffed ();
12263 if ac_fn_c_try_link
"$LINENO"; then :
12264 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12266 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12268 rm -f core conftest.err conftest.
$ac_objext \
12269 conftest
$ac_exeext conftest.
$ac_ext
12270 LIBS
=$ac_check_lib_save_LIBS
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12273 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12274 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12276 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12277 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12278 $as_echo_n "(cached) " >&6
12280 ac_check_lib_save_LIBS
=$LIBS
12281 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12285 /* Override any GCC internal prototype to avoid an error.
12286 Use char because int might match the return type of a GCC
12287 builtin and then its argument prototype would still apply. */
12291 char gst_app_buffer_new ();
12295 return gst_app_buffer_new ();
12300 if ac_fn_c_try_link
"$LINENO"; then :
12301 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12303 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12305 rm -f core conftest.err conftest.
$ac_objext \
12306 conftest
$ac_exeext conftest.
$ac_ext
12307 LIBS
=$ac_check_lib_save_LIBS
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12310 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12311 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12319 $as_echo "no" >&6; }
12321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12326 GSTREAMER_CFLAGS
=""
12330 CPPFLAGS
=$ac_save_CPPFLAGS
12331 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12332 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12335 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12336 case "x$with_gstreamer" in
12337 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12339 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12340 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12343 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12347 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12350 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12351 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12352 $as_echo_n "(cached) " >&6
12354 ac_check_lib_save_LIBS
=$LIBS
12355 LIBS
="-lasound $LIBS"
12356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12357 /* end confdefs.h. */
12359 /* Override any GCC internal prototype to avoid an error.
12360 Use char because int might match the return type of a GCC
12361 builtin and then its argument prototype would still apply. */
12365 char snd_pcm_hw_params_get_access_mask ();
12369 return snd_pcm_hw_params_get_access_mask ();
12374 if ac_fn_c_try_link
"$LINENO"; then :
12375 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12377 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12379 rm -f core conftest.err conftest.
$ac_objext \
12380 conftest
$ac_exeext conftest.
$ac_ext
12381 LIBS
=$ac_check_lib_save_LIBS
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12384 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12385 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12387 /* end confdefs.h. */
12388 #ifdef HAVE_ALSA_ASOUNDLIB_H
12389 #include <alsa/asoundlib.h>
12390 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12391 #include <sys/asoundlib.h>
12396 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12401 if ac_fn_c_try_compile
"$LINENO"; then :
12402 ALSA_LIBS
="-lasound"
12404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12409 if test "x$with_oss" != xno
12411 ac_save_CPPFLAGS
="$CPPFLAGS"
12412 if test -f /etc
/oss.conf
12416 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12417 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12418 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12419 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12420 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12422 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12424 cat >>confdefs.h
<<_ACEOF
12425 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12428 OSS4_CFLAGS
="$ac_oss_incl"
12435 CPPFLAGS
="$ac_save_CPPFLAGS"
12436 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12438 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12442 if test "x$with_capi" != "xno"
12444 if ${CAPI20_CFLAGS:+false} :; then :
12445 if ${PKG_CONFIG+:} false
; then :
12446 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12450 if ${CAPI20_LIBS:+false} :; then :
12451 if ${PKG_CONFIG+:} false
; then :
12452 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12457 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12458 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12459 ac_save_CPPFLAGS
=$CPPFLAGS
12460 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12461 for ac_header
in capi20.h linux
/capi.h
12463 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12464 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12466 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12467 cat >>confdefs.h
<<_ACEOF
12468 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12475 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12478 $as_echo_n "checking for -lcapi20... " >&6; }
12479 if ${ac_cv_lib_soname_capi20+:} false
; then :
12480 $as_echo_n "(cached) " >&6
12482 ac_check_soname_save_LIBS
=$LIBS
12483 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h. */
12487 /* Override any GCC internal prototype to avoid an error.
12488 Use char because int might match the return type of a GCC
12489 builtin and then its argument prototype would still apply. */
12493 char capi20_register ();
12497 return capi20_register ();
12502 if ac_fn_c_try_link
"$LINENO"; then :
12504 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12505 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'` ;;
12506 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12507 if ${ac_cv_lib_soname_capi20:+false} :; then :
12508 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12512 rm -f core conftest.err conftest.
$ac_objext \
12513 conftest
$ac_exeext conftest.
$ac_ext
12514 LIBS
=$ac_check_soname_save_LIBS
12516 if ${ac_cv_lib_soname_capi20:+false} :; then :
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12518 $as_echo "not found" >&6; }
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12522 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12524 cat >>confdefs.h
<<_ACEOF
12525 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12531 CPPFLAGS
=$ac_save_CPPFLAGS
12532 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12533 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12536 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12537 case "x$with_capi" in
12538 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12540 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12541 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12547 if test "x$with_cups" != "xno"
12549 ac_save_CPPFLAGS
="$CPPFLAGS"
12550 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12551 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12552 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12553 for ac_header
in cups
/cups.h
12555 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12556 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12557 cat >>confdefs.h
<<_ACEOF
12558 #define HAVE_CUPS_CUPS_H 1
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12561 $as_echo_n "checking for -lcups... " >&6; }
12562 if ${ac_cv_lib_soname_cups+:} false
; then :
12563 $as_echo_n "(cached) " >&6
12565 ac_check_soname_save_LIBS
=$LIBS
12566 LIBS
="-lcups $ac_cups_libs $LIBS"
12567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12570 /* Override any GCC internal prototype to avoid an error.
12571 Use char because int might match the return type of a GCC
12572 builtin and then its argument prototype would still apply. */
12576 char cupsGetDefault ();
12580 return cupsGetDefault ();
12585 if ac_fn_c_try_link
"$LINENO"; then :
12587 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12588 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'` ;;
12589 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12590 if ${ac_cv_lib_soname_cups:+false} :; then :
12591 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12595 rm -f core conftest.err conftest.
$ac_objext \
12596 conftest
$ac_exeext conftest.
$ac_ext
12597 LIBS
=$ac_check_soname_save_LIBS
12599 if ${ac_cv_lib_soname_cups:+false} :; then :
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12601 $as_echo "not found" >&6; }
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12605 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12607 cat >>confdefs.h
<<_ACEOF
12608 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12611 CUPS_CFLAGS
="$ac_cups_cflags"
12617 CPPFLAGS
="$ac_save_CPPFLAGS"
12619 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12620 case "x$with_cups" in
12621 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12623 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12624 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12628 if test "x$with_fontconfig" != "xno"
12630 if ${FONTCONFIG_CFLAGS:+false} :; then :
12631 if ${PKG_CONFIG+:} false
; then :
12632 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12635 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12636 if ${FONTCONFIG_LIBS:+false} :; then :
12637 if ${PKG_CONFIG+:} false
; then :
12638 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12641 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12643 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12644 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12645 ac_save_CPPFLAGS
=$CPPFLAGS
12646 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12647 for ac_header
in fontconfig
/fontconfig.h
12649 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12650 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12651 cat >>confdefs.h
<<_ACEOF
12652 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12659 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12662 $as_echo_n "checking for -lfontconfig... " >&6; }
12663 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12664 $as_echo_n "(cached) " >&6
12666 ac_check_soname_save_LIBS
=$LIBS
12667 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12669 /* end confdefs.h. */
12671 /* Override any GCC internal prototype to avoid an error.
12672 Use char because int might match the return type of a GCC
12673 builtin and then its argument prototype would still apply. */
12686 if ac_fn_c_try_link
"$LINENO"; then :
12688 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12689 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'` ;;
12690 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12691 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12692 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12696 rm -f core conftest.err conftest.
$ac_objext \
12697 conftest
$ac_exeext conftest.
$ac_ext
12698 LIBS
=$ac_check_soname_save_LIBS
12700 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12702 $as_echo "not found" >&6; }
12703 FONTCONFIG_CFLAGS
=""
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12706 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12708 cat >>confdefs.h
<<_ACEOF
12709 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12715 FONTCONFIG_CFLAGS
=""
12717 CPPFLAGS
=$ac_save_CPPFLAGS
12718 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12719 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12722 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12723 case "x$with_fontconfig" in
12724 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12726 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12727 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12731 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12734 $as_echo_n "checking for -lgsm... " >&6; }
12735 if ${ac_cv_lib_soname_gsm+:} false
; then :
12736 $as_echo_n "(cached) " >&6
12738 ac_check_soname_save_LIBS
=$LIBS
12740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h. */
12743 /* Override any GCC internal prototype to avoid an error.
12744 Use char because int might match the return type of a GCC
12745 builtin and then its argument prototype would still apply. */
12749 char gsm_create ();
12753 return gsm_create ();
12758 if ac_fn_c_try_link
"$LINENO"; then :
12760 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12761 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'` ;;
12762 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12763 if ${ac_cv_lib_soname_gsm:+false} :; then :
12764 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12768 rm -f core conftest.err conftest.
$ac_objext \
12769 conftest
$ac_exeext conftest.
$ac_ext
12770 LIBS
=$ac_check_soname_save_LIBS
12772 if ${ac_cv_lib_soname_gsm:+false} :; then :
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12774 $as_echo "not found" >&6; }
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12778 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12780 cat >>confdefs.h
<<_ACEOF
12781 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12787 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12788 case "x$with_gsm" in
12789 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12791 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12792 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12796 if test "x$with_jpeg" != "xno"
12798 if ${JPEG_CFLAGS:+false} :; then :
12799 if ${PKG_CONFIG+:} false
; then :
12800 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12804 if ${JPEG_LIBS:+false} :; then :
12805 if ${PKG_CONFIG+:} false
; then :
12806 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12811 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12812 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12813 ac_save_CPPFLAGS
=$CPPFLAGS
12814 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12815 for ac_header
in jpeglib.h
12817 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12818 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12819 cat >>confdefs.h
<<_ACEOF
12820 #define HAVE_JPEGLIB_H 1
12827 if test "$ac_cv_header_jpeglib_h" = "yes"
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12830 $as_echo_n "checking for -ljpeg... " >&6; }
12831 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12832 $as_echo_n "(cached) " >&6
12834 ac_check_soname_save_LIBS
=$LIBS
12835 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12837 /* end confdefs.h. */
12839 /* Override any GCC internal prototype to avoid an error.
12840 Use char because int might match the return type of a GCC
12841 builtin and then its argument prototype would still apply. */
12845 char jpeg_start_decompress ();
12849 return jpeg_start_decompress ();
12854 if ac_fn_c_try_link
"$LINENO"; then :
12856 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12857 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'` ;;
12858 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12859 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12860 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12864 rm -f core conftest.err conftest.
$ac_objext \
12865 conftest
$ac_exeext conftest.
$ac_ext
12866 LIBS
=$ac_check_soname_save_LIBS
12868 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12870 $as_echo "not found" >&6; }
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12874 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12876 cat >>confdefs.h
<<_ACEOF
12877 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12885 CPPFLAGS
=$ac_save_CPPFLAGS
12886 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12887 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12890 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12891 case "x$with_jpeg" in
12892 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12894 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12895 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12899 if test "x$with_png" != "xno"
12901 if ${PNG_CFLAGS:+false} :; then :
12902 if ${PKG_CONFIG+:} false
; then :
12903 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12906 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12907 if ${PNG_LIBS:+false} :; then :
12908 if ${PKG_CONFIG+:} false
; then :
12909 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12912 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12914 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12915 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12916 ac_save_CPPFLAGS
=$CPPFLAGS
12917 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12918 for ac_header
in png.h
12920 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12921 if test "x$ac_cv_header_png_h" = xyes
; then :
12922 cat >>confdefs.h
<<_ACEOF
12923 #define HAVE_PNG_H 1
12930 if test "$ac_cv_header_png_h" = "yes"
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12933 $as_echo_n "checking for -lpng... " >&6; }
12934 if ${ac_cv_lib_soname_png+:} false
; then :
12935 $as_echo_n "(cached) " >&6
12937 ac_check_soname_save_LIBS
=$LIBS
12938 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12942 /* Override any GCC internal prototype to avoid an error.
12943 Use char because int might match the return type of a GCC
12944 builtin and then its argument prototype would still apply. */
12948 char png_create_read_struct ();
12952 return png_create_read_struct ();
12957 if ac_fn_c_try_link
"$LINENO"; then :
12959 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12960 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'` ;;
12961 *) 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'`
12962 if ${ac_cv_lib_soname_png:+false} :; then :
12963 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12967 rm -f core conftest.err conftest.
$ac_objext \
12968 conftest
$ac_exeext conftest.
$ac_ext
12969 LIBS
=$ac_check_soname_save_LIBS
12971 if ${ac_cv_lib_soname_png:+false} :; then :
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12973 $as_echo "not found" >&6; }
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12977 $as_echo "$ac_cv_lib_soname_png" >&6; }
12979 cat >>confdefs.h
<<_ACEOF
12980 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12984 /* end confdefs.h. */
12989 typeof(png_set_expand_gray_1_2_4_to_8) *p
12994 if ac_fn_c_try_compile
"$LINENO"; then :
12996 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13004 CPPFLAGS
=$ac_save_CPPFLAGS
13005 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13006 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13009 if test "x$ac_cv_lib_soname_png" = "x"; then :
13010 case "x$with_png" in
13011 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13013 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13014 This is an error since --with-png was requested." "$LINENO" 5 ;;
13018 if test "x$with_tiff" != "xno"
13020 if ${TIFF_CFLAGS:+false} :; then :
13021 if ${PKG_CONFIG+:} false
; then :
13022 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13026 if ${TIFF_LIBS:+false} :; then :
13027 if ${PKG_CONFIG+:} false
; then :
13028 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13033 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13034 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13035 ac_save_CPPFLAGS
=$CPPFLAGS
13036 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13037 for ac_header
in tiffio.h
13039 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13040 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13041 cat >>confdefs.h
<<_ACEOF
13042 #define HAVE_TIFFIO_H 1
13049 if test "$ac_cv_header_tiffio_h" = "yes"
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13052 $as_echo_n "checking for -ltiff... " >&6; }
13053 if ${ac_cv_lib_soname_tiff+:} false
; then :
13054 $as_echo_n "(cached) " >&6
13056 ac_check_soname_save_LIBS
=$LIBS
13057 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13059 /* end confdefs.h. */
13061 /* Override any GCC internal prototype to avoid an error.
13062 Use char because int might match the return type of a GCC
13063 builtin and then its argument prototype would still apply. */
13067 char TIFFClientOpen ();
13071 return TIFFClientOpen ();
13076 if ac_fn_c_try_link
"$LINENO"; then :
13078 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13079 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'` ;;
13080 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13081 if ${ac_cv_lib_soname_tiff:+false} :; then :
13082 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13086 rm -f core conftest.err conftest.
$ac_objext \
13087 conftest
$ac_exeext conftest.
$ac_ext
13088 LIBS
=$ac_check_soname_save_LIBS
13090 if ${ac_cv_lib_soname_tiff:+false} :; then :
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13092 $as_echo "not found" >&6; }
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13096 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13098 cat >>confdefs.h
<<_ACEOF
13099 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13105 CPPFLAGS
=$ac_save_CPPFLAGS
13106 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13107 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13110 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13111 case "x$with_tiff" in
13112 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13114 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13115 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13119 if test "x$with_mpg123" != "xno"
13121 if ${MPG123_CFLAGS:+false} :; then :
13122 if ${PKG_CONFIG+:} false
; then :
13123 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13127 if ${MPG123_LIBS:+false} :; then :
13128 if ${PKG_CONFIG+:} false
; then :
13129 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13133 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13134 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13135 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13136 ac_save_CPPFLAGS
=$CPPFLAGS
13137 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13138 for ac_header
in mpg123.h
13140 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13141 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13142 cat >>confdefs.h
<<_ACEOF
13143 #define HAVE_MPG123_H 1
13150 if test "$ac_cv_header_mpg123_h" = "yes"
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13153 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13154 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13155 $as_echo_n "(cached) " >&6
13157 ac_check_lib_save_LIBS
=$LIBS
13158 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13160 /* end confdefs.h. */
13162 /* Override any GCC internal prototype to avoid an error.
13163 Use char because int might match the return type of a GCC
13164 builtin and then its argument prototype would still apply. */
13168 char mpg123_feed ();
13172 return mpg123_feed ();
13177 if ac_fn_c_try_link
"$LINENO"; then :
13178 ac_cv_lib_mpg123_mpg123_feed
=yes
13180 ac_cv_lib_mpg123_mpg123_feed
=no
13182 rm -f core conftest.err conftest.
$ac_objext \
13183 conftest
$ac_exeext conftest.
$ac_ext
13184 LIBS
=$ac_check_lib_save_LIBS
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13187 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13188 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13198 CPPFLAGS
=$ac_save_CPPFLAGS
13199 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13200 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13203 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13204 case "x$with_mpg123" in
13205 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13207 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13208 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13211 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}
13213 if test "$ac_cv_header_AL_al_h" = "yes"
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13216 $as_echo_n "checking for -lopenal... " >&6; }
13217 if ${ac_cv_lib_soname_openal+:} false
; then :
13218 $as_echo_n "(cached) " >&6
13220 ac_check_soname_save_LIBS
=$LIBS
13221 LIBS
="-lopenal $LIBS"
13222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13223 /* end confdefs.h. */
13225 /* Override any GCC internal prototype to avoid an error.
13226 Use char because int might match the return type of a GCC
13227 builtin and then its argument prototype would still apply. */
13231 char alGetSource3i ();
13235 return alGetSource3i ();
13240 if ac_fn_c_try_link
"$LINENO"; then :
13242 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13243 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'` ;;
13244 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13245 if ${ac_cv_lib_soname_openal:+false} :; then :
13246 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13250 rm -f core conftest.err conftest.
$ac_objext \
13251 conftest
$ac_exeext conftest.
$ac_ext
13252 LIBS
=$ac_check_soname_save_LIBS
13254 if ${ac_cv_lib_soname_openal:+false} :; then :
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13256 $as_echo "not found" >&6; }
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13260 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13262 cat >>confdefs.h
<<_ACEOF
13263 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13266 OPENAL_LIBS
="-lopenal"
13268 ac_cv_lib_openal
=yes
13270 cat >>confdefs.h
<<_ACEOF
13271 #define HAVE_OPENAL 1
13276 if test "x$ac_cv_lib_openal" != xyes
; then :
13277 case "x$with_openal" in
13278 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13280 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13281 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13284 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13286 if test "$ac_cv_header_kstat_h" = "yes"
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13289 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13290 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13291 $as_echo_n "(cached) " >&6
13293 ac_check_lib_save_LIBS
=$LIBS
13294 LIBS
="-lkstat $LIBS"
13295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13296 /* end confdefs.h. */
13298 /* Override any GCC internal prototype to avoid an error.
13299 Use char because int might match the return type of a GCC
13300 builtin and then its argument prototype would still apply. */
13304 char kstat_open ();
13308 return kstat_open ();
13313 if ac_fn_c_try_link
"$LINENO"; then :
13314 ac_cv_lib_kstat_kstat_open
=yes
13316 ac_cv_lib_kstat_kstat_open
=no
13318 rm -f core conftest.err conftest.
$ac_objext \
13319 conftest
$ac_exeext conftest.
$ac_ext
13320 LIBS
=$ac_check_lib_save_LIBS
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13323 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13324 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13326 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13328 KSTAT_LIBS
="-lkstat"
13334 if test "$ac_cv_header_libprocstat_h" = "yes"
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13337 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13338 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13339 $as_echo_n "(cached) " >&6
13341 ac_check_lib_save_LIBS
=$LIBS
13342 LIBS
="-lprocstat $LIBS"
13343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h. */
13346 /* Override any GCC internal prototype to avoid an error.
13347 Use char because int might match the return type of a GCC
13348 builtin and then its argument prototype would still apply. */
13352 char procstat_open_sysctl ();
13356 return procstat_open_sysctl ();
13361 if ac_fn_c_try_link
"$LINENO"; then :
13362 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13364 ac_cv_lib_procstat_procstat_open_sysctl
=no
13366 rm -f core conftest.err conftest.
$ac_objext \
13367 conftest
$ac_exeext conftest.
$ac_ext
13368 LIBS
=$ac_check_lib_save_LIBS
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13371 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13372 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13374 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13376 PROCSTAT_LIBS
="-lprocstat"
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13383 $as_echo_n "checking for -lodbc... " >&6; }
13384 if ${ac_cv_lib_soname_odbc+:} false
; then :
13385 $as_echo_n "(cached) " >&6
13387 ac_check_soname_save_LIBS
=$LIBS
13388 LIBS
="-lodbc $LIBS"
13389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13390 /* end confdefs.h. */
13392 /* Override any GCC internal prototype to avoid an error.
13393 Use char because int might match the return type of a GCC
13394 builtin and then its argument prototype would still apply. */
13398 char SQLConnect ();
13402 return SQLConnect ();
13407 if ac_fn_c_try_link
"$LINENO"; then :
13409 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13410 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'` ;;
13411 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13412 if ${ac_cv_lib_soname_odbc:+false} :; then :
13413 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13417 rm -f core conftest.err conftest.
$ac_objext \
13418 conftest
$ac_exeext conftest.
$ac_ext
13419 LIBS
=$ac_check_soname_save_LIBS
13421 if ${ac_cv_lib_soname_odbc:+false} :; then :
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13423 $as_echo "not found" >&6; }
13424 cat >>confdefs.h
<<_ACEOF
13425 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13430 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13432 cat >>confdefs.h
<<_ACEOF
13433 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13439 if test "x$with_netapi" != "xno"
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13442 $as_echo_n "checking for -lnetapi... " >&6; }
13443 if ${ac_cv_lib_soname_netapi+:} false
; then :
13444 $as_echo_n "(cached) " >&6
13446 ac_check_soname_save_LIBS
=$LIBS
13447 LIBS
="-lnetapi $LIBS"
13448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13449 /* end confdefs.h. */
13451 /* Override any GCC internal prototype to avoid an error.
13452 Use char because int might match the return type of a GCC
13453 builtin and then its argument prototype would still apply. */
13457 char libnetapi_init ();
13461 return libnetapi_init ();
13466 if ac_fn_c_try_link
"$LINENO"; then :
13468 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13469 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'` ;;
13470 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13471 if ${ac_cv_lib_soname_netapi:+false} :; then :
13472 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13476 rm -f core conftest.err conftest.
$ac_objext \
13477 conftest
$ac_exeext conftest.
$ac_ext
13478 LIBS
=$ac_check_soname_save_LIBS
13480 if ${ac_cv_lib_soname_netapi:+false} :; then :
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13482 $as_echo "not found" >&6; }
13483 cat >>confdefs.h
<<_ACEOF
13484 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13489 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13491 cat >>confdefs.h
<<_ACEOF
13492 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13499 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13500 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13501 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13502 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13504 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13505 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13506 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13508 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13514 if test "x${GCC}" = "xyes"
13516 EXTRACFLAGS
="-Wall -pipe"
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13519 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13520 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13521 $as_echo_n "(cached) " >&6
13523 if test "$cross_compiling" = yes; then :
13524 ac_cv_c_gcc_strength_bug
="yes"
13526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13527 /* end confdefs.h. */
13528 int L[4] = {0,1,2,3};
13532 static int Array[3];
13533 unsigned int B = 3;
13535 for(i=0; i<B; i++) Array[i] = i - 3;
13536 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13538 return (Array[1] != -2 || L[2] != 3)
13543 if ac_fn_c_try_run
"$LINENO"; then :
13544 ac_cv_c_gcc_strength_bug
="no"
13546 ac_cv_c_gcc_strength_bug
="yes"
13548 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13549 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13554 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13555 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13557 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13561 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13562 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13563 $as_echo_n "(cached) " >&6
13565 ac_wine_try_cflags_saved
=$CFLAGS
13566 CFLAGS
="$CFLAGS -fno-builtin"
13567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13568 /* end confdefs.h. */
13569 int main(int argc, char **argv) { return 0; }
13571 if ac_fn_c_try_link
"$LINENO"; then :
13572 ac_cv_cflags__fno_builtin
=yes
13574 ac_cv_cflags__fno_builtin
=no
13576 rm -f core conftest.err conftest.
$ac_objext \
13577 conftest
$ac_exeext conftest.
$ac_ext
13578 CFLAGS
=$ac_wine_try_cflags_saved
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13581 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13582 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13583 BUILTINFLAG
="-fno-builtin"
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13587 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13588 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13589 $as_echo_n "(cached) " >&6
13591 ac_wine_try_cflags_saved
=$CFLAGS
13592 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13594 /* end confdefs.h. */
13595 int main(int argc, char **argv) { return 0; }
13597 if ac_fn_c_try_link
"$LINENO"; then :
13598 ac_cv_cflags__fno_strict_aliasing
=yes
13600 ac_cv_cflags__fno_strict_aliasing
=no
13602 rm -f core conftest.err conftest.
$ac_objext \
13603 conftest
$ac_exeext conftest.
$ac_ext
13604 CFLAGS
=$ac_wine_try_cflags_saved
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13607 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13608 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13609 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13611 saved_CFLAGS
=$CFLAGS
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13613 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13614 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13615 $as_echo_n "(cached) " >&6
13617 ac_wine_try_cflags_saved
=$CFLAGS
13618 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13621 int main(int argc, char **argv) { return 0; }
13623 if ac_fn_c_try_link
"$LINENO"; then :
13624 ac_cv_cflags__Werror_unknown_warning_option
=yes
13626 ac_cv_cflags__Werror_unknown_warning_option
=no
13628 rm -f core conftest.err conftest.
$ac_objext \
13629 conftest
$ac_exeext conftest.
$ac_ext
13630 CFLAGS
=$ac_wine_try_cflags_saved
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13633 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13634 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13635 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13638 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13639 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13640 $as_echo_n "(cached) " >&6
13642 ac_wine_try_cflags_saved
=$CFLAGS
13643 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13645 /* end confdefs.h. */
13646 int main(int argc, char **argv) { return 0; }
13648 if ac_fn_c_try_link
"$LINENO"; then :
13649 ac_cv_cflags__Wdeclaration_after_statement
=yes
13651 ac_cv_cflags__Wdeclaration_after_statement
=no
13653 rm -f core conftest.err conftest.
$ac_objext \
13654 conftest
$ac_exeext conftest.
$ac_ext
13655 CFLAGS
=$ac_wine_try_cflags_saved
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13658 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13659 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13660 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13663 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13664 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13665 $as_echo_n "(cached) " >&6
13667 ac_wine_try_cflags_saved
=$CFLAGS
13668 CFLAGS
="$CFLAGS -Wempty-body"
13669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13670 /* end confdefs.h. */
13671 int main(int argc, char **argv) { return 0; }
13673 if ac_fn_c_try_link
"$LINENO"; then :
13674 ac_cv_cflags__Wempty_body
=yes
13676 ac_cv_cflags__Wempty_body
=no
13678 rm -f core conftest.err conftest.
$ac_objext \
13679 conftest
$ac_exeext conftest.
$ac_ext
13680 CFLAGS
=$ac_wine_try_cflags_saved
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13683 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13684 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13685 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13688 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13689 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13690 $as_echo_n "(cached) " >&6
13692 ac_wine_try_cflags_saved
=$CFLAGS
13693 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13695 /* end confdefs.h. */
13696 int main(int argc, char **argv) { return 0; }
13698 if ac_fn_c_try_link
"$LINENO"; then :
13699 ac_cv_cflags__Wignored_qualifiers
=yes
13701 ac_cv_cflags__Wignored_qualifiers
=no
13703 rm -f core conftest.err conftest.
$ac_objext \
13704 conftest
$ac_exeext conftest.
$ac_ext
13705 CFLAGS
=$ac_wine_try_cflags_saved
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13708 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13709 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13710 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13713 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13714 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13715 $as_echo_n "(cached) " >&6
13717 ac_wine_try_cflags_saved
=$CFLAGS
13718 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13720 /* end confdefs.h. */
13721 int main(int argc, char **argv) { return 0; }
13723 if ac_fn_c_try_link
"$LINENO"; then :
13724 ac_cv_cflags__Wstrict_prototypes
=yes
13726 ac_cv_cflags__Wstrict_prototypes
=no
13728 rm -f core conftest.err conftest.
$ac_objext \
13729 conftest
$ac_exeext conftest.
$ac_ext
13730 CFLAGS
=$ac_wine_try_cflags_saved
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13733 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13734 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13735 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13738 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13739 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13740 $as_echo_n "(cached) " >&6
13742 ac_wine_try_cflags_saved
=$CFLAGS
13743 CFLAGS
="$CFLAGS -Wtype-limits"
13744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h. */
13746 int main(int argc, char **argv) { return 0; }
13748 if ac_fn_c_try_link
"$LINENO"; then :
13749 ac_cv_cflags__Wtype_limits
=yes
13751 ac_cv_cflags__Wtype_limits
=no
13753 rm -f core conftest.err conftest.
$ac_objext \
13754 conftest
$ac_exeext conftest.
$ac_ext
13755 CFLAGS
=$ac_wine_try_cflags_saved
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13758 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13759 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13760 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13763 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13764 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13765 $as_echo_n "(cached) " >&6
13767 ac_wine_try_cflags_saved
=$CFLAGS
13768 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13770 /* end confdefs.h. */
13771 int main(int argc, char **argv) { return 0; }
13773 if ac_fn_c_try_link
"$LINENO"; then :
13774 ac_cv_cflags__Wunused_but_set_parameter
=yes
13776 ac_cv_cflags__Wunused_but_set_parameter
=no
13778 rm -f core conftest.err conftest.
$ac_objext \
13779 conftest
$ac_exeext conftest.
$ac_ext
13780 CFLAGS
=$ac_wine_try_cflags_saved
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13783 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13784 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13785 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13788 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13789 if ${ac_cv_cflags__Wvla+:} false
; then :
13790 $as_echo_n "(cached) " >&6
13792 ac_wine_try_cflags_saved
=$CFLAGS
13793 CFLAGS
="$CFLAGS -Wvla"
13794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13795 /* end confdefs.h. */
13796 int main(int argc, char **argv) { return 0; }
13798 if ac_fn_c_try_link
"$LINENO"; then :
13799 ac_cv_cflags__Wvla
=yes
13801 ac_cv_cflags__Wvla
=no
13803 rm -f core conftest.err conftest.
$ac_objext \
13804 conftest
$ac_exeext conftest.
$ac_ext
13805 CFLAGS
=$ac_wine_try_cflags_saved
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13808 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13809 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13810 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13813 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13814 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13815 $as_echo_n "(cached) " >&6
13817 ac_wine_try_cflags_saved
=$CFLAGS
13818 CFLAGS
="$CFLAGS -Wwrite-strings"
13819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13821 int main(int argc, char **argv) { return 0; }
13823 if ac_fn_c_try_link
"$LINENO"; then :
13824 ac_cv_cflags__Wwrite_strings
=yes
13826 ac_cv_cflags__Wwrite_strings
=no
13828 rm -f core conftest.err conftest.
$ac_objext \
13829 conftest
$ac_exeext conftest.
$ac_ext
13830 CFLAGS
=$ac_wine_try_cflags_saved
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13833 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13834 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13835 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13839 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13840 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13841 $as_echo_n "(cached) " >&6
13843 ac_wine_try_cflags_saved
=$CFLAGS
13844 CFLAGS
="$CFLAGS -Wpointer-arith"
13845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13847 int main(int argc, char **argv) { return 0; }
13849 if ac_fn_c_try_link
"$LINENO"; then :
13850 ac_cv_cflags__Wpointer_arith
=yes
13852 ac_cv_cflags__Wpointer_arith
=no
13854 rm -f core conftest.err conftest.
$ac_objext \
13855 conftest
$ac_exeext conftest.
$ac_ext
13856 CFLAGS
=$ac_wine_try_cflags_saved
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13859 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13860 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13861 saved_string_h_CFLAGS
=$CFLAGS
13862 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13864 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13865 if ${ac_cv_c_string_h_warnings+:} false
; then :
13866 $as_echo_n "(cached) " >&6
13868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13870 #include <string.h>
13879 if ac_fn_c_try_compile
"$LINENO"; then :
13880 ac_cv_c_string_h_warnings
=no
13882 ac_cv_c_string_h_warnings
=yes
13884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13887 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13888 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13889 CFLAGS
=$saved_string_h_CFLAGS
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13893 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13894 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13895 $as_echo_n "(cached) " >&6
13897 ac_wine_try_cflags_saved
=$CFLAGS
13898 CFLAGS
="$CFLAGS -Wlogical-op"
13899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13901 int main(int argc, char **argv) { return 0; }
13903 if ac_fn_c_try_link
"$LINENO"; then :
13904 ac_cv_cflags__Wlogical_op
=yes
13906 ac_cv_cflags__Wlogical_op
=no
13908 rm -f core conftest.err conftest.
$ac_objext \
13909 conftest
$ac_exeext conftest.
$ac_ext
13910 CFLAGS
=$ac_wine_try_cflags_saved
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13913 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13914 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13915 saved_string_h_CFLAGS
=$CFLAGS
13916 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13918 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13919 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13920 $as_echo_n "(cached) " >&6
13922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13923 /* end confdefs.h. */
13924 #include <string.h>
13925 char*f(const char *h,char n) {return strchr(h,n);}
13934 if ac_fn_c_try_compile
"$LINENO"; then :
13935 ac_cv_c_logicalop_noisy
=no
13937 ac_cv_c_logicalop_noisy
=yes
13939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13942 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13943 CFLAGS
=$saved_string_h_CFLAGS
13944 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13947 CFLAGS
=$saved_CFLAGS
13949 for ac_flag
in $CFLAGS; do
13951 -g) case $host_os in
13952 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13953 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13954 if ${ac_cv_cflags__gstabsp+:} false
; then :
13955 $as_echo_n "(cached) " >&6
13957 ac_wine_try_cflags_saved
=$CFLAGS
13958 CFLAGS
="$CFLAGS -gstabs+"
13959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13960 /* end confdefs.h. */
13961 int main(int argc, char **argv) { return 0; }
13963 if ac_fn_c_try_link
"$LINENO"; then :
13964 ac_cv_cflags__gstabsp
=yes
13966 ac_cv_cflags__gstabsp
=no
13968 rm -f core conftest.err conftest.
$ac_objext \
13969 conftest
$ac_exeext conftest.
$ac_ext
13970 CFLAGS
=$ac_wine_try_cflags_saved
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13973 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13974 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
13975 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13977 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13978 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13979 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13980 $as_echo_n "(cached) " >&6
13982 ac_wine_try_cflags_saved
=$CFLAGS
13983 CFLAGS
="$CFLAGS -gdwarf-2"
13984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13985 /* end confdefs.h. */
13986 int main(int argc, char **argv) { return 0; }
13988 if ac_fn_c_try_link
"$LINENO"; then :
13989 ac_cv_cflags__gdwarf_2
=yes
13991 ac_cv_cflags__gdwarf_2
=no
13993 rm -f core conftest.err conftest.
$ac_objext \
13994 conftest
$ac_exeext conftest.
$ac_ext
13995 CFLAGS
=$ac_wine_try_cflags_saved
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13998 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13999 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14000 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14003 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14004 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14005 $as_echo_n "(cached) " >&6
14007 ac_wine_try_cflags_saved
=$CFLAGS
14008 CFLAGS
="$CFLAGS -gstrict-dwarf"
14009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14010 /* end confdefs.h. */
14011 int main(int argc, char **argv) { return 0; }
14013 if ac_fn_c_try_link
"$LINENO"; then :
14014 ac_cv_cflags__gstrict_dwarf
=yes
14016 ac_cv_cflags__gstrict_dwarf
=no
14018 rm -f core conftest.err conftest.
$ac_objext \
14019 conftest
$ac_exeext conftest.
$ac_ext
14020 CFLAGS
=$ac_wine_try_cflags_saved
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14023 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14024 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14025 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14032 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14033 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14034 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14035 $as_echo_n "(cached) " >&6
14037 ac_wine_try_cflags_saved
=$CFLAGS
14038 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14040 /* end confdefs.h. */
14041 int main(int argc, char **argv) { return 0; }
14043 if ac_fn_c_try_link
"$LINENO"; then :
14044 ac_cv_cflags__fno_omit_frame_pointer
=yes
14046 ac_cv_cflags__fno_omit_frame_pointer
=no
14048 rm -f core conftest.err conftest.
$ac_objext \
14049 conftest
$ac_exeext conftest.
$ac_ext
14050 CFLAGS
=$ac_wine_try_cflags_saved
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14053 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14054 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14055 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14060 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14061 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14062 if ${ac_cv_cflags__Wno_format+:} false
; then :
14063 $as_echo_n "(cached) " >&6
14065 ac_wine_try_cflags_saved
=$CFLAGS
14066 CFLAGS
="$CFLAGS -Wno-format"
14067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14069 int main(int argc, char **argv) { return 0; }
14071 if ac_fn_c_try_link
"$LINENO"; then :
14072 ac_cv_cflags__Wno_format
=yes
14074 ac_cv_cflags__Wno_format
=no
14076 rm -f core conftest.err conftest.
$ac_objext \
14077 conftest
$ac_exeext conftest.
$ac_ext
14078 CFLAGS
=$ac_wine_try_cflags_saved
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14081 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14082 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14083 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14087 if test "x$enable_maintainer_mode" = "xyes"
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14090 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14091 if ${ac_cv_cflags__Werror+:} false
; then :
14092 $as_echo_n "(cached) " >&6
14094 ac_wine_try_cflags_saved
=$CFLAGS
14095 CFLAGS
="$CFLAGS -Werror"
14096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14098 int main(int argc, char **argv) { return 0; }
14100 if ac_fn_c_try_link
"$LINENO"; then :
14101 ac_cv_cflags__Werror
=yes
14103 ac_cv_cflags__Werror
=no
14105 rm -f core conftest.err conftest.
$ac_objext \
14106 conftest
$ac_exeext conftest.
$ac_ext
14107 CFLAGS
=$ac_wine_try_cflags_saved
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14110 $as_echo "$ac_cv_cflags__Werror" >&6; }
14111 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14112 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14116 saved_CFLAGS
="$CFLAGS"
14117 CFLAGS
="$CFLAGS -Werror"
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14119 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14120 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14121 $as_echo_n "(cached) " >&6
14123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14125 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14134 if ac_fn_c_try_compile
"$LINENO"; then :
14135 ac_cv_have_ms_hook_prologue
="yes"
14137 ac_cv_have_ms_hook_prologue
="no"
14139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14142 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14143 CFLAGS
="$saved_CFLAGS"
14144 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14147 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14150 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14157 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14158 if ${ac_cv_c_fortify_enabled+:} false
; then :
14159 $as_echo_n "(cached) " >&6
14161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14162 /* end confdefs.h. */
14163 #include <string.h>
14167 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14168 #error Fortify enabled
14174 if ac_fn_c_try_compile
"$LINENO"; then :
14175 ac_cv_c_fortify_enabled
=no
14177 ac_cv_c_fortify_enabled
=yes
14179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14182 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14183 if test "$ac_cv_c_fortify_enabled" = yes
14185 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14190 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14191 if ${ac_cv_c_extern_prefix+:} false
; then :
14192 $as_echo_n "(cached) " >&6
14194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14196 extern int ac_test;
14200 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14205 if ac_fn_c_try_link
"$LINENO"; then :
14206 ac_cv_c_extern_prefix
="yes"
14208 ac_cv_c_extern_prefix
="no"
14210 rm -f core conftest.err conftest.
$ac_objext \
14211 conftest
$ac_exeext conftest.
$ac_ext
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14214 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14219 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14220 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14221 $as_echo_n "(cached) " >&6
14223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14226 #define __stdcall __attribute__((__stdcall__))
14228 int __stdcall ac_test(int i) { return i; }
14232 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14237 if ac_fn_c_try_link
"$LINENO"; then :
14238 ac_cv_c_stdcall_suffix
="yes"
14240 ac_cv_c_stdcall_suffix
="no"
14242 rm -f core conftest.err conftest.
$ac_objext \
14243 conftest
$ac_exeext conftest.
$ac_ext
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14246 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14247 *) ac_cv_c_stdcall_suffix
="no" ;;
14251 if test "$ac_cv_c_extern_prefix" = "yes"
14253 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14255 asm_name_prefix
="_"
14257 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14263 if test "$ac_cv_c_stdcall_suffix" = "yes"
14265 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14268 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14274 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14275 if ${ac_cv_asm_func_def+:} false
; then :
14276 $as_echo_n "(cached) " >&6
14278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14279 /* end confdefs.h. */
14284 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14289 if ac_fn_c_try_link
"$LINENO"; then :
14290 ac_cv_asm_func_def
=".def"
14292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14298 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14303 if ac_fn_c_try_link
"$LINENO"; then :
14304 ac_cv_asm_func_def
=".type @function"
14306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14312 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14317 if ac_fn_c_try_link
"$LINENO"; then :
14318 ac_cv_asm_func_def
=".type 2"
14320 ac_cv_asm_func_def
="unknown"
14322 rm -f core conftest.err conftest.
$ac_objext \
14323 conftest
$ac_exeext conftest.
$ac_ext
14325 rm -f core conftest.err conftest.
$ac_objext \
14326 conftest
$ac_exeext conftest.
$ac_ext
14328 rm -f core conftest.err conftest.
$ac_objext \
14329 conftest
$ac_exeext conftest.
$ac_ext
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14332 $as_echo "$ac_cv_asm_func_def" >&6; }
14335 case "$ac_cv_asm_func_def" in
14337 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14339 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14341 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14343 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14345 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14347 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14349 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14351 asm_func_header
="" ;;
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14355 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14356 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14357 $as_echo_n "(cached) " >&6
14359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14360 /* end confdefs.h. */
14361 asm(".text\n\t.long 0");
14370 if ac_fn_c_try_compile
"$LINENO"; then :
14371 ac_cv_c_asm_outside_funcs
="yes"
14373 ac_cv_c_asm_outside_funcs
="no"
14375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14378 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14381 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14382 if ${ac_cv_c_dot_previous+:} false
; then :
14383 $as_echo_n "(cached) " >&6
14385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14391 asm(".text\nac_test:\t.long 0\n\t.previous");
14396 if ac_fn_c_try_link
"$LINENO"; then :
14397 ac_cv_c_dot_previous
="yes"
14399 ac_cv_c_dot_previous
="no"
14401 rm -f core conftest.err conftest.
$ac_objext \
14402 conftest
$ac_exeext conftest.
$ac_ext
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14405 $as_echo "$ac_cv_c_dot_previous" >&6; }
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14408 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14409 if ${ac_cv_c_cfi_support+:} false
; then :
14410 $as_echo_n "(cached) " >&6
14412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14414 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14423 if ac_fn_c_try_compile
"$LINENO"; then :
14424 ac_cv_c_cfi_support
="yes"
14426 ac_cv_c_cfi_support
="no"
14428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14431 $as_echo "$ac_cv_c_cfi_support" >&6; }
14433 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14434 asm_func_trailer
=""
14435 if test "$ac_cv_c_dot_previous" = "yes"
14437 asm_func_trailer
="\\n\\t.previous"
14439 if test "$ac_cv_c_cfi_support" = "yes"
14441 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14442 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14444 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14446 UNWINDFLAGS
=-fasynchronous-unwind-tables
14449 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14453 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14456 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14458 cat >>confdefs.h
<<_ACEOF
14459 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14463 cat >>confdefs.h
<<_ACEOF
14464 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14469 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14472 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14477 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14484 *i
[3456789]86*|x86_64
*)
14485 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14486 loader_programs
="$loader_programs $wine_binary-preloader"
14487 as_fn_append LOADER_RULES
"
14488 $wine_binary-preloader: preloader.o
14489 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14491 install install-lib:: $wine_binary-preloader
14492 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14495 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14497 preloader_EXTRADEFS = $BUILTINFLAG
14502 as_fn_append LOADER_RULES
"
14503 PROGRAMS = $loader_programs
14507 ac_save_CFLAGS
="$CFLAGS"
14508 CFLAGS
="$CFLAGS $BUILTINFLAG"
14585 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14586 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14587 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14588 cat >>confdefs.h
<<_ACEOF
14589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14595 CFLAGS
="$ac_save_CFLAGS"
14597 if test "$ac_cv_func_dlopen" = no
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14600 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14601 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14602 $as_echo_n "(cached) " >&6
14604 ac_check_lib_save_LIBS
=$LIBS
14606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14607 /* end confdefs.h. */
14609 /* Override any GCC internal prototype to avoid an error.
14610 Use char because int might match the return type of a GCC
14611 builtin and then its argument prototype would still apply. */
14624 if ac_fn_c_try_link
"$LINENO"; then :
14625 ac_cv_lib_dl_dlopen
=yes
14627 ac_cv_lib_dl_dlopen
=no
14629 rm -f core conftest.err conftest.
$ac_objext \
14630 conftest
$ac_exeext conftest.
$ac_ext
14631 LIBS
=$ac_check_lib_save_LIBS
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14634 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14635 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14636 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14642 ac_wine_check_funcs_save_LIBS
="$LIBS"
14643 LIBS
="$LIBS $DL_LIBS"
14644 for ac_func
in dladdr
14646 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14647 if test "x$ac_cv_func_dladdr" = xyes
; then :
14648 cat >>confdefs.h
<<_ACEOF
14649 #define HAVE_DLADDR 1
14655 LIBS
="$ac_wine_check_funcs_save_LIBS"
14657 if test "$ac_cv_func_poll" = no
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14660 $as_echo_n "checking for poll in -lpoll... " >&6; }
14661 if ${ac_cv_lib_poll_poll+:} false
; then :
14662 $as_echo_n "(cached) " >&6
14664 ac_check_lib_save_LIBS
=$LIBS
14665 LIBS
="-lpoll $LIBS"
14666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14667 /* end confdefs.h. */
14669 /* Override any GCC internal prototype to avoid an error.
14670 Use char because int might match the return type of a GCC
14671 builtin and then its argument prototype would still apply. */
14684 if ac_fn_c_try_link
"$LINENO"; then :
14685 ac_cv_lib_poll_poll
=yes
14687 ac_cv_lib_poll_poll
=no
14689 rm -f core conftest.err conftest.
$ac_objext \
14690 conftest
$ac_exeext conftest.
$ac_ext
14691 LIBS
=$ac_check_lib_save_LIBS
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14694 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14695 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14696 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14704 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14705 if ${ac_cv_search_gethostbyname+:} false
; then :
14706 $as_echo_n "(cached) " >&6
14708 ac_func_search_save_LIBS
=$LIBS
14709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14710 /* end confdefs.h. */
14712 /* Override any GCC internal prototype to avoid an error.
14713 Use char because int might match the return type of a GCC
14714 builtin and then its argument prototype would still apply. */
14718 char gethostbyname ();
14722 return gethostbyname ();
14727 for ac_lib
in '' nsl
; do
14728 if test -z "$ac_lib"; then
14729 ac_res
="none required"
14732 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14734 if ac_fn_c_try_link
"$LINENO"; then :
14735 ac_cv_search_gethostbyname
=$ac_res
14737 rm -f core conftest.err conftest.
$ac_objext \
14739 if ${ac_cv_search_gethostbyname+:} false
; then :
14743 if ${ac_cv_search_gethostbyname+:} false
; then :
14746 ac_cv_search_gethostbyname
=no
14748 rm conftest.
$ac_ext
14749 LIBS
=$ac_func_search_save_LIBS
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14752 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14753 ac_res
=$ac_cv_search_gethostbyname
14754 if test "$ac_res" != no
; then :
14755 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14761 $as_echo_n "checking for library containing connect... " >&6; }
14762 if ${ac_cv_search_connect+:} false
; then :
14763 $as_echo_n "(cached) " >&6
14765 ac_func_search_save_LIBS
=$LIBS
14766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14767 /* end confdefs.h. */
14769 /* Override any GCC internal prototype to avoid an error.
14770 Use char because int might match the return type of a GCC
14771 builtin and then its argument prototype would still apply. */
14784 for ac_lib
in '' socket
; do
14785 if test -z "$ac_lib"; then
14786 ac_res
="none required"
14789 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14791 if ac_fn_c_try_link
"$LINENO"; then :
14792 ac_cv_search_connect
=$ac_res
14794 rm -f core conftest.err conftest.
$ac_objext \
14796 if ${ac_cv_search_connect+:} false
; then :
14800 if ${ac_cv_search_connect+:} false
; then :
14803 ac_cv_search_connect
=no
14805 rm conftest.
$ac_ext
14806 LIBS
=$ac_func_search_save_LIBS
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14809 $as_echo "$ac_cv_search_connect" >&6; }
14810 ac_res
=$ac_cv_search_connect
14811 if test "$ac_res" != no
; then :
14812 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14818 $as_echo_n "checking for library containing inet_aton... " >&6; }
14819 if ${ac_cv_search_inet_aton+:} false
; then :
14820 $as_echo_n "(cached) " >&6
14822 ac_func_search_save_LIBS
=$LIBS
14823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14824 /* end confdefs.h. */
14826 /* Override any GCC internal prototype to avoid an error.
14827 Use char because int might match the return type of a GCC
14828 builtin and then its argument prototype would still apply. */
14836 return inet_aton ();
14841 for ac_lib
in '' resolv
; do
14842 if test -z "$ac_lib"; then
14843 ac_res
="none required"
14846 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14848 if ac_fn_c_try_link
"$LINENO"; then :
14849 ac_cv_search_inet_aton
=$ac_res
14851 rm -f core conftest.err conftest.
$ac_objext \
14853 if ${ac_cv_search_inet_aton+:} false
; then :
14857 if ${ac_cv_search_inet_aton+:} false
; then :
14860 ac_cv_search_inet_aton
=no
14862 rm conftest.
$ac_ext
14863 LIBS
=$ac_func_search_save_LIBS
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14866 $as_echo "$ac_cv_search_inet_aton" >&6; }
14867 ac_res
=$ac_cv_search_inet_aton
14868 if test "$ac_res" != no
; then :
14869 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14889 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14890 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14891 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14892 cat >>confdefs.h
<<_ACEOF
14893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14902 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14903 if ${ac_cv_search_clock_gettime+:} false
; then :
14904 $as_echo_n "(cached) " >&6
14906 ac_func_search_save_LIBS
=$LIBS
14907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14908 /* end confdefs.h. */
14910 /* Override any GCC internal prototype to avoid an error.
14911 Use char because int might match the return type of a GCC
14912 builtin and then its argument prototype would still apply. */
14916 char clock_gettime ();
14920 return clock_gettime ();
14925 for ac_lib
in '' rt
; do
14926 if test -z "$ac_lib"; then
14927 ac_res
="none required"
14930 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14932 if ac_fn_c_try_link
"$LINENO"; then :
14933 ac_cv_search_clock_gettime
=$ac_res
14935 rm -f core conftest.err conftest.
$ac_objext \
14937 if ${ac_cv_search_clock_gettime+:} false
; then :
14941 if ${ac_cv_search_clock_gettime+:} false
; then :
14944 ac_cv_search_clock_gettime
=no
14946 rm conftest.
$ac_ext
14947 LIBS
=$ac_func_search_save_LIBS
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14950 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14951 ac_res
=$ac_cv_search_clock_gettime
14952 if test "$ac_res" != no
; then :
14953 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14955 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14957 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14965 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14967 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14969 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14971 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14972 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14973 $as_echo_n "(cached) " >&6
14975 ac_check_lib_save_LIBS
=$LIBS
14976 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
14977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14978 /* end confdefs.h. */
14980 /* Override any GCC internal prototype to avoid an error.
14981 Use char because int might match the return type of a GCC
14982 builtin and then its argument prototype would still apply. */
14986 char ldap_initialize ();
14990 return ldap_initialize ();
14995 if ac_fn_c_try_link
"$LINENO"; then :
14996 ac_cv_lib_ldap_r_ldap_initialize
=yes
14998 ac_cv_lib_ldap_r_ldap_initialize
=no
15000 rm -f core conftest.err conftest.
$ac_objext \
15001 conftest
$ac_exeext conftest.
$ac_ext
15002 LIBS
=$ac_check_lib_save_LIBS
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15005 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15006 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15008 $as_echo_n "checking for ber_init in -llber... " >&6; }
15009 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15010 $as_echo_n "(cached) " >&6
15012 ac_check_lib_save_LIBS
=$LIBS
15013 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15017 /* Override any GCC internal prototype to avoid an error.
15018 Use char because int might match the return type of a GCC
15019 builtin and then its argument prototype would still apply. */
15027 return ber_init ();
15032 if ac_fn_c_try_link
"$LINENO"; then :
15033 ac_cv_lib_lber_ber_init
=yes
15035 ac_cv_lib_lber_ber_init
=no
15037 rm -f core conftest.err conftest.
$ac_objext \
15038 conftest
$ac_exeext conftest.
$ac_ext
15039 LIBS
=$ac_check_lib_save_LIBS
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15042 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15043 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15045 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15047 LDAP_LIBS
="-lldap_r -llber"
15054 ac_wine_check_funcs_save_LIBS
="$LIBS"
15055 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15057 ldap_count_references \
15058 ldap_first_reference \
15059 ldap_next_reference \
15060 ldap_parse_reference \
15061 ldap_parse_sort_control \
15062 ldap_parse_sortresponse_control \
15063 ldap_parse_vlv_control \
15064 ldap_parse_vlvresponse_control
15066 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15067 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15068 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15069 cat >>confdefs.h
<<_ACEOF
15070 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15076 LIBS
="$ac_wine_check_funcs_save_LIBS"
15078 if test "x$LDAP_LIBS" = "x"; then :
15079 case "x$with_ldap" in
15080 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15082 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15083 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15088 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15089 if ${wine_cv_one_arg_mkdir+:} false
; then :
15090 $as_echo_n "(cached) " >&6
15092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15093 /* end confdefs.h. */
15094 #include <sys/stat.h>
15103 if ac_fn_c_try_compile
"$LINENO"; then :
15104 wine_cv_one_arg_mkdir
=yes
15106 wine_cv_one_arg_mkdir
=no
15108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15111 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15112 if test "$wine_cv_one_arg_mkdir" = "yes"
15115 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15120 $as_echo_n "checking for sched_setaffinity... " >&6; }
15121 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15122 $as_echo_n "(cached) " >&6
15124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15126 #define _GNU_SOURCE
15131 sched_setaffinity(0, 0, 0);
15136 if ac_fn_c_try_link
"$LINENO"; then :
15137 wine_cv_have_sched_setaffinity
=yes
15139 wine_cv_have_sched_setaffinity
=no
15141 rm -f core conftest.err conftest.
$ac_objext \
15142 conftest
$ac_exeext conftest.
$ac_ext
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15145 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15146 if test "$wine_cv_have_sched_setaffinity" = "yes"
15149 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15154 $as_echo_n "checking for fallocate... " >&6; }
15155 if ${wine_cv_have_fallocate+:} false
; then :
15156 $as_echo_n "(cached) " >&6
15158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15159 /* end confdefs.h. */
15160 #define _GNU_SOURCE
15165 fallocate(-1, 0, 0, 0);
15170 if ac_fn_c_try_link
"$LINENO"; then :
15171 wine_cv_have_fallocate
=yes
15173 wine_cv_have_fallocate
=no
15175 rm -f core conftest.err conftest.
$ac_objext \
15176 conftest
$ac_exeext conftest.
$ac_ext
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15179 $as_echo "$wine_cv_have_fallocate" >&6; }
15180 if test "$wine_cv_have_fallocate" = "yes"
15183 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15189 $as_echo_n "checking for inline... " >&6; }
15190 if ${ac_cv_c_inline+:} false
; then :
15191 $as_echo_n "(cached) " >&6
15194 for ac_kw
in inline __inline__ __inline
; do
15195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15196 /* end confdefs.h. */
15197 #ifndef __cplusplus
15199 static $ac_kw foo_t static_foo () {return 0; }
15200 $ac_kw foo_t foo () {return 0; }
15204 if ac_fn_c_try_compile
"$LINENO"; then :
15205 ac_cv_c_inline
=$ac_kw
15207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15208 test "$ac_cv_c_inline" != no
&& break
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15213 $as_echo "$ac_cv_c_inline" >&6; }
15215 case $ac_cv_c_inline in
15218 case $ac_cv_c_inline in
15220 *) ac_val
=$ac_cv_c_inline;;
15222 cat >>confdefs.h
<<_ACEOF
15223 #ifndef __cplusplus
15224 #define inline $ac_val
15230 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15231 if test "x$ac_cv_type_mode_t" = xyes
; then :
15233 cat >>confdefs.h
<<_ACEOF
15234 #define HAVE_MODE_T 1
15239 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15240 if test "x$ac_cv_type_off_t" = xyes
; then :
15242 cat >>confdefs.h
<<_ACEOF
15243 #define HAVE_OFF_T 1
15248 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15249 if test "x$ac_cv_type_pid_t" = xyes
; then :
15251 cat >>confdefs.h
<<_ACEOF
15252 #define HAVE_PID_T 1
15257 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15258 if test "x$ac_cv_type_size_t" = xyes
; then :
15260 cat >>confdefs.h
<<_ACEOF
15261 #define HAVE_SIZE_T 1
15266 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15267 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15269 cat >>confdefs.h
<<_ACEOF
15270 #define HAVE_SSIZE_T 1
15275 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15276 if test "x$ac_cv_type_long_long" = xyes
; then :
15278 cat >>confdefs.h
<<_ACEOF
15279 #define HAVE_LONG_LONG 1
15284 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15285 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15287 cat >>confdefs.h
<<_ACEOF
15288 #define HAVE_FSBLKCNT_T 1
15293 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15294 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15296 cat >>confdefs.h
<<_ACEOF
15297 #define HAVE_FSFILCNT_T 1
15303 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15304 #include <signal.h>
15306 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15308 cat >>confdefs.h
<<_ACEOF
15309 #define HAVE_SIGSET_T 1
15315 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15317 if test "x$ac_cv_type_request_sense" = xyes
; then :
15319 cat >>confdefs.h
<<_ACEOF
15320 #define HAVE_REQUEST_SENSE 1
15327 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15328 #ifdef HAVE_SYS_SOCKET_H
15329 #include <sys/socket.h>
15331 #ifdef HAVE_SYS_SOCKETVAR_H
15332 #include <sys/socketvar.h>
15334 #ifdef HAVE_NET_ROUTE_H
15335 #include <net/route.h>
15337 #ifdef HAVE_NETINET_IN_H
15338 #include <netinet/in.h>
15340 #ifdef HAVE_NETINET_IN_SYSTM_H
15341 #include <netinet/in_systm.h>
15343 #ifdef HAVE_NETINET_IP_H
15344 #include <netinet/ip.h>
15346 #ifdef HAVE_NETINET_IN_PCB_H
15347 #include <netinet/in_pcb.h>
15350 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15352 cat >>confdefs.h
<<_ACEOF
15353 #define HAVE_STRUCT_XINPGEN 1
15360 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15363 #ifdef HAVE_SYS_LINK_H
15364 #include <sys/link.h>
15367 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15369 cat >>confdefs.h
<<_ACEOF
15370 #define HAVE_STRUCT_R_DEBUG 1
15375 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15378 #ifdef HAVE_SYS_LINK_H
15379 #include <sys/link.h>
15382 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15384 cat >>confdefs.h
<<_ACEOF
15385 #define HAVE_STRUCT_LINK_MAP 1
15392 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15393 #include <linux/input.h>
15396 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15398 cat >>confdefs.h
<<_ACEOF
15399 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15407 $as_echo_n "checking for sigaddset... " >&6; }
15408 if ${wine_cv_have_sigaddset+:} false
; then :
15409 $as_echo_n "(cached) " >&6
15411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15412 /* end confdefs.h. */
15413 #include <signal.h>
15417 sigset_t set; sigaddset(&set,SIGTERM);
15422 if ac_fn_c_try_link
"$LINENO"; then :
15423 wine_cv_have_sigaddset
=yes
15425 wine_cv_have_sigaddset
=no
15427 rm -f core conftest.err conftest.
$ac_objext \
15428 conftest
$ac_exeext conftest.
$ac_ext
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15431 $as_echo "$wine_cv_have_sigaddset" >&6; }
15432 if test "$wine_cv_have_sigaddset" = "yes"
15435 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15441 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15442 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15443 $as_echo_n "(cached) " >&6
15445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15446 /* end confdefs.h. */
15454 struct hostent *result;
15461 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15462 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15468 if ac_fn_c_try_link
"$LINENO"; then :
15469 wine_cv_linux_gethostbyname_r_6
=yes
15471 wine_cv_linux_gethostbyname_r_6
=no
15474 rm -f core conftest.err conftest.
$ac_objext \
15475 conftest
$ac_exeext conftest.
$ac_ext
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15479 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15480 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15483 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15487 if test "$ac_cv_header_linux_joystick_h" = "yes"
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15490 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15491 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15492 $as_echo_n "(cached) " >&6
15494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15495 /* end confdefs.h. */
15497 #include <sys/ioctl.h>
15498 #include <sys/types.h>
15499 #include <linux/joystick.h>
15501 struct js_event blub;
15502 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15503 #error "no 2.2 header"
15514 if ac_fn_c_try_compile
"$LINENO"; then :
15515 wine_cv_linux_joystick_22_api
=yes
15517 wine_cv_linux_joystick_22_api
=no
15519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15523 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15524 if test "$wine_cv_linux_joystick_22_api" = "yes"
15527 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15533 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15534 #ifdef HAVE_SYS_PARAM_H
15535 # include <sys/param.h>
15537 #ifdef HAVE_SYS_MOUNT_H
15538 # include <sys/mount.h>
15540 #ifdef HAVE_SYS_VFS_H
15541 # include <sys/vfs.h>
15543 #ifdef HAVE_SYS_STATFS_H
15544 # include <sys/statfs.h>
15547 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15549 cat >>confdefs.h
<<_ACEOF
15550 #define HAVE_STRUCT_STATFS_F_BFREE 1
15555 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15556 #ifdef HAVE_SYS_PARAM_H
15557 # include <sys/param.h>
15559 #ifdef HAVE_SYS_MOUNT_H
15560 # include <sys/mount.h>
15562 #ifdef HAVE_SYS_VFS_H
15563 # include <sys/vfs.h>
15565 #ifdef HAVE_SYS_STATFS_H
15566 # include <sys/statfs.h>
15569 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15571 cat >>confdefs.h
<<_ACEOF
15572 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15577 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15578 #ifdef HAVE_SYS_PARAM_H
15579 # include <sys/param.h>
15581 #ifdef HAVE_SYS_MOUNT_H
15582 # include <sys/mount.h>
15584 #ifdef HAVE_SYS_VFS_H
15585 # include <sys/vfs.h>
15587 #ifdef HAVE_SYS_STATFS_H
15588 # include <sys/statfs.h>
15591 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15593 cat >>confdefs.h
<<_ACEOF
15594 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15599 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15600 #ifdef HAVE_SYS_PARAM_H
15601 # include <sys/param.h>
15603 #ifdef HAVE_SYS_MOUNT_H
15604 # include <sys/mount.h>
15606 #ifdef HAVE_SYS_VFS_H
15607 # include <sys/vfs.h>
15609 #ifdef HAVE_SYS_STATFS_H
15610 # include <sys/statfs.h>
15613 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15615 cat >>confdefs.h
<<_ACEOF
15616 #define HAVE_STRUCT_STATFS_F_FFREE 1
15621 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15622 #ifdef HAVE_SYS_PARAM_H
15623 # include <sys/param.h>
15625 #ifdef HAVE_SYS_MOUNT_H
15626 # include <sys/mount.h>
15628 #ifdef HAVE_SYS_VFS_H
15629 # include <sys/vfs.h>
15631 #ifdef HAVE_SYS_STATFS_H
15632 # include <sys/statfs.h>
15635 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15637 cat >>confdefs.h
<<_ACEOF
15638 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15643 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15644 #ifdef HAVE_SYS_PARAM_H
15645 # include <sys/param.h>
15647 #ifdef HAVE_SYS_MOUNT_H
15648 # include <sys/mount.h>
15650 #ifdef HAVE_SYS_VFS_H
15651 # include <sys/vfs.h>
15653 #ifdef HAVE_SYS_STATFS_H
15654 # include <sys/statfs.h>
15657 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15659 cat >>confdefs.h
<<_ACEOF
15660 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15667 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15668 #include <sys/statvfs.h>
15671 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15673 cat >>confdefs.h
<<_ACEOF
15674 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15681 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15682 #include <dirent.h>
15685 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15687 cat >>confdefs.h
<<_ACEOF
15688 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15695 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15696 #ifdef HAVE_SYS_SOCKET_H
15697 # include <sys/socket.h>
15699 #ifdef HAVE_SYS_UN_H
15700 # include <sys/un.h>
15703 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15705 cat >>confdefs.h
<<_ACEOF
15706 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15711 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15712 #ifdef HAVE_SYS_SOCKET_H
15713 # include <sys/socket.h>
15715 #ifdef HAVE_SYS_UN_H
15716 # include <sys/un.h>
15719 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15721 cat >>confdefs.h
<<_ACEOF
15722 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15727 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15728 #ifdef HAVE_SYS_SOCKET_H
15729 # include <sys/socket.h>
15731 #ifdef HAVE_SYS_UN_H
15732 # include <sys/un.h>
15735 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15737 cat >>confdefs.h
<<_ACEOF
15738 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15745 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15746 #ifdef HAVE_SCSI_SG_H
15747 #include <scsi/sg.h>
15750 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15752 cat >>confdefs.h
<<_ACEOF
15753 #define HAVE_SCSIREQ_T_CMD 1
15758 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>
15759 #ifdef HAVE_SCSI_SG_H
15760 #include <scsi/sg.h>
15763 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15765 cat >>confdefs.h
<<_ACEOF
15766 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15773 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15775 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15777 cat >>confdefs.h
<<_ACEOF
15778 #define HAVE_SIGINFO_T_SI_FD 1
15785 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15786 #ifdef HAVE_SYS_MTIO_H
15787 #include <sys/mtio.h>
15790 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15792 cat >>confdefs.h
<<_ACEOF
15793 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15798 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15799 #ifdef HAVE_SYS_MTIO_H
15800 #include <sys/mtio.h>
15803 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15805 cat >>confdefs.h
<<_ACEOF
15806 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15811 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15812 #ifdef HAVE_SYS_MTIO_H
15813 #include <sys/mtio.h>
15816 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15818 cat >>confdefs.h
<<_ACEOF
15819 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15826 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15827 #include <getopt.h>
15830 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15832 cat >>confdefs.h
<<_ACEOF
15833 #define HAVE_STRUCT_OPTION_NAME 1
15840 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15841 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15843 cat >>confdefs.h
<<_ACEOF
15844 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15849 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15850 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15852 cat >>confdefs.h
<<_ACEOF
15853 #define HAVE_STRUCT_STAT_ST_MTIM 1
15858 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15859 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15861 cat >>confdefs.h
<<_ACEOF
15862 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15867 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15868 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15870 cat >>confdefs.h
<<_ACEOF
15871 #define HAVE_STRUCT_STAT_ST_CTIM 1
15876 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15877 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15879 cat >>confdefs.h
<<_ACEOF
15880 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15885 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15886 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15888 cat >>confdefs.h
<<_ACEOF
15889 #define HAVE_STRUCT_STAT_ST_ATIM 1
15894 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15895 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15897 cat >>confdefs.h
<<_ACEOF
15898 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15903 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15904 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15906 cat >>confdefs.h
<<_ACEOF
15907 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15912 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15913 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15915 cat >>confdefs.h
<<_ACEOF
15916 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15921 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15922 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15924 cat >>confdefs.h
<<_ACEOF
15925 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15930 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15931 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15933 cat >>confdefs.h
<<_ACEOF
15934 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15939 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15940 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15942 cat >>confdefs.h
<<_ACEOF
15943 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15950 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
15951 #include <sys/types.h>
15953 #ifdef HAVE_NETINET_IN_H
15954 #include <netinet/in.h>
15957 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15959 cat >>confdefs.h
<<_ACEOF
15960 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15967 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15968 #include <resolv.h>
15971 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15973 cat >>confdefs.h
<<_ACEOF
15974 #define HAVE_STRUCT___RES_STATE 1
15981 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
15982 #include <resolv.h>
15985 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15987 cat >>confdefs.h
<<_ACEOF
15988 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15995 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15996 #include <sys/types.h>
15998 #ifdef HAVE_NETINET_IN_H
15999 # include <netinet/in.h>
16001 #ifdef HAVE_ARPA_NAMESER_H
16002 # include <arpa/nameser.h>
16005 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16007 cat >>confdefs.h
<<_ACEOF
16008 #define HAVE_NS_MSG__MSG_PTR 1
16015 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16016 #include <sys/types.h>
16018 #ifdef HAVE_NETINET_IP_H
16019 #include <netinet/ip.h>
16021 #ifdef HAVE_NETINET_IP_ICMP_H
16022 #include <netinet/ip_icmp.h>
16024 #ifdef HAVE_NETINET_ICMP_VAR_H
16025 #include <netinet/icmp_var.h>
16028 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16030 cat >>confdefs.h
<<_ACEOF
16031 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16038 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16039 #include <sys/types.h>
16041 #ifdef HAVE_ALIAS_H
16044 #ifdef HAVE_SYS_SOCKET_H
16045 #include <sys/socket.h>
16047 #ifdef HAVE_SYS_SOCKETVAR_H
16048 #include <sys/socketvar.h>
16050 #ifdef HAVE_SYS_TIMEOUT_H
16051 #include <sys/timeout.h>
16053 #ifdef HAVE_NETINET_IN_H
16054 #include <netinet/in.h>
16056 #ifdef HAVE_NETINET_IN_SYSTM_H
16057 #include <netinet/in_systm.h>
16059 #ifdef HAVE_NETINET_IP_H
16060 #include <netinet/ip.h>
16062 #ifdef HAVE_NETINET_IP_VAR_H
16063 #include <netinet/ip_var.h>
16065 #ifdef HAVE_NETINET_IP_ICMP_H
16066 #include <netinet/ip_icmp.h>
16068 #ifdef HAVE_NETINET_ICMP_VAR_H
16069 #include <netinet/icmp_var.h>
16072 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16074 cat >>confdefs.h
<<_ACEOF
16075 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16082 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16083 #include <sys/types.h>
16085 #ifdef HAVE_SYS_SOCKETVAR_H
16086 #include <sys/socketvar.h>
16088 #ifdef HAVE_NETINET_IN_H
16089 #include <netinet/in.h>
16091 #ifdef HAVE_NETINET_IP_VAR_H
16092 #include <netinet/ip_var.h>
16095 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16097 cat >>confdefs.h
<<_ACEOF
16098 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16105 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
16106 #include <netinet/ip_var.h>
16109 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16111 cat >>confdefs.h
<<_ACEOF
16112 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16119 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16120 #include <sys/types.h>
16122 #ifdef HAVE_SYS_SOCKETVAR_H
16123 #include <sys/socketvar.h>
16125 #ifdef HAVE_NETINET_IN_H
16126 #include <netinet/in.h>
16128 #ifdef HAVE_NETINET_TCP_H
16129 #include <netinet/tcp.h>
16131 #ifdef HAVE_NETINET_TCP_VAR_H
16132 #include <netinet/tcp_var.h>
16135 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16137 cat >>confdefs.h
<<_ACEOF
16138 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16145 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
16146 #include <netinet/tcp_var.h>
16149 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16151 cat >>confdefs.h
<<_ACEOF
16152 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16159 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16160 #include <sys/types.h>
16162 #ifdef HAVE_NETINET_IN_H
16163 #include <netinet/in.h>
16165 #ifdef HAVE_NETINET_IP_VAR_H
16166 #include <netinet/ip_var.h>
16168 #ifdef HAVE_NETINET_UDP_H
16169 #include <netinet/udp.h>
16171 #ifdef HAVE_NETINET_UDP_VAR_H
16172 #include <netinet/udp_var.h>
16175 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16177 cat >>confdefs.h
<<_ACEOF
16178 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16185 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16186 #include <sys/types.h>
16188 #ifdef HAVE_NET_IF_H
16189 # include <net/if.h>
16192 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16194 cat >>confdefs.h
<<_ACEOF
16195 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16203 $as_echo_n "checking for timezone variable... " >&6; }
16204 if ${ac_cv_have_timezone+:} false
; then :
16205 $as_echo_n "(cached) " >&6
16207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16208 /* end confdefs.h. */
16218 if ac_fn_c_try_link
"$LINENO"; then :
16219 ac_cv_have_timezone
="yes"
16221 ac_cv_have_timezone
="no"
16223 rm -f core conftest.err conftest.
$ac_objext \
16224 conftest
$ac_exeext conftest.
$ac_ext
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16227 $as_echo "$ac_cv_have_timezone" >&6; }
16228 if test "$ac_cv_have_timezone" = "yes"
16231 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16235 $as_echo_n "checking for daylight variable... " >&6; }
16236 if ${ac_cv_have_daylight+:} false
; then :
16237 $as_echo_n "(cached) " >&6
16239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16240 /* end confdefs.h. */
16250 if ac_fn_c_try_link
"$LINENO"; then :
16251 ac_cv_have_daylight
="yes"
16253 ac_cv_have_daylight
="no"
16255 rm -f core conftest.err conftest.
$ac_objext \
16256 conftest
$ac_exeext conftest.
$ac_ext
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16259 $as_echo "$ac_cv_have_daylight" >&6; }
16260 if test "$ac_cv_have_daylight" = "yes"
16263 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16267 ac_save_LIBS
="$LIBS"
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16270 $as_echo_n "checking for isfinite... " >&6; }
16271 if ${ac_cv_have_isfinite+:} false
; then :
16272 $as_echo_n "(cached) " >&6
16274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16275 /* end confdefs.h. */
16276 #define _GNU_SOURCE
16281 float f = 0.0; return isfinite(f)
16286 if ac_fn_c_try_link
"$LINENO"; then :
16287 ac_cv_have_isfinite
="yes"
16289 ac_cv_have_isfinite
="no"
16291 rm -f core conftest.err conftest.
$ac_objext \
16292 conftest
$ac_exeext conftest.
$ac_ext
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16295 $as_echo "$ac_cv_have_isfinite" >&6; }
16296 if test "$ac_cv_have_isfinite" = "yes"
16299 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16303 ac_save_LIBS
="$LIBS"
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16306 $as_echo_n "checking for isinf... " >&6; }
16307 if ${ac_cv_have_isinf+:} false
; then :
16308 $as_echo_n "(cached) " >&6
16310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16311 /* end confdefs.h. */
16316 float f = 0.0; return isinf(f)
16321 if ac_fn_c_try_link
"$LINENO"; then :
16322 ac_cv_have_isinf
="yes"
16324 ac_cv_have_isinf
="no"
16326 rm -f core conftest.err conftest.
$ac_objext \
16327 conftest
$ac_exeext conftest.
$ac_ext
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16330 $as_echo "$ac_cv_have_isinf" >&6; }
16331 if test "$ac_cv_have_isinf" = "yes"
16334 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16339 $as_echo_n "checking for isnan... " >&6; }
16340 if ${ac_cv_have_isnan+:} false
; then :
16341 $as_echo_n "(cached) " >&6
16343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16344 /* end confdefs.h. */
16349 float f = 0.0; return isnan(f)
16354 if ac_fn_c_try_link
"$LINENO"; then :
16355 ac_cv_have_isnan
="yes"
16357 ac_cv_have_isnan
="no"
16359 rm -f core conftest.err conftest.
$ac_objext \
16360 conftest
$ac_exeext conftest.
$ac_ext
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16363 $as_echo "$ac_cv_have_isnan" >&6; }
16364 if test "$ac_cv_have_isnan" = "yes"
16367 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16370 LIBS
="$ac_save_LIBS"
16374 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16375 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16376 if ${ac_cv_cpp_def___i386__+:} false
; then :
16377 $as_echo_n "(cached) " >&6
16379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16386 $EGREP "yes" >/dev
/null
2>&1; then :
16387 ac_cv_cpp_def___i386__
=yes
16389 ac_cv_cpp_def___i386__
=no
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16395 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16396 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16397 CFLAGS
="$CFLAGS -D__i386__"
16398 LINTFLAGS
="$LINTFLAGS -D__i386__"
16400 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16401 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16402 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16403 $as_echo_n "(cached) " >&6
16405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h. */
16411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16412 $EGREP "yes" >/dev
/null
2>&1; then :
16413 ac_cv_cpp_def___x86_64__
=yes
16415 ac_cv_cpp_def___x86_64__
=no
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16421 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16422 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16423 CFLAGS
="$CFLAGS -D__x86_64__"
16424 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16426 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16427 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16428 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16429 $as_echo_n "(cached) " >&6
16431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16432 /* end confdefs.h. */
16433 #ifndef __sparc64__
16437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16438 $EGREP "yes" >/dev
/null
2>&1; then :
16439 ac_cv_cpp_def___sparc64__
=yes
16441 ac_cv_cpp_def___sparc64__
=no
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16447 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16448 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16449 CFLAGS
="$CFLAGS -D__sparc64__"
16450 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16452 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16453 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16454 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16455 $as_echo_n "(cached) " >&6
16457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16464 $EGREP "yes" >/dev
/null
2>&1; then :
16465 ac_cv_cpp_def___sparc__
=yes
16467 ac_cv_cpp_def___sparc__
=no
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16473 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16474 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16475 CFLAGS
="$CFLAGS -D__sparc__"
16476 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16478 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16479 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16480 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16481 $as_echo_n "(cached) " >&6
16483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16484 /* end confdefs.h. */
16485 #ifndef __powerpc64__
16489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16490 $EGREP "yes" >/dev
/null
2>&1; then :
16491 ac_cv_cpp_def___powerpc64__
=yes
16493 ac_cv_cpp_def___powerpc64__
=no
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16499 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16500 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16501 CFLAGS
="$CFLAGS -D__powerpc64__"
16502 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16504 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16505 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16506 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16507 $as_echo_n "(cached) " >&6
16509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16510 /* end confdefs.h. */
16511 #ifndef __powerpc__
16515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16516 $EGREP "yes" >/dev
/null
2>&1; then :
16517 ac_cv_cpp_def___powerpc__
=yes
16519 ac_cv_cpp_def___powerpc__
=no
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16525 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16526 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16527 CFLAGS
="$CFLAGS -D__powerpc__"
16528 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16530 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16531 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16532 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16533 $as_echo_n "(cached) " >&6
16535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16537 #ifndef __aarch64__
16541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16542 $EGREP "yes" >/dev
/null
2>&1; then :
16543 ac_cv_cpp_def___aarch64__
=yes
16545 ac_cv_cpp_def___aarch64__
=no
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16551 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16552 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16553 CFLAGS
="$CFLAGS -D__aarch64__"
16554 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16556 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16557 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16558 if ${ac_cv_cpp_def___arm__+:} false
; then :
16559 $as_echo_n "(cached) " >&6
16561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16562 /* end confdefs.h. */
16567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16568 $EGREP "yes" >/dev
/null
2>&1; then :
16569 ac_cv_cpp_def___arm__
=yes
16571 ac_cv_cpp_def___arm__
=no
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16577 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16578 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16579 CFLAGS
="$CFLAGS -D__arm__"
16580 LINTFLAGS
="$LINTFLAGS -D__arm__"
16584 case $host_vendor in
16585 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16586 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16587 if ${ac_cv_cpp_def___sun__+:} false
; then :
16588 $as_echo_n "(cached) " >&6
16590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16591 /* end confdefs.h. */
16596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16597 $EGREP "yes" >/dev
/null
2>&1; then :
16598 ac_cv_cpp_def___sun__
=yes
16600 ac_cv_cpp_def___sun__
=no
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16606 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16607 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16608 CFLAGS
="$CFLAGS -D__sun__"
16609 LINTFLAGS
="$LINTFLAGS -D__sun__"
16617 ac_config_commands
="$ac_config_commands include/stamp-h"
16619 $as_echo_n "creating Makefile rules..." >&6
16621 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16622 SOCKET_LIBS = $SOCKET_LIBS
16623 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16624 IOKIT_LIBS = $IOKIT_LIBS
16625 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16626 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16627 CORESERVICES_LIBS = $CORESERVICES_LIBS
16628 APPKIT_LIBS = $APPKIT_LIBS
16629 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16630 SECURITY_LIBS = $SECURITY_LIBS
16631 COREAUDIO_LIBS = $COREAUDIO_LIBS
16632 OPENAL_LIBS = $OPENAL_LIBS
16633 OPENCL_LIBS = $OPENCL_LIBS
16634 QUICKTIME_LIBS = $QUICKTIME_LIBS
16635 CARBON_LIBS = $CARBON_LIBS
16636 PTHREAD_LIBS = $PTHREAD_LIBS
16637 X_CFLAGS = $X_CFLAGS
16638 X_PRE_LIBS = $X_PRE_LIBS
16640 X_EXTRA_LIBS = $X_EXTRA_LIBS
16641 XML2_CFLAGS = $XML2_CFLAGS
16642 XML2_LIBS = $XML2_LIBS
16643 XSLT_CFLAGS = $XSLT_CFLAGS
16644 XSLT_LIBS = $XSLT_LIBS
16645 DBUS_CFLAGS = $DBUS_CFLAGS
16646 DBUS_LIBS = $DBUS_LIBS
16647 HAL_CFLAGS = $HAL_CFLAGS
16648 HAL_LIBS = $HAL_LIBS
16649 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16650 GNUTLS_LIBS = $GNUTLS_LIBS
16651 SANE_CFLAGS = $SANE_CFLAGS
16652 SANE_LIBS = $SANE_LIBS
16653 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16654 GPHOTO2_LIBS = $GPHOTO2_LIBS
16655 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16656 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16657 RESOLV_LIBS = $RESOLV_LIBS
16658 LCMS2_CFLAGS = $LCMS2_CFLAGS
16659 LCMS2_LIBS = $LCMS2_LIBS
16660 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16661 FREETYPE_LIBS = $FREETYPE_LIBS
16663 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16664 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16665 GSTREAMER_LIBS = $GSTREAMER_LIBS
16666 ALSA_LIBS = $ALSA_LIBS
16667 OSS4_CFLAGS = $OSS4_CFLAGS
16668 CAPI20_CFLAGS = $CAPI20_CFLAGS
16669 CAPI20_LIBS = $CAPI20_LIBS
16670 CUPS_CFLAGS = $CUPS_CFLAGS
16671 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16672 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16673 JPEG_CFLAGS = $JPEG_CFLAGS
16674 JPEG_LIBS = $JPEG_LIBS
16675 PNG_CFLAGS = $PNG_CFLAGS
16676 PNG_LIBS = $PNG_LIBS
16677 TIFF_CFLAGS = $TIFF_CFLAGS
16678 TIFF_LIBS = $TIFF_LIBS
16679 MPG123_CFLAGS = $MPG123_CFLAGS
16680 MPG123_LIBS = $MPG123_LIBS
16681 KSTAT_LIBS = $KSTAT_LIBS
16682 PROCSTAT_LIBS = $PROCSTAT_LIBS
16684 POLL_LIBS = $POLL_LIBS
16686 LDAP_LIBS = $LDAP_LIBS
16691 wine_fn_append_rule
"
16692 # Rules automatically generated by configure
16694 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16699 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16700 @./config.status Make.tmp Makefile"
16702 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16703 .gitignore: config.status
16704 @./config.status .gitignore"
16706 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16707 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16709 if test "x$enable_fonts" != xno
; then
16710 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16711 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16712 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16713 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16714 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16716 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16717 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16718 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16719 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16720 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16721 wine_fn_config_symlink wine
16722 if test "x$enable_win64" != xno
; then
16723 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16724 wine_fn_config_symlink wine64
16727 wine_fn_config_dll acledit enable_acledit
16728 wine_fn_config_dll aclui enable_aclui implib
16729 wine_fn_config_dll activeds enable_activeds implib
16730 wine_fn_config_dll actxprxy enable_actxprxy clean
16731 wine_fn_config_lib adsiid
16732 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16733 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16734 wine_fn_config_dll advpack enable_advpack implib
16735 wine_fn_config_test dlls
/advpack
/tests advpack_test
16736 wine_fn_config_dll amstream enable_amstream clean
16737 wine_fn_config_test dlls
/amstream
/tests amstream_test
16738 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16739 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16740 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16741 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16742 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16743 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16744 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16745 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16746 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16747 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16748 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16749 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16750 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16751 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16752 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16753 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16754 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16755 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16756 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16757 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16758 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16759 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16760 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16761 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16762 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16763 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16764 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16765 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16766 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16767 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16768 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16769 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16770 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16771 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16772 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16773 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16774 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16775 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16776 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16777 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16778 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16779 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16780 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16781 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16782 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16783 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16784 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16785 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16786 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16787 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16788 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16789 wine_fn_config_dll apphelp enable_apphelp
16790 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16791 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16792 wine_fn_config_dll atl enable_atl clean
,implib
16793 wine_fn_config_test dlls
/atl
/tests atl_test
16794 wine_fn_config_dll atl100 enable_atl100 implib
16795 wine_fn_config_test dlls
/atl100
/tests atl100_test
16796 wine_fn_config_dll atl110 enable_atl110
16797 wine_fn_config_dll atl80 enable_atl80 implib
16798 wine_fn_config_test dlls
/atl80
/tests atl80_test
16799 wine_fn_config_dll atl90 enable_atl90
16800 wine_fn_config_dll authz enable_authz
16801 wine_fn_config_dll avicap32 enable_avicap32 implib
16802 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16803 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16804 wine_fn_config_dll avifile.dll16 enable_win16
16805 wine_fn_config_dll avrt enable_avrt implib
16806 wine_fn_config_dll bcrypt enable_bcrypt
16807 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16808 wine_fn_config_dll browseui enable_browseui clean
,po
16809 wine_fn_config_test dlls
/browseui
/tests browseui_test
16810 wine_fn_config_dll cabinet enable_cabinet implib
16811 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16812 wine_fn_config_dll capi2032 enable_capi2032 implib
16813 wine_fn_config_dll cards enable_cards implib
16814 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16815 wine_fn_config_dll clusapi enable_clusapi implib
16816 wine_fn_config_dll comcat enable_comcat
16817 wine_fn_config_test dlls
/comcat
/tests comcat_test
16818 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16819 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16820 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16821 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16822 wine_fn_config_dll
comm.drv16 enable_win16
16823 wine_fn_config_dll commdlg.dll16 enable_win16
16824 wine_fn_config_dll compobj.dll16 enable_win16
16825 wine_fn_config_dll compstui enable_compstui implib
16826 wine_fn_config_dll comsvcs enable_comsvcs implib
16827 wine_fn_config_dll credui enable_credui implib
,po
16828 wine_fn_config_test dlls
/credui
/tests credui_test
16829 wine_fn_config_dll crtdll enable_crtdll implib
16830 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16831 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16832 wine_fn_config_dll cryptdlg enable_cryptdlg po
16833 wine_fn_config_dll cryptdll enable_cryptdll implib
16834 wine_fn_config_dll cryptnet enable_cryptnet implib
16835 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16836 wine_fn_config_dll cryptui enable_cryptui implib
,po
16837 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16838 wine_fn_config_dll ctapi32 enable_ctapi32
16839 wine_fn_config_dll ctl3d.dll16 enable_win16
16840 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16841 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16842 wine_fn_config_dll d2d1 enable_d2d1 implib
16843 wine_fn_config_dll d3d10 enable_d3d10 implib
16844 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16845 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16846 wine_fn_config_dll d3d10core enable_d3d10core implib
16847 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16848 wine_fn_config_dll d3d11 enable_d3d11
16849 wine_fn_config_dll d3d8 enable_d3d8 implib
16850 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16851 wine_fn_config_dll d3d9 enable_d3d9 implib
16852 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16853 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16854 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16855 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16856 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16857 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16858 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16859 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16860 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16861 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16862 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16863 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16864 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16865 wine_fn_config_dll d3dim enable_d3dim implib
16866 wine_fn_config_dll d3drm enable_d3drm implib
16867 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16868 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16869 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16870 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16871 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16872 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16873 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16874 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16875 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16876 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16877 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16878 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16879 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16880 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16881 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16882 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16883 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16884 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16885 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16886 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16887 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16888 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16889 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16890 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16891 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16892 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16893 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16894 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16895 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16896 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16897 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16898 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16899 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16900 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16901 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16902 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16903 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16904 wine_fn_config_dll dbgeng enable_dbgeng implib
16905 wine_fn_config_dll dbghelp enable_dbghelp implib
16906 wine_fn_config_dll dciman32 enable_dciman32 implib
16907 wine_fn_config_dll ddeml.dll16 enable_win16
16908 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16909 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16910 wine_fn_config_dll ddrawex enable_ddrawex clean
16911 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16912 wine_fn_config_dll devenum enable_devenum clean
,po
16913 wine_fn_config_test dlls
/devenum
/tests devenum_test
16914 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16915 wine_fn_config_dll difxapi enable_difxapi
16916 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16917 wine_fn_config_test dlls
/dinput
/tests dinput_test
16918 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16919 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16920 wine_fn_config_dll dispdib.dll16 enable_win16
16921 wine_fn_config_dll dispex enable_dispex clean
16922 wine_fn_config_test dlls
/dispex
/tests dispex_test
16923 wine_fn_config_dll display.drv16 enable_win16
16924 wine_fn_config_dll dmband enable_dmband clean
16925 wine_fn_config_test dlls
/dmband
/tests dmband_test
16926 wine_fn_config_dll dmcompos enable_dmcompos clean
16927 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16928 wine_fn_config_dll dmime enable_dmime clean
16929 wine_fn_config_test dlls
/dmime
/tests dmime_test
16930 wine_fn_config_dll dmloader enable_dmloader clean
16931 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16932 wine_fn_config_dll dmscript enable_dmscript clean
16933 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16934 wine_fn_config_dll dmstyle enable_dmstyle clean
16935 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16936 wine_fn_config_dll dmsynth enable_dmsynth clean
16937 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16938 wine_fn_config_dll dmusic enable_dmusic clean
16939 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16940 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16941 wine_fn_config_dll dnsapi enable_dnsapi implib
16942 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16943 wine_fn_config_dll dplay enable_dplay implib
16944 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16945 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16946 wine_fn_config_dll dpnaddr enable_dpnaddr
16947 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16948 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16949 wine_fn_config_dll dpnhpast enable_dpnhpast
16950 wine_fn_config_dll dpnlobby enable_dpnlobby
16951 wine_fn_config_dll dpwsockx enable_dpwsockx
16952 wine_fn_config_dll drmclien enable_drmclien
16953 wine_fn_config_dll dsound enable_dsound clean
,implib
16954 wine_fn_config_test dlls
/dsound
/tests dsound_test
16955 wine_fn_config_dll dssenh enable_dssenh
16956 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16957 wine_fn_config_dll dswave enable_dswave clean
16958 wine_fn_config_test dlls
/dswave
/tests dswave_test
16959 wine_fn_config_dll dwmapi enable_dwmapi implib
16960 wine_fn_config_dll dwrite enable_dwrite implib
16961 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16962 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16963 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16964 wine_fn_config_lib dxerr8
16965 wine_fn_config_lib dxerr9
16966 wine_fn_config_dll dxgi enable_dxgi implib
16967 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16968 wine_fn_config_lib dxguid
16969 wine_fn_config_dll dxva2 enable_dxva2
16970 wine_fn_config_dll explorerframe enable_explorerframe clean
16971 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16972 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16973 wine_fn_config_dll faultrep enable_faultrep implib
16974 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16975 wine_fn_config_dll fltlib enable_fltlib
16976 wine_fn_config_dll fntcache enable_fntcache
16977 wine_fn_config_dll fontsub enable_fontsub
16978 wine_fn_config_dll fusion enable_fusion
16979 wine_fn_config_test dlls
/fusion
/tests fusion_test
16980 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16981 wine_fn_config_dll gameux enable_gameux clean
16982 wine_fn_config_test dlls
/gameux
/tests gameux_test
16983 wine_fn_config_dll gdi.exe16 enable_win16
16984 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16985 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16986 wine_fn_config_dll gdiplus enable_gdiplus implib
16987 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16988 wine_fn_config_dll glu32 enable_glu32 implib
16989 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16990 wine_fn_config_dll gpkcsp enable_gpkcsp
16991 wine_fn_config_dll hal enable_hal
16992 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16993 wine_fn_config_dll hid enable_hid implib
16994 wine_fn_config_dll hlink enable_hlink clean
,implib
16995 wine_fn_config_test dlls
/hlink
/tests hlink_test
16996 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16997 wine_fn_config_dll httpapi enable_httpapi
16998 wine_fn_config_dll iccvid enable_iccvid po
16999 wine_fn_config_dll icmp enable_icmp
17000 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17001 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17002 wine_fn_config_dll ifsmgr.vxd enable_win16
17003 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17004 wine_fn_config_dll imagehlp enable_imagehlp implib
17005 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17006 wine_fn_config_dll imm.dll16 enable_win16
17007 wine_fn_config_dll imm32 enable_imm32 implib
17008 wine_fn_config_test dlls
/imm32
/tests imm32_test
17009 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17010 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17011 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17012 wine_fn_config_dll inetmib1 enable_inetmib1
17013 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17014 wine_fn_config_dll infosoft enable_infosoft clean
17015 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17016 wine_fn_config_dll initpki enable_initpki
17017 wine_fn_config_dll inkobj enable_inkobj
17018 wine_fn_config_dll inseng enable_inseng clean
17019 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17020 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17021 wine_fn_config_dll itircl enable_itircl
17022 wine_fn_config_dll itss enable_itss clean
17023 wine_fn_config_test dlls
/itss
/tests itss_test
17024 wine_fn_config_dll joy.cpl enable_joy_cpl po
17025 wine_fn_config_dll jscript enable_jscript clean
,po
17026 wine_fn_config_test dlls
/jscript
/tests jscript_test
17027 wine_fn_config_dll jsproxy enable_jsproxy implib
17028 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17029 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17030 wine_fn_config_dll keyboard.drv16 enable_win16
17031 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17032 wine_fn_config_dll ktmw32 enable_ktmw32
17033 wine_fn_config_dll loadperf enable_loadperf implib
17034 wine_fn_config_dll localspl enable_localspl po
17035 wine_fn_config_test dlls
/localspl
/tests localspl_test
17036 wine_fn_config_dll localui enable_localui po
17037 wine_fn_config_test dlls
/localui
/tests localui_test
17038 wine_fn_config_dll lz32 enable_lz32 implib
17039 wine_fn_config_test dlls
/lz32
/tests lz32_test
17040 wine_fn_config_dll lzexpand.dll16 enable_win16
17041 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17042 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17043 wine_fn_config_dll mapistub enable_mapistub
17044 wine_fn_config_dll mciavi32 enable_mciavi32
17045 wine_fn_config_dll mcicda enable_mcicda
17046 wine_fn_config_dll mciqtz32 enable_mciqtz32
17047 wine_fn_config_dll mciseq enable_mciseq
17048 wine_fn_config_dll mciwave enable_mciwave
17049 wine_fn_config_dll mgmtapi enable_mgmtapi
17050 wine_fn_config_dll midimap enable_midimap
17051 wine_fn_config_dll mlang enable_mlang clean
,implib
17052 wine_fn_config_test dlls
/mlang
/tests mlang_test
17053 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17054 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17055 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17056 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17057 wine_fn_config_dll mmdevldr.vxd enable_win16
17058 wine_fn_config_dll mmsystem.dll16 enable_win16
17059 wine_fn_config_dll monodebg.vxd enable_win16
17060 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17061 wine_fn_config_dll mouse.drv16 enable_win16
17062 wine_fn_config_dll mpr enable_mpr implib
,po
17063 wine_fn_config_test dlls
/mpr
/tests mpr_test
17064 wine_fn_config_dll mprapi enable_mprapi implib
17065 wine_fn_config_dll msacm.dll16 enable_win16
17066 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17067 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17068 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17069 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17070 wine_fn_config_dll msasn1 enable_msasn1 implib
17071 wine_fn_config_dll mscat32 enable_mscat32
17072 wine_fn_config_dll mscms enable_mscms implib
17073 wine_fn_config_test dlls
/mscms
/tests mscms_test
17074 wine_fn_config_dll mscoree enable_mscoree clean
17075 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17076 wine_fn_config_dll msctf enable_msctf clean
17077 wine_fn_config_test dlls
/msctf
/tests msctf_test
17078 wine_fn_config_dll msdaps enable_msdaps clean
17079 wine_fn_config_dll msdmo enable_msdmo implib
17080 wine_fn_config_dll msftedit enable_msftedit
17081 wine_fn_config_dll msg711.acm enable_msg711_acm
17082 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17083 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17084 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17085 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17086 wine_fn_config_dll msi enable_msi clean
,implib
,po
17087 wine_fn_config_test dlls
/msi
/tests msi_test
17088 wine_fn_config_dll msident enable_msident clean
17089 wine_fn_config_dll msimg32 enable_msimg32 implib
17090 wine_fn_config_dll msimsg enable_msimsg
17091 wine_fn_config_dll msimtf enable_msimtf clean
17092 wine_fn_config_dll msisip enable_msisip
17093 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17094 wine_fn_config_dll msls31 enable_msls31
17095 wine_fn_config_dll msnet32 enable_msnet32
17096 wine_fn_config_dll mspatcha enable_mspatcha
17097 wine_fn_config_dll msrle32 enable_msrle32 po
17098 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17099 wine_fn_config_dll mssign32 enable_mssign32
17100 wine_fn_config_dll mssip32 enable_mssip32
17101 wine_fn_config_dll mstask enable_mstask clean
17102 wine_fn_config_test dlls
/mstask
/tests mstask_test
17103 wine_fn_config_dll msvcirt enable_msvcirt
17104 wine_fn_config_dll msvcm80 enable_msvcm80
17105 wine_fn_config_dll msvcm90 enable_msvcm90
17106 wine_fn_config_dll msvcp100 enable_msvcp100
17107 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17108 wine_fn_config_dll msvcp110 enable_msvcp110
17109 wine_fn_config_dll msvcp60 enable_msvcp60
17110 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17111 wine_fn_config_dll msvcp70 enable_msvcp70
17112 wine_fn_config_dll msvcp71 enable_msvcp71
17113 wine_fn_config_dll msvcp80 enable_msvcp80
17114 wine_fn_config_dll msvcp90 enable_msvcp90
17115 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17116 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17117 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17118 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17119 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17120 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17121 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17122 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17123 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17124 wine_fn_config_dll msvcrt enable_msvcrt implib
17125 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17126 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17127 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17128 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17129 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17130 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17131 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17132 wine_fn_config_dll msvidc32 enable_msvidc32 po
17133 wine_fn_config_dll msvideo.dll16 enable_win16
17134 wine_fn_config_dll mswsock enable_mswsock implib
17135 wine_fn_config_dll msxml enable_msxml clean
17136 wine_fn_config_dll msxml2 enable_msxml2 clean
17137 wine_fn_config_dll msxml3 enable_msxml3 clean
17138 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17139 wine_fn_config_dll msxml4 enable_msxml4 clean
17140 wine_fn_config_dll msxml6 enable_msxml6 clean
17141 wine_fn_config_dll nddeapi enable_nddeapi implib
17142 wine_fn_config_dll netapi32 enable_netapi32 implib
17143 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17144 wine_fn_config_dll netcfgx enable_netcfgx clean
17145 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17146 wine_fn_config_dll netprofm enable_netprofm clean
17147 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17148 wine_fn_config_dll newdev enable_newdev implib
17149 wine_fn_config_dll normaliz enable_normaliz implib
17150 wine_fn_config_dll npmshtml enable_npmshtml
17151 wine_fn_config_dll ntdll enable_ntdll implib
17152 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17153 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17154 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17155 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17156 wine_fn_config_dll ntprint enable_ntprint
17157 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17158 wine_fn_config_dll objsel enable_objsel clean
17159 wine_fn_config_dll odbc32 enable_odbc32 implib
17160 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17161 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17162 wine_fn_config_dll odbccu32 enable_odbccu32
17163 wine_fn_config_dll ole2.dll16 enable_win16
17164 wine_fn_config_dll ole2conv.dll16 enable_win16
17165 wine_fn_config_dll ole2disp.dll16 enable_win16
17166 wine_fn_config_dll ole2nls.dll16 enable_win16
17167 wine_fn_config_dll ole2prox.dll16 enable_win16
17168 wine_fn_config_dll ole2thk.dll16 enable_win16
17169 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17170 wine_fn_config_test dlls
/ole32
/tests ole32_test
17171 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17172 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17173 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17174 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17175 wine_fn_config_dll olecli.dll16 enable_win16
17176 wine_fn_config_dll olecli32 enable_olecli32 implib
17177 wine_fn_config_dll oledb32 enable_oledb32 clean
17178 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17179 wine_fn_config_dll oledlg enable_oledlg implib
,po
17180 wine_fn_config_dll olepro32 enable_olepro32 implib
17181 wine_fn_config_dll olesvr.dll16 enable_win16
17182 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17183 wine_fn_config_dll olethk32 enable_olethk32
17184 wine_fn_config_dll openal32 enable_openal32
17185 wine_fn_config_dll opencl enable_opencl
17186 wine_fn_config_dll opengl32 enable_opengl32 implib
17187 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17188 wine_fn_config_dll packager enable_packager clean
17189 wine_fn_config_test dlls
/packager
/tests packager_test
17190 wine_fn_config_dll pdh enable_pdh implib
17191 wine_fn_config_test dlls
/pdh
/tests pdh_test
17192 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17193 wine_fn_config_dll pidgen enable_pidgen
17194 wine_fn_config_dll powrprof enable_powrprof implib
17195 wine_fn_config_dll printui enable_printui
17196 wine_fn_config_dll propsys enable_propsys clean
,implib
17197 wine_fn_config_test dlls
/propsys
/tests propsys_test
17198 wine_fn_config_dll psapi enable_psapi implib
17199 wine_fn_config_test dlls
/psapi
/tests psapi_test
17200 wine_fn_config_dll pstorec enable_pstorec clean
17201 wine_fn_config_dll qcap enable_qcap
17202 wine_fn_config_test dlls
/qcap
/tests qcap_test
17203 wine_fn_config_dll qedit enable_qedit clean
17204 wine_fn_config_test dlls
/qedit
/tests qedit_test
17205 wine_fn_config_dll qmgr enable_qmgr clean
17206 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17207 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17208 wine_fn_config_dll quartz enable_quartz clean
,implib
17209 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17210 wine_fn_config_dll query enable_query
17211 wine_fn_config_dll rasapi16.dll16 enable_win16
17212 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17213 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17214 wine_fn_config_dll rasdlg enable_rasdlg implib
17215 wine_fn_config_dll regapi enable_regapi
17216 wine_fn_config_dll resutils enable_resutils implib
17217 wine_fn_config_dll riched20 enable_riched20 implib
17218 wine_fn_config_test dlls
/riched20
/tests riched20_test
17219 wine_fn_config_dll riched32 enable_riched32
17220 wine_fn_config_test dlls
/riched32
/tests riched32_test
17221 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17222 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17223 wine_fn_config_dll rsabase enable_rsabase
17224 wine_fn_config_dll rsaenh enable_rsaenh implib
17225 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17226 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17227 wine_fn_config_dll rtutils enable_rtutils implib
17228 wine_fn_config_dll samlib enable_samlib
17229 wine_fn_config_dll sane.ds enable_sane_ds po
17230 wine_fn_config_dll scarddlg enable_scarddlg
17231 wine_fn_config_dll sccbase enable_sccbase
17232 wine_fn_config_dll schannel enable_schannel
17233 wine_fn_config_test dlls
/schannel
/tests schannel_test
17234 wine_fn_config_dll schedsvc enable_schedsvc clean
17235 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17236 wine_fn_config_dll scrrun enable_scrrun clean
17237 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17238 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17239 wine_fn_config_dll secur32 enable_secur32 implib
17240 wine_fn_config_test dlls
/secur32
/tests secur32_test
17241 wine_fn_config_dll security enable_security
17242 wine_fn_config_dll sensapi enable_sensapi implib
17243 wine_fn_config_dll serialui enable_serialui implib
,po
17244 wine_fn_config_test dlls
/serialui
/tests serialui_test
17245 wine_fn_config_dll setupapi enable_setupapi implib
,po
17246 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17247 wine_fn_config_dll setupx.dll16 enable_win16
17248 wine_fn_config_dll sfc enable_sfc implib
17249 wine_fn_config_dll sfc_os enable_sfc_os implib
17250 wine_fn_config_dll shdoclc enable_shdoclc po
17251 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17252 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17253 wine_fn_config_dll shell.dll16 enable_win16
17254 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17255 wine_fn_config_test dlls
/shell32
/tests shell32_test
17256 wine_fn_config_dll shfolder enable_shfolder implib
17257 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17258 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17259 wine_fn_config_dll slbcsp enable_slbcsp
17260 wine_fn_config_dll slc enable_slc implib
17261 wine_fn_config_dll snmpapi enable_snmpapi implib
17262 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17263 wine_fn_config_dll softpub enable_softpub
17264 wine_fn_config_dll sound.drv16 enable_win16
17265 wine_fn_config_dll spoolss enable_spoolss implib
17266 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17267 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17268 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17269 wine_fn_config_dll sti enable_sti clean
,implib
17270 wine_fn_config_test dlls
/sti
/tests sti_test
17271 wine_fn_config_dll storage.dll16 enable_win16
17272 wine_fn_config_dll stress.dll16 enable_win16
17273 wine_fn_config_lib strmbase
17274 wine_fn_config_lib strmiids
17275 wine_fn_config_dll svrapi enable_svrapi
17276 wine_fn_config_dll sxs enable_sxs implib
17277 wine_fn_config_test dlls
/sxs
/tests sxs_test
17278 wine_fn_config_dll system.drv16 enable_win16
17279 wine_fn_config_dll t2embed enable_t2embed
17280 wine_fn_config_dll tapi32 enable_tapi32 implib
17281 wine_fn_config_dll taskschd enable_taskschd clean
17282 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17283 wine_fn_config_dll toolhelp.dll16 enable_win16
17284 wine_fn_config_dll traffic enable_traffic
17285 wine_fn_config_dll twain.dll16 enable_win16
17286 wine_fn_config_dll twain_32 enable_twain_32
17287 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17288 wine_fn_config_dll typelib.dll16 enable_win16
17289 wine_fn_config_dll unicows enable_unicows implib
17290 wine_fn_config_dll updspapi enable_updspapi
17291 wine_fn_config_dll url enable_url implib
17292 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17293 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17294 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17295 wine_fn_config_dll user.exe16 enable_win16
17296 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17297 wine_fn_config_test dlls
/user32
/tests user32_test
17298 wine_fn_config_dll userenv enable_userenv implib
17299 wine_fn_config_test dlls
/userenv
/tests userenv_test
17300 wine_fn_config_dll usp10 enable_usp10 implib
17301 wine_fn_config_test dlls
/usp10
/tests usp10_test
17302 wine_fn_config_lib uuid
17303 wine_fn_config_dll uxtheme enable_uxtheme implib
17304 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17305 wine_fn_config_dll vbscript enable_vbscript clean
17306 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17307 wine_fn_config_dll vcomp enable_vcomp
17308 wine_fn_config_dll vcomp100 enable_vcomp100
17309 wine_fn_config_dll vcomp90 enable_vcomp90
17310 wine_fn_config_dll vdhcp.vxd enable_win16
17311 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17312 wine_fn_config_dll ver.dll16 enable_win16
17313 wine_fn_config_dll version enable_version implib
17314 wine_fn_config_test dlls
/version
/tests version_test
17315 wine_fn_config_dll vmm.vxd enable_win16
17316 wine_fn_config_dll vnbt.vxd enable_win16
17317 wine_fn_config_dll vnetbios.vxd enable_win16
17318 wine_fn_config_dll vtdapi.vxd enable_win16
17319 wine_fn_config_dll vwin32.vxd enable_win16
17320 wine_fn_config_dll w32skrnl enable_win16
17321 wine_fn_config_dll w32sys.dll16 enable_win16
17322 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17323 wine_fn_config_dll wbemprox enable_wbemprox clean
17324 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17325 wine_fn_config_dll webservices enable_webservices implib
17326 wine_fn_config_dll wer enable_wer implib
17327 wine_fn_config_test dlls
/wer
/tests wer_test
17328 wine_fn_config_dll wevtapi enable_wevtapi
17329 wine_fn_config_dll wiaservc enable_wiaservc clean
17330 wine_fn_config_dll win32s16.dll16 enable_win16
17331 wine_fn_config_dll win87em.dll16 enable_win16
17332 wine_fn_config_dll winaspi.dll16 enable_win16
17333 wine_fn_config_dll windebug.dll16 enable_win16
17334 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17335 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17336 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17337 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17338 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17339 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17340 wine_fn_config_lib winecrt0
17341 wine_fn_config_dll wined3d enable_wined3d implib
17342 wine_fn_config_dll winegstreamer enable_winegstreamer
17343 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17344 wine_fn_config_dll winemac.drv enable_winemac_drv
17345 wine_fn_config_dll winemapi enable_winemapi
17346 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17347 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17348 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17349 wine_fn_config_dll wineps16.drv16 enable_win16
17350 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17351 wine_fn_config_dll winex11.drv enable_winex11_drv
17352 wine_fn_config_dll wing.dll16 enable_win16
17353 wine_fn_config_dll wing32 enable_wing32
17354 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17355 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17356 wine_fn_config_dll wininet enable_wininet implib
,po
17357 wine_fn_config_test dlls
/wininet
/tests wininet_test
17358 wine_fn_config_dll winmm enable_winmm implib
,po
17359 wine_fn_config_test dlls
/winmm
/tests winmm_test
17360 wine_fn_config_dll winnls.dll16 enable_win16
17361 wine_fn_config_dll winnls32 enable_winnls32 implib
17362 wine_fn_config_dll winscard enable_winscard implib
17363 wine_fn_config_dll winsock.dll16 enable_win16
17364 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17365 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17366 wine_fn_config_dll winsta enable_winsta
17367 wine_fn_config_dll wintab.dll16 enable_win16
17368 wine_fn_config_dll wintab32 enable_wintab32 implib
17369 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17370 wine_fn_config_dll wintrust enable_wintrust implib
17371 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17372 wine_fn_config_dll wlanapi enable_wlanapi
17373 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17374 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17375 wine_fn_config_dll wmi enable_wmi
17376 wine_fn_config_dll wmiutils enable_wmiutils clean
17377 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17378 wine_fn_config_dll wmp enable_wmp clean
17379 wine_fn_config_test dlls
/wmp
/tests wmp_test
17380 wine_fn_config_dll wmvcore enable_wmvcore
17381 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17382 wine_fn_config_dll wow32 enable_win16 implib
17383 wine_fn_config_dll wpcap enable_wpcap
17384 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17385 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17386 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17387 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17388 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17389 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17390 wine_fn_config_dll wsock32 enable_wsock32 implib
17391 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17392 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17393 wine_fn_config_dll wuapi enable_wuapi clean
17394 wine_fn_config_dll wuaueng enable_wuaueng
17395 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17396 wine_fn_config_dll xinput1_1 enable_xinput1_1
17397 wine_fn_config_dll xinput1_2 enable_xinput1_2
17398 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17399 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17400 wine_fn_config_dll xinput1_4 enable_xinput1_4
17401 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17402 wine_fn_config_dll xmllite enable_xmllite implib
17403 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17404 wine_fn_config_dll xolehlp enable_xolehlp
17405 wine_fn_config_dll xpsprint enable_xpsprint
17406 wine_fn_config_dll xpssvcs enable_xpssvcs
17407 wine_fn_config_makefile documentation enable_documentation clean
17408 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17409 wine_fn_config_makefile include enable_include clean
,install-dev
17410 wine_fn_config_makefile libs
/port enable_libs_port
17411 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17412 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17413 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17414 wine_fn_config_program arp enable_arp
install
17415 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17416 wine_fn_config_program attrib enable_attrib
install,po
17417 wine_fn_config_program cabarc enable_cabarc
install
17418 wine_fn_config_program cacls enable_cacls
install
17419 wine_fn_config_program
clock enable_clock
install,po
17420 wine_fn_config_program cmd enable_cmd
install,po
17421 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17422 wine_fn_config_program conhost enable_conhost
install
17423 wine_fn_config_program control enable_control
install
17424 wine_fn_config_program cscript enable_cscript
install
17425 wine_fn_config_program dpnsvr enable_dpnsvr
install
17426 wine_fn_config_program dxdiag enable_dxdiag
install,po
17427 wine_fn_config_program eject enable_eject
install
17428 wine_fn_config_program
expand enable_expand
install
17429 wine_fn_config_program explorer enable_explorer
install,po
17430 wine_fn_config_program extrac32 enable_extrac32
install
17431 wine_fn_config_program findstr enable_findstr
install
17432 wine_fn_config_program hh enable_hh
install
17433 wine_fn_config_program hostname enable_hostname
install,po
17434 wine_fn_config_program icinfo enable_icinfo
install
17435 wine_fn_config_program iexplore enable_iexplore
install
17436 wine_fn_config_program ipconfig enable_ipconfig
install,po
17437 wine_fn_config_program lodctr enable_lodctr
install
17438 wine_fn_config_program mofcomp enable_mofcomp
install
17439 wine_fn_config_program mshta enable_mshta
install
17440 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17441 wine_fn_config_program net enable_net
install,po
17442 wine_fn_config_program netsh enable_netsh
install
17443 wine_fn_config_program netstat enable_netstat
install,po
17444 wine_fn_config_program ngen enable_ngen
install
17445 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17446 wine_fn_config_program oleview enable_oleview
install,po
17447 wine_fn_config_program
ping enable_ping
install
17448 wine_fn_config_program plugplay enable_plugplay
install
17449 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17450 wine_fn_config_program progman enable_progman
install,po
17451 wine_fn_config_program reg enable_reg
install,po
17452 wine_fn_config_program regasm enable_regasm
install
17453 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17454 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17455 wine_fn_config_program regsvcs enable_regsvcs
install
17456 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17457 wine_fn_config_program rpcss enable_rpcss clean
,install
17458 wine_fn_config_program rundll.exe16 enable_win16
install
17459 wine_fn_config_program rundll32 enable_rundll32
install
17460 wine_fn_config_program sc enable_sc
install
17461 wine_fn_config_program schtasks enable_schtasks
install
17462 wine_fn_config_program sdbinst enable_sdbinst
install
17463 wine_fn_config_program secedit enable_secedit
install
17464 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17465 wine_fn_config_program services enable_services clean
,install
17466 wine_fn_config_test programs
/services
/tests services.exe_test
17467 wine_fn_config_program spoolsv enable_spoolsv
install
17468 wine_fn_config_program start enable_start
install,po
17469 wine_fn_config_program svchost enable_svchost
install
17470 wine_fn_config_program taskkill enable_taskkill
install,po
17471 wine_fn_config_program tasklist enable_tasklist
install
17472 wine_fn_config_program taskmgr enable_taskmgr
install,po
17473 wine_fn_config_program termsv enable_termsv
install
17474 wine_fn_config_program uninstaller enable_uninstaller
install,po
17475 wine_fn_config_program unlodctr enable_unlodctr
install
17476 wine_fn_config_program view enable_view
install,po
17477 wine_fn_config_program wevtutil enable_wevtutil
install
17478 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17479 wine_fn_config_program winebrowser enable_winebrowser
install
17480 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17481 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17482 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17483 wine_fn_config_program winedevice enable_winedevice
install
17484 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17485 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17486 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17487 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17488 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17489 wine_fn_config_program winetest enable_winetest clean
17490 wine_fn_config_program winevdm enable_win16
install
17491 wine_fn_config_program winhelp.exe16 enable_win16
install
17492 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17493 wine_fn_config_program winoldap.mod16 enable_win16
install
17494 wine_fn_config_program winver enable_winver
install
17495 wine_fn_config_program wmic enable_wmic
install,po
17496 wine_fn_config_program wordpad enable_wordpad
install,po
17497 wine_fn_config_program
write enable_write
install,po
17498 wine_fn_config_program wscript enable_wscript clean
,install
17499 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17500 wine_fn_config_program wusa enable_wusa
install
17501 wine_fn_config_program xcopy enable_xcopy
install,po
17502 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17503 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17504 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17505 wine_fn_config_tool tools
/sfnt2fon clean
17506 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17507 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17508 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17509 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17510 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17511 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17563 wine_fn_ignore_file
".gitignore"
17564 wine_fn_ignore_file
"Makefile"
17565 wine_fn_ignore_file
"TAGS"
17566 wine_fn_ignore_file
"tags"
17567 wine_fn_ignore_file
"autom4te.cache"
17568 wine_fn_ignore_file
"config.cache"
17569 wine_fn_ignore_file
"config.log"
17570 wine_fn_ignore_file
"config.status"
17571 wine_fn_ignore_file
"configure.lineno"
17572 wine_fn_ignore_file
"include/config.h"
17573 wine_fn_ignore_file
"include/stamp-h"
17574 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17576 if test "x$enable_tools" != xno
17578 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17579 ac_config_commands
="$ac_config_commands tools/makedep"
17583 ac_config_commands
="$ac_config_commands Makefile"
17586 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17590 if test "x$enable_maintainer_mode" = xyes
17592 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17593 autoconf --warnings=all
17594 include/config.h.in: include/stamp-h.in
17595 include/stamp-h.in: configure.ac aclocal.m4
17596 autoheader --warnings=all
17597 @echo timestamp > \$@"
17600 if test "x$with_gettextpo" = xyes
17602 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17603 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17604 \$(LINGUAS:%=po/%.po): po/wine.pot
17605 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17606 po/wine.pot: \$(ALL_POT_FILES)
17607 msgcat -o \$@ \$(ALL_POT_FILES)"
17610 if test "$MSGFMT" != false
17612 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17614 \$(RM) \$(LINGUAS:%=po/%.mo)"
17617 test "$srcdir" = . || posrc
="$srcdir/po"
17620 wine_fn_ignore_file
"po/$i.mo"
17621 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17622 \$(MSGFMT) -o \$@ $posrc/$i.po"
17628 if test "x$enable_tools" != xno
17630 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17631 @./config.status tools/makedep
17632 Makefile: tools/makedep$ac_exeext
17634 \$(RM) tools/makedep$ac_exeext"
17636 wine_fn_append_rule
"\$(MAKEDEP):
17637 @echo \"You need to run make in $TOOLSDIR first\" && false"
17640 if test -n "$with_wine64"
17642 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17643 fonts server tools:
17644 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17645 $with_wine64/loader/wine:
17646 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17647 $with_wine64/loader/wine-preloader:
17648 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17650 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17652 as_fn_append LOADER_RULES
"
17653 install install-lib:: wine.inf install-man-pages
17654 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17655 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17658 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17662 if test "$srcdir" = .
17664 ac_config_commands
="$ac_config_commands .gitignore"
17668 $as_echo " done" >&6
17669 cat >confcache
<<\_ACEOF
17670 # This file is a shell script that caches the results of configure
17671 # tests run on this system so they can be shared between configure
17672 # scripts and configure runs, see configure's option --config-cache.
17673 # It is not useful on other systems. If it contains results you don't
17674 # want to keep, you may remove or edit it.
17676 # config.status only pays attention to the cache file if you give it
17677 # the --recheck option to rerun configure.
17679 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17680 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17681 # following values.
17685 # The following way of writing the cache mishandles newlines in values,
17686 # but we know of no workaround that is simple, portable, and efficient.
17687 # So, we kill variables containing newlines.
17688 # Ultrix sh set writes to stderr and can't be redirected directly,
17689 # and sets the high bit in the cache file unless we assign to the vars.
17691 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17692 eval ac_val
=\$
$ac_var
17696 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17697 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17700 _ | IFS | as_nl
) ;; #(
17701 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17702 *) { eval $ac_var=; unset $ac_var;} ;;
17708 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17709 *${as_nl}ac_space
=\
*)
17710 # `set' does not quote correctly, so add quotes: double-quote
17711 # substitution turns \\\\ into \\, and sed turns \\ into \.
17714 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17717 # `set' quotes correctly as required by POSIX, so do not add quotes.
17718 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17727 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17729 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17731 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17732 if test -w "$cache_file"; then
17733 if test "x$cache_file" != "x/dev/null"; then
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17735 $as_echo "$as_me: updating cache $cache_file" >&6;}
17736 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17737 cat confcache
>"$cache_file"
17739 case $cache_file in #(
17741 mv -f confcache
"$cache_file"$$
&&
17742 mv -f "$cache_file"$$
"$cache_file" ;; #(
17744 mv -f confcache
"$cache_file" ;;
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17750 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17755 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17756 # Let make expand exec_prefix.
17757 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17759 DEFS
=-DHAVE_CONFIG_H
17764 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17765 # 1. Remove the extension, and $U if already installed.
17766 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17767 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17768 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17769 # will be set to the directory where LIBOBJS objects are built.
17770 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17771 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17773 LIBOBJS
=$ac_libobjs
17775 LTLIBOBJS
=$ac_ltlibobjs
17779 : "${CONFIG_STATUS=./config.status}"
17781 ac_clean_files_save
=$ac_clean_files
17782 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17784 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17786 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17788 # Generated by $as_me.
17789 # Run this file to recreate the current configuration.
17790 # Compiler output produced by configure, useful for debugging
17791 # configure, is in config.log if it exists.
17794 ac_cs_recheck=false
17797 SHELL=\${CONFIG_SHELL-$SHELL}
17800 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17801 ## -------------------- ##
17802 ## M4sh Initialization. ##
17803 ## -------------------- ##
17805 # Be more Bourne compatible
17806 DUALCASE
=1; export DUALCASE
# for MKS sh
17807 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17810 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17811 # is contrary to our usage. Disable this feature.
17812 alias -g '${1+"$@"}'='"$@"'
17813 setopt NO_GLOB_SUBST
17815 case `(set -o) 2>/dev/null` in #(
17827 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17828 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17829 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17830 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17831 # Prefer a ksh shell builtin over an external printf program on Solaris,
17832 # but without wasting forks for bash or zsh.
17833 if test -z "$BASH_VERSION$ZSH_VERSION" \
17834 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17835 as_echo='print
-r --'
17836 as_echo_n='print
-rn --'
17837 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17838 as_echo='printf %s
\n'
17839 as_echo_n='printf %s
'
17841 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17842 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17843 as_echo_n='/usr
/ucb
/echo -n'
17845 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17846 as_echo_n_body='eval
17850 expr "X$arg" : "X\\(.*\\)$as_nl";
17851 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17853 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17855 export as_echo_n_body
17856 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17858 export as_echo_body
17859 as_echo='sh
-c $as_echo_body as_echo
'
17862 # The user is always right.
17863 if test "${PATH_SEPARATOR+set}" != set; then
17865 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17866 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17873 # We need space, tab and new line, in precisely that order. Quoting is
17874 # there to prevent editors from complaining about space-tab.
17875 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17876 # splitting by setting IFS to empty value.)
17879 # Find who we are. Look in the path if we contain no directory separator.
17882 *[\\/]* ) as_myself=$0 ;;
17883 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17884 for as_dir in $PATH
17887 test -z "$as_dir" && as_dir=.
17888 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17894 # We did not find ourselves, most probably we were run as `sh COMMAND'
17895 # in which case we are not to be found in the path.
17896 if test "x$as_myself" = x
; then
17899 if test ! -f "$as_myself"; then
17900 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17904 # Unset variables that we do not need and which cause bugs (e.g. in
17905 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17906 # suppresses any "Segmentation fault" message there. '((' could
17907 # trigger a bug in pdksh 5.2.14.
17908 for as_var
in BASH_ENV ENV MAIL MAILPATH
17909 do eval test x\
${$as_var+set} = xset \
17910 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17923 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17926 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17927 # ----------------------------------------
17928 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17929 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17930 # script with STATUS, using 1 if that was 0.
17933 as_status
=$1; test $as_status -eq 0 && as_status
=1
17935 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17936 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17938 $as_echo "$as_me: error: $2" >&2
17939 as_fn_exit
$as_status
17943 # as_fn_set_status STATUS
17944 # -----------------------
17945 # Set $? to STATUS, without forking.
17946 as_fn_set_status
()
17949 } # as_fn_set_status
17951 # as_fn_exit STATUS
17952 # -----------------
17953 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17957 as_fn_set_status
$1
17963 # Portably unset VAR.
17966 { eval $1=; unset $1;}
17968 as_unset
=as_fn_unset
17969 # as_fn_append VAR VALUE
17970 # ----------------------
17971 # Append the text in VALUE to the end of the definition contained in VAR. Take
17972 # advantage of any shell optimizations that allow amortized linear growth over
17973 # repeated appends, instead of the typical quadratic growth present in naive
17975 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17976 eval 'as_fn_append ()
17987 # as_fn_arith ARG...
17988 # ------------------
17989 # Perform arithmetic evaluation on the ARGs, and store the result in the
17990 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17991 # must be portable across $(()) and expr.
17992 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17993 eval 'as_fn_arith ()
18000 as_val
=`expr "$@" || test $? -eq 1`
18005 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18006 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18012 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18013 as_basename
=basename
18018 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18024 as_me
=`$as_basename -- "$0" ||
18025 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18026 X"$0" : 'X\(//\)$' \| \
18027 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18029 sed '/^.*\/\([^/][^/]*\)\/*$/{
18043 # Avoid depending upon Character Ranges.
18044 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18045 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18046 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18047 as_cr_digits
='0123456789'
18048 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18050 ECHO_C
= ECHO_N
= ECHO_T
=
18051 case `echo -n x` in #(((((
18053 case `echo 'xy\c'` in
18054 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18056 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18063 rm -f conf$$ conf$$.exe conf$$.
file
18064 if test -d conf$$.dir
; then
18065 rm -f conf$$.dir
/conf$$.
file
18068 mkdir conf$$.dir
2>/dev
/null
18070 if (echo >conf$$.
file) 2>/dev
/null
; then
18071 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18073 # ... but there are two gotchas:
18074 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18075 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18076 # In both cases, we have to default to `cp -pR'.
18077 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18079 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18087 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18088 rmdir conf$$.dir
2>/dev
/null
18093 # Create "$as_dir" as a directory, including parents if necessary.
18098 -*) as_dir
=.
/$as_dir;;
18100 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18104 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18105 *) as_qdir
=$as_dir;;
18107 as_dirs
="'$as_qdir' $as_dirs"
18108 as_dir
=`$as_dirname -- "$as_dir" ||
18109 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18110 X"$as_dir" : 'X\(//\)[^/]' \| \
18111 X"$as_dir" : 'X\(//\)$' \| \
18112 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18113 $as_echo X"$as_dir" |
18114 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18118 /^X\(\/\/\)[^/].*/{
18131 test -d "$as_dir" && break
18133 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18134 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18138 if mkdir
-p .
2>/dev
/null
; then
18139 as_mkdir_p
='mkdir -p "$as_dir"'
18141 test -d .
/-p && rmdir .
/-p
18146 # as_fn_executable_p FILE
18147 # -----------------------
18148 # Test if FILE is an executable regular file.
18149 as_fn_executable_p
()
18151 test -f "$1" && test -x "$1"
18152 } # as_fn_executable_p
18153 as_test_x
='test -x'
18154 as_executable_p
=as_fn_executable_p
18156 # Sed expression to map a string onto a valid CPP name.
18157 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18159 # Sed expression to map a string onto a valid variable name.
18160 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18164 ## ----------------------------------- ##
18165 ## Main body of $CONFIG_STATUS script. ##
18166 ## ----------------------------------- ##
18168 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18171 # Save the log message, to keep $0 and so on meaningful, and to
18172 # report actual input values of CONFIG_FILES etc. instead of their
18173 # values after options handling.
18175 This file was extended by Wine $as_me 1.7.25, which was
18176 generated by GNU Autoconf 2.69. Invocation command line was
18178 CONFIG_FILES = $CONFIG_FILES
18179 CONFIG_HEADERS = $CONFIG_HEADERS
18180 CONFIG_LINKS = $CONFIG_LINKS
18181 CONFIG_COMMANDS = $CONFIG_COMMANDS
18184 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18189 case $ac_config_files in *"
18190 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18193 case $ac_config_headers in *"
18194 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18199 # Files that config.status was made for.
18200 config_files="$ac_config_files"
18201 config_headers="$ac_config_headers"
18202 config_links="$ac_config_links"
18203 config_commands="$ac_config_commands"
18207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18209 \`$as_me' instantiates files and other configuration actions
18210 from templates according to the current configuration. Unless the files
18211 and actions are specified as TAGs, all are instantiated by default.
18213 Usage: $0 [OPTION]... [TAG]...
18215 -h, --help print this help, then exit
18216 -V, --version print version number and configuration settings, then exit
18217 --config print configuration, then exit
18218 -q, --quiet, --silent
18219 do not print progress messages
18220 -d, --debug don't remove temporary files
18221 --recheck update $as_me by reconfiguring in the same conditions
18222 --file=FILE[:TEMPLATE]
18223 instantiate the configuration file FILE
18224 --header=FILE[:TEMPLATE]
18225 instantiate the configuration header FILE
18227 Configuration files:
18230 Configuration headers:
18233 Configuration links:
18236 Configuration commands:
18239 Report bugs to <wine-devel@winehq.org>.
18240 Wine home page: <http://www.winehq.org>."
18243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18244 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18246 Wine config.status 1.7.25
18247 configured by $0, generated by GNU Autoconf 2.69,
18248 with options \\"\$ac_cs_config\\"
18250 Copyright (C) 2012 Free Software Foundation, Inc.
18251 This config.status script is free software; the Free Software Foundation
18252 gives unlimited permission to copy, distribute and modify it."
18256 test -n "\$AWK" || AWK=awk
18259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18260 # The default lists apply if the user does not specify any file.
18266 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18267 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18271 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18283 # Handling of the options.
18284 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18286 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18287 $as_echo "$ac_cs_version"; exit ;;
18288 --config |
--confi |
--conf |
--con |
--co |
--c )
18289 $as_echo "$ac_cs_config"; exit ;;
18290 --debug |
--debu |
--deb |
--de |
--d |
-d )
18292 --file |
--fil |
--fi |
--f )
18295 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18296 '') as_fn_error $?
"missing file argument" ;;
18298 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18299 ac_need_defaults
=false
;;
18300 --header |
--heade |
--head |
--hea )
18303 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18305 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18306 ac_need_defaults
=false
;;
18308 # Conflict between --help and --header
18309 as_fn_error $?
"ambiguous option: \`$1'
18310 Try \`$0 --help' for more information.";;
18311 --help |
--hel |
-h )
18312 $as_echo "$ac_cs_usage"; exit ;;
18313 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18314 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18317 # This is an error.
18318 -*) as_fn_error $?
"unrecognized option: \`$1'
18319 Try \`$0 --help' for more information." ;;
18321 *) as_fn_append ac_config_targets
" $1"
18322 ac_need_defaults
=false
;;
18328 ac_configure_extra_args
=
18330 if $ac_cs_silent; then
18332 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18337 if \$ac_cs_recheck; then
18338 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18340 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18341 CONFIG_SHELL='$SHELL'
18342 export CONFIG_SHELL
18347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18351 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18352 ## Running $as_me. ##
18358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18362 wine_fn_output_makedep ()
18364 as_dir=tools; as_fn_mkdir_p
18365 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18367 wine_fn_output_makefile ()
18369 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18370 `cat $wine_rules_file`
18372 as_fn_error $? "could not create Makefile" "$LINENO" 5
18374 wine_fn_output_gitignore ()
18376 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18379 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18386 # Handling of arguments.
18387 for ac_config_target
in $ac_config_targets
18389 case $ac_config_target in
18390 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18391 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18392 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18393 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18394 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18395 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18396 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18397 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18398 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18399 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18400 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18401 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18402 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18403 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18405 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18410 # If the user did not use the arguments to specify the items to instantiate,
18411 # then the envvar interface is used. Set only those that are not.
18412 # We use the long form for the default assignment because of an extremely
18413 # bizarre bug on SunOS 4.1.3.
18414 if $ac_need_defaults; then
18415 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18416 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18417 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18418 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18421 # Have a temporary directory for convenience. Make it in the build tree
18422 # simply because there is no reason against having it here, and in addition,
18423 # creating and moving files from /tmp can sometimes cause problems.
18424 # Hook for its removal unless debugging.
18425 # Note that there is a small window in which the directory will not be cleaned:
18426 # after its creation but before its name has been assigned to `$tmp'.
18430 trap 'exit_status=$?
18431 : "${ac_tmp:=$tmp}"
18432 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18434 trap 'as_fn_exit 1' 1 2 13 15
18436 # Create a (secure) tmp directory for tmp files.
18439 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18443 tmp
=.
/conf$$
-$RANDOM
18444 (umask 077 && mkdir
"$tmp")
18445 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18448 # Set up the scripts for CONFIG_FILES section.
18449 # No need to generate them if there are no CONFIG_FILES.
18450 # This happens for instance with `./config.status config.h'.
18451 if test -n "$CONFIG_FILES"; then
18454 ac_cr
=`echo X | tr X '\015'`
18455 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18456 # But we know of no other shell where ac_cr would be empty at this
18457 # point, so we can use a bashism as a fallback.
18458 if test "x$ac_cr" = x
; then
18459 eval ac_cr
=\$
\'\\r
\'
18461 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18462 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18465 ac_cs_awk_cr
=$ac_cr
18468 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18473 echo "cat >conf$$subs.awk <<_ACEOF" &&
18474 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18476 } >conf$$subs.sh ||
18477 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18478 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18480 for ac_last_try in false false false false false :; do
18481 . ./conf$$subs.sh ||
18482 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18484 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18485 if test $ac_delim_n = $ac_delim_num; then
18487 elif $ac_last_try; then
18488 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18490 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18493 rm -f conf$$subs.sh
18495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18496 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18500 s/^/S["/; s
/!.
*/"]=/
18510 s/\(.\{148\}\)..*/\1/
18512 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18517 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18524 s/\(.\{148\}\)..*/\1/
18526 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18530 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18535 ' <conf$$subs.awk | sed '
18540 ' >>$CONFIG_STATUS || ac_write_fail=1
18541 rm -f conf$$subs.awk
18542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18544 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18545 for (key in S) S_is_set[key] = 1
18551 nfields = split(line, field, "@
")
18553 len = length(field[1])
18554 for (i = 2; i < nfields; i++) {
18556 keylen = length(key)
18557 if (S_is_set[key]) {
18559 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18560 len += length(value) + length(field[++i])
18571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18572 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18573 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18576 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18577 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18580 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18581 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18582 # trailing colons and then remove the whole line if VPATH becomes empty
18583 # (actually we leave an empty line to preserve line numbers).
18584 if test "x
$srcdir" = x.; then
18585 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18604 fi # test -n "$CONFIG_FILES"
18606 # Set up the scripts for CONFIG_HEADERS section.
18607 # No need to generate them if there are no CONFIG_HEADERS.
18608 # This happens for instance with `./config.status Makefile'.
18609 if test -n "$CONFIG_HEADERS"; then
18610 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18614 # Transform confdefs.h into an awk script `defines.awk', embedded as
18615 # here-document in config.status, that substitutes the proper values into
18616 # config.h.in to produce config.h.
18618 # Create a delimiter string that does not exist in confdefs.h, to ease
18619 # handling of long lines.
18621 for ac_last_try in false false :; do
18622 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18623 if test -z "$ac_tt"; then
18625 elif $ac_last_try; then
18626 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18628 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18632 # For the awk script, D is an array of macro values keyed by name,
18633 # likewise P contains macro parameters if any. Preserve backslash
18634 # newline sequences.
18636 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18638 s/.\{148\}/&'"$ac_delim"'/g
18641 s/^[ ]*#[ ]*define[ ][ ]*/ /
18648 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18650 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18654 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18655 D["\
1"]=" \
3\\\\\\n
"\\/p
18657 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18662 s/.\{148\}/&'"$ac_delim"'/g
18667 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18670 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18672 ' <confdefs.h | sed '
18673 s/'"$ac_delim"'/"\\\
18674 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18677 for (key in D) D_is_set[key] = 1
18680 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18682 split(line, arg, " ")
18683 if (arg[1] == "#") {
18687 defundef
= substr
(arg
[1], 2)
18690 split(mac1
, mac2
, "(") #)
18692 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18693 if (D_is_set
[macro
]) {
18694 # Preserve the white space surrounding the "#".
18695 print prefix
"define", macro P
[macro
] D
[macro
]
18698 # Replace #undef with comments. This is necessary, for example,
18699 # in the case of _POSIX_SOURCE, which is predefined and required
18700 # on some systems where configure will not decide to define it.
18701 if (defundef
== "undef") {
18702 print
"/*", prefix defundef
, macro
, "*/"
18710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18711 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18712 fi # test -n "$CONFIG_HEADERS"
18715 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18720 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18722 case $ac_mode$ac_tag in
18724 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18725 :[FH
]-) ac_tag
=-:-;;
18726 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18743 -) ac_f
="$ac_tmp/stdin";;
18744 *) # Look for the file first in the build tree, then in the source tree
18745 # (if the path is not absolute). The absolute path cannot be DOS-style,
18746 # because $ac_f cannot contain `:'.
18750 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18752 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18754 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18755 as_fn_append ac_file_inputs
" '$ac_f'"
18758 # Let's still pretend it is `configure' which instantiates (i.e., don't
18759 # use $as_me), people would be surprised to read:
18760 # /* config.h. Generated by config.status. */
18761 configure_input
='Generated from '`
18762 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18764 if test x
"$ac_file" != x-
; then
18765 configure_input
="$ac_file. $configure_input"
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18767 $as_echo "$as_me: creating $ac_file" >&6;}
18769 # Neutralize special characters interpreted by sed in replacement strings.
18770 case $configure_input in #(
18771 *\
&* |
*\|
* |
*\\* )
18772 ac_sed_conf_input
=`$as_echo "$configure_input" |
18773 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18774 *) ac_sed_conf_input
=$configure_input;;
18778 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18779 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18784 ac_dir
=`$as_dirname -- "$ac_file" ||
18785 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18786 X"$ac_file" : 'X\(//\)[^/]' \| \
18787 X"$ac_file" : 'X\(//\)$' \| \
18788 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18789 $as_echo X"$ac_file" |
18790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18794 /^X\(\/\/\)[^/].*/{
18807 as_dir
="$ac_dir"; as_fn_mkdir_p
18811 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18813 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18814 # A ".." for each directory in $ac_dir_suffix.
18815 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18816 case $ac_top_builddir_sub in
18817 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18818 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18821 ac_abs_top_builddir
=$ac_pwd
18822 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18823 # for backward compatibility:
18824 ac_top_builddir
=$ac_top_build_prefix
18827 .
) # We are building in place.
18829 ac_top_srcdir
=$ac_top_builddir_sub
18830 ac_abs_top_srcdir
=$ac_pwd ;;
18831 [\\/]* | ?
:[\\/]* ) # Absolute name.
18832 ac_srcdir
=$srcdir$ac_dir_suffix;
18833 ac_top_srcdir
=$srcdir
18834 ac_abs_top_srcdir
=$srcdir ;;
18835 *) # Relative name.
18836 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18837 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18838 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18840 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18852 # If the template does not know about datarootdir, expand it.
18853 # FIXME: This hack should be removed a few years after 2.60.
18854 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18865 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18866 *datarootdir
*) ac_datarootdir_seen
=yes;;
18867 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18869 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18872 ac_datarootdir_hack='
18873 s&@datadir@&$datadir&g
18874 s&@docdir@&$docdir&g
18875 s&@infodir@&$infodir&g
18876 s&@localedir@&$localedir&g
18877 s&@mandir@&$mandir&g
18878 s&\\\${datarootdir}&$datarootdir&g' ;;
18882 # Neutralize VPATH when `$srcdir' = `.'.
18883 # Shell code in configure.ac might set extrasub.
18884 # FIXME: do we really want to maintain this feature?
18885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18886 ac_sed_extra="$ac_vpsub
18889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18891 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18892 s|@configure_input@|
$ac_sed_conf_input|
;t t
18893 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18894 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18895 s
&@srcdir@
&$ac_srcdir&;t t
18896 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18897 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18898 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18899 s
&@builddir@
&$ac_builddir&;t t
18900 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18901 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18902 $ac_datarootdir_hack
18904 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18905 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18907 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18908 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18909 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18910 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18912 which seems to be undefined. Please make sure it is defined" >&5
18913 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18914 which seems to be undefined. Please make sure it is defined" >&2;}
18916 rm -f "$ac_tmp/stdin"
18918 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18919 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18921 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18927 if test x"$ac_file" != x-; then
18929 $as_echo "/* $configure_input */" \
18930 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18931 } >"$ac_tmp/config.h" \
18932 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18933 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18935 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18938 mv "$ac_tmp/config.h" "$ac_file" \
18939 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18942 $as_echo "/* $configure_input */" \
18943 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18944 || as_fn_error $? "could not create -" "$LINENO" 5
18952 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18955 # Prefer the file from the source tree if names are identical.
18956 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18957 ac_source=$srcdir/$ac_source
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18961 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18963 if test ! -r "$ac_source"; then
18964 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18968 # Try a relative symlink, then a hard link, then a copy.
18970 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18971 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18973 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18974 ln "$ac_source" "$ac_file" 2>/dev/null ||
18975 cp -p "$ac_source" "$ac_file" ||
18976 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18979 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18980 $as_echo "$as_me: executing $ac_file commands" >&6;}
18985 case $ac_file$ac_mode in
18986 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18987 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18988 "Makefile":C) wine_fn_output_makefile Makefile ;;
18989 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18997 ac_clean_files=$ac_clean_files_save
18999 test $ac_write_fail = 0 ||
19000 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19003 # configure is writing to config.log, and then calls config.status.
19004 # config.status does its own redirection, appending to config.log.
19005 # Unfortunately, on DOS this fails, as config.log is still kept open
19006 # by configure, so config.status won't be able to
write to it
; its
19007 # output is simply discarded. So we exec the FD to /dev/null,
19008 # effectively closing config.log, so it can be properly (re)opened and
19009 # appended to by config.status. When coming back to configure, we
19010 # need to make the FD available again.
19011 if test "$no_create" != yes; then
19013 ac_config_status_args
=
19014 test "$silent" = yes &&
19015 ac_config_status_args
="$ac_config_status_args --quiet"
19017 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19019 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19020 # would make configure fail if this is the last instruction.
19021 $ac_cs_success || as_fn_exit
1
19023 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19025 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19029 if test "$no_create" = "yes"
19035 if test "x$wine_notices != "x
; then
19038 for msg
in $wine_notices; do
19040 if ${msg:+false} :; then :
19043 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19044 $as_echo "$as_me: $msg" >&6;}
19049 for msg
in $wine_warnings; do
19051 if ${msg:+false} :; then :
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19056 $as_echo "$as_me: WARNING: $msg" >&2;}
19062 $as_me: Finished. Do '${ac_make}' to compile Wine.