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
1177 enable_photometadatahandler
1257 enable_windowscodecs
1258 enable_windowscodecsext
1260 enable_winecoreaudio_drv
1262 enable_winegstreamer
1263 enable_winejoystick_drv
1269 enable_wineqtdecoder
1306 enable_documentation
1314 enable_aspnet_regiis
1347 enable_presentationfontcache
1360 enable_servicemodelreg
1380 enable_winemenubuilder
1382 enable_winemsibuilder
1396 ac_precious_vars
='build_alias
1445 # Initialize some variables set by options.
1447 ac_init_version
=false
1448 ac_unrecognized_opts
=
1449 ac_unrecognized_sep
=
1450 # The variables have the same names as the options, with
1451 # dashes changed to underlines.
1452 cache_file
=/dev
/null
1459 program_transform_name
=s
,x
,x
,
1467 # Installation directory options.
1468 # These are left unexpanded so users can "make install exec_prefix=/foo"
1469 # and all the variables that are supposed to be based on exec_prefix
1470 # by default will actually change.
1471 # Use braces instead of parens because sh, perl, etc. also accept them.
1472 # (The list follows the same order as the GNU Coding Standards.)
1473 bindir
='${exec_prefix}/bin'
1474 sbindir
='${exec_prefix}/sbin'
1475 libexecdir
='${exec_prefix}/libexec'
1476 datarootdir
='${prefix}/share'
1477 datadir
='${datarootdir}'
1478 sysconfdir
='${prefix}/etc'
1479 sharedstatedir
='${prefix}/com'
1480 localstatedir
='${prefix}/var'
1481 includedir
='${prefix}/include'
1482 oldincludedir
='/usr/include'
1483 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1484 infodir
='${datarootdir}/info'
1489 libdir
='${exec_prefix}/lib'
1490 localedir
='${datarootdir}/locale'
1491 mandir
='${datarootdir}/man'
1497 # If the previous option needs an argument, assign it.
1498 if test -n "$ac_prev"; then
1499 eval $ac_prev=\
$ac_option
1505 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1510 # Accept the important Cygnus configure options, so we can diagnose typos.
1512 case $ac_dashdash$ac_option in
1516 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1518 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1519 bindir
=$ac_optarg ;;
1521 -build |
--build |
--buil |
--bui |
--bu)
1522 ac_prev
=build_alias
;;
1523 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1524 build_alias
=$ac_optarg ;;
1526 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1527 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1528 ac_prev
=cache_file
;;
1529 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1530 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1531 cache_file
=$ac_optarg ;;
1533 --config-cache |
-C)
1534 cache_file
=config.cache
;;
1536 -datadir |
--datadir |
--datadi |
--datad)
1538 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1539 datadir
=$ac_optarg ;;
1541 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1542 |
--dataroo |
--dataro |
--datar)
1543 ac_prev
=datarootdir
;;
1544 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1545 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1546 datarootdir
=$ac_optarg ;;
1548 -disable-* |
--disable-*)
1549 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1550 # Reject names that are not valid shell variable names.
1551 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1552 as_fn_error $?
"invalid feature name: $ac_useropt"
1553 ac_useropt_orig
=$ac_useropt
1554 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1555 case $ac_user_opts in
1557 "enable_
$ac_useropt"
1559 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1560 ac_unrecognized_sep
=', ';;
1562 eval enable_
$ac_useropt=no
;;
1564 -docdir |
--docdir |
--docdi |
--doc |
--do)
1566 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1567 docdir
=$ac_optarg ;;
1569 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1571 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1572 dvidir
=$ac_optarg ;;
1574 -enable-* |
--enable-*)
1575 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1576 # Reject names that are not valid shell variable names.
1577 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1578 as_fn_error $?
"invalid feature name: $ac_useropt"
1579 ac_useropt_orig
=$ac_useropt
1580 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1581 case $ac_user_opts in
1583 "enable_
$ac_useropt"
1585 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1586 ac_unrecognized_sep
=', ';;
1588 eval enable_
$ac_useropt=\
$ac_optarg ;;
1590 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1591 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1592 |
--exec |
--exe |
--ex)
1593 ac_prev
=exec_prefix
;;
1594 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1595 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1596 |
--exec=* |
--exe=* |
--ex=*)
1597 exec_prefix
=$ac_optarg ;;
1599 -gas |
--gas |
--ga |
--g)
1600 # Obsolete; use --with-gas.
1603 -help |
--help |
--hel |
--he |
-h)
1604 ac_init_help
=long
;;
1605 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1606 ac_init_help
=recursive
;;
1607 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1608 ac_init_help
=short
;;
1610 -host |
--host |
--hos |
--ho)
1611 ac_prev
=host_alias
;;
1612 -host=* |
--host=* |
--hos=* |
--ho=*)
1613 host_alias
=$ac_optarg ;;
1615 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1617 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1619 htmldir
=$ac_optarg ;;
1621 -includedir |
--includedir |
--includedi |
--included |
--include \
1622 |
--includ |
--inclu |
--incl |
--inc)
1623 ac_prev
=includedir
;;
1624 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1625 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1626 includedir
=$ac_optarg ;;
1628 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1630 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1631 infodir
=$ac_optarg ;;
1633 -libdir |
--libdir |
--libdi |
--libd)
1635 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1636 libdir
=$ac_optarg ;;
1638 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1639 |
--libexe |
--libex |
--libe)
1640 ac_prev
=libexecdir
;;
1641 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1642 |
--libexe=* |
--libex=* |
--libe=*)
1643 libexecdir
=$ac_optarg ;;
1645 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1646 ac_prev
=localedir
;;
1647 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1648 localedir
=$ac_optarg ;;
1650 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1651 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1652 ac_prev
=localstatedir
;;
1653 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1654 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1655 localstatedir
=$ac_optarg ;;
1657 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1659 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1660 mandir
=$ac_optarg ;;
1662 -nfp |
--nfp |
--nf)
1663 # Obsolete; use --without-fp.
1666 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1667 |
--no-cr |
--no-c |
-n)
1670 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1671 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1674 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1675 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1676 |
--oldin |
--oldi |
--old |
--ol |
--o)
1677 ac_prev
=oldincludedir
;;
1678 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1679 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1680 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1681 oldincludedir
=$ac_optarg ;;
1683 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1685 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1686 prefix
=$ac_optarg ;;
1688 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1689 |
--program-pre |
--program-pr |
--program-p)
1690 ac_prev
=program_prefix
;;
1691 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1692 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1693 program_prefix
=$ac_optarg ;;
1695 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1696 |
--program-suf |
--program-su |
--program-s)
1697 ac_prev
=program_suffix
;;
1698 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1699 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1700 program_suffix
=$ac_optarg ;;
1702 -program-transform-name |
--program-transform-name \
1703 |
--program-transform-nam |
--program-transform-na \
1704 |
--program-transform-n |
--program-transform- \
1705 |
--program-transform |
--program-transfor \
1706 |
--program-transfo |
--program-transf \
1707 |
--program-trans |
--program-tran \
1708 |
--progr-tra |
--program-tr |
--program-t)
1709 ac_prev
=program_transform_name
;;
1710 -program-transform-name=* |
--program-transform-name=* \
1711 |
--program-transform-nam=* |
--program-transform-na=* \
1712 |
--program-transform-n=* |
--program-transform-=* \
1713 |
--program-transform=* |
--program-transfor=* \
1714 |
--program-transfo=* |
--program-transf=* \
1715 |
--program-trans=* |
--program-tran=* \
1716 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1717 program_transform_name
=$ac_optarg ;;
1719 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1721 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1722 pdfdir
=$ac_optarg ;;
1724 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1726 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1729 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1730 |
-silent |
--silent |
--silen |
--sile |
--sil)
1733 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1735 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1737 sbindir
=$ac_optarg ;;
1739 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1740 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1741 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1743 ac_prev
=sharedstatedir
;;
1744 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1745 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1746 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1748 sharedstatedir
=$ac_optarg ;;
1750 -site |
--site |
--sit)
1752 -site=* |
--site=* |
--sit=*)
1755 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1757 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1758 srcdir
=$ac_optarg ;;
1760 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1761 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1762 ac_prev
=sysconfdir
;;
1763 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1764 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1765 sysconfdir
=$ac_optarg ;;
1767 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1768 ac_prev
=target_alias
;;
1769 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1770 target_alias
=$ac_optarg ;;
1772 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1775 -version |
--version |
--versio |
--versi |
--vers |
-V)
1776 ac_init_version
=: ;;
1779 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1780 # Reject names that are not valid shell variable names.
1781 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1782 as_fn_error $?
"invalid package name: $ac_useropt"
1783 ac_useropt_orig
=$ac_useropt
1784 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1785 case $ac_user_opts in
1789 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1790 ac_unrecognized_sep
=', ';;
1792 eval with_
$ac_useropt=\
$ac_optarg ;;
1794 -without-* |
--without-*)
1795 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1796 # Reject names that are not valid shell variable names.
1797 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1798 as_fn_error $?
"invalid package name: $ac_useropt"
1799 ac_useropt_orig
=$ac_useropt
1800 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1801 case $ac_user_opts in
1805 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1806 ac_unrecognized_sep
=', ';;
1808 eval with_
$ac_useropt=no
;;
1811 # Obsolete; use --with-x.
1814 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1815 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1816 ac_prev
=x_includes
;;
1817 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1818 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1819 x_includes
=$ac_optarg ;;
1821 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1822 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1823 ac_prev
=x_libraries
;;
1824 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1825 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1826 x_libraries
=$ac_optarg ;;
1828 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1829 Try \`$0 --help' for more information"
1833 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1834 # Reject names that are not valid shell variable names.
1835 case $ac_envvar in #(
1836 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1837 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1839 eval $ac_envvar=\
$ac_optarg
1840 export $ac_envvar ;;
1843 # FIXME: should be removed in autoconf 3.0.
1844 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1845 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1846 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1847 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1853 if test -n "$ac_prev"; then
1854 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1855 as_fn_error $?
"missing argument to $ac_option"
1858 if test -n "$ac_unrecognized_opts"; then
1859 case $enable_option_checking in
1861 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1862 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1866 # Check all directory arguments for consistency.
1867 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1868 datadir sysconfdir sharedstatedir localstatedir includedir \
1869 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1870 libdir localedir mandir
1872 eval ac_val
=\$
$ac_var
1873 # Remove trailing slashes.
1876 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1877 eval $ac_var=\
$ac_val;;
1879 # Be sure to have absolute directory names.
1881 [\\/$
]* | ?
:[\\/]* ) continue;;
1882 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1884 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1887 # There might be people who depend on the old broken behavior: `$host'
1888 # used to hold the argument of --host etc.
1889 # FIXME: To remove some day.
1892 target
=$target_alias
1894 # FIXME: To remove some day.
1895 if test "x$host_alias" != x
; then
1896 if test "x$build_alias" = x
; then
1897 cross_compiling
=maybe
1898 elif test "x$build_alias" != "x$host_alias"; then
1904 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1906 test "$silent" = yes && exec 6>/dev
/null
1909 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1910 ac_ls_di
=`ls -di .` &&
1911 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1912 as_fn_error $?
"working directory cannot be determined"
1913 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1914 as_fn_error $?
"pwd does not report name of working directory"
1917 # Find the source files, if location was not specified.
1918 if test -z "$srcdir"; then
1919 ac_srcdir_defaulted
=yes
1920 # Try the directory containing this script, then the parent directory.
1921 ac_confdir
=`$as_dirname -- "$as_myself" ||
1922 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1923 X"$as_myself" : 'X\(//\)[^/]' \| \
1924 X"$as_myself" : 'X\(//\)$' \| \
1925 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1926 $as_echo X"$as_myself" |
1927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1945 if test ! -r "$srcdir/$ac_unique_file"; then
1949 ac_srcdir_defaulted
=no
1951 if test ! -r "$srcdir/$ac_unique_file"; then
1952 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1953 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1955 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1957 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1959 # When building in place, set srcdir=.
1960 if test "$ac_abs_confdir" = "$ac_pwd"; then
1963 # Remove unnecessary trailing slashes from srcdir.
1964 # Double slashes in file names in object file debugging info
1965 # mess up M-x gdb in Emacs.
1967 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1969 for ac_var
in $ac_precious_vars; do
1970 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1971 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1972 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1973 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1977 # Report the --help message.
1979 if test "$ac_init_help" = "long"; then
1980 # Omit some internal or obsolete options to make the list less imposing.
1981 # This message is too long to be a string in the A/UX 3.1 sh.
1983 \`configure' configures Wine 1.7.25 to adapt to many kinds of systems.
1985 Usage: $0 [OPTION]... [VAR=VALUE]...
1987 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1988 VAR=VALUE. See below for descriptions of some of the useful variables.
1990 Defaults for the options are specified in brackets.
1993 -h, --help display this help and exit
1994 --help=short display options specific to this package
1995 --help=recursive display the short help of all the included packages
1996 -V, --version display version information and exit
1997 -q, --quiet, --silent do not print \`checking ...' messages
1998 --cache-file=FILE cache test results in FILE [disabled]
1999 -C, --config-cache alias for \`--cache-file=config.cache'
2000 -n, --no-create do not create output files
2001 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2003 Installation directories:
2004 --prefix=PREFIX install architecture-independent files in PREFIX
2005 [$ac_default_prefix]
2006 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2009 By default, \`make install' will install all the files in
2010 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2011 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2012 for instance \`--prefix=\$HOME'.
2014 For better control, use the options below.
2016 Fine tuning of the installation directories:
2017 --bindir=DIR user executables [EPREFIX/bin]
2018 --sbindir=DIR system admin executables [EPREFIX/sbin]
2019 --libexecdir=DIR program executables [EPREFIX/libexec]
2020 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2021 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2022 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2023 --libdir=DIR object code libraries [EPREFIX/lib]
2024 --includedir=DIR C header files [PREFIX/include]
2025 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2026 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2027 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2028 --infodir=DIR info documentation [DATAROOTDIR/info]
2029 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2030 --mandir=DIR man documentation [DATAROOTDIR/man]
2031 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2032 --htmldir=DIR html documentation [DOCDIR]
2033 --dvidir=DIR dvi documentation [DOCDIR]
2034 --pdfdir=DIR pdf documentation [DOCDIR]
2035 --psdir=DIR ps documentation [DOCDIR]
2041 --x-includes=DIR X include files are
in DIR
2042 --x-libraries=DIR X library files are
in DIR
2045 --build=BUILD configure
for building on BUILD
[guessed
]
2046 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2050 if test -n "$ac_init_help"; then
2051 case $ac_init_help in
2052 short | recursive
) echo "Configuration of Wine 1.7.25:";;
2057 --disable-option-checking ignore unrecognized
--enable/--with options
2058 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2059 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2060 --disable-win16 do not include Win16 support
2061 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2063 --disable-tests do not build the regression tests
2064 --enable-maintainer-mode
2065 enable maintainer-specific build rules
2066 --disable-largefile omit support for large files
2069 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2070 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2071 --without-alsa do not use the Alsa sound support
2072 --without-capi do not use CAPI (ISDN support)
2073 --without-cms do not use CMS (color management support)
2074 --without-coreaudio do not use the CoreAudio sound support
2075 --without-cups do not use CUPS
2076 --without-curses do not use (n)curses
2077 --without-dbus do not use DBus (dynamic device support)
2078 --without-fontconfig do not use fontconfig
2079 --without-freetype do not use the FreeType library
2080 --without-gettext do not use gettext
2081 --with-gettextpo use the GetTextPO library to rebuild po files
2082 --without-gphoto do not use gphoto (Digital Camera support)
2083 --without-glu do not use the GLU library
2084 --without-gnutls do not use GnuTLS (schannel support)
2085 --without-gsm do not use libgsm (GSM 06.10 codec support)
2086 --without-gstreamer do not use GStreamer (codecs support)
2087 --without-hal do not use HAL (dynamic device support)
2088 --without-jpeg do not use JPEG
2089 --without-ldap do not use LDAP
2090 --without-mpg123 do not use the mpg123 library
2091 --without-netapi do not use the Samba NetAPI library
2092 --without-openal do not use OpenAL
2093 --without-opencl do not use OpenCL
2094 --without-opengl do not use OpenGL
2095 --without-osmesa do not use the OSMesa library
2096 --without-oss do not use the OSS sound support
2097 --without-pcap do not use the Packet Capture library
2098 --without-png do not use PNG
2099 --without-pthread do not use the pthread library
2100 --without-sane do not use SANE (scanner support)
2101 --without-tiff do not use TIFF
2102 --without-v4l do not use v4l1 (v4l support)
2103 --without-xcomposite do not use the Xcomposite extension
2104 --without-xcursor do not use the Xcursor extension
2105 --without-xinerama do not use Xinerama (multi-monitor support)
2106 --without-xinput do not use the Xinput extension
2107 --without-xinput2 do not use the Xinput 2 extension
2108 --without-xml do not use XML
2109 --without-xrandr do not use Xrandr (resolution changes)
2110 --without-xrender do not use the Xrender extension
2111 --without-xshape do not use the Xshape extension
2112 --without-xshm do not use XShm (shared memory extension)
2113 --without-xslt do not use XSLT
2114 --without-xxf86vm do not use XFree video mode extension
2115 --without-zlib do not use Zlib (data compression)
2116 --with-wine-tools=DIR use Wine tools from directory DIR
2117 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2118 --with-x use the X Window System
2120 Some influential environment variables:
2121 CC C compiler command
2122 CFLAGS C compiler flags
2123 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2124 nonstandard directory <lib dir>
2125 LIBS libraries to pass to the linker, e.g. -l<library>
2126 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2127 you have headers in a nonstandard directory <include dir>
2128 CXX C++ compiler command
2129 CXXFLAGS C++ compiler flags
2131 XMKMF Path to xmkmf, Makefile generator for X Window System
2132 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2133 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2134 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2135 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2136 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2137 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2138 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2139 HAL_LIBS Linker flags for hal, overriding pkg-config
2141 C compiler flags for gnutls, overriding pkg-config
2142 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2143 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2144 SANE_LIBS Linker flags for libsane, overriding pkg-config
2146 C compiler flags for libgphoto2, overriding pkg-config
2148 Linker flags for libgphoto2, overriding pkg-config
2150 C compiler flags for libgphoto2_port, overriding pkg-config
2152 Linker flags for libgphoto2_port, overriding pkg-config
2154 C compiler flags for lcms2, overriding pkg-config
2155 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2157 C compiler flags for freetype2, overriding pkg-config
2159 Linker flags for freetype2, overriding pkg-config
2161 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2163 Linker flags for gstreamer-app-0.10, overriding pkg-config
2165 C compiler flags for capi20, overriding pkg-config
2166 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2168 C compiler flags for fontconfig, overriding pkg-config
2170 Linker flags for fontconfig, overriding pkg-config
2171 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2172 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2173 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2174 PNG_LIBS Linker flags for libpng, overriding pkg-config
2175 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2176 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2178 C compiler flags for libmpg123, overriding pkg-config
2179 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2181 Use these variables to override the choices made by `configure' or to
help
2182 it to
find libraries and programs with nonstandard names
/locations.
2184 Report bugs to
<wine-devel@winehq.org
>.
2185 Wine home page
: <http
://www.winehq.org
>.
2190 if test "$ac_init_help" = "recursive"; then
2191 # If there are subdirs, report their specific --help.
2192 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2193 test -d "$ac_dir" ||
2194 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2199 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2201 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2202 # A ".." for each directory in $ac_dir_suffix.
2203 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2204 case $ac_top_builddir_sub in
2205 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2206 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2209 ac_abs_top_builddir
=$ac_pwd
2210 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2211 # for backward compatibility:
2212 ac_top_builddir
=$ac_top_build_prefix
2215 .
) # We are building in place.
2217 ac_top_srcdir
=$ac_top_builddir_sub
2218 ac_abs_top_srcdir
=$ac_pwd ;;
2219 [\\/]* | ?
:[\\/]* ) # Absolute name.
2220 ac_srcdir
=$srcdir$ac_dir_suffix;
2221 ac_top_srcdir
=$srcdir
2222 ac_abs_top_srcdir
=$srcdir ;;
2224 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2225 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2226 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2228 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2230 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2231 # Check for guested configure.
2232 if test -f "$ac_srcdir/configure.gnu"; then
2234 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2235 elif test -f "$ac_srcdir/configure"; then
2237 $SHELL "$ac_srcdir/configure" --help=recursive
2239 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2241 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2245 test -n "$ac_init_help" && exit $ac_status
2246 if $ac_init_version; then
2248 Wine configure
1.7.25
2249 generated by GNU Autoconf
2.69
2251 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2252 This configure
script is free software
; the Free Software Foundation
2253 gives unlimited permission to copy
, distribute and modify it.
2258 ## ------------------------ ##
2259 ## Autoconf initialization. ##
2260 ## ------------------------ ##
2262 # ac_fn_c_try_compile LINENO
2263 # --------------------------
2264 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2265 ac_fn_c_try_compile
()
2267 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2268 rm -f conftest.
$ac_objext
2269 if { { ac_try
="$ac_compile"
2271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2272 *) ac_try_echo=$ac_try;;
2274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2275 $as_echo "$ac_try_echo"; } >&5
2276 (eval "$ac_compile") 2>conftest.err
2278 if test -s conftest.err; then
2279 grep -v '^ *+' conftest.err >conftest.er1
2280 cat conftest.er1 >&5
2281 mv -f conftest.er1 conftest.err
2283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2284 test $ac_status = 0; } && {
2285 test -z "$ac_c_werror_flag" ||
2286 test ! -s conftest.err
2287 } && test -s conftest.$ac_objext; then :
2290 $as_echo "$as_me: failed program was:" >&5
2291 sed 's/^/| /' conftest.$ac_ext >&5
2295 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2296 as_fn_set_status $ac_retval
2298 } # ac_fn_c_try_compile
2300 # ac_fn_cxx_try_compile LINENO
2301 # ----------------------------
2302 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2303 ac_fn_cxx_try_compile ()
2305 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2306 rm -f conftest.$ac_objext
2307 if { { ac_try="$ac_compile"
2309 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2310 *) ac_try_echo
=$ac_try;;
2312 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2313 $as_echo "$ac_try_echo"; } >&5
2314 (eval "$ac_compile") 2>conftest.err
2316 if test -s conftest.err
; then
2317 grep -v '^ *+' conftest.err
>conftest.er1
2318 cat conftest.er1
>&5
2319 mv -f conftest.er1 conftest.err
2321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2322 test $ac_status = 0; } && {
2323 test -z "$ac_cxx_werror_flag" ||
2324 test ! -s conftest.err
2325 } && test -s conftest.
$ac_objext; then :
2328 $as_echo "$as_me: failed program was:" >&5
2329 sed 's/^/| /' conftest.
$ac_ext >&5
2333 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2334 as_fn_set_status
$ac_retval
2336 } # ac_fn_cxx_try_compile
2338 # ac_fn_c_try_link LINENO
2339 # -----------------------
2340 # Try to link conftest.$ac_ext, and return whether this succeeded.
2343 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2344 rm -f conftest.
$ac_objext conftest
$ac_exeext
2345 if { { ac_try
="$ac_link"
2347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2348 *) ac_try_echo=$ac_try;;
2350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2351 $as_echo "$ac_try_echo"; } >&5
2352 (eval "$ac_link") 2>conftest.err
2354 if test -s conftest.err; then
2355 grep -v '^ *+' conftest.err >conftest.er1
2356 cat conftest.er1 >&5
2357 mv -f conftest.er1 conftest.err
2359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2360 test $ac_status = 0; } && {
2361 test -z "$ac_c_werror_flag" ||
2362 test ! -s conftest.err
2363 } && test -s conftest$ac_exeext && {
2364 test "$cross_compiling" = yes ||
2365 test -x conftest$ac_exeext
2369 $as_echo "$as_me: failed program was:" >&5
2370 sed 's/^/| /' conftest.$ac_ext >&5
2374 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2375 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2376 # interfere with the next link command; also delete a directory that is
2377 # left behind by Apple's compiler. We do this before executing the actions.
2378 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2379 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2380 as_fn_set_status $ac_retval
2382 } # ac_fn_c_try_link
2384 # ac_fn_c_try_cpp LINENO
2385 # ----------------------
2386 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2389 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2390 if { { ac_try="$ac_cpp conftest.$ac_ext"
2392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2393 *) ac_try_echo
=$ac_try;;
2395 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2396 $as_echo "$ac_try_echo"; } >&5
2397 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2399 if test -s conftest.err
; then
2400 grep -v '^ *+' conftest.err
>conftest.er1
2401 cat conftest.er1
>&5
2402 mv -f conftest.er1 conftest.err
2404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2405 test $ac_status = 0; } > conftest.i
&& {
2406 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2407 test ! -s conftest.err
2411 $as_echo "$as_me: failed program was:" >&5
2412 sed 's/^/| /' conftest.
$ac_ext >&5
2416 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2417 as_fn_set_status
$ac_retval
2421 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2422 # -------------------------------------------------------
2423 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2424 # the include files in INCLUDES and setting the cache variable VAR
2426 ac_fn_c_check_header_mongrel
()
2428 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2429 if eval \
${$3+:} false
; then :
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2431 $as_echo_n "checking for $2... " >&6; }
2432 if eval \
${$3+:} false
; then :
2433 $as_echo_n "(cached) " >&6
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2437 $as_echo "$ac_res" >&6; }
2439 # Is the header compilable?
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2441 $as_echo_n "checking $2 usability... " >&6; }
2442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2443 /* end confdefs.h. */
2447 if ac_fn_c_try_compile
"$LINENO"; then :
2448 ac_header_compiler
=yes
2450 ac_header_compiler
=no
2452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2454 $as_echo "$ac_header_compiler" >&6; }
2456 # Is the header present?
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2458 $as_echo_n "checking $2 presence... " >&6; }
2459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2460 /* end confdefs.h. */
2463 if ac_fn_c_try_cpp
"$LINENO"; then :
2464 ac_header_preproc
=yes
2466 ac_header_preproc
=no
2468 rm -f conftest.err conftest.i conftest.
$ac_ext
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2470 $as_echo "$ac_header_preproc" >&6; }
2472 # So? What about this header?
2473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2476 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2478 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2482 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2484 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2486 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2488 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2490 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2491 ( $as_echo "## ------------------------------------ ##
2492 ## Report this to wine-devel@winehq.org ##
2493 ## ------------------------------------ ##"
2494 ) |
sed "s/^/$as_me: WARNING: /" >&2
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2498 $as_echo_n "checking for $2... " >&6; }
2499 if eval \
${$3+:} false
; then :
2500 $as_echo_n "(cached) " >&6
2502 eval "$3=\$ac_header_compiler"
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2506 $as_echo "$ac_res" >&6; }
2508 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2510 } # ac_fn_c_check_header_mongrel
2512 # ac_fn_c_try_run LINENO
2513 # ----------------------
2514 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2515 # that executables *can* be run.
2518 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2519 if { { ac_try
="$ac_link"
2521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2522 *) ac_try_echo=$ac_try;;
2524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2525 $as_echo "$ac_try_echo"; } >&5
2526 (eval "$ac_link") 2>&5
2528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2529 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2530 { { case "(($ac_try" in
2531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2532 *) ac_try_echo
=$ac_try;;
2534 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2535 $as_echo "$ac_try_echo"; } >&5
2536 (eval "$ac_try") 2>&5
2538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2539 test $ac_status = 0; }; }; then :
2542 $as_echo "$as_me: program exited with status $ac_status" >&5
2543 $as_echo "$as_me: failed program was:" >&5
2544 sed 's/^/| /' conftest.
$ac_ext >&5
2546 ac_retval
=$ac_status
2548 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2549 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2550 as_fn_set_status
$ac_retval
2554 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2555 # -------------------------------------------------------
2556 # Tests whether HEADER exists and can be compiled using the include files in
2557 # INCLUDES, setting the cache variable VAR accordingly.
2558 ac_fn_c_check_header_compile
()
2560 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2562 $as_echo_n "checking for $2... " >&6; }
2563 if eval \
${$3+:} false
; then :
2564 $as_echo_n "(cached) " >&6
2566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2567 /* end confdefs.h. */
2571 if ac_fn_c_try_compile
"$LINENO"; then :
2576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2580 $as_echo "$ac_res" >&6; }
2581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2583 } # ac_fn_c_check_header_compile
2585 # ac_fn_c_check_func LINENO FUNC VAR
2586 # ----------------------------------
2587 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2588 ac_fn_c_check_func
()
2590 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2592 $as_echo_n "checking for $2... " >&6; }
2593 if eval \
${$3+:} false
; then :
2594 $as_echo_n "(cached) " >&6
2596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2597 /* end confdefs.h. */
2598 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2600 #define $2 innocuous_$2
2602 /* System header to define __stub macros and hopefully few prototypes,
2603 which can conflict with char $2 (); below.
2604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2605 <limits.h> exists even on freestanding compilers. */
2608 # include <limits.h>
2610 # include <assert.h>
2615 /* Override any GCC internal prototype to avoid an error.
2616 Use char because int might match the return type of a GCC
2617 builtin and then its argument prototype would still apply. */
2622 /* The GNU C library defines this for functions which it implements
2623 to always fail with ENOSYS. Some functions are actually named
2624 something starting with __ and the normal name is an alias. */
2625 #if defined __stub_$2 || defined __stub___$2
2637 if ac_fn_c_try_link
"$LINENO"; then :
2642 rm -f core conftest.err conftest.
$ac_objext \
2643 conftest
$ac_exeext conftest.
$ac_ext
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2647 $as_echo "$ac_res" >&6; }
2648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2650 } # ac_fn_c_check_func
2652 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2653 # ----------------------------------------------------
2654 # Tries to find if the field MEMBER exists in type AGGR, after including
2655 # INCLUDES, setting cache variable VAR accordingly.
2656 ac_fn_c_check_member
()
2658 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2660 $as_echo_n "checking for $2.$3... " >&6; }
2661 if eval \
${$4+:} false
; then :
2662 $as_echo_n "(cached) " >&6
2664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2665 /* end confdefs.h. */
2677 if ac_fn_c_try_compile
"$LINENO"; then :
2680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2681 /* end confdefs.h. */
2687 if (sizeof ac_aggr.$3)
2693 if ac_fn_c_try_compile
"$LINENO"; then :
2698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2704 $as_echo "$ac_res" >&6; }
2705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2707 } # ac_fn_c_check_member
2709 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2710 # -------------------------------------------
2711 # Tests whether TYPE exists after having included INCLUDES, setting cache
2712 # variable VAR accordingly.
2713 ac_fn_c_check_type
()
2715 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2717 $as_echo_n "checking for $2... " >&6; }
2718 if eval \
${$3+:} false
; then :
2719 $as_echo_n "(cached) " >&6
2722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2723 /* end confdefs.h. */
2734 if ac_fn_c_try_compile
"$LINENO"; then :
2735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2736 /* end confdefs.h. */
2747 if ac_fn_c_try_compile
"$LINENO"; then :
2752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2758 $as_echo "$ac_res" >&6; }
2759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2761 } # ac_fn_c_check_type
2762 cat >config.log
<<_ACEOF
2763 This file contains any messages produced by compilers while
2764 running configure, to aid debugging if configure makes a mistake.
2766 It was created by Wine $as_me 1.7.25, which was
2767 generated by GNU Autoconf 2.69. Invocation command line was
2779 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2780 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2781 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2782 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2783 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2785 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2786 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2788 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2789 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2790 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2791 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2792 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2793 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2794 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2802 test -z "$as_dir" && as_dir
=.
2803 $as_echo "PATH: $as_dir"
2819 # Keep a trace of the command line.
2820 # Strip out --no-create and --no-recursion so they do not pile up.
2821 # Strip out --silent because we don't want to record it for future runs.
2822 # Also quote any args containing shell meta-characters.
2823 # Make two passes to allow for proper duplicate-argument suppression.
2827 ac_must_keep_next
=false
2833 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2834 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2835 |
-silent |
--silent |
--silen |
--sile |
--sil)
2838 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2841 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2843 as_fn_append ac_configure_args1
" '$ac_arg'"
2844 if test $ac_must_keep_next = true
; then
2845 ac_must_keep_next
=false
# Got value, back to normal.
2848 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2849 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2850 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2851 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2852 case "$ac_configure_args0 " in
2853 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2856 -* ) ac_must_keep_next
=true
;;
2859 as_fn_append ac_configure_args
" '$ac_arg'"
2864 { ac_configure_args0
=; unset ac_configure_args0
;}
2865 { ac_configure_args1
=; unset ac_configure_args1
;}
2867 # When interrupted or exit'd, cleanup temporary files, and complete
2868 # config.log. We remove comments because anyway the quotes in there
2869 # would cause problems or look ugly.
2870 # WARNING: Use '\'' to represent an apostrophe within the trap.
2871 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2872 trap 'exit_status=$?
2873 # Save into config.log some information that might help in debugging.
2877 $as_echo "## ---------------- ##
2878 ## Cache variables. ##
2879 ## ---------------- ##"
2881 # The following way of writing the cache mishandles newlines in values,
2883 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2884 eval ac_val=\$$ac_var
2888 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2889 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2892 _ | IFS | as_nl) ;; #(
2893 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2894 *) { eval $ac_var=; unset $ac_var;} ;;
2899 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2900 *${as_nl}ac_space=\ *)
2902 "s/'\''/'\''\\\\'\'''\''/g;
2903 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2906 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2913 $as_echo "## ----------------- ##
2914 ## Output variables. ##
2915 ## ----------------- ##"
2917 for ac_var in $ac_subst_vars
2919 eval ac_val=\$$ac_var
2921 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2923 $as_echo "$ac_var='\''$ac_val'\''"
2927 if test -n "$ac_subst_files"; then
2928 $as_echo "## ------------------- ##
2929 ## File substitutions. ##
2930 ## ------------------- ##"
2932 for ac_var
in $ac_subst_files
2934 eval ac_val
=\$
$ac_var
2936 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2938 $as_echo "$ac_var='\''$ac_val'\''"
2943 if test -s confdefs.h; then
2944 $as_echo "## ----------- ##
2951 test "$ac_signal" != 0 &&
2952 $as_echo "$as_me: caught signal $ac_signal"
2953 $as_echo "$as_me: exit $exit_status"
2955 rm -f core *.core core.conftest.* &&
2956 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2959 for ac_signal
in 1 2 13 15; do
2960 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2964 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2965 rm -f -r conftest
* confdefs.h
2967 $as_echo "/* confdefs.h */" > confdefs.h
2969 # Predefined preprocessor variables.
2971 cat >>confdefs.h
<<_ACEOF
2972 #define PACKAGE_NAME "$PACKAGE_NAME"
2975 cat >>confdefs.h
<<_ACEOF
2976 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2979 cat >>confdefs.h
<<_ACEOF
2980 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2983 cat >>confdefs.h
<<_ACEOF
2984 #define PACKAGE_STRING "$PACKAGE_STRING"
2987 cat >>confdefs.h
<<_ACEOF
2988 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2991 cat >>confdefs.h
<<_ACEOF
2992 #define PACKAGE_URL "$PACKAGE_URL"
2996 # Let the site file select an alternate cache file if it wants to.
2997 # Prefer an explicitly selected file to automatically selected ones.
3000 if test -n "$CONFIG_SITE"; then
3001 # We do not want a PATH search for config.site.
3002 case $CONFIG_SITE in #((
3003 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3004 */*) ac_site_file1
=$CONFIG_SITE;;
3005 *) ac_site_file1
=.
/$CONFIG_SITE;;
3007 elif test "x$prefix" != xNONE
; then
3008 ac_site_file1
=$prefix/share
/config.site
3009 ac_site_file2
=$prefix/etc
/config.site
3011 ac_site_file1
=$ac_default_prefix/share
/config.site
3012 ac_site_file2
=$ac_default_prefix/etc
/config.site
3014 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3016 test "x$ac_site_file" = xNONE
&& continue
3017 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3019 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3020 sed 's/^/| /' "$ac_site_file" >&5
3022 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3024 as_fn_error $?
"failed to load site script $ac_site_file
3025 See \`config.log' for more details" "$LINENO" 5; }
3029 if test -r "$cache_file"; then
3030 # Some versions of bash will fail to source /dev/null (special files
3031 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3032 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3034 $as_echo "$as_me: loading cache $cache_file" >&6;}
3036 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3037 *) .
"./$cache_file";;
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3042 $as_echo "$as_me: creating cache $cache_file" >&6;}
3046 # Check that the precious variables saved in the cache have kept the same
3048 ac_cache_corrupted
=false
3049 for ac_var
in $ac_precious_vars; do
3050 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3051 eval ac_new_set
=\
$ac_env_${ac_var}_set
3052 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3053 eval ac_new_val
=\
$ac_env_${ac_var}_value
3054 case $ac_old_set,$ac_new_set in
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3057 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3058 ac_cache_corrupted
=: ;;
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3061 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3062 ac_cache_corrupted
=: ;;
3065 if test "x$ac_old_val" != "x$ac_new_val"; then
3066 # differences in whitespace do not lead to failure.
3067 ac_old_val_w
=`echo x $ac_old_val`
3068 ac_new_val_w
=`echo x $ac_new_val`
3069 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3071 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3072 ac_cache_corrupted
=:
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3075 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3076 eval $ac_var=\
$ac_old_val
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3079 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3081 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3084 # Pass precious variables to config.status.
3085 if test "$ac_new_set" = set; then
3087 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3088 *) ac_arg
=$ac_var=$ac_new_val ;;
3090 case " $ac_configure_args " in
3091 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3092 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3096 if $ac_cache_corrupted; then
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3100 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3101 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3103 ## -------------------- ##
3104 ## Main body of script. ##
3105 ## -------------------- ##
3108 ac_cpp
='$CPP $CPPFLAGS'
3109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3115 ac_config_headers
="$ac_config_headers include/config.h"
3118 for ac_dir
in tools
"$srcdir"/tools
; do
3119 if test -f "$ac_dir/install-sh"; then
3121 ac_install_sh
="$ac_aux_dir/install-sh -c"
3123 elif test -f "$ac_dir/install.sh"; then
3125 ac_install_sh
="$ac_aux_dir/install.sh -c"
3127 elif test -f "$ac_dir/shtool"; then
3129 ac_install_sh
="$ac_aux_dir/shtool install -c"
3133 if test -z "$ac_aux_dir"; then
3134 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3137 # These three variables are undocumented and unsupported,
3138 # and are intended to be withdrawn in a future Autoconf release.
3139 # They can cause serious problems if a builder's source tree is in a directory
3140 # whose full name contains unusual characters.
3141 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3142 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3143 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3147 libwine_version
="1.0"
3151 # Check whether --enable-win16 was given.
3152 if test "${enable_win16+set}" = set; then :
3153 enableval
=$enable_win16;
3156 # Check whether --enable-win64 was given.
3157 if test "${enable_win64+set}" = set; then :
3158 enableval
=$enable_win64;
3161 # Check whether --enable-tests was given.
3162 if test "${enable_tests+set}" = set; then :
3163 enableval
=$enable_tests;
3166 # Check whether --enable-maintainer-mode was given.
3167 if test "${enable_maintainer_mode+set}" = set; then :
3168 enableval
=$enable_maintainer_mode;
3173 # Check whether --with-alsa was given.
3174 if test "${with_alsa+set}" = set; then :
3175 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3179 # Check whether --with-capi was given.
3180 if test "${with_capi+set}" = set; then :
3185 # Check whether --with-cms was given.
3186 if test "${with_cms+set}" = set; then :
3191 # Check whether --with-coreaudio was given.
3192 if test "${with_coreaudio+set}" = set; then :
3193 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3197 # Check whether --with-cups was given.
3198 if test "${with_cups+set}" = set; then :
3203 # Check whether --with-curses was given.
3204 if test "${with_curses+set}" = set; then :
3205 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3209 # Check whether --with-dbus was given.
3210 if test "${with_dbus+set}" = set; then :
3215 # Check whether --with-fontconfig was given.
3216 if test "${with_fontconfig+set}" = set; then :
3217 withval
=$with_fontconfig;
3221 # Check whether --with-freetype was given.
3222 if test "${with_freetype+set}" = set; then :
3223 withval
=$with_freetype;
3227 # Check whether --with-gettext was given.
3228 if test "${with_gettext+set}" = set; then :
3229 withval
=$with_gettext;
3233 # Check whether --with-gettextpo was given.
3234 if test "${with_gettextpo+set}" = set; then :
3235 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3239 # Check whether --with-gphoto was given.
3240 if test "${with_gphoto+set}" = set; then :
3241 withval
=$with_gphoto;
3245 # Check whether --with-glu was given.
3246 if test "${with_glu+set}" = set; then :
3251 # Check whether --with-gnutls was given.
3252 if test "${with_gnutls+set}" = set; then :
3253 withval
=$with_gnutls;
3257 # Check whether --with-gsm was given.
3258 if test "${with_gsm+set}" = set; then :
3259 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3263 # Check whether --with-gstreamer was given.
3264 if test "${with_gstreamer+set}" = set; then :
3265 withval
=$with_gstreamer;
3269 # Check whether --with-hal was given.
3270 if test "${with_hal+set}" = set; then :
3275 # Check whether --with-jpeg was given.
3276 if test "${with_jpeg+set}" = set; then :
3281 # Check whether --with-ldap was given.
3282 if test "${with_ldap+set}" = set; then :
3283 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3287 # Check whether --with-mpg123 was given.
3288 if test "${with_mpg123+set}" = set; then :
3289 withval
=$with_mpg123;
3293 # Check whether --with-netapi was given.
3294 if test "${with_netapi+set}" = set; then :
3295 withval
=$with_netapi;
3299 # Check whether --with-openal was given.
3300 if test "${with_openal+set}" = set; then :
3301 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3305 # Check whether --with-opencl was given.
3306 if test "${with_opencl+set}" = set; then :
3307 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3311 # Check whether --with-opengl was given.
3312 if test "${with_opengl+set}" = set; then :
3313 withval
=$with_opengl;
3317 # Check whether --with-osmesa was given.
3318 if test "${with_osmesa+set}" = set; then :
3319 withval
=$with_osmesa;
3323 # Check whether --with-oss was given.
3324 if test "${with_oss+set}" = set; then :
3329 # Check whether --with-pcap was given.
3330 if test "${with_pcap+set}" = set; then :
3331 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3335 # Check whether --with-png was given.
3336 if test "${with_png+set}" = set; then :
3341 # Check whether --with-pthread was given.
3342 if test "${with_pthread+set}" = set; then :
3343 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3347 # Check whether --with-sane was given.
3348 if test "${with_sane+set}" = set; then :
3353 # Check whether --with-tiff was given.
3354 if test "${with_tiff+set}" = set; then :
3359 # Check whether --with-v4l was given.
3360 if test "${with_v4l+set}" = set; then :
3365 # Check whether --with-xcomposite was given.
3366 if test "${with_xcomposite+set}" = set; then :
3367 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3371 # Check whether --with-xcursor was given.
3372 if test "${with_xcursor+set}" = set; then :
3373 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3377 # Check whether --with-xinerama was given.
3378 if test "${with_xinerama+set}" = set; then :
3379 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3383 # Check whether --with-xinput was given.
3384 if test "${with_xinput+set}" = set; then :
3385 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3389 # Check whether --with-xinput2 was given.
3390 if test "${with_xinput2+set}" = set; then :
3391 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3395 # Check whether --with-xml was given.
3396 if test "${with_xml+set}" = set; then :
3401 # Check whether --with-xrandr was given.
3402 if test "${with_xrandr+set}" = set; then :
3403 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3407 # Check whether --with-xrender was given.
3408 if test "${with_xrender+set}" = set; then :
3409 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3413 # Check whether --with-xshape was given.
3414 if test "${with_xshape+set}" = set; then :
3415 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3419 # Check whether --with-xshm was given.
3420 if test "${with_xshm+set}" = set; then :
3421 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3425 # Check whether --with-xslt was given.
3426 if test "${with_xslt+set}" = set; then :
3431 # Check whether --with-xxf86vm was given.
3432 if test "${with_xxf86vm+set}" = set; then :
3433 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
3437 # Check whether --with-zlib was given.
3438 if test "${with_zlib+set}" = set; then :
3439 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3444 # Check whether --with-wine-tools was given.
3445 if test "${with_wine_tools+set}" = set; then :
3446 withval
=$with_wine_tools;
3450 # Check whether --with-wine64 was given.
3451 if test "${with_wine64+set}" = set; then :
3452 withval
=$with_wine64;
3456 # Make sure we can run config.sub.
3457 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3458 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3461 $as_echo_n "checking build system type... " >&6; }
3462 if ${ac_cv_build+:} false
; then :
3463 $as_echo_n "(cached) " >&6
3465 ac_build_alias
=$build_alias
3466 test "x$ac_build_alias" = x
&&
3467 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3468 test "x$ac_build_alias" = x
&&
3469 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3470 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3471 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3475 $as_echo "$ac_cv_build" >&6; }
3476 case $ac_cv_build in
3478 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3481 ac_save_IFS
=$IFS; IFS
='-'
3487 # Remember, the first character of IFS is used to create $*,
3488 # except with old shells:
3491 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3495 $as_echo_n "checking host system type... " >&6; }
3496 if ${ac_cv_host+:} false
; then :
3497 $as_echo_n "(cached) " >&6
3499 if test "x$host_alias" = x
; then
3500 ac_cv_host
=$ac_cv_build
3502 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3503 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3508 $as_echo "$ac_cv_host" >&6; }
3511 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3514 ac_save_IFS
=$IFS; IFS
='-'
3520 # Remember, the first character of IFS is used to create $*,
3521 # except with old shells:
3524 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3530 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3531 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3532 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3538 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3540 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3541 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3542 $as_echo_n "(cached) " >&6
3544 cat >conftest.
make <<\_ACEOF
3547 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3549 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3550 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3552 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3554 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3558 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3560 $as_echo "yes" >&6; }
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3564 $as_echo "no" >&6; }
3565 SET_MAKE
="MAKE=${MAKE-make}"
3569 ac_cpp
='$CPP $CPPFLAGS'
3570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3573 if test -n "$ac_tool_prefix"; then
3574 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3575 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3577 $as_echo_n "checking for $ac_word... " >&6; }
3578 if ${ac_cv_prog_CC+:} false
; then :
3579 $as_echo_n "(cached) " >&6
3581 if test -n "$CC"; then
3582 ac_cv_prog_CC
="$CC" # Let the user override the test.
3584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3588 test -z "$as_dir" && as_dir
=.
3589 for ac_exec_ext
in '' $ac_executable_extensions; do
3590 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3591 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3602 if test -n "$CC"; then
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3604 $as_echo "$CC" >&6; }
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607 $as_echo "no" >&6; }
3612 if test -z "$ac_cv_prog_CC"; then
3614 # Extract the first word of "gcc", so it can be a program name with args.
3615 set dummy gcc
; ac_word
=$2
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3617 $as_echo_n "checking for $ac_word... " >&6; }
3618 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3619 $as_echo_n "(cached) " >&6
3621 if test -n "$ac_ct_CC"; then
3622 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3628 test -z "$as_dir" && as_dir
=.
3629 for ac_exec_ext
in '' $ac_executable_extensions; do
3630 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3631 ac_cv_prog_ac_ct_CC
="gcc"
3632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3642 if test -n "$ac_ct_CC"; then
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3644 $as_echo "$ac_ct_CC" >&6; }
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3647 $as_echo "no" >&6; }
3650 if test "x$ac_ct_CC" = x
; then
3653 case $cross_compiling:$ac_tool_warned in
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3657 ac_tool_warned
=yes ;;
3665 if test -z "$CC"; then
3666 if test -n "$ac_tool_prefix"; then
3667 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3668 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3670 $as_echo_n "checking for $ac_word... " >&6; }
3671 if ${ac_cv_prog_CC+:} false
; then :
3672 $as_echo_n "(cached) " >&6
3674 if test -n "$CC"; then
3675 ac_cv_prog_CC
="$CC" # Let the user override the test.
3677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3681 test -z "$as_dir" && as_dir
=.
3682 for ac_exec_ext
in '' $ac_executable_extensions; do
3683 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3684 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3695 if test -n "$CC"; then
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3697 $as_echo "$CC" >&6; }
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3700 $as_echo "no" >&6; }
3706 if test -z "$CC"; then
3707 # Extract the first word of "cc", so it can be a program name with args.
3708 set dummy cc
; ac_word
=$2
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if ${ac_cv_prog_CC+:} false
; then :
3712 $as_echo_n "(cached) " >&6
3714 if test -n "$CC"; then
3715 ac_cv_prog_CC
="$CC" # Let the user override the test.
3718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3722 test -z "$as_dir" && as_dir
=.
3723 for ac_exec_ext
in '' $ac_executable_extensions; do
3724 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3725 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3726 ac_prog_rejected
=yes
3730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3737 if test $ac_prog_rejected = yes; then
3738 # We found a bogon in the path, so make sure we never use it.
3739 set dummy
$ac_cv_prog_CC
3741 if test $# != 0; then
3742 # We chose a different compiler from the bogus one.
3743 # However, it has the same basename, so the bogon will be chosen
3744 # first if we set CC to just the basename; use the full file name.
3746 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3752 if test -n "$CC"; then
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3754 $as_echo "$CC" >&6; }
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757 $as_echo "no" >&6; }
3762 if test -z "$CC"; then
3763 if test -n "$ac_tool_prefix"; then
3764 for ac_prog
in cl.exe
3766 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3767 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769 $as_echo_n "checking for $ac_word... " >&6; }
3770 if ${ac_cv_prog_CC+:} false
; then :
3771 $as_echo_n "(cached) " >&6
3773 if test -n "$CC"; then
3774 ac_cv_prog_CC
="$CC" # Let the user override the test.
3776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3780 test -z "$as_dir" && as_dir
=.
3781 for ac_exec_ext
in '' $ac_executable_extensions; do
3782 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3783 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794 if test -n "$CC"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3796 $as_echo "$CC" >&6; }
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3803 test -n "$CC" && break
3806 if test -z "$CC"; then
3808 for ac_prog
in cl.exe
3810 # Extract the first word of "$ac_prog", so it can be a program name with args.
3811 set dummy
$ac_prog; ac_word
=$2
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813 $as_echo_n "checking for $ac_word... " >&6; }
3814 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3815 $as_echo_n "(cached) " >&6
3817 if test -n "$ac_ct_CC"; then
3818 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3824 test -z "$as_dir" && as_dir
=.
3825 for ac_exec_ext
in '' $ac_executable_extensions; do
3826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3827 ac_cv_prog_ac_ct_CC
="$ac_prog"
3828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3837 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3838 if test -n "$ac_ct_CC"; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3840 $as_echo "$ac_ct_CC" >&6; }
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3847 test -n "$ac_ct_CC" && break
3850 if test "x$ac_ct_CC" = x
; then
3853 case $cross_compiling:$ac_tool_warned in
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3857 ac_tool_warned
=yes ;;
3866 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3868 as_fn_error $?
"no acceptable C compiler found in \$PATH
3869 See \`config.log' for more details" "$LINENO" 5; }
3871 # Provide some information about the compiler.
3872 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3875 for ac_option
in --version -v -V -qversion; do
3876 { { ac_try
="$ac_compiler $ac_option >&5"
3878 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3879 *) ac_try_echo=$ac_try;;
3881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3882 $as_echo "$ac_try_echo"; } >&5
3883 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3885 if test -s conftest.err; then
3887 ... rest of stderr output deleted ...
3888 10q' conftest.err >conftest.er1
3889 cat conftest.er1 >&5
3891 rm -f conftest.er1 conftest.err
3892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3893 test $ac_status = 0; }
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3907 ac_clean_files_save=$ac_clean_files
3908 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3909 # Try to create an executable without -o first, disregard a.out.
3910 # It will help us diagnose broken compilers, and finding out an intuition
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3913 $as_echo_n "checking whether the C compiler works... " >&6; }
3914 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3916 # The possible output files:
3917 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3920 for ac_file in $ac_files
3923 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3924 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3929 if { { ac_try="$ac_link_default"
3931 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3932 *) ac_try_echo
=$ac_try;;
3934 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3935 $as_echo "$ac_try_echo"; } >&5
3936 (eval "$ac_link_default") 2>&5
3938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3939 test $ac_status = 0; }; then :
3940 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3941 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3942 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3943 # so that the user can short-circuit this test for compilers unknown to
3945 for ac_file
in $ac_files ''
3947 test -f "$ac_file" ||
continue
3949 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3952 # We found the default executable, but exeext='' is most
3956 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3958 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3960 # We set ac_cv_exeext here because the later test for it is not
3961 # safe: cross compilers may not add the suffix if given an `-o'
3962 # argument, so we may need to know it at that point already.
3963 # Even if this section looks crufty: it has the advantage of
3970 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3975 if test -z "$ac_file"; then :
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977 $as_echo "no" >&6; }
3978 $as_echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.
$ac_ext >&5
3981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3983 as_fn_error
77 "C compiler cannot create executables
3984 See \`config.log' for more details" "$LINENO" 5; }
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3987 $as_echo "yes" >&6; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3990 $as_echo_n "checking for C compiler default output file name... " >&6; }
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3992 $as_echo "$ac_file" >&6; }
3993 ac_exeext
=$ac_cv_exeext
3995 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3996 ac_clean_files
=$ac_clean_files_save
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3998 $as_echo_n "checking for suffix of executables... " >&6; }
3999 if { { ac_try
="$ac_link"
4001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4005 $as_echo "$ac_try_echo"; } >&5
4006 (eval "$ac_link") 2>&5
4008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4009 test $ac_status = 0; }; then :
4010 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4011 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4012 # work properly (i.e., refer to `conftest.exe'), while it won't with
4014 for ac_file
in conftest.exe conftest conftest.
*; do
4015 test -f "$ac_file" ||
continue
4017 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4018 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4024 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4026 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4027 See \`config.log' for more details" "$LINENO" 5; }
4029 rm -f conftest conftest
$ac_cv_exeext
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4031 $as_echo "$ac_cv_exeext" >&6; }
4033 rm -f conftest.
$ac_ext
4034 EXEEXT
=$ac_cv_exeext
4036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4042 FILE *f = fopen ("conftest.out", "w");
4043 return ferror (f) || fclose (f) != 0;
4049 ac_clean_files
="$ac_clean_files conftest.out"
4050 # Check that the compiler produces executables we can run. If not, either
4051 # the compiler is broken, or we cross compile.
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4053 $as_echo_n "checking whether we are cross compiling... " >&6; }
4054 if test "$cross_compiling" != yes; then
4055 { { ac_try
="$ac_link"
4057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4058 *) ac_try_echo=$ac_try;;
4060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4061 $as_echo "$ac_try_echo"; } >&5
4062 (eval "$ac_link") 2>&5
4064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4065 test $ac_status = 0; }
4066 if { ac_try='./conftest$ac_cv_exeext'
4067 { { case "(($ac_try" in
4068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4069 *) ac_try_echo
=$ac_try;;
4071 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4072 $as_echo "$ac_try_echo"; } >&5
4073 (eval "$ac_try") 2>&5
4075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4076 test $ac_status = 0; }; }; then
4079 if test "$cross_compiling" = maybe
; then
4082 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4084 as_fn_error $?
"cannot run C compiled programs.
4085 If you meant to cross compile, use \`--host'.
4086 See \`config.log' for more details" "$LINENO" 5; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4091 $as_echo "$cross_compiling" >&6; }
4093 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4094 ac_clean_files
=$ac_clean_files_save
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4096 $as_echo_n "checking for suffix of object files... " >&6; }
4097 if ${ac_cv_objext+:} false
; then :
4098 $as_echo_n "(cached) " >&6
4100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4101 /* end confdefs.h. */
4111 rm -f conftest.o conftest.obj
4112 if { { ac_try
="$ac_compile"
4114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4115 *) ac_try_echo=$ac_try;;
4117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4118 $as_echo "$ac_try_echo"; } >&5
4119 (eval "$ac_compile") 2>&5
4121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4122 test $ac_status = 0; }; then :
4123 for ac_file in conftest.o conftest.obj conftest.*; do
4124 test -f "$ac_file" || continue;
4126 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4127 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4132 $as_echo "$as_me: failed program was:" >&5
4133 sed 's/^/| /' conftest.$ac_ext >&5
4135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4137 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4138 See \
`config.log' for more details" "$LINENO" 5; }
4140 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4143 $as_echo "$ac_cv_objext" >&6; }
4144 OBJEXT=$ac_cv_objext
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4147 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4148 if ${ac_cv_c_compiler_gnu+:} false; then :
4149 $as_echo_n "(cached) " >&6
4151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h. */
4165 if ac_fn_c_try_compile "$LINENO"; then :
4170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4171 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4175 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4176 if test $ac_compiler_gnu = yes; then
4181 ac_test_CFLAGS=${CFLAGS+set}
4182 ac_save_CFLAGS=$CFLAGS
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4184 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4185 if ${ac_cv_prog_cc_g+:} false; then :
4186 $as_echo_n "(cached) " >&6
4188 ac_save_c_werror_flag=$ac_c_werror_flag
4189 ac_c_werror_flag=yes
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4203 if ac_fn_c_try_compile "$LINENO"; then :
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4218 if ac_fn_c_try_compile "$LINENO"; then :
4221 ac_c_werror_flag=$ac_save_c_werror_flag
4223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4224 /* end confdefs.h. */
4234 if ac_fn_c_try_compile "$LINENO"; then :
4237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 ac_c_werror_flag=$ac_save_c_werror_flag
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4245 $as_echo "$ac_cv_prog_cc_g" >&6; }
4246 if test "$ac_test_CFLAGS" = set; then
4247 CFLAGS=$ac_save_CFLAGS
4248 elif test $ac_cv_prog_cc_g = yes; then
4249 if test "$GCC" = yes; then
4255 if test "$GCC" = yes; then
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4262 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4263 if ${ac_cv_prog_cc_c89+:} false; then :
4264 $as_echo_n "(cached) " >&6
4266 ac_cv_prog_cc_c89=no
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4273 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4274 struct buf { int x; };
4275 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4276 static char *e (p, i)
4282 static char *f (char * (*g) (char **, int), char **p, ...)
4287 s = g (p, va_arg (v,int));
4292 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4293 function prototypes and stuff, but not '\xHH' hex character constants.
4294 These don't provoke an error unfortunately, instead are silently treated
4295 as 'x'. The following induces an error, until -std is added to get
4296 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4297 array size at least. It's necessary to write '\x00'==0 to get something
4298 that's true only with -std. */
4299 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4301 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4302 inside strings and character constants. */
4304 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4306 int test (int i, double x);
4307 struct s1 {int (*f) (int a);};
4308 struct s2 {int (*f) (double a);};
4309 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4315 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4320 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4321 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4323 CC="$ac_save_CC $ac_arg"
4324 if ac_fn_c_try_compile "$LINENO"; then :
4325 ac_cv_prog_cc_c89=$ac_arg
4327 rm -f core conftest.err conftest.$ac_objext
4328 test "x$ac_cv_prog_cc_c89" != "xno" && break
4330 rm -f conftest.$ac_ext
4335 case "x$ac_cv_prog_cc_c89" in
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4338 $as_echo "none needed" >&6; } ;;
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4341 $as_echo "unsupported" >&6; } ;;
4343 CC="$CC $ac_cv_prog_cc_c89"
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4345 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4347 if test "x$ac_cv_prog_cc_c89" != xno; then :
4352 ac_cpp='$CPP $CPPFLAGS'
4353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4358 ac_cpp='$CXXCPP $CPPFLAGS'
4359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4362 if test -z "$CXX"; then
4363 if test -n "$CCC"; then
4366 if test -n "$ac_tool_prefix"; then
4367 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4372 $as_echo_n "checking for $ac_word... " >&6; }
4373 if ${ac_cv_prog_CXX+:} false; then :
4374 $as_echo_n "(cached) " >&6
4376 if test -n "$CXX"; then
4377 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4383 test -z "$as_dir" && as_dir=.
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4386 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4397 if test -n "$CXX"; then
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4399 $as_echo "$CXX" >&6; }
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4402 $as_echo "no" >&6; }
4406 test -n "$CXX" && break
4409 if test -z "$CXX"; then
4411 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4413 # Extract the first word of "$ac_prog", so it can be a program name with args.
4414 set dummy $ac_prog; ac_word=$2
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4416 $as_echo_n "checking for $ac_word... " >&6; }
4417 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4418 $as_echo_n "(cached) " >&6
4420 if test -n "$ac_ct_CXX"; then
4421 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4427 test -z "$as_dir" && as_dir=.
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4430 ac_cv_prog_ac_ct_CXX="$ac_prog"
4431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4441 if test -n "$ac_ct_CXX"; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4443 $as_echo "$ac_ct_CXX" >&6; }
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 $as_echo "no" >&6; }
4450 test -n "$ac_ct_CXX" && break
4453 if test "x$ac_ct_CXX" = x; then
4456 case $cross_compiling:$ac_tool_warned in
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4460 ac_tool_warned=yes ;;
4468 # Provide some information about the compiler.
4469 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4472 for ac_option in --version -v -V -qversion; do
4473 { { ac_try="$ac_compiler $ac_option >&5"
4475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4476 *) ac_try_echo
=$ac_try;;
4478 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4479 $as_echo "$ac_try_echo"; } >&5
4480 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4482 if test -s conftest.err
; then
4484 ... rest of stderr output deleted ...
4485 10q' conftest.err
>conftest.er1
4486 cat conftest.er1
>&5
4488 rm -f conftest.er1 conftest.err
4489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4490 test $ac_status = 0; }
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4494 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4495 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4496 $as_echo_n "(cached) " >&6
4498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h. */
4512 if ac_fn_cxx_try_compile
"$LINENO"; then :
4517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4518 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4522 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4523 if test $ac_compiler_gnu = yes; then
4528 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4529 ac_save_CXXFLAGS
=$CXXFLAGS
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4531 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4532 if ${ac_cv_prog_cxx_g+:} false
; then :
4533 $as_echo_n "(cached) " >&6
4535 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4536 ac_cxx_werror_flag
=yes
4539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4550 if ac_fn_cxx_try_compile
"$LINENO"; then :
4551 ac_cv_prog_cxx_g
=yes
4554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4565 if ac_fn_cxx_try_compile
"$LINENO"; then :
4568 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4581 if ac_fn_cxx_try_compile
"$LINENO"; then :
4582 ac_cv_prog_cxx_g
=yes
4584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4589 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4592 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4593 if test "$ac_test_CXXFLAGS" = set; then
4594 CXXFLAGS
=$ac_save_CXXFLAGS
4595 elif test $ac_cv_prog_cxx_g = yes; then
4596 if test "$GXX" = yes; then
4602 if test "$GXX" = yes; then
4609 ac_cpp
='$CPP $CPPFLAGS'
4610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4614 if test -n "$ac_tool_prefix"; then
4615 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4616 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4618 $as_echo_n "checking for $ac_word... " >&6; }
4619 if ${ac_cv_prog_CPPBIN+:} false
; then :
4620 $as_echo_n "(cached) " >&6
4622 if test -n "$CPPBIN"; then
4623 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4629 test -z "$as_dir" && as_dir
=.
4630 for ac_exec_ext
in '' $ac_executable_extensions; do
4631 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4632 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4642 CPPBIN
=$ac_cv_prog_CPPBIN
4643 if test -n "$CPPBIN"; then
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4645 $as_echo "$CPPBIN" >&6; }
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4648 $as_echo "no" >&6; }
4653 if test -z "$ac_cv_prog_CPPBIN"; then
4654 ac_ct_CPPBIN
=$CPPBIN
4655 # Extract the first word of "cpp", so it can be a program name with args.
4656 set dummy cpp
; ac_word
=$2
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4658 $as_echo_n "checking for $ac_word... " >&6; }
4659 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4660 $as_echo_n "(cached) " >&6
4662 if test -n "$ac_ct_CPPBIN"; then
4663 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4669 test -z "$as_dir" && as_dir
=.
4670 for ac_exec_ext
in '' $ac_executable_extensions; do
4671 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4672 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4682 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4683 if test -n "$ac_ct_CPPBIN"; then
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4685 $as_echo "$ac_ct_CPPBIN" >&6; }
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4688 $as_echo "no" >&6; }
4691 if test "x$ac_ct_CPPBIN" = x
; then
4694 case $cross_compiling:$ac_tool_warned in
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4698 ac_tool_warned
=yes ;;
4700 CPPBIN
=$ac_ct_CPPBIN
4703 CPPBIN
="$ac_cv_prog_CPPBIN"
4707 cat >>confdefs.h
<<_ACEOF
4708 #define EXEEXT "$ac_exeext"
4714 if test "x$enable_win64" = "xyes"
4719 notice_platform
="64-bit "
4726 notice_platform
="32-bit "
4729 enable_win16
=${enable_win16:-yes}
4731 with_fontconfig
=${with_fontconfig:-no}
4734 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4739 $as_echo_n "checking whether $CC works... " >&6; }
4741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4752 if ac_fn_c_try_link
"$LINENO"; then :
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4754 $as_echo "yes" >&6; }
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4757 $as_echo "no" >&6; }
4758 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4760 rm -f core conftest.err conftest.
$ac_objext \
4761 conftest
$ac_exeext conftest.
$ac_ext
4763 notice_platform
="32-bit "
4766 enable_win16
=${enable_win16:-yes}
4768 if test "x${GCC}" = "xyes"
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4771 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4778 void func(__builtin_ms_va_list *args);
4783 if ac_fn_c_try_compile
"$LINENO"; then :
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4785 $as_echo "yes" >&6; }
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4788 $as_echo "no" >&6; }
4789 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4799 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4802 int ac_test(int i) { return i; }
4806 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4811 if ac_fn_c_try_link
"$LINENO"; then :
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4813 $as_echo "yes" >&6; }
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 $as_echo "no" >&6; }
4817 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4819 rm -f core conftest.err conftest.
$ac_objext \
4820 conftest
$ac_exeext conftest.
$ac_ext
4821 CFLAGS
="$CFLAGS -marm"
4825 *-mingw32*|
*-cygwin*)
4826 enable_win16
=${enable_win16:-no}
4827 CFLAGS
="$CFLAGS -D_WIN32"
4830 enable_win16
=${enable_win16:-yes}
4834 enable_win16
=${enable_win16:-no}
4835 enable_win64
=${enable_win64:-no}
4837 enable_winetest
=${enable_winetest:-$enable_tests}
4839 if test -n "$with_wine64"
4841 if test "x$enable_win64" = "xyes"
4843 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4844 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4846 enable_fonts
=${enable_fonts:-no}
4847 enable_server
=${enable_server:-no}
4848 elif test "x$enable_win64" = "xyes"
4850 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4854 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4855 if ${wine_cv_toolsdir+:} false
; then :
4856 $as_echo_n "(cached) " >&6
4858 wine_cv_toolsdir
="$with_wine_tools"
4859 if test -z "$with_wine_tools"; then
4860 if test "$cross_compiling" = "yes"; then
4861 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4862 elif test -n "$with_wine64"; then
4863 wine_cv_toolsdir
="$with_wine64"
4866 if test -z "$wine_cv_toolsdir"; then
4867 wine_makedep
=tools
/makedep
4868 wine_cv_toolsdir
="\$(top_builddir)"
4869 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4870 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4871 case "$wine_cv_toolsdir" in
4873 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4875 enable_tools
=${enable_tools:-no}
4876 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4878 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4882 $as_echo "$wine_cv_toolsdir" >&6; }
4883 TOOLSDIR
=$wine_cv_toolsdir
4885 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4887 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4893 # Extract the first word of "$ac_prog", so it can be a program name with args.
4894 set dummy
$ac_prog; ac_word
=$2
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896 $as_echo_n "checking for $ac_word... " >&6; }
4897 if ${ac_cv_prog_FLEX+:} false
; then :
4898 $as_echo_n "(cached) " >&6
4900 if test -n "$FLEX"; then
4901 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4907 test -z "$as_dir" && as_dir
=.
4908 for ac_exec_ext
in '' $ac_executable_extensions; do
4909 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4910 ac_cv_prog_FLEX
="$ac_prog"
4911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4920 FLEX
=$ac_cv_prog_FLEX
4921 if test -n "$FLEX"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4923 $as_echo "$FLEX" >&6; }
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4930 test -n "$FLEX" && break
4932 test -n "$FLEX" || FLEX
="none"
4934 if test "$FLEX" = "none"
4936 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4939 $as_echo_n "checking whether flex is recent enough... " >&6; }
4940 cat >conftest.l
<<EOF
4942 #include "prediluvian.h"
4946 if $FLEX -t conftest.l
>/dev
/null
2>&5
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4949 $as_echo "yes" >&6; }
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4953 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4956 for ac_prog
in bison
4958 # Extract the first word of "$ac_prog", so it can be a program name with args.
4959 set dummy
$ac_prog; ac_word
=$2
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4961 $as_echo_n "checking for $ac_word... " >&6; }
4962 if ${ac_cv_prog_BISON+:} false
; then :
4963 $as_echo_n "(cached) " >&6
4965 if test -n "$BISON"; then
4966 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4972 test -z "$as_dir" && as_dir
=.
4973 for ac_exec_ext
in '' $ac_executable_extensions; do
4974 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4975 ac_cv_prog_BISON
="$ac_prog"
4976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4985 BISON
=$ac_cv_prog_BISON
4986 if test -n "$BISON"; then
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4988 $as_echo "$BISON" >&6; }
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4991 $as_echo "no" >&6; }
4995 test -n "$BISON" && break
4997 test -n "$BISON" || BISON
="none"
4999 if test "$BISON" = "none"
5001 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5004 if test -n "$ac_tool_prefix"; then
5005 for ac_prog
in ar gar
5007 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5008 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5010 $as_echo_n "checking for $ac_word... " >&6; }
5011 if ${ac_cv_prog_AR+:} false
; then :
5012 $as_echo_n "(cached) " >&6
5014 if test -n "$AR"; then
5015 ac_cv_prog_AR
="$AR" # Let the user override the test.
5017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5021 test -z "$as_dir" && as_dir
=.
5022 for ac_exec_ext
in '' $ac_executable_extensions; do
5023 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5024 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 if test -n "$AR"; then
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5037 $as_echo "$AR" >&6; }
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5040 $as_echo "no" >&6; }
5044 test -n "$AR" && break
5047 if test -z "$AR"; then
5049 for ac_prog
in ar gar
5051 # Extract the first word of "$ac_prog", so it can be a program name with args.
5052 set dummy
$ac_prog; ac_word
=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5056 $as_echo_n "(cached) " >&6
5058 if test -n "$ac_ct_AR"; then
5059 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5065 test -z "$as_dir" && as_dir
=.
5066 for ac_exec_ext
in '' $ac_executable_extensions; do
5067 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5068 ac_cv_prog_ac_ct_AR
="$ac_prog"
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5078 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5079 if test -n "$ac_ct_AR"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5081 $as_echo "$ac_ct_AR" >&6; }
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5088 test -n "$ac_ct_AR" && break
5091 if test "x$ac_ct_AR" = x
; then
5094 case $cross_compiling:$ac_tool_warned in
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5098 ac_tool_warned
=yes ;;
5104 if test -n "$ac_tool_prefix"; then
5105 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5106 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if ${ac_cv_prog_STRIP+:} false
; then :
5110 $as_echo_n "(cached) " >&6
5112 if test -n "$STRIP"; then
5113 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5119 test -z "$as_dir" && as_dir
=.
5120 for ac_exec_ext
in '' $ac_executable_extensions; do
5121 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5122 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 STRIP
=$ac_cv_prog_STRIP
5133 if test -n "$STRIP"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5135 $as_echo "$STRIP" >&6; }
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5143 if test -z "$ac_cv_prog_STRIP"; then
5145 # Extract the first word of "strip", so it can be a program name with args.
5146 set dummy strip
; ac_word
=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5150 $as_echo_n "(cached) " >&6
5152 if test -n "$ac_ct_STRIP"; then
5153 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5159 test -z "$as_dir" && as_dir
=.
5160 for ac_exec_ext
in '' $ac_executable_extensions; do
5161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_ac_ct_STRIP
="strip"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5173 if test -n "$ac_ct_STRIP"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5175 $as_echo "$ac_ct_STRIP" >&6; }
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5181 if test "x$ac_ct_STRIP" = x
; then
5184 case $cross_compiling:$ac_tool_warned in
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5188 ac_tool_warned
=yes ;;
5193 STRIP
="$ac_cv_prog_STRIP"
5198 if test -n "$ac_tool_prefix"; then
5199 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5200 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5202 $as_echo_n "checking for $ac_word... " >&6; }
5203 if ${ac_cv_prog_RANLIB+:} false
; then :
5204 $as_echo_n "(cached) " >&6
5206 if test -n "$RANLIB"; then
5207 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5213 test -z "$as_dir" && as_dir
=.
5214 for ac_exec_ext
in '' $ac_executable_extensions; do
5215 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5216 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 RANLIB
=$ac_cv_prog_RANLIB
5227 if test -n "$RANLIB"; then
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5229 $as_echo "$RANLIB" >&6; }
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5232 $as_echo "no" >&6; }
5237 if test -z "$ac_cv_prog_RANLIB"; then
5238 ac_ct_RANLIB
=$RANLIB
5239 # Extract the first word of "ranlib", so it can be a program name with args.
5240 set dummy ranlib
; ac_word
=$2
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242 $as_echo_n "checking for $ac_word... " >&6; }
5243 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5244 $as_echo_n "(cached) " >&6
5246 if test -n "$ac_ct_RANLIB"; then
5247 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5253 test -z "$as_dir" && as_dir
=.
5254 for ac_exec_ext
in '' $ac_executable_extensions; do
5255 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5256 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5266 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5267 if test -n "$ac_ct_RANLIB"; then
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5269 $as_echo "$ac_ct_RANLIB" >&6; }
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 $as_echo "no" >&6; }
5275 if test "x$ac_ct_RANLIB" = x
; then
5278 case $cross_compiling:$ac_tool_warned in
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5282 ac_tool_warned
=yes ;;
5284 RANLIB
=$ac_ct_RANLIB
5287 RANLIB
="$ac_cv_prog_RANLIB"
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5291 $as_echo_n "checking whether ln -s works... " >&6; }
5293 if test "$LN_S" = "ln -s"; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5295 $as_echo "yes" >&6; }
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5298 $as_echo "no, using $LN_S" >&6; }
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5302 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5303 if ${ac_cv_path_GREP+:} false
; then :
5304 $as_echo_n "(cached) " >&6
5306 if test -z "$GREP"; then
5307 ac_path_GREP_found
=false
5308 # Loop through the user's path and test for each of PROGNAME-LIST
5309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5310 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5313 test -z "$as_dir" && as_dir
=.
5314 for ac_prog
in grep ggrep
; do
5315 for ac_exec_ext
in '' $ac_executable_extensions; do
5316 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5317 as_fn_executable_p
"$ac_path_GREP" ||
continue
5318 # Check for GNU ac_path_GREP and select it if it is found.
5319 # Check for GNU $ac_path_GREP
5320 case `"$ac_path_GREP" --version 2>&1` in
5322 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5325 $as_echo_n 0123456789 >"conftest.in"
5328 cat "conftest.in" "conftest.in" >"conftest.tmp"
5329 mv "conftest.tmp" "conftest.in"
5330 cp "conftest.in" "conftest.nl"
5331 $as_echo 'GREP' >> "conftest.nl"
5332 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5333 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5334 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5335 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5336 # Best one so far, save it but keep looking for a better one
5337 ac_cv_path_GREP
="$ac_path_GREP"
5338 ac_path_GREP_max
=$ac_count
5340 # 10*(2^10) chars as input seems more than enough
5341 test $ac_count -gt 10 && break
5343 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5346 $ac_path_GREP_found && break 3
5351 if test -z "$ac_cv_path_GREP"; then
5352 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5355 ac_cv_path_GREP
=$GREP
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5360 $as_echo "$ac_cv_path_GREP" >&6; }
5361 GREP
="$ac_cv_path_GREP"
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5365 $as_echo_n "checking for egrep... " >&6; }
5366 if ${ac_cv_path_EGREP+:} false
; then :
5367 $as_echo_n "(cached) " >&6
5369 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5370 then ac_cv_path_EGREP
="$GREP -E"
5372 if test -z "$EGREP"; then
5373 ac_path_EGREP_found
=false
5374 # Loop through the user's path and test for each of PROGNAME-LIST
5375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5376 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5379 test -z "$as_dir" && as_dir
=.
5380 for ac_prog
in egrep; do
5381 for ac_exec_ext
in '' $ac_executable_extensions; do
5382 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5383 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5384 # Check for GNU ac_path_EGREP and select it if it is found.
5385 # Check for GNU $ac_path_EGREP
5386 case `"$ac_path_EGREP" --version 2>&1` in
5388 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5391 $as_echo_n 0123456789 >"conftest.in"
5394 cat "conftest.in" "conftest.in" >"conftest.tmp"
5395 mv "conftest.tmp" "conftest.in"
5396 cp "conftest.in" "conftest.nl"
5397 $as_echo 'EGREP' >> "conftest.nl"
5398 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5399 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5400 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5401 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5402 # Best one so far, save it but keep looking for a better one
5403 ac_cv_path_EGREP
="$ac_path_EGREP"
5404 ac_path_EGREP_max
=$ac_count
5406 # 10*(2^10) chars as input seems more than enough
5407 test $ac_count -gt 10 && break
5409 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5412 $ac_path_EGREP_found && break 3
5417 if test -z "$ac_cv_path_EGREP"; then
5418 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5421 ac_cv_path_EGREP
=$EGREP
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5427 $as_echo "$ac_cv_path_EGREP" >&6; }
5428 EGREP
="$ac_cv_path_EGREP"
5431 # Extract the first word of "ldconfig", so it can be a program name with args.
5432 set dummy ldconfig
; ac_word
=$2
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434 $as_echo_n "checking for $ac_word... " >&6; }
5435 if ${ac_cv_path_LDCONFIG+:} false
; then :
5436 $as_echo_n "(cached) " >&6
5440 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5444 for as_dir
in /sbin
/usr
/sbin
$PATH
5447 test -z "$as_dir" && as_dir
=.
5448 for ac_exec_ext
in '' $ac_executable_extensions; do
5449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5458 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5462 LDCONFIG
=$ac_cv_path_LDCONFIG
5463 if test -n "$LDCONFIG"; then
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5465 $as_echo "$LDCONFIG" >&6; }
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468 $as_echo "no" >&6; }
5472 for ac_prog
in msgfmt
5474 # Extract the first word of "$ac_prog", so it can be a program name with args.
5475 set dummy
$ac_prog; ac_word
=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if ${ac_cv_prog_MSGFMT+:} false
; then :
5479 $as_echo_n "(cached) " >&6
5481 if test -n "$MSGFMT"; then
5482 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5488 test -z "$as_dir" && as_dir
=.
5489 for ac_exec_ext
in '' $ac_executable_extensions; do
5490 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5491 ac_cv_prog_MSGFMT
="$ac_prog"
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5501 MSGFMT
=$ac_cv_prog_MSGFMT
5502 if test -n "$MSGFMT"; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5504 $as_echo "$MSGFMT" >&6; }
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5511 test -n "$MSGFMT" && break
5513 test -n "$MSGFMT" || MSGFMT
="false"
5515 if ${ac_tool_prefix+:} false
; then :
5516 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5517 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5519 $as_echo_n "checking for $ac_word... " >&6; }
5520 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5521 $as_echo_n "(cached) " >&6
5523 if test -n "$PKG_CONFIG"; then
5524 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5530 test -z "$as_dir" && as_dir
=.
5531 for ac_exec_ext
in '' $ac_executable_extensions; do
5532 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5533 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5543 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5544 if test -n "$PKG_CONFIG"; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5546 $as_echo "$PKG_CONFIG" >&6; }
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }
5554 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5555 if test "x$cross_compiling" = xyes
; then :
5558 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5559 # Extract the first word of "pkg-config", so it can be a program name with args.
5560 set dummy pkg-config
; ac_word
=$2
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5562 $as_echo_n "checking for $ac_word... " >&6; }
5563 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5564 $as_echo_n "(cached) " >&6
5566 if test -n "$PKG_CONFIG"; then
5567 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5573 test -z "$as_dir" && as_dir
=.
5574 for ac_exec_ext
in '' $ac_executable_extensions; do
5575 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5576 ac_cv_prog_PKG_CONFIG
="pkg-config"
5577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5586 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5587 if test -n "$PKG_CONFIG"; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5589 $as_echo "$PKG_CONFIG" >&6; }
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5592 $as_echo "no" >&6; }
5598 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5601 if test "x$enable_maintainer_mode" != "xyes"
5608 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5609 for ac_prog
in fontforge
5611 # Extract the first word of "$ac_prog", so it can be a program name with args.
5612 set dummy
$ac_prog; ac_word
=$2
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5614 $as_echo_n "checking for $ac_word... " >&6; }
5615 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5616 $as_echo_n "(cached) " >&6
5618 if test -n "$FONTFORGE"; then
5619 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5625 test -z "$as_dir" && as_dir
=.
5626 for ac_exec_ext
in '' $ac_executable_extensions; do
5627 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5628 ac_cv_prog_FONTFORGE
="$ac_prog"
5629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5638 FONTFORGE
=$ac_cv_prog_FONTFORGE
5639 if test -n "$FONTFORGE"; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5641 $as_echo "$FONTFORGE" >&6; }
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5644 $as_echo "no" >&6; }
5648 test -n "$FONTFORGE" && break
5650 test -n "$FONTFORGE" || FONTFORGE
="false"
5654 # Extract the first word of "$ac_prog", so it can be a program name with args.
5655 set dummy
$ac_prog; ac_word
=$2
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5657 $as_echo_n "checking for $ac_word... " >&6; }
5658 if ${ac_cv_prog_RSVG+:} false
; then :
5659 $as_echo_n "(cached) " >&6
5661 if test -n "$RSVG"; then
5662 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5668 test -z "$as_dir" && as_dir
=.
5669 for ac_exec_ext
in '' $ac_executable_extensions; do
5670 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5671 ac_cv_prog_RSVG
="$ac_prog"
5672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5681 RSVG
=$ac_cv_prog_RSVG
5682 if test -n "$RSVG"; then
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5684 $as_echo "$RSVG" >&6; }
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5687 $as_echo "no" >&6; }
5691 test -n "$RSVG" && break
5693 test -n "$RSVG" || RSVG
="false"
5695 for ac_prog
in convert
5697 # Extract the first word of "$ac_prog", so it can be a program name with args.
5698 set dummy
$ac_prog; ac_word
=$2
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5700 $as_echo_n "checking for $ac_word... " >&6; }
5701 if ${ac_cv_prog_CONVERT+:} false
; then :
5702 $as_echo_n "(cached) " >&6
5704 if test -n "$CONVERT"; then
5705 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5711 test -z "$as_dir" && as_dir
=.
5712 for ac_exec_ext
in '' $ac_executable_extensions; do
5713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5714 ac_cv_prog_CONVERT
="$ac_prog"
5715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 CONVERT
=$ac_cv_prog_CONVERT
5725 if test -n "$CONVERT"; then
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5727 $as_echo "$CONVERT" >&6; }
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5730 $as_echo "no" >&6; }
5734 test -n "$CONVERT" && break
5736 test -n "$CONVERT" || CONVERT
="false"
5738 for ac_prog
in icotool
5740 # Extract the first word of "$ac_prog", so it can be a program name with args.
5741 set dummy
$ac_prog; ac_word
=$2
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5743 $as_echo_n "checking for $ac_word... " >&6; }
5744 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5745 $as_echo_n "(cached) " >&6
5747 if test -n "$ICOTOOL"; then
5748 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5754 test -z "$as_dir" && as_dir
=.
5755 for ac_exec_ext
in '' $ac_executable_extensions; do
5756 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5757 ac_cv_prog_ICOTOOL
="$ac_prog"
5758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5767 ICOTOOL
=$ac_cv_prog_ICOTOOL
5768 if test -n "$ICOTOOL"; then
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5770 $as_echo "$ICOTOOL" >&6; }
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5773 $as_echo "no" >&6; }
5777 test -n "$ICOTOOL" && break
5779 test -n "$ICOTOOL" || ICOTOOL
="false"
5781 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5782 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5784 if test "$CONVERT" = false
5786 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5789 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5790 convert_version
=`convert --version | head -n1`
5791 if test "x$convert_version" != "x"
5793 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5794 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5795 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5800 if test "$CONVERT" = false
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5803 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5804 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5807 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5811 if test "$ICOTOOL" = false
5813 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5816 $as_echo_n "checking for recent enough icotool... " >&6; }
5817 icotool_version
=`icotool --version | head -n1`
5818 if test "x$icotool_version" != "x"
5820 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5821 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5822 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5825 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5828 if test "$ICOTOOL" = false
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5831 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5832 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5835 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5841 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5844 test "x$with_gettext" != xno || MSGFMT
=false
5845 if test "$MSGFMT" != "false"
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5848 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5849 cat >conftest.po
<<EOF
5855 if $MSGFMT -o /dev
/null conftest.po
2>&5
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5858 $as_echo "yes" >&6; }
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861 $as_echo "no" >&6; }
5865 if test "$MSGFMT" = false
; then :
5866 case "x$with_gettext" in
5867 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5869 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5870 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5876 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5877 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5878 $as_echo_n "(cached) " >&6
5880 ac_check_lib_save_LIBS
=$LIBS
5882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5883 /* end confdefs.h. */
5885 /* Override any GCC internal prototype to avoid an error.
5886 Use char because int might match the return type of a GCC
5887 builtin and then its argument prototype would still apply. */
5891 char i386_set_ldt ();
5895 return i386_set_ldt ();
5900 if ac_fn_c_try_link
"$LINENO"; then :
5901 ac_cv_lib_i386_i386_set_ldt
=yes
5903 ac_cv_lib_i386_i386_set_ldt
=no
5905 rm -f core conftest.err conftest.
$ac_objext \
5906 conftest
$ac_exeext conftest.
$ac_ext
5907 LIBS
=$ac_check_lib_save_LIBS
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5910 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5911 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5912 cat >>confdefs.h
<<_ACEOF
5913 #define HAVE_LIBI386 1
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5921 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5922 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5923 $as_echo_n "(cached) " >&6
5925 ac_check_lib_save_LIBS
=$LIBS
5926 LIBS
="-lossaudio $LIBS"
5927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5928 /* end confdefs.h. */
5930 /* Override any GCC internal prototype to avoid an error.
5931 Use char because int might match the return type of a GCC
5932 builtin and then its argument prototype would still apply. */
5940 return _oss_ioctl ();
5945 if ac_fn_c_try_link
"$LINENO"; then :
5946 ac_cv_lib_ossaudio__oss_ioctl
=yes
5948 ac_cv_lib_ossaudio__oss_ioctl
=no
5950 rm -f core conftest.err conftest.
$ac_objext \
5951 conftest
$ac_exeext conftest.
$ac_ext
5952 LIBS
=$ac_check_lib_save_LIBS
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5955 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5956 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5957 cat >>confdefs.h
<<_ACEOF
5958 #define HAVE_LIBOSSAUDIO 1
5961 LIBS
="-lossaudio $LIBS"
5970 # Check whether --enable-largefile was given.
5971 if test "${enable_largefile+set}" = set; then :
5972 enableval
=$enable_largefile;
5975 if test "$enable_largefile" != no
; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5978 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5979 if ${ac_cv_sys_largefile_CC+:} false
; then :
5980 $as_echo_n "(cached) " >&6
5982 ac_cv_sys_largefile_CC
=no
5983 if test "$GCC" != yes; then
5986 # IRIX 6.2 and later do not support large files by default,
5987 # so use the C compiler's -n32 option if that helps.
5988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5989 /* end confdefs.h. */
5990 #include <sys/types.h>
5991 /* Check that off_t can represent 2**63 - 1 correctly.
5992 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5993 since some C++ compilers masquerading as C compilers
5994 incorrectly reject 9223372036854775807. */
5995 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5996 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5997 && LARGE_OFF_T % 2147483647 == 1)
6007 if ac_fn_c_try_compile
"$LINENO"; then :
6010 rm -f core conftest.err conftest.
$ac_objext
6012 if ac_fn_c_try_compile
"$LINENO"; then :
6013 ac_cv_sys_largefile_CC
=' -n32'; break
6015 rm -f core conftest.err conftest.
$ac_objext
6019 rm -f conftest.
$ac_ext
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6023 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6024 if test "$ac_cv_sys_largefile_CC" != no
; then
6025 CC
=$CC$ac_cv_sys_largefile_CC
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6029 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6030 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6031 $as_echo_n "(cached) " >&6
6034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6035 /* end confdefs.h. */
6036 #include <sys/types.h>
6037 /* Check that off_t can represent 2**63 - 1 correctly.
6038 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6039 since some C++ compilers masquerading as C compilers
6040 incorrectly reject 9223372036854775807. */
6041 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6042 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6043 && LARGE_OFF_T % 2147483647 == 1)
6053 if ac_fn_c_try_compile
"$LINENO"; then :
6054 ac_cv_sys_file_offset_bits
=no
; break
6056 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6058 /* end confdefs.h. */
6059 #define _FILE_OFFSET_BITS 64
6060 #include <sys/types.h>
6061 /* Check that off_t can represent 2**63 - 1 correctly.
6062 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6063 since some C++ compilers masquerading as C compilers
6064 incorrectly reject 9223372036854775807. */
6065 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6066 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6067 && LARGE_OFF_T % 2147483647 == 1)
6077 if ac_fn_c_try_compile
"$LINENO"; then :
6078 ac_cv_sys_file_offset_bits
=64; break
6080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6081 ac_cv_sys_file_offset_bits
=unknown
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6086 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6087 case $ac_cv_sys_file_offset_bits in #(
6090 cat >>confdefs.h
<<_ACEOF
6091 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6096 if test $ac_cv_sys_file_offset_bits = unknown
; then
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6098 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6099 if ${ac_cv_sys_large_files+:} false
; then :
6100 $as_echo_n "(cached) " >&6
6103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6104 /* end confdefs.h. */
6105 #include <sys/types.h>
6106 /* Check that off_t can represent 2**63 - 1 correctly.
6107 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6108 since some C++ compilers masquerading as C compilers
6109 incorrectly reject 9223372036854775807. */
6110 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6111 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6112 && LARGE_OFF_T % 2147483647 == 1)
6122 if ac_fn_c_try_compile
"$LINENO"; then :
6123 ac_cv_sys_large_files
=no
; break
6125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6127 /* end confdefs.h. */
6128 #define _LARGE_FILES 1
6129 #include <sys/types.h>
6130 /* Check that off_t can represent 2**63 - 1 correctly.
6131 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6132 since some C++ compilers masquerading as C compilers
6133 incorrectly reject 9223372036854775807. */
6134 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6135 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6136 && LARGE_OFF_T % 2147483647 == 1)
6146 if ac_fn_c_try_compile
"$LINENO"; then :
6147 ac_cv_sys_large_files
=1; break
6149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6150 ac_cv_sys_large_files
=unknown
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6155 $as_echo "$ac_cv_sys_large_files" >&6; }
6156 case $ac_cv_sys_large_files in #(
6159 cat >>confdefs.h
<<_ACEOF
6160 #define _LARGE_FILES $ac_cv_sys_large_files
6172 ac_cpp
='$CPP $CPPFLAGS'
6173 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6174 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6175 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6177 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6178 # On Suns, sometimes $CPP names a directory.
6179 if test -n "$CPP" && test -d "$CPP"; then
6182 if test -z "$CPP"; then
6183 if ${ac_cv_prog_CPP+:} false
; then :
6184 $as_echo_n "(cached) " >&6
6186 # Double quotes because CPP needs to be expanded
6187 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6190 for ac_c_preproc_warn_flag
in '' yes
6192 # Use a header file that comes with gcc, so configuring glibc
6193 # with a fresh cross-compiler works.
6194 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6195 # <limits.h> exists even on freestanding compilers.
6196 # On the NeXT, cc -E runs the code through the compiler's parser,
6197 # not just through cpp. "Syntax error" is here to catch this case.
6198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6199 /* end confdefs.h. */
6201 # include <limits.h>
6203 # include <assert.h>
6207 if ac_fn_c_try_cpp
"$LINENO"; then :
6210 # Broken: fails on valid input.
6213 rm -f conftest.err conftest.i conftest.
$ac_ext
6215 # OK, works on sane cases. Now check whether nonexistent headers
6216 # can be detected and how.
6217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6218 /* end confdefs.h. */
6219 #include <ac_nonexistent.h>
6221 if ac_fn_c_try_cpp
"$LINENO"; then :
6222 # Broken: success on invalid input.
6225 # Passes both tests.
6229 rm -f conftest.err conftest.i conftest.
$ac_ext
6232 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6233 rm -f conftest.i conftest.err conftest.
$ac_ext
6234 if $ac_preproc_ok; then :
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6247 $as_echo "$CPP" >&6; }
6249 for ac_c_preproc_warn_flag
in '' yes
6251 # Use a header file that comes with gcc, so configuring glibc
6252 # with a fresh cross-compiler works.
6253 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6254 # <limits.h> exists even on freestanding compilers.
6255 # On the NeXT, cc -E runs the code through the compiler's parser,
6256 # not just through cpp. "Syntax error" is here to catch this case.
6257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6258 /* end confdefs.h. */
6260 # include <limits.h>
6262 # include <assert.h>
6266 if ac_fn_c_try_cpp
"$LINENO"; then :
6269 # Broken: fails on valid input.
6272 rm -f conftest.err conftest.i conftest.
$ac_ext
6274 # OK, works on sane cases. Now check whether nonexistent headers
6275 # can be detected and how.
6276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6277 /* end confdefs.h. */
6278 #include <ac_nonexistent.h>
6280 if ac_fn_c_try_cpp
"$LINENO"; then :
6281 # Broken: success on invalid input.
6284 # Passes both tests.
6288 rm -f conftest.err conftest.i conftest.
$ac_ext
6291 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6292 rm -f conftest.i conftest.err conftest.
$ac_ext
6293 if $ac_preproc_ok; then :
6296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6298 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6299 See \`config.log' for more details" "$LINENO" 5; }
6303 ac_cpp
='$CPP $CPPFLAGS'
6304 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6305 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6306 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6310 $as_echo_n "checking for ANSI C header files... " >&6; }
6311 if ${ac_cv_header_stdc+:} false
; then :
6312 $as_echo_n "(cached) " >&6
6314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6315 /* end confdefs.h. */
6329 if ac_fn_c_try_compile
"$LINENO"; then :
6330 ac_cv_header_stdc
=yes
6332 ac_cv_header_stdc
=no
6334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6336 if test $ac_cv_header_stdc = yes; then
6337 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6339 /* end confdefs.h. */
6343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6344 $EGREP "memchr" >/dev
/null
2>&1; then :
6347 ac_cv_header_stdc
=no
6353 if test $ac_cv_header_stdc = yes; then
6354 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6356 /* end confdefs.h. */
6360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6361 $EGREP "free" >/dev
/null
2>&1; then :
6364 ac_cv_header_stdc
=no
6370 if test $ac_cv_header_stdc = yes; then
6371 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6372 if test "$cross_compiling" = yes; then :
6375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6376 /* end confdefs.h. */
6379 #if ((' ' & 0x0FF) == 0x020)
6380 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6381 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6383 # define ISLOWER(c) \
6384 (('a' <= (c) && (c) <= 'i') \
6385 || ('j' <= (c) && (c) <= 'r') \
6386 || ('s' <= (c) && (c) <= 'z'))
6387 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6390 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6395 for (i = 0; i < 256; i++)
6396 if (XOR (islower (i), ISLOWER (i))
6397 || toupper (i) != TOUPPER (i))
6402 if ac_fn_c_try_run
"$LINENO"; then :
6405 ac_cv_header_stdc
=no
6407 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6408 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6414 $as_echo "$ac_cv_header_stdc" >&6; }
6415 if test $ac_cv_header_stdc = yes; then
6417 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6421 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6422 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6423 inttypes.h stdint.h unistd.h
6425 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6426 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6428 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6429 cat >>confdefs.h
<<_ACEOF
6430 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6440 ApplicationServices
/ApplicationServices.h \
6441 AudioToolbox
/AudioConverter.h \
6442 AudioUnit
/AudioUnit.h \
6443 AudioUnit
/AudioComponent.h \
6446 CoreAudio
/CoreAudio.h \
6447 CoreServices
/CoreServices.h \
6448 DiskArbitration
/DiskArbitration.h \
6450 IOKit
/hid
/IOHIDLib.h \
6453 QuickTime
/ImageCompression.h \
6454 Security
/Security.h \
6505 netinet
/in_systm.h \
6567 valgrind
/memcheck.h \
6568 valgrind
/valgrind.h \
6572 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6573 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6574 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6575 cat >>confdefs.h
<<_ACEOF
6576 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6584 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6585 if ${ac_cv_header_stat_broken+:} false
; then :
6586 $as_echo_n "(cached) " >&6
6588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6589 /* end confdefs.h. */
6590 #include <sys/types.h>
6591 #include <sys/stat.h>
6593 #if defined S_ISBLK && defined S_IFDIR
6594 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6597 #if defined S_ISBLK && defined S_IFCHR
6598 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6601 #if defined S_ISLNK && defined S_IFREG
6602 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6605 #if defined S_ISSOCK && defined S_IFREG
6606 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6610 if ac_fn_c_try_compile
"$LINENO"; then :
6611 ac_cv_header_stat_broken
=no
6613 ac_cv_header_stat_broken
=yes
6615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6618 $as_echo "$ac_cv_header_stat_broken" >&6; }
6619 if test $ac_cv_header_stat_broken = yes; then
6621 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6627 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6629 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6630 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6631 #ifdef HAVE_SYS_PARAM_H
6632 # include <sys/param.h>
6635 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6636 cat >>confdefs.h
<<_ACEOF
6637 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6652 netinet
/if_ether.h \
6653 netinet
/if_inarp.h \
6662 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6663 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6664 #ifdef HAVE_SYS_SOCKET_H
6665 # include <sys/socket.h>
6667 #ifdef HAVE_SYS_SOCKETVAR_H
6668 # include <sys/socketvar.h>
6670 #ifdef HAVE_NET_ROUTE_H
6671 # include <net/route.h>
6673 #ifdef HAVE_NETINET_IN_H
6674 # include <netinet/in.h>
6676 #ifdef HAVE_NETINET_IN_SYSTM_H
6677 # include <netinet/in_systm.h>
6679 #ifdef HAVE_NET_IF_H
6680 # include <net/if.h>
6682 #ifdef HAVE_NETINET_IP_H
6683 # include <netinet/ip.h>
6686 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6687 cat >>confdefs.h
<<_ACEOF
6688 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6696 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6698 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6699 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6703 #ifdef HAVE_SYS_SOCKET_H
6704 # include <sys/socket.h>
6706 #ifdef HAVE_SYS_SOCKETVAR_H
6707 # include <sys/socketvar.h>
6709 #ifdef HAVE_SYS_TIMEOUT_H
6710 # include <sys/timeout.h>
6712 #ifdef HAVE_NETINET_IN_H
6713 # include <netinet/in.h>
6715 #ifdef HAVE_NETINET_IN_SYSTM_H
6716 # include <netinet/in_systm.h>
6718 #ifdef HAVE_NETINET_IP_H
6719 # include <netinet/ip.h>
6721 #ifdef HAVE_NETINET_IP_VAR_H
6722 # include <netinet/ip_var.h>
6724 #ifdef HAVE_NETINET_IP_ICMP_H
6725 # include <netinet/ip_icmp.h>
6727 #ifdef HAVE_NETINET_UDP_H
6728 # include <netinet/udp.h>
6730 #ifdef HAVE_NETINET_TCP_H
6731 # include <netinet/tcp.h>
6733 #ifdef HAVE_NETINET_TCP_TIMER_H
6734 #include <netinet/tcp_timer.h>
6737 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6738 cat >>confdefs.h
<<_ACEOF
6739 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6747 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6749 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6750 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6751 #ifdef HAVE_ASM_TYPES_H
6752 # include <asm/types.h>
6754 #ifdef HAVE_SYS_SOCKET_H
6755 # include <sys/socket.h>
6757 #ifdef HAVE_LINUX_TYPES_H
6758 # include <linux/types.h>
6761 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6762 cat >>confdefs.h
<<_ACEOF
6763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6771 for ac_header
in mach-o
/dyld_images.h
6773 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6774 # include <stdbool.h>
6776 #ifdef HAVE_STDINT_H
6777 # include <stdint.h>
6780 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6781 cat >>confdefs.h
<<_ACEOF
6782 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6790 for ac_header
in resolv.h
6792 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6793 #ifdef HAVE_SYS_SOCKET_H
6794 # include <sys/socket.h>
6796 #ifdef HAVE_NETINET_IN_H
6797 # include <netinet/in.h>
6799 #ifdef HAVE_ARPA_NAMESER_H
6800 # include <arpa/nameser.h>
6803 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6804 cat >>confdefs.h
<<_ACEOF
6805 #define HAVE_RESOLV_H 1
6813 for ac_header
in ifaddrs.h
6815 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6817 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6818 cat >>confdefs.h
<<_ACEOF
6819 #define HAVE_IFADDRS_H 1
6827 for ac_header
in sys
/ucontext.h
6829 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6831 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6832 cat >>confdefs.h
<<_ACEOF
6833 #define HAVE_SYS_UCONTEXT_H 1
6841 for ac_header
in sys
/thr.h
6843 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6844 #ifdef HAVE_SYS_UCONTEXT_H
6845 #include <sys/ucontext.h>
6848 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6849 cat >>confdefs.h
<<_ACEOF
6850 #define HAVE_SYS_THR_H 1
6858 for ac_header
in pthread_np.h
6860 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6861 #include <pthread.h>
6864 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6865 cat >>confdefs.h
<<_ACEOF
6866 #define HAVE_PTHREAD_NP_H 1
6874 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6876 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6877 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6878 #include <sys/time.h>
6880 #include <sys/types.h>
6881 #ifdef HAVE_ASM_TYPES_H
6882 #include <asm/types.h>
6885 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6886 cat >>confdefs.h
<<_ACEOF
6887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6895 for ac_header
in libprocstat.h
6897 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6898 #include <sys/param.h>
6900 #ifdef HAVE_SYS_QUEUE_H
6901 #include <sys/queue.h>
6903 #ifdef HAVE_SYS_SOCKET_H
6904 #include <sys/socket.h>
6907 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6908 cat >>confdefs.h
<<_ACEOF
6909 #define HAVE_LIBPROCSTAT_H 1
6918 dlldir
="\${libdir}/wine"
6922 DLLFLAGS
="-D_REENTRANT"
6931 STATIC_IMPLIBEXT
="def.a"
6932 # Extract the first word of "ldd", so it can be a program name with args.
6933 set dummy ldd
; ac_word
=$2
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6935 $as_echo_n "checking for $ac_word... " >&6; }
6936 if ${ac_cv_path_LDD+:} false
; then :
6937 $as_echo_n "(cached) " >&6
6941 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6945 as_dummy
="/sbin:/usr/sbin:$PATH"
6946 for as_dir
in $as_dummy
6949 test -z "$as_dir" && as_dir
=.
6950 for ac_exec_ext
in '' $ac_executable_extensions; do
6951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6952 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6960 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6965 if test -n "$LDD"; then
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6967 $as_echo "$LDD" >&6; }
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6970 $as_echo "no" >&6; }
6974 if test -n "$ac_tool_prefix"; then
6975 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6976 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6978 $as_echo_n "checking for $ac_word... " >&6; }
6979 if ${ac_cv_prog_READELF+:} false
; then :
6980 $as_echo_n "(cached) " >&6
6982 if test -n "$READELF"; then
6983 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6989 test -z "$as_dir" && as_dir
=.
6990 for ac_exec_ext
in '' $ac_executable_extensions; do
6991 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6992 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7002 READELF
=$ac_cv_prog_READELF
7003 if test -n "$READELF"; then
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7005 $as_echo "$READELF" >&6; }
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7008 $as_echo "no" >&6; }
7013 if test -z "$ac_cv_prog_READELF"; then
7014 ac_ct_READELF
=$READELF
7015 # Extract the first word of "readelf", so it can be a program name with args.
7016 set dummy readelf
; ac_word
=$2
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7018 $as_echo_n "checking for $ac_word... " >&6; }
7019 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7020 $as_echo_n "(cached) " >&6
7022 if test -n "$ac_ct_READELF"; then
7023 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7029 test -z "$as_dir" && as_dir
=.
7030 for ac_exec_ext
in '' $ac_executable_extensions; do
7031 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7032 ac_cv_prog_ac_ct_READELF
="readelf"
7033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7042 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7043 if test -n "$ac_ct_READELF"; then
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7045 $as_echo "$ac_ct_READELF" >&6; }
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7048 $as_echo "no" >&6; }
7051 if test "x$ac_ct_READELF" = x
; then
7054 case $cross_compiling:$ac_tool_warned in
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7058 ac_tool_warned
=yes ;;
7060 READELF
=$ac_ct_READELF
7063 READELF
="$ac_cv_prog_READELF"
7066 wine_rules_file
=conf$
$rules.
make
7067 rm -f $wine_rules_file
7069 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7070 ALL_TEST_RESOURCES
=""
7073 wine_fn_append_file
()
7075 as_fn_append
$1 " \\$as_nl $2"
7078 wine_fn_ignore_file
()
7081 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7082 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7083 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7087 wine_fn_append_rule
()
7089 $as_echo "$1" >>$wine_rules_file
7094 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7097 wine_fn_depend_rules
()
7099 wine_fn_append_rule \
7100 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7101 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7102 depend: $ac_dir/depend
7103 .PHONY: $ac_dir/depend
7104 $ac_dir/depend: \$(MAKEDEP) dummy
7105 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7108 wine_fn_pot_rules
()
7110 test "x$with_gettextpo" = xyes ||
return
7112 if wine_fn_has_flag mc
7114 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7115 wine_fn_append_rule \
7116 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7117 @cd $ac_dir && \$(MAKE) msg.pot
7118 $ac_dir/msg.pot: tools/wmc include"
7120 if wine_fn_has_flag po
7122 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7123 wine_fn_append_rule \
7124 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7125 @cd $ac_dir && \$(MAKE) rsrc.pot
7126 $ac_dir/rsrc.pot: tools/wrc include"
7130 wine_fn_all_rules
()
7132 wine_fn_depend_rules
7133 wine_fn_append_rule \
7136 $ac_dir: $ac_dir/Makefile dummy
7137 @cd $ac_dir && \$(MAKE)"
7140 wine_fn_install_rules
()
7142 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7144 wine_fn_append_rule \
7145 ".PHONY: $ac_dir/install $ac_dir/uninstall
7146 $ac_dir/install:: $ac_dir
7147 @cd $ac_dir && \$(MAKE) install
7148 $ac_dir/uninstall:: $ac_dir/Makefile
7149 @cd $ac_dir && \$(MAKE) uninstall
7150 install:: $ac_dir/install
7151 __uninstall__: $ac_dir/uninstall"
7153 if wine_fn_has_flag install-lib
7155 wine_fn_append_rule \
7156 ".PHONY: $ac_dir/install-lib
7157 $ac_dir/install-lib:: $ac_dir
7158 @cd $ac_dir && \$(MAKE) install-lib
7159 install-lib:: $ac_dir/install-lib"
7162 if wine_fn_has_flag install-dev
7164 wine_fn_append_rule \
7165 ".PHONY: $ac_dir/install-dev
7166 $ac_dir/install-dev:: $ac_dir
7167 @cd $ac_dir && \$(MAKE) install-dev
7168 install-dev:: $ac_dir/install-dev"
7172 wine_fn_clean_rules
()
7175 ac_extraclean
="$ac_dir/Makefile"
7176 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7178 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7181 if wine_fn_has_flag clean
7183 wine_fn_append_rule \
7184 "__clean__: $ac_dir/clean
7185 .PHONY: $ac_dir/clean
7186 $ac_dir/clean: $ac_dir/Makefile
7187 @cd $ac_dir && \$(MAKE) clean
7188 \$(RM) $ac_extraclean"
7190 wine_fn_append_rule \
7191 "__clean__: $ac_dir/clean
7192 .PHONY: $ac_dir/clean
7193 $ac_dir/clean: dummy
7194 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7198 wine_fn_disabled_rules
()
7201 ac_extraclean
="$ac_dir/Makefile"
7202 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7204 wine_fn_append_rule \
7205 "__clean__: $ac_dir/clean
7206 .PHONY: $ac_dir/clean
7207 $ac_dir/clean: dummy
7208 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7211 wine_fn_config_makefile
()
7217 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7218 wine_fn_disabled_rules
; return
7221 wine_fn_install_rules
7225 wine_fn_config_lib
()
7229 ac_dir
=dlls
/$ac_name
7232 if test "x$enable_tools" = xno
; then :
7235 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7240 wine_fn_append_rule \
7241 ".PHONY: $ac_dir/install $ac_dir/uninstall
7242 $ac_dir/install:: $ac_dir
7243 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7245 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7246 install install-dev:: $ac_dir/install
7247 __uninstall__: $ac_dir/uninstall
7248 __builddeps__: $ac_dir
7252 wine_fn_config_dll
()
7255 ac_dir
=dlls
/$ac_name
7258 ac_implib
=${4:-$ac_name}
7259 ac_file
=$ac_dir/lib
$ac_implib
7264 if test "x$enable_tools" = xno
; then :
7267 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7270 *16) ac_implibflags
=" -m16" ;;
7272 *) ac_dll
=$ac_dll.dll
;;
7276 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7277 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7278 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7279 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7281 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7282 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7284 wine_fn_depend_rules
7285 wine_fn_clean_rules
$ac_clean
7287 wine_fn_disabled_rules
$ac_clean
7292 wine_fn_clean_rules
$ac_clean
7293 wine_fn_append_rule \
7294 "$ac_dir: __builddeps__
7295 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7296 @cd $ac_dir && \$(MAKE) \$@
7297 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7298 install install-lib:: $ac_dir/install-lib
7299 __uninstall__: $ac_dir/uninstall"
7300 if test -n "$DLLEXT"
7302 wine_fn_append_rule \
7303 "$ac_dir/install-lib:: $ac_dir
7304 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7305 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7307 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7309 wine_fn_append_rule \
7310 "$ac_dir/install-lib:: $ac_dir
7311 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7313 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7319 if wine_fn_has_flag staticimplib
7321 wine_fn_append_rule \
7322 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7323 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7324 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7325 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7326 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7327 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7328 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7329 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7330 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7332 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7333 install install-dev:: $ac_dir/install-dev
7334 __uninstall__: $ac_dir/uninstall"
7336 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7338 wine_fn_append_rule \
7339 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7340 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7342 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7345 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7347 wine_fn_append_rule \
7348 "__builddeps__: $ac_file.cross.a
7349 $ac_file.cross.a: $ac_dir/Makefile dummy
7350 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7353 elif wine_fn_has_flag implib
7355 wine_fn_append_rule \
7356 "__builddeps__: $ac_file.$IMPLIBEXT
7357 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7358 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7359 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7360 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7361 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7362 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7363 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7365 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7366 install install-dev:: $ac_dir/install-dev
7367 __uninstall__: $ac_dir/uninstall"
7368 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7370 wine_fn_append_rule \
7371 "__builddeps__: $ac_file.cross.a
7372 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7373 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7376 if test "$ac_name" != "$ac_implib"
7378 wine_fn_append_rule \
7379 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7380 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7381 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7383 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7384 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7385 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7387 wine_fn_append_rule \
7388 "__builddeps__: dlls/lib$ac_implib.cross.a
7389 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7390 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7392 \$(RM) dlls/lib$ac_implib.cross.a"
7393 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7399 wine_fn_config_program
()
7402 ac_dir
=programs
/$ac_name
7409 *) ac_program
=$ac_program.exe
;;
7413 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7414 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7415 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7416 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7418 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7419 wine_fn_disabled_rules
$ac_clean; return
7423 wine_fn_clean_rules
$ac_clean
7424 wine_fn_append_rule
"$ac_dir: __builddeps__"
7427 wine_fn_has_flag
install ||
return
7428 wine_fn_append_rule \
7429 ".PHONY: $ac_dir/install $ac_dir/uninstall
7430 install install-lib:: $ac_dir/install
7431 __uninstall__: $ac_dir/uninstall"
7433 if test -n "$DLLEXT"
7435 wine_fn_append_rule \
7436 "$ac_dir/install:: $ac_dir
7437 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7438 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7440 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7442 if test -z "$with_wine64" && wine_fn_has_flag installbin
7444 wine_fn_append_rule \
7445 "$ac_dir/install:: __tooldeps__
7446 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7448 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7451 wine_fn_append_rule \
7452 "$ac_dir/install:: $ac_dir
7453 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7455 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7458 if test -z "$with_wine64" && wine_fn_has_flag manpage
7460 wine_fn_append_rule \
7461 "$ac_dir/install:: $ac_dir
7462 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7464 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7468 wine_fn_config_test
()
7475 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7476 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7478 if test "x$enable_tests" = xno
; then :
7479 wine_fn_disabled_rules
$ac_clean; return
7482 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7484 wine_fn_clean_rules
$ac_clean
7486 wine_fn_append_rule \
7487 "$ac_dir: programs/winetest/Makefile __builddeps__
7488 programs/winetest: $ac_dir
7489 check test: $ac_dir/test
7490 .PHONY: $ac_dir/test
7492 @cd $ac_dir && \$(MAKE) test
7494 \$(RM) $ac_dir/*.ok"
7496 if test -n "$CROSSTARGET"
7498 wine_fn_append_rule \
7499 "crosstest: $ac_dir/crosstest
7500 .PHONY: $ac_dir/crosstest
7501 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7502 @cd $ac_dir && \$(MAKE) crosstest"
7506 wine_fn_config_tool
()
7510 if test "x$enable_tools" = xno
; then :
7515 wine_fn_install_rules
7518 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7519 wine_fn_append_rule
"$ac_dir: libs/port"
7521 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7525 wine_fn_config_symlink
()
7528 if test "x$1" = "x-d"
7534 wine_fn_append_rule \
7536 @./config.status \$@
7539 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7540 test -n "$ac_linkdir" ||
return
7541 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7545 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7546 loader_programs
="$wine_binary wine-installed"
7547 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7552 install install-lib:: wine-installed
7553 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7556 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7562 if test -n "$ac_tool_prefix"; then
7563 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7564 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7566 $as_echo_n "checking for $ac_word... " >&6; }
7567 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7568 $as_echo_n "(cached) " >&6
7570 if test -n "$DLLTOOL"; then
7571 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7577 test -z "$as_dir" && as_dir
=.
7578 for ac_exec_ext
in '' $ac_executable_extensions; do
7579 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7580 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 DLLTOOL
=$ac_cv_prog_DLLTOOL
7591 if test -n "$DLLTOOL"; then
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7593 $as_echo "$DLLTOOL" >&6; }
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7596 $as_echo "no" >&6; }
7601 if test -z "$ac_cv_prog_DLLTOOL"; then
7602 ac_ct_DLLTOOL
=$DLLTOOL
7603 # Extract the first word of "dlltool", so it can be a program name with args.
7604 set dummy dlltool
; ac_word
=$2
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7606 $as_echo_n "checking for $ac_word... " >&6; }
7607 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7608 $as_echo_n "(cached) " >&6
7610 if test -n "$ac_ct_DLLTOOL"; then
7611 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7617 test -z "$as_dir" && as_dir
=.
7618 for ac_exec_ext
in '' $ac_executable_extensions; do
7619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7620 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7630 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7631 if test -n "$ac_ct_DLLTOOL"; then
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7633 $as_echo "$ac_ct_DLLTOOL" >&6; }
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7636 $as_echo "no" >&6; }
7639 if test "x$ac_ct_DLLTOOL" = x
; then
7642 case $cross_compiling:$ac_tool_warned in
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7646 ac_tool_warned
=yes ;;
7648 DLLTOOL
=$ac_ct_DLLTOOL
7651 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7657 STATIC_IMPLIBEXT
="a"
7658 enable_iphlpapi
=${enable_iphlpapi:-no}
7659 enable_kernel32
=${enable_kernel32:-no}
7660 enable_msvcrt
=${enable_msvcrt:-no}
7661 enable_ntdll
=${enable_ntdll:-no}
7662 enable_ws2_32
=${enable_ws2_32:-no}
7663 enable_loader
=${enable_loader:-no}
7664 enable_server
=${enable_server:-no}
7665 with_x
=${with_x:-no}
7666 with_pthread
=${with_pthread:-no}
7672 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7676 libwine_targets
="libwine.dll libwine.a"
7678 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7680 all: libwine.dll libwine.a
7682 libwine.a: \$(srcdir)/wine.def
7683 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7685 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7686 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7688 install install-lib:: libwine.dll
7689 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7691 install install-dev:: libwine.a
7692 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7695 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7702 DLLFLAGS
="$DLLFLAGS -fPIC"
7703 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7704 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7705 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7706 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7708 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7710 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7712 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7714 CORESERVICES_LIBS
="-framework CoreServices"
7716 APPKIT_LIBS
="-framework AppKit"
7718 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7720 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7722 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7724 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7727 if test "$ac_cv_header_Security_Security_h" = "yes"
7729 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7731 ac_save_LIBS
="$LIBS"
7732 LIBS
="$LIBS $SECURITY_LIBS"
7733 for ac_func
in SSLCopyPeerCertificates
7735 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7736 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7737 cat >>confdefs.h
<<_ACEOF
7738 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7744 LIBS
="$ac_save_LIBS"
7745 with_gnutls
=${with_gnutls:-no}
7747 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7749 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7751 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7754 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7757 ac_save_LIBS
="$LIBS"
7758 LIBS
="$LIBS $COREAUDIO_LIBS"
7759 for ac_func
in AUGraphAddNode
7761 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7762 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7763 cat >>confdefs.h
<<_ACEOF
7764 #define HAVE_AUGRAPHADDNODE 1
7770 LIBS
="$ac_save_LIBS"
7772 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7774 OPENAL_LIBS
="-framework OpenAL"
7777 cat >>confdefs.h
<<_ACEOF
7778 #define HAVE_OPENAL 1
7781 ac_cv_lib_openal
=yes
7783 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7785 OPENCL_LIBS
="-framework OpenCL"
7787 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7789 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7791 ac_save_LIBS
="$LIBS"
7792 LIBS
="$LIBS $IOKIT_LIBS"
7793 for ac_func
in IOHIDManagerCreate
7795 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7796 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7797 cat >>confdefs.h
<<_ACEOF
7798 #define HAVE_IOHIDMANAGERCREATE 1
7804 LIBS
="$ac_save_LIBS"
7806 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7808 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7810 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7812 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7814 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7816 CARBON_LIBS
="-framework Carbon"
7820 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7822 ac_save_LIBS
="$LIBS"
7823 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7824 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7825 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7826 enable_winemac_drv
=${enable_winemac_drv:-yes}
7829 LIBS
="$ac_save_LIBS"
7832 if test "x$enable_win16" = "xyes"
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7835 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7836 if test "$cross_compiling" = yes; then :
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7838 $as_echo "cross-compiling, assuming yes" >&6; }
7840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7841 /* end confdefs.h. */
7844 "good:\tnop;nop\n\t"
7845 ".globl _testfunc\n"
7846 "_testfunc:\tcallw good");
7847 extern void testfunc();
7851 unsigned short *p = (unsigned short *)testfunc;
7852 return p[0] != 0xe866 || p[1] != 0xfffa
7857 if ac_fn_c_try_run
"$LINENO"; then :
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7859 $as_echo "yes" >&6; }
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7862 $as_echo "no" >&6; }
7863 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
7865 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7866 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7871 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7873 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7877 libwine.$libwine_version.dylib: \$(OBJS)
7878 \$(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 \$@
7880 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7881 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7883 libwine.dylib: libwine.$libwine_soversion.dylib
7884 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7886 install install-lib:: libwine.$libwine_version.dylib
7887 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7888 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7890 install install-dev::
7891 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7894 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7898 as_fn_append LOADER_RULES
"
7899 $wine_binary: main.o wine_info.plist
7900 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7902 wine-installed: main.o wine_info.plist
7903 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7908 DLLFLAGS
="$DLLFLAGS -fPIC"
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7913 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7914 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7915 $as_echo_n "(cached) " >&6
7917 ac_wine_try_cflags_saved
=$CFLAGS
7918 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7920 /* end confdefs.h. */
7921 int main(int argc, char **argv) { return 0; }
7923 if ac_fn_c_try_link
"$LINENO"; then :
7924 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7926 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7928 rm -f core conftest.err conftest.
$ac_objext \
7929 conftest
$ac_exeext conftest.
$ac_ext
7930 CFLAGS
=$ac_wine_try_cflags_saved
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7933 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7934 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7935 LDEXECFLAGS
="-Wl,--export-dynamic"
7937 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7939 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7940 if eval \
${$as_ac_var+:} false
; then :
7941 $as_echo_n "(cached) " >&6
7943 ac_wine_try_cflags_saved
=$CFLAGS
7944 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7946 /* end confdefs.h. */
7947 int main(int argc, char **argv) { return 0; }
7949 if ac_fn_c_try_link
"$LINENO"; then :
7950 eval "$as_ac_var=yes"
7952 eval "$as_ac_var=no"
7954 rm -f core conftest.err conftest.
$ac_objext \
7955 conftest
$ac_exeext conftest.
$ac_ext
7956 CFLAGS
=$ac_wine_try_cflags_saved
7958 eval ac_res
=\$
$as_ac_var
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7960 $as_echo "$ac_res" >&6; }
7961 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7962 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7963 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7965 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7967 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7968 if eval \
${$as_ac_var+:} false
; then :
7969 $as_echo_n "(cached) " >&6
7971 ac_wine_try_cflags_saved
=$CFLAGS
7972 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7974 /* end confdefs.h. */
7975 int main(int argc, char **argv) { return 0; }
7977 if ac_fn_c_try_link
"$LINENO"; then :
7978 eval "$as_ac_var=yes"
7980 eval "$as_ac_var=no"
7982 rm -f core conftest.err conftest.
$ac_objext \
7983 conftest
$ac_exeext conftest.
$ac_ext
7984 CFLAGS
=$ac_wine_try_cflags_saved
7986 eval ac_res
=\$
$as_ac_var
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7988 $as_echo "$ac_res" >&6; }
7989 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7990 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7991 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7996 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7997 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7998 $as_echo_n "(cached) " >&6
8000 ac_wine_try_cflags_saved
=$CFLAGS
8001 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8003 /* end confdefs.h. */
8004 int main(int argc, char **argv) { return 0; }
8006 if ac_fn_c_try_link
"$LINENO"; then :
8007 ac_cv_cflags__Wl___enable_new_dtags
=yes
8009 ac_cv_cflags__Wl___enable_new_dtags
=no
8011 rm -f core conftest.err conftest.
$ac_objext \
8012 conftest
$ac_exeext conftest.
$ac_ext
8013 CFLAGS
=$ac_wine_try_cflags_saved
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8016 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8017 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8018 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8022 *i
[3456789]86* | x86_64
)
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8024 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8025 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8026 $as_echo_n "(cached) " >&6
8028 ac_wine_try_cflags_saved
=$CFLAGS
8029 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8031 /* end confdefs.h. */
8032 int main(int argc, char **argv) { return 0; }
8034 if ac_fn_c_try_link
"$LINENO"; then :
8035 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8037 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8039 rm -f core conftest.err conftest.
$ac_objext \
8040 conftest
$ac_exeext conftest.
$ac_ext
8041 CFLAGS
=$ac_wine_try_cflags_saved
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8044 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8045 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8046 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8051 libwine_targets
="libwine.so"
8053 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8057 libwine.so: \$(OBJS)
8058 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8060 install install-lib:: libwine.so
8061 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8064 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8068 as_fn_append LOADER_RULES
"
8069 $wine_binary: main.o
8070 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8072 wine-installed: main.o
8073 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8078 DLLFLAGS
="$DLLFLAGS -fPIC"
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8081 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8082 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8083 $as_echo_n "(cached) " >&6
8085 ac_wine_try_cflags_saved
=$CFLAGS
8086 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8088 /* end confdefs.h. */
8091 if ac_fn_c_try_link
"$LINENO"; then :
8092 ac_cv_c_dll_gnuelf
="yes"
8094 ac_cv_c_dll_gnuelf
="no"
8096 rm -f core conftest.err conftest.
$ac_objext \
8097 conftest
$ac_exeext conftest.
$ac_ext
8098 CFLAGS
=$ac_wine_try_cflags_saved
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8101 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8102 if test "$ac_cv_c_dll_gnuelf" = "yes"
8104 LDSHARED
="\$(CC) -shared"
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8106 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8107 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8108 $as_echo_n "(cached) " >&6
8110 ac_wine_try_cflags_saved
=$CFLAGS
8111 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8113 /* end confdefs.h. */
8114 int main(int argc, char **argv) { return 0; }
8116 if ac_fn_c_try_link
"$LINENO"; then :
8117 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8119 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8121 rm -f core conftest.err conftest.
$ac_objext \
8122 conftest
$ac_exeext conftest.
$ac_ext
8123 CFLAGS
=$ac_wine_try_cflags_saved
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8126 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8127 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8128 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8131 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8132 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8133 $as_echo_n "(cached) " >&6
8135 ac_wine_try_cflags_saved
=$CFLAGS
8136 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8138 /* end confdefs.h. */
8139 int main(int argc, char **argv) { return 0; }
8141 if ac_fn_c_try_link
"$LINENO"; then :
8142 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8144 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8146 rm -f core conftest.err conftest.
$ac_objext \
8147 conftest
$ac_exeext conftest.
$ac_ext
8148 CFLAGS
=$ac_wine_try_cflags_saved
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8151 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8152 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8153 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8157 echo '{ global: *; };' >conftest.map
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8159 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8160 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8161 $as_echo_n "(cached) " >&6
8163 ac_wine_try_cflags_saved
=$CFLAGS
8164 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8166 /* end confdefs.h. */
8167 int main(int argc, char **argv) { return 0; }
8169 if ac_fn_c_try_link
"$LINENO"; then :
8170 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8172 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8174 rm -f core conftest.err conftest.
$ac_objext \
8175 conftest
$ac_exeext conftest.
$ac_ext
8176 CFLAGS
=$ac_wine_try_cflags_saved
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8179 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8180 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8181 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8186 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8187 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8188 $as_echo_n "(cached) " >&6
8190 ac_wine_try_cflags_saved
=$CFLAGS
8191 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8193 /* end confdefs.h. */
8194 int main(int argc, char **argv) { return 0; }
8196 if ac_fn_c_try_link
"$LINENO"; then :
8197 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8199 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8201 rm -f core conftest.err conftest.
$ac_objext \
8202 conftest
$ac_exeext conftest.
$ac_ext
8203 CFLAGS
=$ac_wine_try_cflags_saved
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8206 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8207 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8208 LDEXECFLAGS
="-Wl,--export-dynamic"
8211 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8213 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8214 if eval \
${$as_ac_var+:} false
; then :
8215 $as_echo_n "(cached) " >&6
8217 ac_wine_try_cflags_saved
=$CFLAGS
8218 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8220 /* end confdefs.h. */
8221 int main(int argc, char **argv) { return 0; }
8223 if ac_fn_c_try_link
"$LINENO"; then :
8224 eval "$as_ac_var=yes"
8226 eval "$as_ac_var=no"
8228 rm -f core conftest.err conftest.
$ac_objext \
8229 conftest
$ac_exeext conftest.
$ac_ext
8230 CFLAGS
=$ac_wine_try_cflags_saved
8232 eval ac_res
=\$
$as_ac_var
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8234 $as_echo "$ac_res" >&6; }
8235 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8236 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8237 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8239 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8241 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8242 if eval \
${$as_ac_var+:} false
; then :
8243 $as_echo_n "(cached) " >&6
8245 ac_wine_try_cflags_saved
=$CFLAGS
8246 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8249 int main(int argc, char **argv) { return 0; }
8251 if ac_fn_c_try_link
"$LINENO"; then :
8252 eval "$as_ac_var=yes"
8254 eval "$as_ac_var=no"
8256 rm -f core conftest.err conftest.
$ac_objext \
8257 conftest
$ac_exeext conftest.
$ac_ext
8258 CFLAGS
=$ac_wine_try_cflags_saved
8260 eval ac_res
=\$
$as_ac_var
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8262 $as_echo "$ac_res" >&6; }
8263 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8264 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8265 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8270 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8271 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8272 $as_echo_n "(cached) " >&6
8274 ac_wine_try_cflags_saved
=$CFLAGS
8275 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8277 /* end confdefs.h. */
8278 int main(int argc, char **argv) { return 0; }
8280 if ac_fn_c_try_link
"$LINENO"; then :
8281 ac_cv_cflags__Wl___enable_new_dtags
=yes
8283 ac_cv_cflags__Wl___enable_new_dtags
=no
8285 rm -f core conftest.err conftest.
$ac_objext \
8286 conftest
$ac_exeext conftest.
$ac_ext
8287 CFLAGS
=$ac_wine_try_cflags_saved
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8290 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8291 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8292 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8296 *i
[3456789]86* | x86_64
)
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8298 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8299 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8300 $as_echo_n "(cached) " >&6
8302 ac_wine_try_cflags_saved
=$CFLAGS
8303 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8305 /* end confdefs.h. */
8306 int main(int argc, char **argv) { return 0; }
8308 if ac_fn_c_try_link
"$LINENO"; then :
8309 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8311 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8313 rm -f core conftest.err conftest.
$ac_objext \
8314 conftest
$ac_exeext conftest.
$ac_ext
8315 CFLAGS
=$ac_wine_try_cflags_saved
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8318 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8319 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8321 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8322 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8326 # Extract the first word of "prelink", so it can be a program name with args.
8327 set dummy prelink
; ac_word
=$2
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8329 $as_echo_n "checking for $ac_word... " >&6; }
8330 if ${ac_cv_path_PRELINK+:} false
; then :
8331 $as_echo_n "(cached) " >&6
8335 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8339 for as_dir
in /sbin
/usr
/sbin
$PATH
8342 test -z "$as_dir" && as_dir
=.
8343 for ac_exec_ext
in '' $ac_executable_extensions; do
8344 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8345 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8353 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8357 PRELINK
=$ac_cv_path_PRELINK
8358 if test -n "$PRELINK"; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8360 $as_echo "$PRELINK" >&6; }
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8363 $as_echo "no" >&6; }
8367 if test "x$PRELINK" = xfalse
8369 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8376 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8377 if ${ac_cv_c_dll_unixware+:} false
; then :
8378 $as_echo_n "(cached) " >&6
8380 ac_wine_try_cflags_saved
=$CFLAGS
8381 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8383 /* end confdefs.h. */
8386 if ac_fn_c_try_link
"$LINENO"; then :
8387 ac_cv_c_dll_unixware
="yes"
8389 ac_cv_c_dll_unixware
="no"
8391 rm -f core conftest.err conftest.
$ac_objext \
8392 conftest
$ac_exeext conftest.
$ac_ext
8393 CFLAGS
=$ac_wine_try_cflags_saved
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8396 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8397 if test "$ac_cv_c_dll_unixware" = "yes"
8399 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8402 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8404 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8408 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8409 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8411 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8412 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8414 libwine.so: libwine.so.$libwine_soversion
8415 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8417 install install-lib:: libwine.so.$libwine_version
8418 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8419 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8421 install install-dev::
8422 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8425 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8429 as_fn_append LOADER_RULES
"
8430 $wine_binary: main.o
8431 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8433 wine-installed: main.o
8434 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8439 as_fn_append LIBWINE_RULES
"
8440 EXTRA_TARGETS = $libwine_targets
8443 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8444 enable_winemac_drv
=${enable_winemac_drv:-no}
8448 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8452 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
8455 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 " ;;
8457 ac_prefix_list
="" ;;
8459 for ac_prog
in $ac_prefix_list
8461 # Extract the first word of "$ac_prog", so it can be a program name with args.
8462 set dummy
$ac_prog; ac_word
=$2
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8464 $as_echo_n "checking for $ac_word... " >&6; }
8465 if ${ac_cv_prog_CROSSCC+:} false
; then :
8466 $as_echo_n "(cached) " >&6
8468 if test -n "$CROSSCC"; then
8469 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8475 test -z "$as_dir" && as_dir
=.
8476 for ac_exec_ext
in '' $ac_executable_extensions; do
8477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8478 ac_cv_prog_CROSSCC
="$ac_prog"
8479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8488 CROSSCC
=$ac_cv_prog_CROSSCC
8489 if test -n "$CROSSCC"; then
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8491 $as_echo "$CROSSCC" >&6; }
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8494 $as_echo "no" >&6; }
8498 test -n "$CROSSCC" && break
8500 test -n "$CROSSCC" || CROSSCC
="false"
8502 if test "$CROSSCC" != "false"
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8507 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8519 if ac_fn_c_try_compile
"$LINENO"; then :
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8521 $as_echo "yes" >&6; }
8527 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8533 $as_echo "no" >&6; }
8535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8541 if test "$ac_cv_header_pthread_h" = "yes"
8543 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8544 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8548 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8549 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8550 $as_echo_n "(cached) " >&6
8552 ac_check_lib_save_LIBS
=$LIBS
8553 LIBS
="-lpthread $LIBS"
8554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8555 /* end confdefs.h. */
8557 /* Override any GCC internal prototype to avoid an error.
8558 Use char because int might match the return type of a GCC
8559 builtin and then its argument prototype would still apply. */
8563 char pthread_create ();
8567 return pthread_create ();
8572 if ac_fn_c_try_link
"$LINENO"; then :
8573 ac_cv_lib_pthread_pthread_create
=yes
8575 ac_cv_lib_pthread_pthread_create
=no
8577 rm -f core conftest.err conftest.
$ac_objext \
8578 conftest
$ac_exeext conftest.
$ac_ext
8579 LIBS
=$ac_check_lib_save_LIBS
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8582 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8583 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8584 PTHREAD_LIBS
="-lpthread"
8591 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8592 case "x$with_pthread" in
8594 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8595 Wine cannot support threads without libpthread.
8596 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8602 $as_echo_n "checking for X... " >&6; }
8605 # Check whether --with-x was given.
8606 if test "${with_x+set}" = set; then :
8610 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8611 if test "x$with_x" = xno
; then
8612 # The user explicitly disabled X.
8615 case $x_includes,$x_libraries in #(
8616 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8617 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8618 $as_echo_n "(cached) " >&6
8620 # One or both of the vars are not set, and there is no cached value.
8621 ac_x_includes
=no ac_x_libraries
=no
8622 rm -f -r conftest.dir
8623 if mkdir conftest.dir
; then
8625 cat >Imakefile
<<'_ACEOF'
8627 @echo incroot='${INCROOT}'
8629 @echo usrlibdir='${USRLIBDIR}'
8631 @echo libdir='${LIBDIR}'
8633 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8634 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8635 for ac_var
in incroot usrlibdir libdir
; do
8636 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8638 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8639 for ac_extension
in a so sl dylib la dll
; do
8640 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8641 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8642 ac_im_usrlibdir
=$ac_im_libdir; break
8645 # Screen out bogus values from the imake configuration. They are
8646 # bogus both because they are the default anyway, and because
8647 # using them would break gcc on systems where it needs fixed includes.
8648 case $ac_im_incroot in
8649 /usr
/include
) ac_x_includes
= ;;
8650 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8652 case $ac_im_usrlibdir in
8653 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8654 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8658 rm -f -r conftest.dir
8661 # Standard set of common directories for X headers.
8662 # Check X11 before X11Rn because it is often a symlink to the current release.
8676 /usr/local/X11/include
8677 /usr/local/X11R7/include
8678 /usr/local/X11R6/include
8679 /usr/local/X11R5/include
8680 /usr/local/X11R4/include
8682 /usr/local/include/X11
8683 /usr/local/include/X11R7
8684 /usr/local/include/X11R6
8685 /usr/local/include/X11R5
8686 /usr/local/include/X11R4
8690 /usr/XFree86/include/X11
8694 /usr/unsupported/include
8696 /usr/local/x11r5/include
8697 /usr/lpp/Xamples/include
8699 /usr/openwin/include
8700 /usr/openwin/share/include'
8702 if test "$ac_x_includes" = no
; then
8703 # Guess where to find include files, by looking for Xlib.h.
8704 # First, try using that file with no special directory specified.
8705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8706 /* end confdefs.h. */
8707 #include <X11/Xlib.h>
8709 if ac_fn_c_try_cpp
"$LINENO"; then :
8710 # We can compile using X headers with no special include directory.
8713 for ac_dir
in $ac_x_header_dirs; do
8714 if test -r "$ac_dir/X11/Xlib.h"; then
8715 ac_x_includes
=$ac_dir
8720 rm -f conftest.err conftest.i conftest.
$ac_ext
8721 fi # $ac_x_includes = no
8723 if test "$ac_x_libraries" = no
; then
8724 # Check for the libraries.
8725 # See if we find them without any special options.
8726 # Don't add to $LIBS permanently.
8729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8730 /* end confdefs.h. */
8731 #include <X11/Xlib.h>
8740 if ac_fn_c_try_link
"$LINENO"; then :
8742 # We can link X programs with no special library path.
8746 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8748 # Don't even attempt the hair of trying to link an X program!
8749 for ac_extension
in a so sl dylib la dll
; do
8750 if test -r "$ac_dir/libX11.$ac_extension"; then
8751 ac_x_libraries
=$ac_dir
8757 rm -f core conftest.err conftest.
$ac_objext \
8758 conftest
$ac_exeext conftest.
$ac_ext
8759 fi # $ac_x_libraries = no
8761 case $ac_x_includes,$ac_x_libraries in #(
8763 # Didn't find X, or a directory has "'" in its name.
8764 ac_cv_have_x
="have_x=no";; #(
8766 # Record where we found X for the cache.
8767 ac_cv_have_x
="have_x=yes\
8768 ac_x_includes='$ac_x_includes'\
8769 ac_x_libraries='$ac_x_libraries'"
8775 eval "$ac_cv_have_x"
8778 if test "$have_x" != yes; then
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8780 $as_echo "$have_x" >&6; }
8783 # If each of the values was on the command line, it overrides each guess.
8784 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8785 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8786 # Update the cache value to reflect the command line values.
8787 ac_cv_have_x
="have_x=yes\
8788 ac_x_includes='$x_includes'\
8789 ac_x_libraries='$x_libraries'"
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8791 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8794 if test "$no_x" = yes; then
8795 # Not all programs may use this symbol, but it does not hurt to define it.
8797 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8799 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8801 if test -n "$x_includes"; then
8802 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8805 # It would also be nice to do this for all -L options, not just this one.
8806 if test -n "$x_libraries"; then
8807 X_LIBS
="$X_LIBS -L$x_libraries"
8808 # For Solaris; some versions of Sun CC require a space after -R and
8809 # others require no space. Words are not sufficient . . . .
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8811 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8812 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8813 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8814 ac_c_werror_flag
=yes
8815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8816 /* end confdefs.h. */
8826 if ac_fn_c_try_link
"$LINENO"; then :
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8828 $as_echo "no" >&6; }
8829 X_LIBS
="$X_LIBS -R$x_libraries"
8831 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8833 /* end confdefs.h. */
8843 if ac_fn_c_try_link
"$LINENO"; then :
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8845 $as_echo "yes" >&6; }
8846 X_LIBS
="$X_LIBS -R $x_libraries"
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8849 $as_echo "neither works" >&6; }
8851 rm -f core conftest.err conftest.
$ac_objext \
8852 conftest
$ac_exeext conftest.
$ac_ext
8854 rm -f core conftest.err conftest.
$ac_objext \
8855 conftest
$ac_exeext conftest.
$ac_ext
8856 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8860 # Check for system-dependent libraries X programs must link with.
8861 # Do this before checking for the system-independent R6 libraries
8862 # (-lICE), since we may need -lsocket or whatever for X linking.
8864 if test "$ISC" = yes; then
8865 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8867 # Martyn Johnson says this is needed for Ultrix, if the X
8868 # libraries were built with DECnet support. And Karl Berry says
8869 # the Alpha needs dnet_stub (dnet does not exist).
8870 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8872 /* end confdefs.h. */
8874 /* Override any GCC internal prototype to avoid an error.
8875 Use char because int might match the return type of a GCC
8876 builtin and then its argument prototype would still apply. */
8880 char XOpenDisplay ();
8884 return XOpenDisplay ();
8889 if ac_fn_c_try_link
"$LINENO"; then :
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8893 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8894 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8895 $as_echo_n "(cached) " >&6
8897 ac_check_lib_save_LIBS
=$LIBS
8899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8900 /* end confdefs.h. */
8902 /* Override any GCC internal prototype to avoid an error.
8903 Use char because int might match the return type of a GCC
8904 builtin and then its argument prototype would still apply. */
8912 return dnet_ntoa ();
8917 if ac_fn_c_try_link
"$LINENO"; then :
8918 ac_cv_lib_dnet_dnet_ntoa
=yes
8920 ac_cv_lib_dnet_dnet_ntoa
=no
8922 rm -f core conftest.err conftest.
$ac_objext \
8923 conftest
$ac_exeext conftest.
$ac_ext
8924 LIBS
=$ac_check_lib_save_LIBS
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8927 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8928 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8929 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8932 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8934 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8935 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8936 $as_echo_n "(cached) " >&6
8938 ac_check_lib_save_LIBS
=$LIBS
8939 LIBS
="-ldnet_stub $LIBS"
8940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8941 /* end confdefs.h. */
8943 /* Override any GCC internal prototype to avoid an error.
8944 Use char because int might match the return type of a GCC
8945 builtin and then its argument prototype would still apply. */
8953 return dnet_ntoa ();
8958 if ac_fn_c_try_link
"$LINENO"; then :
8959 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8961 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8963 rm -f core conftest.err conftest.
$ac_objext \
8964 conftest
$ac_exeext conftest.
$ac_ext
8965 LIBS
=$ac_check_lib_save_LIBS
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8968 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8969 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8970 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8975 rm -f core conftest.err conftest.
$ac_objext \
8976 conftest
$ac_exeext conftest.
$ac_ext
8977 LIBS
="$ac_xsave_LIBS"
8979 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8980 # to get the SysV transport functions.
8981 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8983 # The nsl library prevents programs from opening the X display
8984 # on Irix 5.2, according to T.E. Dickey.
8985 # The functions gethostbyname, getservbyname, and inet_addr are
8986 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8987 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8988 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8992 if test $ac_cv_func_gethostbyname = no
; then
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8994 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8995 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8996 $as_echo_n "(cached) " >&6
8998 ac_check_lib_save_LIBS
=$LIBS
9000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9001 /* end confdefs.h. */
9003 /* Override any GCC internal prototype to avoid an error.
9004 Use char because int might match the return type of a GCC
9005 builtin and then its argument prototype would still apply. */
9009 char gethostbyname ();
9013 return gethostbyname ();
9018 if ac_fn_c_try_link
"$LINENO"; then :
9019 ac_cv_lib_nsl_gethostbyname
=yes
9021 ac_cv_lib_nsl_gethostbyname
=no
9023 rm -f core conftest.err conftest.
$ac_objext \
9024 conftest
$ac_exeext conftest.
$ac_ext
9025 LIBS
=$ac_check_lib_save_LIBS
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9028 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9029 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9030 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9033 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9035 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9036 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9037 $as_echo_n "(cached) " >&6
9039 ac_check_lib_save_LIBS
=$LIBS
9041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9042 /* end confdefs.h. */
9044 /* Override any GCC internal prototype to avoid an error.
9045 Use char because int might match the return type of a GCC
9046 builtin and then its argument prototype would still apply. */
9050 char gethostbyname ();
9054 return gethostbyname ();
9059 if ac_fn_c_try_link
"$LINENO"; then :
9060 ac_cv_lib_bsd_gethostbyname
=yes
9062 ac_cv_lib_bsd_gethostbyname
=no
9064 rm -f core conftest.err conftest.
$ac_objext \
9065 conftest
$ac_exeext conftest.
$ac_ext
9066 LIBS
=$ac_check_lib_save_LIBS
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9069 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9070 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9071 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9077 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9078 # socket/setsockopt and other routines are undefined under SCO ODT
9079 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9080 # on later versions), says Simon Leinen: it contains gethostby*
9081 # variants that don't use the name server (or something). -lsocket
9082 # must be given before -lnsl if both are needed. We assume that
9083 # if connect needs -lnsl, so does gethostbyname.
9084 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9085 if test "x$ac_cv_func_connect" = xyes
; then :
9089 if test $ac_cv_func_connect = no
; then
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9091 $as_echo_n "checking for connect in -lsocket... " >&6; }
9092 if ${ac_cv_lib_socket_connect+:} false
; then :
9093 $as_echo_n "(cached) " >&6
9095 ac_check_lib_save_LIBS
=$LIBS
9096 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9098 /* end confdefs.h. */
9100 /* Override any GCC internal prototype to avoid an error.
9101 Use char because int might match the return type of a GCC
9102 builtin and then its argument prototype would still apply. */
9115 if ac_fn_c_try_link
"$LINENO"; then :
9116 ac_cv_lib_socket_connect
=yes
9118 ac_cv_lib_socket_connect
=no
9120 rm -f core conftest.err conftest.
$ac_objext \
9121 conftest
$ac_exeext conftest.
$ac_ext
9122 LIBS
=$ac_check_lib_save_LIBS
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9125 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9126 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9127 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9132 # Guillermo Gomez says -lposix is necessary on A/UX.
9133 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9134 if test "x$ac_cv_func_remove" = xyes
; then :
9138 if test $ac_cv_func_remove = no
; then
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9140 $as_echo_n "checking for remove in -lposix... " >&6; }
9141 if ${ac_cv_lib_posix_remove+:} false
; then :
9142 $as_echo_n "(cached) " >&6
9144 ac_check_lib_save_LIBS
=$LIBS
9145 LIBS
="-lposix $LIBS"
9146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9147 /* end confdefs.h. */
9149 /* Override any GCC internal prototype to avoid an error.
9150 Use char because int might match the return type of a GCC
9151 builtin and then its argument prototype would still apply. */
9164 if ac_fn_c_try_link
"$LINENO"; then :
9165 ac_cv_lib_posix_remove
=yes
9167 ac_cv_lib_posix_remove
=no
9169 rm -f core conftest.err conftest.
$ac_objext \
9170 conftest
$ac_exeext conftest.
$ac_ext
9171 LIBS
=$ac_check_lib_save_LIBS
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9174 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9175 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9176 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9181 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9182 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9183 if test "x$ac_cv_func_shmat" = xyes
; then :
9187 if test $ac_cv_func_shmat = no
; then
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9189 $as_echo_n "checking for shmat in -lipc... " >&6; }
9190 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9191 $as_echo_n "(cached) " >&6
9193 ac_check_lib_save_LIBS
=$LIBS
9195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9196 /* end confdefs.h. */
9198 /* Override any GCC internal prototype to avoid an error.
9199 Use char because int might match the return type of a GCC
9200 builtin and then its argument prototype would still apply. */
9213 if ac_fn_c_try_link
"$LINENO"; then :
9214 ac_cv_lib_ipc_shmat
=yes
9216 ac_cv_lib_ipc_shmat
=no
9218 rm -f core conftest.err conftest.
$ac_objext \
9219 conftest
$ac_exeext conftest.
$ac_ext
9220 LIBS
=$ac_check_lib_save_LIBS
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9223 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9224 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9225 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9231 # Check for libraries that X11R6 Xt/Xaw programs need.
9232 ac_save_LDFLAGS
=$LDFLAGS
9233 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9234 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9235 # check for ICE first), but we must link in the order -lSM -lICE or
9236 # we get undefined symbols. So assume we have SM if we have ICE.
9237 # These have to be linked with before -lX11, unlike the other
9238 # libraries we check for below, so use a different variable.
9239 # John Interrante, Karl Berry
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9241 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9242 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9243 $as_echo_n "(cached) " >&6
9245 ac_check_lib_save_LIBS
=$LIBS
9246 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9248 /* end confdefs.h. */
9250 /* Override any GCC internal prototype to avoid an error.
9251 Use char because int might match the return type of a GCC
9252 builtin and then its argument prototype would still apply. */
9256 char IceConnectionNumber ();
9260 return IceConnectionNumber ();
9265 if ac_fn_c_try_link
"$LINENO"; then :
9266 ac_cv_lib_ICE_IceConnectionNumber
=yes
9268 ac_cv_lib_ICE_IceConnectionNumber
=no
9270 rm -f core conftest.err conftest.
$ac_objext \
9271 conftest
$ac_exeext conftest.
$ac_ext
9272 LIBS
=$ac_check_lib_save_LIBS
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9275 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9276 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9277 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9280 LDFLAGS
=$ac_save_LDFLAGS
9285 if test "$have_x" = "yes"
9287 ac_save_CPPFLAGS
="$CPPFLAGS"
9288 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9291 $as_echo_n "checking for -lX11... " >&6; }
9292 if ${ac_cv_lib_soname_X11+:} false
; then :
9293 $as_echo_n "(cached) " >&6
9295 ac_check_soname_save_LIBS
=$LIBS
9296 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9298 /* end confdefs.h. */
9300 /* Override any GCC internal prototype to avoid an error.
9301 Use char because int might match the return type of a GCC
9302 builtin and then its argument prototype would still apply. */
9306 char XCreateWindow ();
9310 return XCreateWindow ();
9315 if ac_fn_c_try_link
"$LINENO"; then :
9317 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9318 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'` ;;
9319 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9320 if ${ac_cv_lib_soname_X11:+false} :; then :
9321 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9325 rm -f core conftest.err conftest.
$ac_objext \
9326 conftest
$ac_exeext conftest.
$ac_ext
9327 LIBS
=$ac_check_soname_save_LIBS
9329 if ${ac_cv_lib_soname_X11:+false} :; then :
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9331 $as_echo "not found" >&6; }
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9335 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9337 cat >>confdefs.h
<<_ACEOF
9338 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9344 $as_echo_n "checking for -lXext... " >&6; }
9345 if ${ac_cv_lib_soname_Xext+:} false
; then :
9346 $as_echo_n "(cached) " >&6
9348 ac_check_soname_save_LIBS
=$LIBS
9349 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9351 /* end confdefs.h. */
9353 /* Override any GCC internal prototype to avoid an error.
9354 Use char because int might match the return type of a GCC
9355 builtin and then its argument prototype would still apply. */
9359 char XextCreateExtension ();
9363 return XextCreateExtension ();
9368 if ac_fn_c_try_link
"$LINENO"; then :
9370 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9371 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'` ;;
9372 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9373 if ${ac_cv_lib_soname_Xext:+false} :; then :
9374 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9378 rm -f core conftest.err conftest.
$ac_objext \
9379 conftest
$ac_exeext conftest.
$ac_ext
9380 LIBS
=$ac_check_soname_save_LIBS
9382 if ${ac_cv_lib_soname_Xext:+false} :; then :
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9384 $as_echo "not found" >&6; }
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9388 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9390 cat >>confdefs.h
<<_ACEOF
9391 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9394 X_LIBS
="$X_LIBS -lXext"
9396 X_LIBS
="$X_LIBS -lX11"
9398 for ac_header
in X11
/Xlib.h \
9401 X11
/Xcursor
/Xcursor.h \
9402 X11
/extensions
/shape.h \
9403 X11
/extensions
/XInput.h \
9404 X11
/extensions
/XInput2.h \
9405 X11
/extensions
/XShm.h \
9406 X11
/extensions
/Xcomposite.h \
9407 X11
/extensions
/Xinerama.h \
9408 X11
/extensions
/Xrandr.h \
9409 X11
/extensions
/Xrender.h \
9410 X11
/extensions
/xf86vmode.h \
9411 X11
/extensions
/xf86vmproto.h
9413 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9414 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9415 # include <X11/Xlib.h>
9417 #ifdef HAVE_X11_XUTIL_H
9418 # include <X11/Xutil.h>
9421 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9422 cat >>confdefs.h
<<_ACEOF
9423 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9431 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9434 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9435 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9436 $as_echo_n "(cached) " >&6
9438 ac_check_lib_save_LIBS
=$LIBS
9439 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9443 /* Override any GCC internal prototype to avoid an error.
9444 Use char because int might match the return type of a GCC
9445 builtin and then its argument prototype would still apply. */
9449 char XkbQueryExtension ();
9453 return XkbQueryExtension ();
9458 if ac_fn_c_try_link
"$LINENO"; then :
9459 ac_cv_lib_X11_XkbQueryExtension
=yes
9461 ac_cv_lib_X11_XkbQueryExtension
=no
9463 rm -f core conftest.err conftest.
$ac_objext \
9464 conftest
$ac_exeext conftest.
$ac_ext
9465 LIBS
=$ac_check_lib_save_LIBS
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9468 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9469 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9471 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9477 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9480 $as_echo_n "checking for -lXcursor... " >&6; }
9481 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9482 $as_echo_n "(cached) " >&6
9484 ac_check_soname_save_LIBS
=$LIBS
9485 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9487 /* end confdefs.h. */
9489 /* Override any GCC internal prototype to avoid an error.
9490 Use char because int might match the return type of a GCC
9491 builtin and then its argument prototype would still apply. */
9495 char XcursorImageLoadCursor ();
9499 return XcursorImageLoadCursor ();
9504 if ac_fn_c_try_link
"$LINENO"; then :
9506 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9507 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'` ;;
9508 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9509 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9510 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9514 rm -f core conftest.err conftest.
$ac_objext \
9515 conftest
$ac_exeext conftest.
$ac_ext
9516 LIBS
=$ac_check_soname_save_LIBS
9518 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9520 $as_echo "not found" >&6; }
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9524 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9526 cat >>confdefs.h
<<_ACEOF
9527 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9533 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9534 case "x$with_xcursor" in
9535 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9537 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9538 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9542 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9545 $as_echo_n "checking for -lXi... " >&6; }
9546 if ${ac_cv_lib_soname_Xi+:} false
; then :
9547 $as_echo_n "(cached) " >&6
9549 ac_check_soname_save_LIBS
=$LIBS
9550 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9552 /* end confdefs.h. */
9554 /* Override any GCC internal prototype to avoid an error.
9555 Use char because int might match the return type of a GCC
9556 builtin and then its argument prototype would still apply. */
9560 char XOpenDevice ();
9564 return XOpenDevice ();
9569 if ac_fn_c_try_link
"$LINENO"; then :
9571 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9572 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'` ;;
9573 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9574 if ${ac_cv_lib_soname_Xi:+false} :; then :
9575 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9579 rm -f core conftest.err conftest.
$ac_objext \
9580 conftest
$ac_exeext conftest.
$ac_ext
9581 LIBS
=$ac_check_soname_save_LIBS
9583 if ${ac_cv_lib_soname_Xi:+false} :; then :
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9585 $as_echo "not found" >&6; }
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9589 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9591 cat >>confdefs.h
<<_ACEOF
9592 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9598 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9599 case "x$with_xinput" in
9600 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9602 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9603 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9607 if test "x$ac_cv_lib_soname_Xi" != x
9609 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9610 case "x$with_xinput2" in
9611 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9613 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9614 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9619 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9622 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9623 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9624 $as_echo_n "(cached) " >&6
9626 ac_check_lib_save_LIBS
=$LIBS
9627 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9629 /* end confdefs.h. */
9631 /* Override any GCC internal prototype to avoid an error.
9632 Use char because int might match the return type of a GCC
9633 builtin and then its argument prototype would still apply. */
9637 char XShmQueryExtension ();
9641 return XShmQueryExtension ();
9646 if ac_fn_c_try_link
"$LINENO"; then :
9647 ac_cv_lib_Xext_XShmQueryExtension
=yes
9649 ac_cv_lib_Xext_XShmQueryExtension
=no
9651 rm -f core conftest.err conftest.
$ac_objext \
9652 conftest
$ac_exeext conftest.
$ac_ext
9653 LIBS
=$ac_check_lib_save_LIBS
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9656 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9657 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9659 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9664 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9665 case "x$with_xshm" in
9666 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9668 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9669 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9673 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9676 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9677 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9678 $as_echo_n "(cached) " >&6
9680 ac_check_lib_save_LIBS
=$LIBS
9681 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9683 /* end confdefs.h. */
9685 /* Override any GCC internal prototype to avoid an error.
9686 Use char because int might match the return type of a GCC
9687 builtin and then its argument prototype would still apply. */
9691 char XShapeQueryExtension ();
9695 return XShapeQueryExtension ();
9700 if ac_fn_c_try_link
"$LINENO"; then :
9701 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9703 ac_cv_lib_Xext_XShapeQueryExtension
=no
9705 rm -f core conftest.err conftest.
$ac_objext \
9706 conftest
$ac_exeext conftest.
$ac_ext
9707 LIBS
=$ac_check_lib_save_LIBS
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9710 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9711 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9713 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9718 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9719 case "x$with_xshape" in
9720 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9722 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9723 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9727 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9730 $as_echo_n "checking for -lXxf86vm... " >&6; }
9731 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9732 $as_echo_n "(cached) " >&6
9734 ac_check_soname_save_LIBS
=$LIBS
9735 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9737 /* end confdefs.h. */
9739 /* Override any GCC internal prototype to avoid an error.
9740 Use char because int might match the return type of a GCC
9741 builtin and then its argument prototype would still apply. */
9745 char XF86VidModeQueryExtension ();
9749 return XF86VidModeQueryExtension ();
9754 if ac_fn_c_try_link
"$LINENO"; then :
9756 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9757 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'` ;;
9758 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9759 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9760 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9764 rm -f core conftest.err conftest.
$ac_objext \
9765 conftest
$ac_exeext conftest.
$ac_ext
9766 LIBS
=$ac_check_soname_save_LIBS
9768 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9770 $as_echo "not found" >&6; }
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9774 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9776 cat >>confdefs.h
<<_ACEOF
9777 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9783 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9784 case "x$with_xxf86vm" in
9785 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9787 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9788 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9792 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"
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9795 $as_echo_n "checking for -lXrender... " >&6; }
9796 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9797 $as_echo_n "(cached) " >&6
9799 ac_check_soname_save_LIBS
=$LIBS
9800 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9802 /* end confdefs.h. */
9804 /* Override any GCC internal prototype to avoid an error.
9805 Use char because int might match the return type of a GCC
9806 builtin and then its argument prototype would still apply. */
9810 char XRenderQueryExtension ();
9814 return XRenderQueryExtension ();
9819 if ac_fn_c_try_link
"$LINENO"; then :
9821 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9822 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'` ;;
9823 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9824 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9825 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9829 rm -f core conftest.err conftest.
$ac_objext \
9830 conftest
$ac_exeext conftest.
$ac_ext
9831 LIBS
=$ac_check_soname_save_LIBS
9833 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9835 $as_echo "not found" >&6; }
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9839 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9841 cat >>confdefs.h
<<_ACEOF
9842 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9846 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9847 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9848 $as_echo_n "(cached) " >&6
9850 ac_check_lib_save_LIBS
=$LIBS
9851 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h. */
9855 /* Override any GCC internal prototype to avoid an error.
9856 Use char because int might match the return type of a GCC
9857 builtin and then its argument prototype would still apply. */
9861 char XRenderSetPictureTransform ();
9865 return XRenderSetPictureTransform ();
9870 if ac_fn_c_try_link
"$LINENO"; then :
9871 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9873 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9875 rm -f core conftest.err conftest.
$ac_objext \
9876 conftest
$ac_exeext conftest.
$ac_ext
9877 LIBS
=$ac_check_lib_save_LIBS
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9880 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9881 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9883 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9888 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9889 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9890 $as_echo_n "(cached) " >&6
9892 ac_check_lib_save_LIBS
=$LIBS
9893 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9895 /* end confdefs.h. */
9897 /* Override any GCC internal prototype to avoid an error.
9898 Use char because int might match the return type of a GCC
9899 builtin and then its argument prototype would still apply. */
9903 char XRenderCreateLinearGradient ();
9907 return XRenderCreateLinearGradient ();
9912 if ac_fn_c_try_link
"$LINENO"; then :
9913 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9915 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9917 rm -f core conftest.err conftest.
$ac_objext \
9918 conftest
$ac_exeext conftest.
$ac_ext
9919 LIBS
=$ac_check_lib_save_LIBS
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9922 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9923 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9925 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9932 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9933 case "x$with_xrender" in
9934 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9936 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9937 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9941 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9945 #include <X11/Xlib.h>
9946 #include <X11/extensions/Xrandr.h>
9950 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9955 if ac_fn_c_try_compile
"$LINENO"; then :
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9957 $as_echo_n "checking for -lXrandr... " >&6; }
9958 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9959 $as_echo_n "(cached) " >&6
9961 ac_check_soname_save_LIBS
=$LIBS
9962 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9964 /* end confdefs.h. */
9966 /* Override any GCC internal prototype to avoid an error.
9967 Use char because int might match the return type of a GCC
9968 builtin and then its argument prototype would still apply. */
9972 char XRRQueryExtension ();
9976 return XRRQueryExtension ();
9981 if ac_fn_c_try_link
"$LINENO"; then :
9983 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9984 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'` ;;
9985 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9986 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9987 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9991 rm -f core conftest.err conftest.
$ac_objext \
9992 conftest
$ac_exeext conftest.
$ac_ext
9993 LIBS
=$ac_check_soname_save_LIBS
9995 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9997 $as_echo "not found" >&6; }
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10001 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10003 cat >>confdefs.h
<<_ACEOF
10004 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10009 #include <X11/Xlib.h>
10010 #include <X11/extensions/Xrandr.h>
10014 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10019 if ac_fn_c_try_compile
"$LINENO"; then :
10021 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10029 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10030 case "x$with_xrandr" in
10031 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10033 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10034 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10038 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10041 /* end confdefs.h. */
10042 #include <X11/Xlib.h>
10043 #include <X11/extensions/Xinerama.h>
10047 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10052 if ac_fn_c_try_compile
"$LINENO"; then :
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10054 $as_echo_n "checking for -lXinerama... " >&6; }
10055 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10056 $as_echo_n "(cached) " >&6
10058 ac_check_soname_save_LIBS
=$LIBS
10059 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10063 /* Override any GCC internal prototype to avoid an error.
10064 Use char because int might match the return type of a GCC
10065 builtin and then its argument prototype would still apply. */
10069 char XineramaQueryScreens ();
10073 return XineramaQueryScreens ();
10078 if ac_fn_c_try_link
"$LINENO"; then :
10080 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10081 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'` ;;
10082 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10083 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10084 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10088 rm -f core conftest.err conftest.
$ac_objext \
10089 conftest
$ac_exeext conftest.
$ac_ext
10090 LIBS
=$ac_check_soname_save_LIBS
10092 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10094 $as_echo "not found" >&6; }
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10098 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10100 cat >>confdefs.h
<<_ACEOF
10101 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10109 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10110 case "x$with_xinerama" in
10111 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10113 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10114 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10118 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10121 $as_echo_n "checking for -lXcomposite... " >&6; }
10122 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10123 $as_echo_n "(cached) " >&6
10125 ac_check_soname_save_LIBS
=$LIBS
10126 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10128 /* end confdefs.h. */
10130 /* Override any GCC internal prototype to avoid an error.
10131 Use char because int might match the return type of a GCC
10132 builtin and then its argument prototype would still apply. */
10136 char XCompositeRedirectWindow ();
10140 return XCompositeRedirectWindow ();
10145 if ac_fn_c_try_link
"$LINENO"; then :
10147 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10148 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'` ;;
10149 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10150 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10151 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10155 rm -f core conftest.err conftest.
$ac_objext \
10156 conftest
$ac_exeext conftest.
$ac_ext
10157 LIBS
=$ac_check_soname_save_LIBS
10159 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10161 $as_echo "not found" >&6; }
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10165 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10167 cat >>confdefs.h
<<_ACEOF
10168 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10174 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10175 case "x$with_xcomposite" in
10176 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10178 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10179 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10183 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10184 #include <X11/Xlib.h>
10187 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10189 cat >>confdefs.h
<<_ACEOF
10190 #define HAVE_XICCALLBACK_CALLBACK 1
10195 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10196 #include <X11/Xlib.h>
10199 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10201 cat >>confdefs.h
<<_ACEOF
10202 #define HAVE_XEVENT_XCOOKIE 1
10211 if test "x$with_opengl" != "xno"
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10214 $as_echo_n "checking for -lGL... " >&6; }
10215 if ${ac_cv_lib_soname_GL+:} false
; then :
10216 $as_echo_n "(cached) " >&6
10218 ac_check_soname_save_LIBS
=$LIBS
10219 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10221 /* end confdefs.h. */
10223 /* Override any GCC internal prototype to avoid an error.
10224 Use char because int might match the return type of a GCC
10225 builtin and then its argument prototype would still apply. */
10229 char glXCreateContext ();
10233 return glXCreateContext ();
10238 if ac_fn_c_try_link
"$LINENO"; then :
10240 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10241 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'` ;;
10242 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10243 if ${ac_cv_lib_soname_GL:+false} :; then :
10244 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10248 rm -f core conftest.err conftest.
$ac_objext \
10249 conftest
$ac_exeext conftest.
$ac_ext
10250 LIBS
=$ac_check_soname_save_LIBS
10252 if ${ac_cv_lib_soname_GL:+false} :; then :
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10254 $as_echo "not found" >&6; }
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10256 $as_echo_n "checking for -lGL... " >&6; }
10257 if ${ac_cv_lib_soname_GL+:} false
; then :
10258 $as_echo_n "(cached) " >&6
10260 ac_check_soname_save_LIBS
=$LIBS
10261 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"
10262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10263 /* end confdefs.h. */
10265 /* Override any GCC internal prototype to avoid an error.
10266 Use char because int might match the return type of a GCC
10267 builtin and then its argument prototype would still apply. */
10271 char glXCreateContext ();
10275 return glXCreateContext ();
10280 if ac_fn_c_try_link
"$LINENO"; then :
10282 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10283 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'` ;;
10284 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10285 if ${ac_cv_lib_soname_GL:+false} :; then :
10286 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10290 rm -f core conftest.err conftest.
$ac_objext \
10291 conftest
$ac_exeext conftest.
$ac_ext
10292 LIBS
=$ac_check_soname_save_LIBS
10294 if ${ac_cv_lib_soname_GL:+false} :; then :
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10296 $as_echo "not found" >&6; }
10297 if test -f /usr
/X11R
6/lib
/libGL.a
10299 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10300 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10302 opengl_msg
="No OpenGL library found on this system."
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10306 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10308 cat >>confdefs.h
<<_ACEOF
10309 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10312 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"
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10316 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10318 cat >>confdefs.h
<<_ACEOF
10319 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10324 if test "x$with_glu" != "xno"
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10327 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10328 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10329 $as_echo_n "(cached) " >&6
10331 ac_check_lib_save_LIBS
=$LIBS
10332 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10334 /* end confdefs.h. */
10336 /* Override any GCC internal prototype to avoid an error.
10337 Use char because int might match the return type of a GCC
10338 builtin and then its argument prototype would still apply. */
10346 return gluLookAt ();
10351 if ac_fn_c_try_link
"$LINENO"; then :
10352 ac_cv_lib_GLU_gluLookAt
=yes
10354 ac_cv_lib_GLU_gluLookAt
=no
10356 rm -f core conftest.err conftest.
$ac_objext \
10357 conftest
$ac_exeext conftest.
$ac_ext
10358 LIBS
=$ac_check_lib_save_LIBS
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10361 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10362 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10366 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10367 case "x$with_glu" in
10368 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10370 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10371 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10376 if test "x$with_osmesa" != "xno"
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10379 $as_echo_n "checking for -lOSMesa... " >&6; }
10380 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10381 $as_echo_n "(cached) " >&6
10383 ac_check_soname_save_LIBS
=$LIBS
10384 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10386 /* end confdefs.h. */
10388 /* Override any GCC internal prototype to avoid an error.
10389 Use char because int might match the return type of a GCC
10390 builtin and then its argument prototype would still apply. */
10403 if ac_fn_c_try_link
"$LINENO"; then :
10405 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10406 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'` ;;
10407 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10408 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10409 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10413 rm -f core conftest.err conftest.
$ac_objext \
10414 conftest
$ac_exeext conftest.
$ac_ext
10415 LIBS
=$ac_check_soname_save_LIBS
10417 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10419 $as_echo "not found" >&6; }
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10423 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10425 cat >>confdefs.h
<<_ACEOF
10426 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10431 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10432 case "x$with_osmesa" in
10433 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10435 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10436 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10441 if test -n "$opengl_msg"; then :
10442 case "x$with_opengl" in
10443 x
) as_fn_append wine_warnings
"|$opengl_msg
10444 OpenGL and Direct3D won't be supported." ;;
10446 *) as_fn_error $?
"$opengl_msg
10447 OpenGL and Direct3D won't be supported.
10448 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10452 CPPFLAGS
="$ac_save_CPPFLAGS"
10456 enable_winex11_drv
=${enable_winex11_drv:-no}
10458 if test "x$X_LIBS" = "x"; then :
10461 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10462 without X support, which probably isn't what you want. You will need
10463 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10464 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10468 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10470 if test "$ac_cv_header_CL_cl_h" = "yes"
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10473 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10474 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10475 $as_echo_n "(cached) " >&6
10477 ac_check_lib_save_LIBS
=$LIBS
10478 LIBS
="-lOpenCL $LIBS"
10479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10480 /* end confdefs.h. */
10482 /* Override any GCC internal prototype to avoid an error.
10483 Use char because int might match the return type of a GCC
10484 builtin and then its argument prototype would still apply. */
10488 char clGetPlatformInfo ();
10492 return clGetPlatformInfo ();
10497 if ac_fn_c_try_link
"$LINENO"; then :
10498 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10500 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10502 rm -f core conftest.err conftest.
$ac_objext \
10503 conftest
$ac_exeext conftest.
$ac_ext
10504 LIBS
=$ac_check_lib_save_LIBS
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10507 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10508 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10509 OPENCL_LIBS
="-lOpenCL"
10514 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10515 case "x$with_opencl" in
10516 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10518 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10519 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10522 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10524 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10527 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10528 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10529 $as_echo_n "(cached) " >&6
10531 ac_check_lib_save_LIBS
=$LIBS
10532 LIBS
="-lpcap $LIBS"
10533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10534 /* end confdefs.h. */
10536 /* Override any GCC internal prototype to avoid an error.
10537 Use char because int might match the return type of a GCC
10538 builtin and then its argument prototype would still apply. */
10542 char pcap_create ();
10546 return pcap_create ();
10551 if ac_fn_c_try_link
"$LINENO"; then :
10552 ac_cv_lib_pcap_pcap_create
=yes
10554 ac_cv_lib_pcap_pcap_create
=no
10556 rm -f core conftest.err conftest.
$ac_objext \
10557 conftest
$ac_exeext conftest.
$ac_ext
10558 LIBS
=$ac_check_lib_save_LIBS
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10561 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10562 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10568 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10569 case "x$with_pcap" in
10570 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10572 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10573 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10576 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10579 if test "x$with_xml" != "xno"
10581 if ${XML2_CFLAGS:+false} :; then :
10582 if ${PKG_CONFIG+:} false
; then :
10583 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10586 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10587 if ${XML2_LIBS:+false} :; then :
10588 if ${PKG_CONFIG+:} false
; then :
10589 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10592 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10593 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10594 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10595 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10596 ac_save_CPPFLAGS
=$CPPFLAGS
10597 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10598 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10600 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10601 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10602 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10603 cat >>confdefs.h
<<_ACEOF
10604 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10611 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"
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10614 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10615 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10616 $as_echo_n "(cached) " >&6
10618 ac_check_lib_save_LIBS
=$LIBS
10619 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10621 /* end confdefs.h. */
10623 /* Override any GCC internal prototype to avoid an error.
10624 Use char because int might match the return type of a GCC
10625 builtin and then its argument prototype would still apply. */
10629 char xmlParseMemory ();
10633 return xmlParseMemory ();
10638 if ac_fn_c_try_link
"$LINENO"; then :
10639 ac_cv_lib_xml2_xmlParseMemory
=yes
10641 ac_cv_lib_xml2_xmlParseMemory
=no
10643 rm -f core conftest.err conftest.
$ac_objext \
10644 conftest
$ac_exeext conftest.
$ac_ext
10645 LIBS
=$ac_check_lib_save_LIBS
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10648 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10649 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10651 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10658 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10659 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10660 $as_echo_n "(cached) " >&6
10662 ac_check_lib_save_LIBS
=$LIBS
10663 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10665 /* end confdefs.h. */
10667 /* Override any GCC internal prototype to avoid an error.
10668 Use char because int might match the return type of a GCC
10669 builtin and then its argument prototype would still apply. */
10673 char xmlReadMemory ();
10677 return xmlReadMemory ();
10682 if ac_fn_c_try_link
"$LINENO"; then :
10683 ac_cv_lib_xml2_xmlReadMemory
=yes
10685 ac_cv_lib_xml2_xmlReadMemory
=no
10687 rm -f core conftest.err conftest.
$ac_objext \
10688 conftest
$ac_exeext conftest.
$ac_ext
10689 LIBS
=$ac_check_lib_save_LIBS
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10692 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10693 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10695 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10700 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10701 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10702 $as_echo_n "(cached) " >&6
10704 ac_check_lib_save_LIBS
=$LIBS
10705 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10709 /* Override any GCC internal prototype to avoid an error.
10710 Use char because int might match the return type of a GCC
10711 builtin and then its argument prototype would still apply. */
10715 char xmlNewDocPI ();
10719 return xmlNewDocPI ();
10724 if ac_fn_c_try_link
"$LINENO"; then :
10725 ac_cv_lib_xml2_xmlNewDocPI
=yes
10727 ac_cv_lib_xml2_xmlNewDocPI
=no
10729 rm -f core conftest.err conftest.
$ac_objext \
10730 conftest
$ac_exeext conftest.
$ac_ext
10731 LIBS
=$ac_check_lib_save_LIBS
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10734 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10735 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10737 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10742 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10743 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10744 $as_echo_n "(cached) " >&6
10746 ac_check_lib_save_LIBS
=$LIBS
10747 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h. */
10751 /* Override any GCC internal prototype to avoid an error.
10752 Use char because int might match the return type of a GCC
10753 builtin and then its argument prototype would still apply. */
10757 char xmlSchemaSetParserStructuredErrors ();
10761 return xmlSchemaSetParserStructuredErrors ();
10766 if ac_fn_c_try_link
"$LINENO"; then :
10767 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10769 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10771 rm -f core conftest.err conftest.
$ac_objext \
10772 conftest
$ac_exeext conftest.
$ac_ext
10773 LIBS
=$ac_check_lib_save_LIBS
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10776 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10777 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10779 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10784 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10785 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10786 $as_echo_n "(cached) " >&6
10788 ac_check_lib_save_LIBS
=$LIBS
10789 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10791 /* end confdefs.h. */
10793 /* Override any GCC internal prototype to avoid an error.
10794 Use char because int might match the return type of a GCC
10795 builtin and then its argument prototype would still apply. */
10799 char xmlSchemaSetValidStructuredErrors ();
10803 return xmlSchemaSetValidStructuredErrors ();
10808 if ac_fn_c_try_link
"$LINENO"; then :
10809 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10811 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10813 rm -f core conftest.err conftest.
$ac_objext \
10814 conftest
$ac_exeext conftest.
$ac_ext
10815 LIBS
=$ac_check_lib_save_LIBS
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10818 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10819 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10821 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10826 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10827 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10828 $as_echo_n "(cached) " >&6
10830 ac_check_lib_save_LIBS
=$LIBS
10831 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10835 /* Override any GCC internal prototype to avoid an error.
10836 Use char because int might match the return type of a GCC
10837 builtin and then its argument prototype would still apply. */
10841 char xmlFirstElementChild ();
10845 return xmlFirstElementChild ();
10850 if ac_fn_c_try_link
"$LINENO"; then :
10851 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10853 ac_cv_lib_xml2_xmlFirstElementChild
=no
10855 rm -f core conftest.err conftest.
$ac_objext \
10856 conftest
$ac_exeext conftest.
$ac_ext
10857 LIBS
=$ac_check_lib_save_LIBS
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10860 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10861 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10863 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10867 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10869 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10871 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10879 CPPFLAGS
=$ac_save_CPPFLAGS
10880 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10881 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10884 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10885 case "x$with_xml" in
10886 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10888 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10889 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10893 if test "x$with_xslt" != "xno"
10895 if ${XSLT_CFLAGS:+false} :; then :
10896 if ${PKG_CONFIG+:} false
; then :
10897 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10900 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10901 if ${XSLT_LIBS:+false} :; then :
10902 if ${PKG_CONFIG+:} false
; then :
10903 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10906 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10907 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10908 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10909 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10910 ac_save_CPPFLAGS
=$CPPFLAGS
10911 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10912 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10914 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10915 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10916 # include <libxslt/pattern.h>
10919 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10920 cat >>confdefs.h
<<_ACEOF
10921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10928 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10931 $as_echo_n "checking for -lxslt... " >&6; }
10932 if ${ac_cv_lib_soname_xslt+:} false
; then :
10933 $as_echo_n "(cached) " >&6
10935 ac_check_soname_save_LIBS
=$LIBS
10936 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10940 /* Override any GCC internal prototype to avoid an error.
10941 Use char because int might match the return type of a GCC
10942 builtin and then its argument prototype would still apply. */
10946 char xsltCompilePattern ();
10950 return xsltCompilePattern ();
10955 if ac_fn_c_try_link
"$LINENO"; then :
10957 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10958 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'` ;;
10959 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10960 if ${ac_cv_lib_soname_xslt:+false} :; then :
10961 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10965 rm -f core conftest.err conftest.
$ac_objext \
10966 conftest
$ac_exeext conftest.
$ac_ext
10967 LIBS
=$ac_check_soname_save_LIBS
10969 if ${ac_cv_lib_soname_xslt:+false} :; then :
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10971 $as_echo "not found" >&6; }
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10975 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10977 cat >>confdefs.h
<<_ACEOF
10978 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10986 CPPFLAGS
=$ac_save_CPPFLAGS
10987 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10988 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10991 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10992 case "x$with_xslt" in
10993 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10995 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10996 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11000 if test "x$with_dbus" != "xno"
11002 if ${DBUS_CFLAGS:+false} :; then :
11003 if ${PKG_CONFIG+:} false
; then :
11004 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11008 if ${DBUS_LIBS:+false} :; then :
11009 if ${PKG_CONFIG+:} false
; then :
11010 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11015 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11016 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11017 ac_save_CPPFLAGS
=$CPPFLAGS
11018 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11019 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11020 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11022 $as_echo_n "checking for -ldbus-1... " >&6; }
11023 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11024 $as_echo_n "(cached) " >&6
11026 ac_check_soname_save_LIBS
=$LIBS
11027 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h. */
11031 /* Override any GCC internal prototype to avoid an error.
11032 Use char because int might match the return type of a GCC
11033 builtin and then its argument prototype would still apply. */
11037 char dbus_connection_close ();
11041 return dbus_connection_close ();
11046 if ac_fn_c_try_link
"$LINENO"; then :
11048 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11049 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'` ;;
11050 *) 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'`
11051 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11052 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11056 rm -f core conftest.err conftest.
$ac_objext \
11057 conftest
$ac_exeext conftest.
$ac_ext
11058 LIBS
=$ac_check_soname_save_LIBS
11060 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11062 $as_echo "not found" >&6; }
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11066 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11068 cat >>confdefs.h
<<_ACEOF
11069 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11079 CPPFLAGS
=$ac_save_CPPFLAGS
11080 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11081 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11084 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11085 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11086 case "x$with_dbus" in
11087 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11089 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11090 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11094 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11096 if ${HAL_CFLAGS:+false} :; then :
11097 if ${PKG_CONFIG+:} false
; then :
11098 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11102 if ${HAL_LIBS:+false} :; then :
11103 if ${PKG_CONFIG+:} false
; then :
11104 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11108 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11109 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11110 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11111 ac_save_CPPFLAGS
=$CPPFLAGS
11112 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11113 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11114 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11116 $as_echo_n "checking for -lhal... " >&6; }
11117 if ${ac_cv_lib_soname_hal+:} false
; then :
11118 $as_echo_n "(cached) " >&6
11120 ac_check_soname_save_LIBS
=$LIBS
11121 LIBS
="-lhal $HAL_LIBS $LIBS"
11122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11131 char libhal_ctx_new ();
11135 return libhal_ctx_new ();
11140 if ac_fn_c_try_link
"$LINENO"; then :
11142 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11143 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'` ;;
11144 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11145 if ${ac_cv_lib_soname_hal:+false} :; then :
11146 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11150 rm -f core conftest.err conftest.
$ac_objext \
11151 conftest
$ac_exeext conftest.
$ac_ext
11152 LIBS
=$ac_check_soname_save_LIBS
11154 if ${ac_cv_lib_soname_hal:+false} :; then :
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11156 $as_echo "not found" >&6; }
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11160 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11162 cat >>confdefs.h
<<_ACEOF
11163 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11173 CPPFLAGS
=$ac_save_CPPFLAGS
11174 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11175 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11177 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11178 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11179 case "x$with_hal" in
11180 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11182 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11183 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11188 if test "x$with_gnutls" != "xno"
11190 if ${GNUTLS_CFLAGS:+false} :; then :
11191 if ${PKG_CONFIG+:} false
; then :
11192 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11196 if ${GNUTLS_LIBS:+false} :; then :
11197 if ${PKG_CONFIG+:} false
; then :
11198 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11203 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11204 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11205 ac_save_CPPFLAGS
=$CPPFLAGS
11206 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11207 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11208 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11210 /* end confdefs.h. */
11211 #include <gnutls/gnutls.h>
11212 #include <gnutls/crypto.h>
11216 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11221 if ac_fn_c_try_compile
"$LINENO"; then :
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11223 $as_echo_n "checking for -lgnutls... " >&6; }
11224 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11225 $as_echo_n "(cached) " >&6
11227 ac_check_soname_save_LIBS
=$LIBS
11228 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11230 /* end confdefs.h. */
11232 /* Override any GCC internal prototype to avoid an error.
11233 Use char because int might match the return type of a GCC
11234 builtin and then its argument prototype would still apply. */
11238 char gnutls_global_init ();
11242 return gnutls_global_init ();
11247 if ac_fn_c_try_link
"$LINENO"; then :
11249 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11250 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'` ;;
11251 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11252 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11253 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11257 rm -f core conftest.err conftest.
$ac_objext \
11258 conftest
$ac_exeext conftest.
$ac_ext
11259 LIBS
=$ac_check_soname_save_LIBS
11261 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11263 $as_echo "not found" >&6; }
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11267 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11269 cat >>confdefs.h
<<_ACEOF
11270 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11282 CPPFLAGS
=$ac_save_CPPFLAGS
11283 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11284 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11287 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11288 case "x$with_gnutls" in
11289 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11291 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11292 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11297 if test "$ac_cv_header_ncurses_h" = "yes"
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11300 $as_echo_n "checking for -lncurses... " >&6; }
11301 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11302 $as_echo_n "(cached) " >&6
11304 ac_check_soname_save_LIBS
=$LIBS
11305 LIBS
="-lncurses $LIBS"
11306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11324 if ac_fn_c_try_link
"$LINENO"; then :
11326 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11327 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'` ;;
11328 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11329 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11330 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11334 rm -f core conftest.err conftest.
$ac_objext \
11335 conftest
$ac_exeext conftest.
$ac_ext
11336 LIBS
=$ac_check_soname_save_LIBS
11338 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11340 $as_echo "not found" >&6; }
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11344 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11346 cat >>confdefs.h
<<_ACEOF
11347 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11350 CURSES_LIBS
="-lncurses"
11352 elif test "$ac_cv_header_curses_h" = "yes"
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11355 $as_echo_n "checking for -lcurses... " >&6; }
11356 if ${ac_cv_lib_soname_curses+:} false
; then :
11357 $as_echo_n "(cached) " >&6
11359 ac_check_soname_save_LIBS
=$LIBS
11360 LIBS
="-lcurses $LIBS"
11361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11362 /* end confdefs.h. */
11364 /* Override any GCC internal prototype to avoid an error.
11365 Use char because int might match the return type of a GCC
11366 builtin and then its argument prototype would still apply. */
11379 if ac_fn_c_try_link
"$LINENO"; then :
11381 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11382 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'` ;;
11383 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11384 if ${ac_cv_lib_soname_curses:+false} :; then :
11385 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11389 rm -f core conftest.err conftest.
$ac_objext \
11390 conftest
$ac_exeext conftest.
$ac_ext
11391 LIBS
=$ac_check_soname_save_LIBS
11393 if ${ac_cv_lib_soname_curses:+false} :; then :
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11395 $as_echo "not found" >&6; }
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11399 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11401 cat >>confdefs.h
<<_ACEOF
11402 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11405 CURSES_LIBS
="-lcurses"
11408 ac_save_LIBS
="$LIBS"
11409 LIBS
="$LIBS $CURSES_LIBS"
11410 for ac_func
in mousemask
11412 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11413 if test "x$ac_cv_func_mousemask" = xyes
; then :
11414 cat >>confdefs.h
<<_ACEOF
11415 #define HAVE_MOUSEMASK 1
11421 LIBS
="$ac_save_LIBS"
11422 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11423 case "x$with_curses" in
11424 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11426 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11427 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11431 if test "x$with_sane" != "xno"
11433 if ${SANE_CFLAGS:+false} :; then :
11434 if ${PKG_CONFIG+:} false
; then :
11435 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11438 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11439 if ${SANE_LIBS:+false} :; then :
11440 if ${PKG_CONFIG+:} false
; then :
11441 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11444 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11446 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11447 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11448 ac_save_CPPFLAGS
=$CPPFLAGS
11449 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11450 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11451 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11453 $as_echo_n "checking for -lsane... " >&6; }
11454 if ${ac_cv_lib_soname_sane+:} false
; then :
11455 $as_echo_n "(cached) " >&6
11457 ac_check_soname_save_LIBS
=$LIBS
11458 LIBS
="-lsane $SANE_LIBS $LIBS"
11459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11460 /* end confdefs.h. */
11462 /* Override any GCC internal prototype to avoid an error.
11463 Use char because int might match the return type of a GCC
11464 builtin and then its argument prototype would still apply. */
11472 return sane_init ();
11477 if ac_fn_c_try_link
"$LINENO"; then :
11479 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11480 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'` ;;
11481 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11482 if ${ac_cv_lib_soname_sane:+false} :; then :
11483 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11487 rm -f core conftest.err conftest.
$ac_objext \
11488 conftest
$ac_exeext conftest.
$ac_ext
11489 LIBS
=$ac_check_soname_save_LIBS
11491 if ${ac_cv_lib_soname_sane:+false} :; then :
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11493 $as_echo "not found" >&6; }
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11497 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11499 cat >>confdefs.h
<<_ACEOF
11500 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11510 CPPFLAGS
=$ac_save_CPPFLAGS
11511 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11512 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11515 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11516 case "x$with_sane" in
11517 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11519 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11520 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11524 if test "x$with_v4l" != "xno"
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11527 $as_echo_n "checking for -lv4l1... " >&6; }
11528 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11529 $as_echo_n "(cached) " >&6
11531 ac_check_soname_save_LIBS
=$LIBS
11532 LIBS
="-lv4l1 $LIBS"
11533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11536 /* Override any GCC internal prototype to avoid an error.
11537 Use char because int might match the return type of a GCC
11538 builtin and then its argument prototype would still apply. */
11546 return v4l1_open ();
11551 if ac_fn_c_try_link
"$LINENO"; then :
11553 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11554 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'` ;;
11555 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11556 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11557 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11561 rm -f core conftest.err conftest.
$ac_objext \
11562 conftest
$ac_exeext conftest.
$ac_ext
11563 LIBS
=$ac_check_soname_save_LIBS
11565 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11567 $as_echo "not found" >&6; }
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11571 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11573 cat >>confdefs.h
<<_ACEOF
11574 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11580 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11581 case "x$with_v4l" in
11582 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11584 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11585 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11589 if test "x$with_gphoto" != "xno"
11591 if ${GPHOTO2_CFLAGS:+false} :; then :
11592 if ${PKG_CONFIG+:} false
; then :
11593 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11596 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11597 if ${GPHOTO2_LIBS:+false} :; then :
11598 if ${PKG_CONFIG+:} false
; then :
11599 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11602 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11603 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11604 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11605 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11606 ac_save_CPPFLAGS
=$CPPFLAGS
11607 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11608 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11609 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11611 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11612 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11613 $as_echo_n "(cached) " >&6
11615 ac_check_lib_save_LIBS
=$LIBS
11616 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11620 /* Override any GCC internal prototype to avoid an error.
11621 Use char because int might match the return type of a GCC
11622 builtin and then its argument prototype would still apply. */
11626 char gp_camera_new ();
11630 return gp_camera_new ();
11635 if ac_fn_c_try_link
"$LINENO"; then :
11636 ac_cv_lib_gphoto2_gp_camera_new
=yes
11638 ac_cv_lib_gphoto2_gp_camera_new
=no
11640 rm -f core conftest.err conftest.
$ac_objext \
11641 conftest
$ac_exeext conftest.
$ac_ext
11642 LIBS
=$ac_check_lib_save_LIBS
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11645 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11646 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11648 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11651 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11655 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11659 CPPFLAGS
=$ac_save_CPPFLAGS
11660 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11661 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11663 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11664 if ${PKG_CONFIG+:} false
; then :
11665 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11668 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11669 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11670 if ${PKG_CONFIG+:} false
; then :
11671 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11674 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11675 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11676 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11677 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11678 ac_save_CPPFLAGS
=$CPPFLAGS
11679 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11680 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11681 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11683 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11684 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11685 $as_echo_n "(cached) " >&6
11687 ac_check_lib_save_LIBS
=$LIBS
11688 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11690 /* end confdefs.h. */
11692 /* Override any GCC internal prototype to avoid an error.
11693 Use char because int might match the return type of a GCC
11694 builtin and then its argument prototype would still apply. */
11698 char gp_port_info_list_new ();
11702 return gp_port_info_list_new ();
11707 if ac_fn_c_try_link
"$LINENO"; then :
11708 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11710 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11712 rm -f core conftest.err conftest.
$ac_objext \
11713 conftest
$ac_exeext conftest.
$ac_ext
11714 LIBS
=$ac_check_lib_save_LIBS
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11717 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11718 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11720 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11723 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11727 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11731 CPPFLAGS
=$ac_save_CPPFLAGS
11732 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11733 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11736 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11737 case "x$with_gphoto" in
11738 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11740 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11741 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11744 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11745 case "x$with_gphoto" in
11746 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11748 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11749 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11754 if test "$ac_cv_header_resolv_h" = "yes"
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11757 $as_echo_n "checking for resolver library... " >&6; }
11758 if ${ac_cv_have_resolv+:} false
; then :
11759 $as_echo_n "(cached) " >&6
11761 ac_save_LIBS
="$LIBS"
11762 for lib
in '' -lresolv
11764 LIBS
="$lib $ac_save_LIBS"
11765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11766 /* end confdefs.h. */
11767 #ifdef HAVE_NETINET_IN_H
11768 #include <netinet/in.h>
11770 #include <resolv.h>
11774 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11779 if ac_fn_c_try_link
"$LINENO"; then :
11780 ac_cv_have_resolv
=${lib:-"none required"}
11782 ac_cv_have_resolv
="not found"
11784 rm -f core conftest.err conftest.
$ac_objext \
11785 conftest
$ac_exeext conftest.
$ac_ext
11786 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11788 LIBS
="$ac_save_LIBS"
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11791 $as_echo "$ac_cv_have_resolv" >&6; }
11793 case "$ac_cv_have_resolv" in
11797 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11800 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11802 RESOLV_LIBS
=$ac_cv_have_resolv
11807 if test "x$with_lcms2" != "xno"
11809 if ${LCMS2_CFLAGS:+false} :; then :
11810 if ${PKG_CONFIG+:} false
; then :
11811 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11815 if ${LCMS2_LIBS:+false} :; then :
11816 if ${PKG_CONFIG+:} false
; then :
11817 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11821 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11822 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11823 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11824 ac_save_CPPFLAGS
=$CPPFLAGS
11825 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11826 for ac_header
in lcms2.h
11828 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11829 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11830 cat >>confdefs.h
<<_ACEOF
11831 #define HAVE_LCMS2_H 1
11838 if test "$ac_cv_header_lcms2_h" = "yes"
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11841 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11842 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11843 $as_echo_n "(cached) " >&6
11845 ac_check_lib_save_LIBS
=$LIBS
11846 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h. */
11850 /* Override any GCC internal prototype to avoid an error.
11851 Use char because int might match the return type of a GCC
11852 builtin and then its argument prototype would still apply. */
11856 char cmsOpenProfileFromFile ();
11860 return cmsOpenProfileFromFile ();
11865 if ac_fn_c_try_link
"$LINENO"; then :
11866 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11868 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11870 rm -f core conftest.err conftest.
$ac_objext \
11871 conftest
$ac_exeext conftest.
$ac_ext
11872 LIBS
=$ac_check_lib_save_LIBS
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11875 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11876 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11878 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11888 CPPFLAGS
=$ac_save_CPPFLAGS
11889 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11890 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11893 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11894 case "x$with_cms" in
11895 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11897 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11898 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11902 if test "x$with_freetype" != "xno"
11904 if ${FREETYPE_CFLAGS:+false} :; then :
11905 if ${PKG_CONFIG+:} false
; then :
11906 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11909 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11910 if ${FREETYPE_LIBS:+false} :; then :
11911 if ${PKG_CONFIG+:} false
; then :
11912 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11915 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11916 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11917 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11918 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11919 ac_save_CPPFLAGS
=$CPPFLAGS
11920 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11921 for ac_header
in ft2build.h
11923 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11924 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11925 cat >>confdefs.h
<<_ACEOF
11926 #define HAVE_FT2BUILD_H 1
11933 if test "$ac_cv_header_ft2build_h" = "yes"
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11936 $as_echo_n "checking for -lfreetype... " >&6; }
11937 if ${ac_cv_lib_soname_freetype+:} false
; then :
11938 $as_echo_n "(cached) " >&6
11940 ac_check_soname_save_LIBS
=$LIBS
11941 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11945 /* Override any GCC internal prototype to avoid an error.
11946 Use char because int might match the return type of a GCC
11947 builtin and then its argument prototype would still apply. */
11951 char FT_Init_FreeType ();
11955 return FT_Init_FreeType ();
11960 if ac_fn_c_try_link
"$LINENO"; then :
11962 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11963 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'` ;;
11964 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11965 if ${ac_cv_lib_soname_freetype:+false} :; then :
11966 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11970 rm -f core conftest.err conftest.
$ac_objext \
11971 conftest
$ac_exeext conftest.
$ac_ext
11972 LIBS
=$ac_check_soname_save_LIBS
11974 if ${ac_cv_lib_soname_freetype:+false} :; then :
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11976 $as_echo "not found" >&6; }
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11980 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11982 cat >>confdefs.h
<<_ACEOF
11983 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11987 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11989 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11990 #include FT_MODULE_H
11992 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11994 cat >>confdefs.h
<<_ACEOF
11995 #define HAVE_FT_TRUETYPEENGINETYPE 1
12006 CPPFLAGS
=$ac_save_CPPFLAGS
12007 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12008 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12011 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12012 case "x$with_freetype" in
12014 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12015 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12018 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12021 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12022 if ${ac_cv_c_ppdev+:} false
; then :
12023 $as_echo_n "(cached) " >&6
12025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12026 /* end confdefs.h. */
12027 #ifdef HAVE_SYS_IOCTL_H
12028 # include <sys/ioctl.h>
12030 #include <linux/ppdev.h>
12034 ioctl (1,PPCLAIM,0)
12039 if ac_fn_c_try_compile
"$LINENO"; then :
12040 ac_cv_c_ppdev
="yes"
12044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12047 $as_echo "$ac_cv_c_ppdev" >&6; }
12048 if test "$ac_cv_c_ppdev" = "yes"
12051 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12055 ac_wine_check_funcs_save_LIBS
="$LIBS"
12056 LIBS
="$LIBS $PTHREAD_LIBS"
12058 pthread_attr_get_np \
12059 pthread_getattr_np \
12060 pthread_getthreadid_np \
12061 pthread_get_stackaddr_np \
12062 pthread_get_stacksize_np
12064 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12065 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12066 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12067 cat >>confdefs.h
<<_ACEOF
12068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12074 LIBS
="$ac_wine_check_funcs_save_LIBS"
12076 if test "$ac_cv_header_zlib_h" = "yes"
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12079 $as_echo_n "checking for inflate in -lz... " >&6; }
12080 if ${ac_cv_lib_z_inflate+:} false
; then :
12081 $as_echo_n "(cached) " >&6
12083 ac_check_lib_save_LIBS
=$LIBS
12085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12086 /* end confdefs.h. */
12088 /* Override any GCC internal prototype to avoid an error.
12089 Use char because int might match the return type of a GCC
12090 builtin and then its argument prototype would still apply. */
12103 if ac_fn_c_try_link
"$LINENO"; then :
12104 ac_cv_lib_z_inflate
=yes
12106 ac_cv_lib_z_inflate
=no
12108 rm -f core conftest.err conftest.
$ac_objext \
12109 conftest
$ac_exeext conftest.
$ac_ext
12110 LIBS
=$ac_check_lib_save_LIBS
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12113 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12114 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12116 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12123 if test "x$Z_LIBS" = "x"; then :
12124 case "x$with_zlib" in
12125 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12127 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12128 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12132 if test "x$enable_tools" != xno
12134 if test "$ac_cv_header_gettext_po_h" = "yes"
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12137 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12138 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12139 $as_echo_n "(cached) " >&6
12141 ac_check_lib_save_LIBS
=$LIBS
12142 LIBS
="-lgettextpo $LIBS"
12143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h. */
12146 /* Override any GCC internal prototype to avoid an error.
12147 Use char because int might match the return type of a GCC
12148 builtin and then its argument prototype would still apply. */
12152 char po_message_msgctxt ();
12156 return po_message_msgctxt ();
12161 if ac_fn_c_try_link
"$LINENO"; then :
12162 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12164 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12166 rm -f core conftest.err conftest.
$ac_objext \
12167 conftest
$ac_exeext conftest.
$ac_ext
12168 LIBS
=$ac_check_lib_save_LIBS
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12171 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12172 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12174 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12176 GETTEXTPO_LIBS
="-lgettextpo"
12181 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12182 case "x$with_gettextpo" in
12183 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12185 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12186 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12191 if test "x$with_gstreamer" != "xno"
12193 if ${GSTREAMER_CFLAGS:+false} :; then :
12194 if ${PKG_CONFIG+:} false
; then :
12195 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12199 if ${GSTREAMER_LIBS:+false} :; then :
12200 if ${PKG_CONFIG+:} false
; then :
12201 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12206 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12207 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12208 ac_save_CPPFLAGS
=$CPPFLAGS
12209 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12211 for i
in $GSTREAMER_CFLAGS
12214 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12217 GSTREAMER_CFLAGS
=$ac_gst_incl
12218 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12219 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12220 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12221 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12222 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12224 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12226 /* end confdefs.h. */
12227 #include <gst/app/gstappsink.h>
12231 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12236 if ac_fn_c_try_compile
"$LINENO"; then :
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12238 $as_echo "yes" >&6; }
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12240 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12241 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12242 $as_echo_n "(cached) " >&6
12244 ac_check_lib_save_LIBS
=$LIBS
12245 LIBS
="-lgstreamer-0.10 $LIBS"
12246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12247 /* end confdefs.h. */
12249 /* Override any GCC internal prototype to avoid an error.
12250 Use char because int might match the return type of a GCC
12251 builtin and then its argument prototype would still apply. */
12255 char gst_pad_get_caps_reffed ();
12259 return gst_pad_get_caps_reffed ();
12264 if ac_fn_c_try_link
"$LINENO"; then :
12265 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12267 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12269 rm -f core conftest.err conftest.
$ac_objext \
12270 conftest
$ac_exeext conftest.
$ac_ext
12271 LIBS
=$ac_check_lib_save_LIBS
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12274 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12275 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12277 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12278 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12279 $as_echo_n "(cached) " >&6
12281 ac_check_lib_save_LIBS
=$LIBS
12282 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12286 /* Override any GCC internal prototype to avoid an error.
12287 Use char because int might match the return type of a GCC
12288 builtin and then its argument prototype would still apply. */
12292 char gst_app_buffer_new ();
12296 return gst_app_buffer_new ();
12301 if ac_fn_c_try_link
"$LINENO"; then :
12302 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12304 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12306 rm -f core conftest.err conftest.
$ac_objext \
12307 conftest
$ac_exeext conftest.
$ac_ext
12308 LIBS
=$ac_check_lib_save_LIBS
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12311 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12312 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12320 $as_echo "no" >&6; }
12322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12327 GSTREAMER_CFLAGS
=""
12331 CPPFLAGS
=$ac_save_CPPFLAGS
12332 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12333 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12336 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12337 case "x$with_gstreamer" in
12338 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12340 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12341 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12344 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12348 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12351 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12352 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12353 $as_echo_n "(cached) " >&6
12355 ac_check_lib_save_LIBS
=$LIBS
12356 LIBS
="-lasound $LIBS"
12357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */
12360 /* Override any GCC internal prototype to avoid an error.
12361 Use char because int might match the return type of a GCC
12362 builtin and then its argument prototype would still apply. */
12366 char snd_pcm_hw_params_get_access_mask ();
12370 return snd_pcm_hw_params_get_access_mask ();
12375 if ac_fn_c_try_link
"$LINENO"; then :
12376 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12378 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12380 rm -f core conftest.err conftest.
$ac_objext \
12381 conftest
$ac_exeext conftest.
$ac_ext
12382 LIBS
=$ac_check_lib_save_LIBS
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12385 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12386 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12389 #ifdef HAVE_ALSA_ASOUNDLIB_H
12390 #include <alsa/asoundlib.h>
12391 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12392 #include <sys/asoundlib.h>
12397 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12402 if ac_fn_c_try_compile
"$LINENO"; then :
12403 ALSA_LIBS
="-lasound"
12405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12410 if test "x$with_oss" != xno
12412 ac_save_CPPFLAGS
="$CPPFLAGS"
12413 if test -f /etc
/oss.conf
12417 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12418 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12419 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12420 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12421 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12423 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12425 cat >>confdefs.h
<<_ACEOF
12426 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12429 OSS4_CFLAGS
="$ac_oss_incl"
12436 CPPFLAGS
="$ac_save_CPPFLAGS"
12437 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12439 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12443 if test "x$with_capi" != "xno"
12445 if ${CAPI20_CFLAGS:+false} :; then :
12446 if ${PKG_CONFIG+:} false
; then :
12447 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12451 if ${CAPI20_LIBS:+false} :; then :
12452 if ${PKG_CONFIG+:} false
; then :
12453 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12458 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12459 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12460 ac_save_CPPFLAGS
=$CPPFLAGS
12461 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12462 for ac_header
in capi20.h linux
/capi.h
12464 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12465 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12467 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12468 cat >>confdefs.h
<<_ACEOF
12469 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12476 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12479 $as_echo_n "checking for -lcapi20... " >&6; }
12480 if ${ac_cv_lib_soname_capi20+:} false
; then :
12481 $as_echo_n "(cached) " >&6
12483 ac_check_soname_save_LIBS
=$LIBS
12484 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12486 /* end confdefs.h. */
12488 /* Override any GCC internal prototype to avoid an error.
12489 Use char because int might match the return type of a GCC
12490 builtin and then its argument prototype would still apply. */
12494 char capi20_register ();
12498 return capi20_register ();
12503 if ac_fn_c_try_link
"$LINENO"; then :
12505 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12506 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'` ;;
12507 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12508 if ${ac_cv_lib_soname_capi20:+false} :; then :
12509 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12513 rm -f core conftest.err conftest.
$ac_objext \
12514 conftest
$ac_exeext conftest.
$ac_ext
12515 LIBS
=$ac_check_soname_save_LIBS
12517 if ${ac_cv_lib_soname_capi20:+false} :; then :
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12519 $as_echo "not found" >&6; }
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12523 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12525 cat >>confdefs.h
<<_ACEOF
12526 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12532 CPPFLAGS
=$ac_save_CPPFLAGS
12533 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12534 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12537 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12538 case "x$with_capi" in
12539 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12541 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12542 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12548 if test "x$with_cups" != "xno"
12550 ac_save_CPPFLAGS
="$CPPFLAGS"
12551 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12552 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12553 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12554 for ac_header
in cups
/cups.h
12556 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12557 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12558 cat >>confdefs.h
<<_ACEOF
12559 #define HAVE_CUPS_CUPS_H 1
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12562 $as_echo_n "checking for -lcups... " >&6; }
12563 if ${ac_cv_lib_soname_cups+:} false
; then :
12564 $as_echo_n "(cached) " >&6
12566 ac_check_soname_save_LIBS
=$LIBS
12567 LIBS
="-lcups $ac_cups_libs $LIBS"
12568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12571 /* Override any GCC internal prototype to avoid an error.
12572 Use char because int might match the return type of a GCC
12573 builtin and then its argument prototype would still apply. */
12577 char cupsGetDefault ();
12581 return cupsGetDefault ();
12586 if ac_fn_c_try_link
"$LINENO"; then :
12588 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12589 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'` ;;
12590 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12591 if ${ac_cv_lib_soname_cups:+false} :; then :
12592 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12596 rm -f core conftest.err conftest.
$ac_objext \
12597 conftest
$ac_exeext conftest.
$ac_ext
12598 LIBS
=$ac_check_soname_save_LIBS
12600 if ${ac_cv_lib_soname_cups:+false} :; then :
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12602 $as_echo "not found" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12606 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12608 cat >>confdefs.h
<<_ACEOF
12609 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12612 CUPS_CFLAGS
="$ac_cups_cflags"
12618 CPPFLAGS
="$ac_save_CPPFLAGS"
12620 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12621 case "x$with_cups" in
12622 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12624 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12625 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12629 if test "x$with_fontconfig" != "xno"
12631 if ${FONTCONFIG_CFLAGS:+false} :; then :
12632 if ${PKG_CONFIG+:} false
; then :
12633 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12636 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12637 if ${FONTCONFIG_LIBS:+false} :; then :
12638 if ${PKG_CONFIG+:} false
; then :
12639 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12642 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12644 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12645 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12646 ac_save_CPPFLAGS
=$CPPFLAGS
12647 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12648 for ac_header
in fontconfig
/fontconfig.h
12650 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12651 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12652 cat >>confdefs.h
<<_ACEOF
12653 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12660 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12663 $as_echo_n "checking for -lfontconfig... " >&6; }
12664 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12665 $as_echo_n "(cached) " >&6
12667 ac_check_soname_save_LIBS
=$LIBS
12668 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12670 /* end confdefs.h. */
12672 /* Override any GCC internal prototype to avoid an error.
12673 Use char because int might match the return type of a GCC
12674 builtin and then its argument prototype would still apply. */
12687 if ac_fn_c_try_link
"$LINENO"; then :
12689 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12690 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'` ;;
12691 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12692 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12693 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12697 rm -f core conftest.err conftest.
$ac_objext \
12698 conftest
$ac_exeext conftest.
$ac_ext
12699 LIBS
=$ac_check_soname_save_LIBS
12701 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12703 $as_echo "not found" >&6; }
12704 FONTCONFIG_CFLAGS
=""
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12707 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12709 cat >>confdefs.h
<<_ACEOF
12710 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12716 FONTCONFIG_CFLAGS
=""
12718 CPPFLAGS
=$ac_save_CPPFLAGS
12719 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12720 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12723 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12724 case "x$with_fontconfig" in
12725 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12727 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12728 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12732 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12735 $as_echo_n "checking for -lgsm... " >&6; }
12736 if ${ac_cv_lib_soname_gsm+:} false
; then :
12737 $as_echo_n "(cached) " >&6
12739 ac_check_soname_save_LIBS
=$LIBS
12741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12742 /* end confdefs.h. */
12744 /* Override any GCC internal prototype to avoid an error.
12745 Use char because int might match the return type of a GCC
12746 builtin and then its argument prototype would still apply. */
12750 char gsm_create ();
12754 return gsm_create ();
12759 if ac_fn_c_try_link
"$LINENO"; then :
12761 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12762 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'` ;;
12763 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12764 if ${ac_cv_lib_soname_gsm:+false} :; then :
12765 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12769 rm -f core conftest.err conftest.
$ac_objext \
12770 conftest
$ac_exeext conftest.
$ac_ext
12771 LIBS
=$ac_check_soname_save_LIBS
12773 if ${ac_cv_lib_soname_gsm:+false} :; then :
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12775 $as_echo "not found" >&6; }
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12779 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12781 cat >>confdefs.h
<<_ACEOF
12782 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12788 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12789 case "x$with_gsm" in
12790 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12792 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12793 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12797 if test "x$with_jpeg" != "xno"
12799 if ${JPEG_CFLAGS:+false} :; then :
12800 if ${PKG_CONFIG+:} false
; then :
12801 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12805 if ${JPEG_LIBS:+false} :; then :
12806 if ${PKG_CONFIG+:} false
; then :
12807 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12812 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12813 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12814 ac_save_CPPFLAGS
=$CPPFLAGS
12815 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12816 for ac_header
in jpeglib.h
12818 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12819 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12820 cat >>confdefs.h
<<_ACEOF
12821 #define HAVE_JPEGLIB_H 1
12828 if test "$ac_cv_header_jpeglib_h" = "yes"
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12831 $as_echo_n "checking for -ljpeg... " >&6; }
12832 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12833 $as_echo_n "(cached) " >&6
12835 ac_check_soname_save_LIBS
=$LIBS
12836 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12838 /* end confdefs.h. */
12840 /* Override any GCC internal prototype to avoid an error.
12841 Use char because int might match the return type of a GCC
12842 builtin and then its argument prototype would still apply. */
12846 char jpeg_start_decompress ();
12850 return jpeg_start_decompress ();
12855 if ac_fn_c_try_link
"$LINENO"; then :
12857 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12858 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'` ;;
12859 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12860 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12861 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12865 rm -f core conftest.err conftest.
$ac_objext \
12866 conftest
$ac_exeext conftest.
$ac_ext
12867 LIBS
=$ac_check_soname_save_LIBS
12869 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12871 $as_echo "not found" >&6; }
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12875 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12877 cat >>confdefs.h
<<_ACEOF
12878 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12886 CPPFLAGS
=$ac_save_CPPFLAGS
12887 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12888 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12891 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12892 case "x$with_jpeg" in
12893 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12895 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12896 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12900 if test "x$with_png" != "xno"
12902 if ${PNG_CFLAGS:+false} :; then :
12903 if ${PKG_CONFIG+:} false
; then :
12904 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12907 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12908 if ${PNG_LIBS:+false} :; then :
12909 if ${PKG_CONFIG+:} false
; then :
12910 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12913 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12915 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12916 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12917 ac_save_CPPFLAGS
=$CPPFLAGS
12918 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12919 for ac_header
in png.h
12921 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12922 if test "x$ac_cv_header_png_h" = xyes
; then :
12923 cat >>confdefs.h
<<_ACEOF
12924 #define HAVE_PNG_H 1
12931 if test "$ac_cv_header_png_h" = "yes"
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12934 $as_echo_n "checking for -lpng... " >&6; }
12935 if ${ac_cv_lib_soname_png+:} false
; then :
12936 $as_echo_n "(cached) " >&6
12938 ac_check_soname_save_LIBS
=$LIBS
12939 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12941 /* end confdefs.h. */
12943 /* Override any GCC internal prototype to avoid an error.
12944 Use char because int might match the return type of a GCC
12945 builtin and then its argument prototype would still apply. */
12949 char png_create_read_struct ();
12953 return png_create_read_struct ();
12958 if ac_fn_c_try_link
"$LINENO"; then :
12960 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12961 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'` ;;
12962 *) 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'`
12963 if ${ac_cv_lib_soname_png:+false} :; then :
12964 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12968 rm -f core conftest.err conftest.
$ac_objext \
12969 conftest
$ac_exeext conftest.
$ac_ext
12970 LIBS
=$ac_check_soname_save_LIBS
12972 if ${ac_cv_lib_soname_png:+false} :; then :
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12974 $as_echo "not found" >&6; }
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12978 $as_echo "$ac_cv_lib_soname_png" >&6; }
12980 cat >>confdefs.h
<<_ACEOF
12981 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12990 typeof(png_set_expand_gray_1_2_4_to_8) *p
12995 if ac_fn_c_try_compile
"$LINENO"; then :
12997 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13005 CPPFLAGS
=$ac_save_CPPFLAGS
13006 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13007 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13010 if test "x$ac_cv_lib_soname_png" = "x"; then :
13011 case "x$with_png" in
13012 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13014 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13015 This is an error since --with-png was requested." "$LINENO" 5 ;;
13019 if test "x$with_tiff" != "xno"
13021 if ${TIFF_CFLAGS:+false} :; then :
13022 if ${PKG_CONFIG+:} false
; then :
13023 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13027 if ${TIFF_LIBS:+false} :; then :
13028 if ${PKG_CONFIG+:} false
; then :
13029 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13034 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13035 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13036 ac_save_CPPFLAGS
=$CPPFLAGS
13037 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13038 for ac_header
in tiffio.h
13040 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13041 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13042 cat >>confdefs.h
<<_ACEOF
13043 #define HAVE_TIFFIO_H 1
13050 if test "$ac_cv_header_tiffio_h" = "yes"
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13053 $as_echo_n "checking for -ltiff... " >&6; }
13054 if ${ac_cv_lib_soname_tiff+:} false
; then :
13055 $as_echo_n "(cached) " >&6
13057 ac_check_soname_save_LIBS
=$LIBS
13058 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13060 /* end confdefs.h. */
13062 /* Override any GCC internal prototype to avoid an error.
13063 Use char because int might match the return type of a GCC
13064 builtin and then its argument prototype would still apply. */
13068 char TIFFClientOpen ();
13072 return TIFFClientOpen ();
13077 if ac_fn_c_try_link
"$LINENO"; then :
13079 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13080 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'` ;;
13081 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13082 if ${ac_cv_lib_soname_tiff:+false} :; then :
13083 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13087 rm -f core conftest.err conftest.
$ac_objext \
13088 conftest
$ac_exeext conftest.
$ac_ext
13089 LIBS
=$ac_check_soname_save_LIBS
13091 if ${ac_cv_lib_soname_tiff:+false} :; then :
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13093 $as_echo "not found" >&6; }
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13097 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13099 cat >>confdefs.h
<<_ACEOF
13100 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13106 CPPFLAGS
=$ac_save_CPPFLAGS
13107 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13108 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13111 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13112 case "x$with_tiff" in
13113 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13115 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13116 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13120 if test "x$with_mpg123" != "xno"
13122 if ${MPG123_CFLAGS:+false} :; then :
13123 if ${PKG_CONFIG+:} false
; then :
13124 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13128 if ${MPG123_LIBS:+false} :; then :
13129 if ${PKG_CONFIG+:} false
; then :
13130 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13134 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13135 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13136 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13137 ac_save_CPPFLAGS
=$CPPFLAGS
13138 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13139 for ac_header
in mpg123.h
13141 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13142 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13143 cat >>confdefs.h
<<_ACEOF
13144 #define HAVE_MPG123_H 1
13151 if test "$ac_cv_header_mpg123_h" = "yes"
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13154 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13155 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13156 $as_echo_n "(cached) " >&6
13158 ac_check_lib_save_LIBS
=$LIBS
13159 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13161 /* end confdefs.h. */
13163 /* Override any GCC internal prototype to avoid an error.
13164 Use char because int might match the return type of a GCC
13165 builtin and then its argument prototype would still apply. */
13169 char mpg123_feed ();
13173 return mpg123_feed ();
13178 if ac_fn_c_try_link
"$LINENO"; then :
13179 ac_cv_lib_mpg123_mpg123_feed
=yes
13181 ac_cv_lib_mpg123_mpg123_feed
=no
13183 rm -f core conftest.err conftest.
$ac_objext \
13184 conftest
$ac_exeext conftest.
$ac_ext
13185 LIBS
=$ac_check_lib_save_LIBS
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13188 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13189 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13199 CPPFLAGS
=$ac_save_CPPFLAGS
13200 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13201 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13204 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13205 case "x$with_mpg123" in
13206 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13208 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13209 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13212 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}
13214 if test "$ac_cv_header_AL_al_h" = "yes"
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13217 $as_echo_n "checking for -lopenal... " >&6; }
13218 if ${ac_cv_lib_soname_openal+:} false
; then :
13219 $as_echo_n "(cached) " >&6
13221 ac_check_soname_save_LIBS
=$LIBS
13222 LIBS
="-lopenal $LIBS"
13223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13224 /* end confdefs.h. */
13226 /* Override any GCC internal prototype to avoid an error.
13227 Use char because int might match the return type of a GCC
13228 builtin and then its argument prototype would still apply. */
13232 char alGetSource3i ();
13236 return alGetSource3i ();
13241 if ac_fn_c_try_link
"$LINENO"; then :
13243 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13244 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'` ;;
13245 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13246 if ${ac_cv_lib_soname_openal:+false} :; then :
13247 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13251 rm -f core conftest.err conftest.
$ac_objext \
13252 conftest
$ac_exeext conftest.
$ac_ext
13253 LIBS
=$ac_check_soname_save_LIBS
13255 if ${ac_cv_lib_soname_openal:+false} :; then :
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13257 $as_echo "not found" >&6; }
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13261 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13263 cat >>confdefs.h
<<_ACEOF
13264 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13267 OPENAL_LIBS
="-lopenal"
13269 ac_cv_lib_openal
=yes
13271 cat >>confdefs.h
<<_ACEOF
13272 #define HAVE_OPENAL 1
13277 if test "x$ac_cv_lib_openal" != xyes
; then :
13278 case "x$with_openal" in
13279 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13281 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13282 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13285 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13287 if test "$ac_cv_header_kstat_h" = "yes"
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13290 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13291 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13292 $as_echo_n "(cached) " >&6
13294 ac_check_lib_save_LIBS
=$LIBS
13295 LIBS
="-lkstat $LIBS"
13296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13297 /* end confdefs.h. */
13299 /* Override any GCC internal prototype to avoid an error.
13300 Use char because int might match the return type of a GCC
13301 builtin and then its argument prototype would still apply. */
13305 char kstat_open ();
13309 return kstat_open ();
13314 if ac_fn_c_try_link
"$LINENO"; then :
13315 ac_cv_lib_kstat_kstat_open
=yes
13317 ac_cv_lib_kstat_kstat_open
=no
13319 rm -f core conftest.err conftest.
$ac_objext \
13320 conftest
$ac_exeext conftest.
$ac_ext
13321 LIBS
=$ac_check_lib_save_LIBS
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13324 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13325 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13327 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13329 KSTAT_LIBS
="-lkstat"
13335 if test "$ac_cv_header_libprocstat_h" = "yes"
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13338 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13339 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13340 $as_echo_n "(cached) " >&6
13342 ac_check_lib_save_LIBS
=$LIBS
13343 LIBS
="-lprocstat $LIBS"
13344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13345 /* end confdefs.h. */
13347 /* Override any GCC internal prototype to avoid an error.
13348 Use char because int might match the return type of a GCC
13349 builtin and then its argument prototype would still apply. */
13353 char procstat_open_sysctl ();
13357 return procstat_open_sysctl ();
13362 if ac_fn_c_try_link
"$LINENO"; then :
13363 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13365 ac_cv_lib_procstat_procstat_open_sysctl
=no
13367 rm -f core conftest.err conftest.
$ac_objext \
13368 conftest
$ac_exeext conftest.
$ac_ext
13369 LIBS
=$ac_check_lib_save_LIBS
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13372 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13373 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13375 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13377 PROCSTAT_LIBS
="-lprocstat"
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13384 $as_echo_n "checking for -lodbc... " >&6; }
13385 if ${ac_cv_lib_soname_odbc+:} false
; then :
13386 $as_echo_n "(cached) " >&6
13388 ac_check_soname_save_LIBS
=$LIBS
13389 LIBS
="-lodbc $LIBS"
13390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13391 /* end confdefs.h. */
13393 /* Override any GCC internal prototype to avoid an error.
13394 Use char because int might match the return type of a GCC
13395 builtin and then its argument prototype would still apply. */
13399 char SQLConnect ();
13403 return SQLConnect ();
13408 if ac_fn_c_try_link
"$LINENO"; then :
13410 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13411 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'` ;;
13412 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13413 if ${ac_cv_lib_soname_odbc:+false} :; then :
13414 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13418 rm -f core conftest.err conftest.
$ac_objext \
13419 conftest
$ac_exeext conftest.
$ac_ext
13420 LIBS
=$ac_check_soname_save_LIBS
13422 if ${ac_cv_lib_soname_odbc:+false} :; then :
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13424 $as_echo "not found" >&6; }
13425 cat >>confdefs.h
<<_ACEOF
13426 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13431 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13433 cat >>confdefs.h
<<_ACEOF
13434 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13440 if test "x$with_netapi" != "xno"
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13443 $as_echo_n "checking for -lnetapi... " >&6; }
13444 if ${ac_cv_lib_soname_netapi+:} false
; then :
13445 $as_echo_n "(cached) " >&6
13447 ac_check_soname_save_LIBS
=$LIBS
13448 LIBS
="-lnetapi $LIBS"
13449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13450 /* end confdefs.h. */
13452 /* Override any GCC internal prototype to avoid an error.
13453 Use char because int might match the return type of a GCC
13454 builtin and then its argument prototype would still apply. */
13458 char libnetapi_init ();
13462 return libnetapi_init ();
13467 if ac_fn_c_try_link
"$LINENO"; then :
13469 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13470 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'` ;;
13471 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13472 if ${ac_cv_lib_soname_netapi:+false} :; then :
13473 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13477 rm -f core conftest.err conftest.
$ac_objext \
13478 conftest
$ac_exeext conftest.
$ac_ext
13479 LIBS
=$ac_check_soname_save_LIBS
13481 if ${ac_cv_lib_soname_netapi:+false} :; then :
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13483 $as_echo "not found" >&6; }
13484 cat >>confdefs.h
<<_ACEOF
13485 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13490 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13492 cat >>confdefs.h
<<_ACEOF
13493 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13500 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13501 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13502 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13503 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13505 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13506 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13507 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13509 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13515 if test "x${GCC}" = "xyes"
13517 EXTRACFLAGS
="-Wall -pipe"
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13520 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13521 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13522 $as_echo_n "(cached) " >&6
13524 if test "$cross_compiling" = yes; then :
13525 ac_cv_c_gcc_strength_bug
="yes"
13527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13528 /* end confdefs.h. */
13529 int L[4] = {0,1,2,3};
13533 static int Array[3];
13534 unsigned int B = 3;
13536 for(i=0; i<B; i++) Array[i] = i - 3;
13537 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13539 return (Array[1] != -2 || L[2] != 3)
13544 if ac_fn_c_try_run
"$LINENO"; then :
13545 ac_cv_c_gcc_strength_bug
="no"
13547 ac_cv_c_gcc_strength_bug
="yes"
13549 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13550 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13555 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13556 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13558 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13562 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13563 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13564 $as_echo_n "(cached) " >&6
13566 ac_wine_try_cflags_saved
=$CFLAGS
13567 CFLAGS
="$CFLAGS -fno-builtin"
13568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13569 /* end confdefs.h. */
13570 int main(int argc, char **argv) { return 0; }
13572 if ac_fn_c_try_link
"$LINENO"; then :
13573 ac_cv_cflags__fno_builtin
=yes
13575 ac_cv_cflags__fno_builtin
=no
13577 rm -f core conftest.err conftest.
$ac_objext \
13578 conftest
$ac_exeext conftest.
$ac_ext
13579 CFLAGS
=$ac_wine_try_cflags_saved
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13582 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13583 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13584 BUILTINFLAG
="-fno-builtin"
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13588 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13589 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13590 $as_echo_n "(cached) " >&6
13592 ac_wine_try_cflags_saved
=$CFLAGS
13593 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13595 /* end confdefs.h. */
13596 int main(int argc, char **argv) { return 0; }
13598 if ac_fn_c_try_link
"$LINENO"; then :
13599 ac_cv_cflags__fno_strict_aliasing
=yes
13601 ac_cv_cflags__fno_strict_aliasing
=no
13603 rm -f core conftest.err conftest.
$ac_objext \
13604 conftest
$ac_exeext conftest.
$ac_ext
13605 CFLAGS
=$ac_wine_try_cflags_saved
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13608 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13609 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13610 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13612 saved_CFLAGS
=$CFLAGS
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13614 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13615 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13616 $as_echo_n "(cached) " >&6
13618 ac_wine_try_cflags_saved
=$CFLAGS
13619 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13622 int main(int argc, char **argv) { return 0; }
13624 if ac_fn_c_try_link
"$LINENO"; then :
13625 ac_cv_cflags__Werror_unknown_warning_option
=yes
13627 ac_cv_cflags__Werror_unknown_warning_option
=no
13629 rm -f core conftest.err conftest.
$ac_objext \
13630 conftest
$ac_exeext conftest.
$ac_ext
13631 CFLAGS
=$ac_wine_try_cflags_saved
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13634 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13635 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13636 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13639 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13640 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13641 $as_echo_n "(cached) " >&6
13643 ac_wine_try_cflags_saved
=$CFLAGS
13644 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13647 int main(int argc, char **argv) { return 0; }
13649 if ac_fn_c_try_link
"$LINENO"; then :
13650 ac_cv_cflags__Wdeclaration_after_statement
=yes
13652 ac_cv_cflags__Wdeclaration_after_statement
=no
13654 rm -f core conftest.err conftest.
$ac_objext \
13655 conftest
$ac_exeext conftest.
$ac_ext
13656 CFLAGS
=$ac_wine_try_cflags_saved
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13659 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13660 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13661 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13664 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13665 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13666 $as_echo_n "(cached) " >&6
13668 ac_wine_try_cflags_saved
=$CFLAGS
13669 CFLAGS
="$CFLAGS -Wempty-body"
13670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13672 int main(int argc, char **argv) { return 0; }
13674 if ac_fn_c_try_link
"$LINENO"; then :
13675 ac_cv_cflags__Wempty_body
=yes
13677 ac_cv_cflags__Wempty_body
=no
13679 rm -f core conftest.err conftest.
$ac_objext \
13680 conftest
$ac_exeext conftest.
$ac_ext
13681 CFLAGS
=$ac_wine_try_cflags_saved
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13684 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13685 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13686 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13689 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13690 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13691 $as_echo_n "(cached) " >&6
13693 ac_wine_try_cflags_saved
=$CFLAGS
13694 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13696 /* end confdefs.h. */
13697 int main(int argc, char **argv) { return 0; }
13699 if ac_fn_c_try_link
"$LINENO"; then :
13700 ac_cv_cflags__Wignored_qualifiers
=yes
13702 ac_cv_cflags__Wignored_qualifiers
=no
13704 rm -f core conftest.err conftest.
$ac_objext \
13705 conftest
$ac_exeext conftest.
$ac_ext
13706 CFLAGS
=$ac_wine_try_cflags_saved
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13709 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13710 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13711 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13714 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13715 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13716 $as_echo_n "(cached) " >&6
13718 ac_wine_try_cflags_saved
=$CFLAGS
13719 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13721 /* end confdefs.h. */
13722 int main(int argc, char **argv) { return 0; }
13724 if ac_fn_c_try_link
"$LINENO"; then :
13725 ac_cv_cflags__Wstrict_prototypes
=yes
13727 ac_cv_cflags__Wstrict_prototypes
=no
13729 rm -f core conftest.err conftest.
$ac_objext \
13730 conftest
$ac_exeext conftest.
$ac_ext
13731 CFLAGS
=$ac_wine_try_cflags_saved
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13734 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13735 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13736 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13739 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13740 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13741 $as_echo_n "(cached) " >&6
13743 ac_wine_try_cflags_saved
=$CFLAGS
13744 CFLAGS
="$CFLAGS -Wtype-limits"
13745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13746 /* end confdefs.h. */
13747 int main(int argc, char **argv) { return 0; }
13749 if ac_fn_c_try_link
"$LINENO"; then :
13750 ac_cv_cflags__Wtype_limits
=yes
13752 ac_cv_cflags__Wtype_limits
=no
13754 rm -f core conftest.err conftest.
$ac_objext \
13755 conftest
$ac_exeext conftest.
$ac_ext
13756 CFLAGS
=$ac_wine_try_cflags_saved
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13759 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13760 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13761 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13764 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13765 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13766 $as_echo_n "(cached) " >&6
13768 ac_wine_try_cflags_saved
=$CFLAGS
13769 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13772 int main(int argc, char **argv) { return 0; }
13774 if ac_fn_c_try_link
"$LINENO"; then :
13775 ac_cv_cflags__Wunused_but_set_parameter
=yes
13777 ac_cv_cflags__Wunused_but_set_parameter
=no
13779 rm -f core conftest.err conftest.
$ac_objext \
13780 conftest
$ac_exeext conftest.
$ac_ext
13781 CFLAGS
=$ac_wine_try_cflags_saved
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13784 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13785 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13786 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13789 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13790 if ${ac_cv_cflags__Wvla+:} false
; then :
13791 $as_echo_n "(cached) " >&6
13793 ac_wine_try_cflags_saved
=$CFLAGS
13794 CFLAGS
="$CFLAGS -Wvla"
13795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h. */
13797 int main(int argc, char **argv) { return 0; }
13799 if ac_fn_c_try_link
"$LINENO"; then :
13800 ac_cv_cflags__Wvla
=yes
13802 ac_cv_cflags__Wvla
=no
13804 rm -f core conftest.err conftest.
$ac_objext \
13805 conftest
$ac_exeext conftest.
$ac_ext
13806 CFLAGS
=$ac_wine_try_cflags_saved
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13809 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13810 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13811 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13814 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13815 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13816 $as_echo_n "(cached) " >&6
13818 ac_wine_try_cflags_saved
=$CFLAGS
13819 CFLAGS
="$CFLAGS -Wwrite-strings"
13820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13821 /* end confdefs.h. */
13822 int main(int argc, char **argv) { return 0; }
13824 if ac_fn_c_try_link
"$LINENO"; then :
13825 ac_cv_cflags__Wwrite_strings
=yes
13827 ac_cv_cflags__Wwrite_strings
=no
13829 rm -f core conftest.err conftest.
$ac_objext \
13830 conftest
$ac_exeext conftest.
$ac_ext
13831 CFLAGS
=$ac_wine_try_cflags_saved
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13834 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13835 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13836 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13840 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13841 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13842 $as_echo_n "(cached) " >&6
13844 ac_wine_try_cflags_saved
=$CFLAGS
13845 CFLAGS
="$CFLAGS -Wpointer-arith"
13846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13848 int main(int argc, char **argv) { return 0; }
13850 if ac_fn_c_try_link
"$LINENO"; then :
13851 ac_cv_cflags__Wpointer_arith
=yes
13853 ac_cv_cflags__Wpointer_arith
=no
13855 rm -f core conftest.err conftest.
$ac_objext \
13856 conftest
$ac_exeext conftest.
$ac_ext
13857 CFLAGS
=$ac_wine_try_cflags_saved
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13860 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13861 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13862 saved_string_h_CFLAGS
=$CFLAGS
13863 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13865 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13866 if ${ac_cv_c_string_h_warnings+:} false
; then :
13867 $as_echo_n "(cached) " >&6
13869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13871 #include <string.h>
13880 if ac_fn_c_try_compile
"$LINENO"; then :
13881 ac_cv_c_string_h_warnings
=no
13883 ac_cv_c_string_h_warnings
=yes
13885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13888 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13889 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13890 CFLAGS
=$saved_string_h_CFLAGS
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13894 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13895 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13896 $as_echo_n "(cached) " >&6
13898 ac_wine_try_cflags_saved
=$CFLAGS
13899 CFLAGS
="$CFLAGS -Wlogical-op"
13900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13902 int main(int argc, char **argv) { return 0; }
13904 if ac_fn_c_try_link
"$LINENO"; then :
13905 ac_cv_cflags__Wlogical_op
=yes
13907 ac_cv_cflags__Wlogical_op
=no
13909 rm -f core conftest.err conftest.
$ac_objext \
13910 conftest
$ac_exeext conftest.
$ac_ext
13911 CFLAGS
=$ac_wine_try_cflags_saved
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13914 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13915 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13916 saved_string_h_CFLAGS
=$CFLAGS
13917 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13919 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13920 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13921 $as_echo_n "(cached) " >&6
13923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13924 /* end confdefs.h. */
13925 #include <string.h>
13926 char*f(const char *h,char n) {return strchr(h,n);}
13935 if ac_fn_c_try_compile
"$LINENO"; then :
13936 ac_cv_c_logicalop_noisy
=no
13938 ac_cv_c_logicalop_noisy
=yes
13940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13943 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13944 CFLAGS
=$saved_string_h_CFLAGS
13945 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13948 CFLAGS
=$saved_CFLAGS
13950 for ac_flag
in $CFLAGS; do
13952 -g) case $host_os in
13953 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13954 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13955 if ${ac_cv_cflags__gstabsp+:} false
; then :
13956 $as_echo_n "(cached) " >&6
13958 ac_wine_try_cflags_saved
=$CFLAGS
13959 CFLAGS
="$CFLAGS -gstabs+"
13960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13961 /* end confdefs.h. */
13962 int main(int argc, char **argv) { return 0; }
13964 if ac_fn_c_try_link
"$LINENO"; then :
13965 ac_cv_cflags__gstabsp
=yes
13967 ac_cv_cflags__gstabsp
=no
13969 rm -f core conftest.err conftest.
$ac_objext \
13970 conftest
$ac_exeext conftest.
$ac_ext
13971 CFLAGS
=$ac_wine_try_cflags_saved
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13974 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13975 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
13976 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13978 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13979 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13980 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13981 $as_echo_n "(cached) " >&6
13983 ac_wine_try_cflags_saved
=$CFLAGS
13984 CFLAGS
="$CFLAGS -gdwarf-2"
13985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13986 /* end confdefs.h. */
13987 int main(int argc, char **argv) { return 0; }
13989 if ac_fn_c_try_link
"$LINENO"; then :
13990 ac_cv_cflags__gdwarf_2
=yes
13992 ac_cv_cflags__gdwarf_2
=no
13994 rm -f core conftest.err conftest.
$ac_objext \
13995 conftest
$ac_exeext conftest.
$ac_ext
13996 CFLAGS
=$ac_wine_try_cflags_saved
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13999 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14000 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14001 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14004 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14005 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14006 $as_echo_n "(cached) " >&6
14008 ac_wine_try_cflags_saved
=$CFLAGS
14009 CFLAGS
="$CFLAGS -gstrict-dwarf"
14010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14011 /* end confdefs.h. */
14012 int main(int argc, char **argv) { return 0; }
14014 if ac_fn_c_try_link
"$LINENO"; then :
14015 ac_cv_cflags__gstrict_dwarf
=yes
14017 ac_cv_cflags__gstrict_dwarf
=no
14019 rm -f core conftest.err conftest.
$ac_objext \
14020 conftest
$ac_exeext conftest.
$ac_ext
14021 CFLAGS
=$ac_wine_try_cflags_saved
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14024 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14025 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14026 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14033 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14034 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14035 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14036 $as_echo_n "(cached) " >&6
14038 ac_wine_try_cflags_saved
=$CFLAGS
14039 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14041 /* end confdefs.h. */
14042 int main(int argc, char **argv) { return 0; }
14044 if ac_fn_c_try_link
"$LINENO"; then :
14045 ac_cv_cflags__fno_omit_frame_pointer
=yes
14047 ac_cv_cflags__fno_omit_frame_pointer
=no
14049 rm -f core conftest.err conftest.
$ac_objext \
14050 conftest
$ac_exeext conftest.
$ac_ext
14051 CFLAGS
=$ac_wine_try_cflags_saved
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14054 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14055 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14056 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14061 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14062 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14063 if ${ac_cv_cflags__Wno_format+:} false
; then :
14064 $as_echo_n "(cached) " >&6
14066 ac_wine_try_cflags_saved
=$CFLAGS
14067 CFLAGS
="$CFLAGS -Wno-format"
14068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14069 /* end confdefs.h. */
14070 int main(int argc, char **argv) { return 0; }
14072 if ac_fn_c_try_link
"$LINENO"; then :
14073 ac_cv_cflags__Wno_format
=yes
14075 ac_cv_cflags__Wno_format
=no
14077 rm -f core conftest.err conftest.
$ac_objext \
14078 conftest
$ac_exeext conftest.
$ac_ext
14079 CFLAGS
=$ac_wine_try_cflags_saved
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14082 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14083 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14084 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14088 if test "x$enable_maintainer_mode" = "xyes"
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14091 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14092 if ${ac_cv_cflags__Werror+:} false
; then :
14093 $as_echo_n "(cached) " >&6
14095 ac_wine_try_cflags_saved
=$CFLAGS
14096 CFLAGS
="$CFLAGS -Werror"
14097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14098 /* end confdefs.h. */
14099 int main(int argc, char **argv) { return 0; }
14101 if ac_fn_c_try_link
"$LINENO"; then :
14102 ac_cv_cflags__Werror
=yes
14104 ac_cv_cflags__Werror
=no
14106 rm -f core conftest.err conftest.
$ac_objext \
14107 conftest
$ac_exeext conftest.
$ac_ext
14108 CFLAGS
=$ac_wine_try_cflags_saved
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14111 $as_echo "$ac_cv_cflags__Werror" >&6; }
14112 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14113 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14117 saved_CFLAGS
="$CFLAGS"
14118 CFLAGS
="$CFLAGS -Werror"
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14120 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14121 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14122 $as_echo_n "(cached) " >&6
14124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14125 /* end confdefs.h. */
14126 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14135 if ac_fn_c_try_compile
"$LINENO"; then :
14136 ac_cv_have_ms_hook_prologue
="yes"
14138 ac_cv_have_ms_hook_prologue
="no"
14140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14143 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14144 CFLAGS
="$saved_CFLAGS"
14145 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14148 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14151 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14158 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14159 if ${ac_cv_c_fortify_enabled+:} false
; then :
14160 $as_echo_n "(cached) " >&6
14162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14163 /* end confdefs.h. */
14164 #include <string.h>
14168 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14169 #error Fortify enabled
14175 if ac_fn_c_try_compile
"$LINENO"; then :
14176 ac_cv_c_fortify_enabled
=no
14178 ac_cv_c_fortify_enabled
=yes
14180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14183 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14184 if test "$ac_cv_c_fortify_enabled" = yes
14186 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14191 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14192 if ${ac_cv_c_extern_prefix+:} false
; then :
14193 $as_echo_n "(cached) " >&6
14195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h. */
14197 extern int ac_test;
14201 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14206 if ac_fn_c_try_link
"$LINENO"; then :
14207 ac_cv_c_extern_prefix
="yes"
14209 ac_cv_c_extern_prefix
="no"
14211 rm -f core conftest.err conftest.
$ac_objext \
14212 conftest
$ac_exeext conftest.
$ac_ext
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14215 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14220 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14221 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14222 $as_echo_n "(cached) " >&6
14224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14225 /* end confdefs.h. */
14227 #define __stdcall __attribute__((__stdcall__))
14229 int __stdcall ac_test(int i) { return i; }
14233 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14238 if ac_fn_c_try_link
"$LINENO"; then :
14239 ac_cv_c_stdcall_suffix
="yes"
14241 ac_cv_c_stdcall_suffix
="no"
14243 rm -f core conftest.err conftest.
$ac_objext \
14244 conftest
$ac_exeext conftest.
$ac_ext
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14247 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14248 *) ac_cv_c_stdcall_suffix
="no" ;;
14252 if test "$ac_cv_c_extern_prefix" = "yes"
14254 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14256 asm_name_prefix
="_"
14258 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14264 if test "$ac_cv_c_stdcall_suffix" = "yes"
14266 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14269 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14275 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14276 if ${ac_cv_asm_func_def+:} false
; then :
14277 $as_echo_n "(cached) " >&6
14279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14285 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14290 if ac_fn_c_try_link
"$LINENO"; then :
14291 ac_cv_asm_func_def
=".def"
14293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14294 /* end confdefs.h. */
14299 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14304 if ac_fn_c_try_link
"$LINENO"; then :
14305 ac_cv_asm_func_def
=".type @function"
14307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14313 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14318 if ac_fn_c_try_link
"$LINENO"; then :
14319 ac_cv_asm_func_def
=".type 2"
14321 ac_cv_asm_func_def
="unknown"
14323 rm -f core conftest.err conftest.
$ac_objext \
14324 conftest
$ac_exeext conftest.
$ac_ext
14326 rm -f core conftest.err conftest.
$ac_objext \
14327 conftest
$ac_exeext conftest.
$ac_ext
14329 rm -f core conftest.err conftest.
$ac_objext \
14330 conftest
$ac_exeext conftest.
$ac_ext
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14333 $as_echo "$ac_cv_asm_func_def" >&6; }
14336 case "$ac_cv_asm_func_def" in
14338 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14340 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14342 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14344 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14346 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14348 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14350 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14352 asm_func_header
="" ;;
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14356 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14357 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14358 $as_echo_n "(cached) " >&6
14360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14362 asm(".text\n\t.long 0");
14371 if ac_fn_c_try_compile
"$LINENO"; then :
14372 ac_cv_c_asm_outside_funcs
="yes"
14374 ac_cv_c_asm_outside_funcs
="no"
14376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14379 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14382 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14383 if ${ac_cv_c_dot_previous+:} false
; then :
14384 $as_echo_n "(cached) " >&6
14386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14387 /* end confdefs.h. */
14392 asm(".text\nac_test:\t.long 0\n\t.previous");
14397 if ac_fn_c_try_link
"$LINENO"; then :
14398 ac_cv_c_dot_previous
="yes"
14400 ac_cv_c_dot_previous
="no"
14402 rm -f core conftest.err conftest.
$ac_objext \
14403 conftest
$ac_exeext conftest.
$ac_ext
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14406 $as_echo "$ac_cv_c_dot_previous" >&6; }
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14409 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14410 if ${ac_cv_c_cfi_support+:} false
; then :
14411 $as_echo_n "(cached) " >&6
14413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14415 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14424 if ac_fn_c_try_compile
"$LINENO"; then :
14425 ac_cv_c_cfi_support
="yes"
14427 ac_cv_c_cfi_support
="no"
14429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14432 $as_echo "$ac_cv_c_cfi_support" >&6; }
14434 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14435 asm_func_trailer
=""
14436 if test "$ac_cv_c_dot_previous" = "yes"
14438 asm_func_trailer
="\\n\\t.previous"
14440 if test "$ac_cv_c_cfi_support" = "yes"
14442 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14443 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14445 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14447 UNWINDFLAGS
=-fasynchronous-unwind-tables
14450 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14454 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14457 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14459 cat >>confdefs.h
<<_ACEOF
14460 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14464 cat >>confdefs.h
<<_ACEOF
14465 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14470 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14473 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14478 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14485 *i
[3456789]86*|x86_64
*)
14486 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14487 loader_programs
="$loader_programs $wine_binary-preloader"
14488 as_fn_append LOADER_RULES
"
14489 $wine_binary-preloader: preloader.o
14490 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14492 install install-lib:: $wine_binary-preloader
14493 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14496 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14498 preloader_EXTRADEFS = $BUILTINFLAG
14503 as_fn_append LOADER_RULES
"
14504 PROGRAMS = $loader_programs
14508 ac_save_CFLAGS
="$CFLAGS"
14509 CFLAGS
="$CFLAGS $BUILTINFLAG"
14586 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14587 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14588 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14589 cat >>confdefs.h
<<_ACEOF
14590 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14596 CFLAGS
="$ac_save_CFLAGS"
14598 if test "$ac_cv_func_dlopen" = no
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14601 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14602 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14603 $as_echo_n "(cached) " >&6
14605 ac_check_lib_save_LIBS
=$LIBS
14607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14608 /* end confdefs.h. */
14610 /* Override any GCC internal prototype to avoid an error.
14611 Use char because int might match the return type of a GCC
14612 builtin and then its argument prototype would still apply. */
14625 if ac_fn_c_try_link
"$LINENO"; then :
14626 ac_cv_lib_dl_dlopen
=yes
14628 ac_cv_lib_dl_dlopen
=no
14630 rm -f core conftest.err conftest.
$ac_objext \
14631 conftest
$ac_exeext conftest.
$ac_ext
14632 LIBS
=$ac_check_lib_save_LIBS
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14635 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14636 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14637 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14643 ac_wine_check_funcs_save_LIBS
="$LIBS"
14644 LIBS
="$LIBS $DL_LIBS"
14645 for ac_func
in dladdr
14647 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14648 if test "x$ac_cv_func_dladdr" = xyes
; then :
14649 cat >>confdefs.h
<<_ACEOF
14650 #define HAVE_DLADDR 1
14656 LIBS
="$ac_wine_check_funcs_save_LIBS"
14658 if test "$ac_cv_func_poll" = no
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14661 $as_echo_n "checking for poll in -lpoll... " >&6; }
14662 if ${ac_cv_lib_poll_poll+:} false
; then :
14663 $as_echo_n "(cached) " >&6
14665 ac_check_lib_save_LIBS
=$LIBS
14666 LIBS
="-lpoll $LIBS"
14667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14668 /* end confdefs.h. */
14670 /* Override any GCC internal prototype to avoid an error.
14671 Use char because int might match the return type of a GCC
14672 builtin and then its argument prototype would still apply. */
14685 if ac_fn_c_try_link
"$LINENO"; then :
14686 ac_cv_lib_poll_poll
=yes
14688 ac_cv_lib_poll_poll
=no
14690 rm -f core conftest.err conftest.
$ac_objext \
14691 conftest
$ac_exeext conftest.
$ac_ext
14692 LIBS
=$ac_check_lib_save_LIBS
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14695 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14696 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14697 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14705 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14706 if ${ac_cv_search_gethostbyname+:} false
; then :
14707 $as_echo_n "(cached) " >&6
14709 ac_func_search_save_LIBS
=$LIBS
14710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14711 /* end confdefs.h. */
14713 /* Override any GCC internal prototype to avoid an error.
14714 Use char because int might match the return type of a GCC
14715 builtin and then its argument prototype would still apply. */
14719 char gethostbyname ();
14723 return gethostbyname ();
14728 for ac_lib
in '' nsl
; do
14729 if test -z "$ac_lib"; then
14730 ac_res
="none required"
14733 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14735 if ac_fn_c_try_link
"$LINENO"; then :
14736 ac_cv_search_gethostbyname
=$ac_res
14738 rm -f core conftest.err conftest.
$ac_objext \
14740 if ${ac_cv_search_gethostbyname+:} false
; then :
14744 if ${ac_cv_search_gethostbyname+:} false
; then :
14747 ac_cv_search_gethostbyname
=no
14749 rm conftest.
$ac_ext
14750 LIBS
=$ac_func_search_save_LIBS
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14753 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14754 ac_res
=$ac_cv_search_gethostbyname
14755 if test "$ac_res" != no
; then :
14756 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14762 $as_echo_n "checking for library containing connect... " >&6; }
14763 if ${ac_cv_search_connect+:} false
; then :
14764 $as_echo_n "(cached) " >&6
14766 ac_func_search_save_LIBS
=$LIBS
14767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14768 /* end confdefs.h. */
14770 /* Override any GCC internal prototype to avoid an error.
14771 Use char because int might match the return type of a GCC
14772 builtin and then its argument prototype would still apply. */
14785 for ac_lib
in '' socket
; do
14786 if test -z "$ac_lib"; then
14787 ac_res
="none required"
14790 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14792 if ac_fn_c_try_link
"$LINENO"; then :
14793 ac_cv_search_connect
=$ac_res
14795 rm -f core conftest.err conftest.
$ac_objext \
14797 if ${ac_cv_search_connect+:} false
; then :
14801 if ${ac_cv_search_connect+:} false
; then :
14804 ac_cv_search_connect
=no
14806 rm conftest.
$ac_ext
14807 LIBS
=$ac_func_search_save_LIBS
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14810 $as_echo "$ac_cv_search_connect" >&6; }
14811 ac_res
=$ac_cv_search_connect
14812 if test "$ac_res" != no
; then :
14813 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14819 $as_echo_n "checking for library containing inet_aton... " >&6; }
14820 if ${ac_cv_search_inet_aton+:} false
; then :
14821 $as_echo_n "(cached) " >&6
14823 ac_func_search_save_LIBS
=$LIBS
14824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14825 /* end confdefs.h. */
14827 /* Override any GCC internal prototype to avoid an error.
14828 Use char because int might match the return type of a GCC
14829 builtin and then its argument prototype would still apply. */
14837 return inet_aton ();
14842 for ac_lib
in '' resolv
; do
14843 if test -z "$ac_lib"; then
14844 ac_res
="none required"
14847 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14849 if ac_fn_c_try_link
"$LINENO"; then :
14850 ac_cv_search_inet_aton
=$ac_res
14852 rm -f core conftest.err conftest.
$ac_objext \
14854 if ${ac_cv_search_inet_aton+:} false
; then :
14858 if ${ac_cv_search_inet_aton+:} false
; then :
14861 ac_cv_search_inet_aton
=no
14863 rm conftest.
$ac_ext
14864 LIBS
=$ac_func_search_save_LIBS
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14867 $as_echo "$ac_cv_search_inet_aton" >&6; }
14868 ac_res
=$ac_cv_search_inet_aton
14869 if test "$ac_res" != no
; then :
14870 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14890 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14891 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14892 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14893 cat >>confdefs.h
<<_ACEOF
14894 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14903 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14904 if ${ac_cv_search_clock_gettime+:} false
; then :
14905 $as_echo_n "(cached) " >&6
14907 ac_func_search_save_LIBS
=$LIBS
14908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14909 /* end confdefs.h. */
14911 /* Override any GCC internal prototype to avoid an error.
14912 Use char because int might match the return type of a GCC
14913 builtin and then its argument prototype would still apply. */
14917 char clock_gettime ();
14921 return clock_gettime ();
14926 for ac_lib
in '' rt
; do
14927 if test -z "$ac_lib"; then
14928 ac_res
="none required"
14931 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14933 if ac_fn_c_try_link
"$LINENO"; then :
14934 ac_cv_search_clock_gettime
=$ac_res
14936 rm -f core conftest.err conftest.
$ac_objext \
14938 if ${ac_cv_search_clock_gettime+:} false
; then :
14942 if ${ac_cv_search_clock_gettime+:} false
; then :
14945 ac_cv_search_clock_gettime
=no
14947 rm conftest.
$ac_ext
14948 LIBS
=$ac_func_search_save_LIBS
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14951 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14952 ac_res
=$ac_cv_search_clock_gettime
14953 if test "$ac_res" != no
; then :
14954 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14956 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14958 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14966 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14968 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14970 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14972 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14973 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14974 $as_echo_n "(cached) " >&6
14976 ac_check_lib_save_LIBS
=$LIBS
14977 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
14978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14981 /* Override any GCC internal prototype to avoid an error.
14982 Use char because int might match the return type of a GCC
14983 builtin and then its argument prototype would still apply. */
14987 char ldap_initialize ();
14991 return ldap_initialize ();
14996 if ac_fn_c_try_link
"$LINENO"; then :
14997 ac_cv_lib_ldap_r_ldap_initialize
=yes
14999 ac_cv_lib_ldap_r_ldap_initialize
=no
15001 rm -f core conftest.err conftest.
$ac_objext \
15002 conftest
$ac_exeext conftest.
$ac_ext
15003 LIBS
=$ac_check_lib_save_LIBS
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15006 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15007 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15009 $as_echo_n "checking for ber_init in -llber... " >&6; }
15010 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15011 $as_echo_n "(cached) " >&6
15013 ac_check_lib_save_LIBS
=$LIBS
15014 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15016 /* end confdefs.h. */
15018 /* Override any GCC internal prototype to avoid an error.
15019 Use char because int might match the return type of a GCC
15020 builtin and then its argument prototype would still apply. */
15028 return ber_init ();
15033 if ac_fn_c_try_link
"$LINENO"; then :
15034 ac_cv_lib_lber_ber_init
=yes
15036 ac_cv_lib_lber_ber_init
=no
15038 rm -f core conftest.err conftest.
$ac_objext \
15039 conftest
$ac_exeext conftest.
$ac_ext
15040 LIBS
=$ac_check_lib_save_LIBS
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15043 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15044 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15046 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15048 LDAP_LIBS
="-lldap_r -llber"
15055 ac_wine_check_funcs_save_LIBS
="$LIBS"
15056 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15058 ldap_count_references \
15059 ldap_first_reference \
15060 ldap_next_reference \
15061 ldap_parse_reference \
15062 ldap_parse_sort_control \
15063 ldap_parse_sortresponse_control \
15064 ldap_parse_vlv_control \
15065 ldap_parse_vlvresponse_control
15067 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15068 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15069 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15070 cat >>confdefs.h
<<_ACEOF
15071 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15077 LIBS
="$ac_wine_check_funcs_save_LIBS"
15079 if test "x$LDAP_LIBS" = "x"; then :
15080 case "x$with_ldap" in
15081 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15083 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15084 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15089 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15090 if ${wine_cv_one_arg_mkdir+:} false
; then :
15091 $as_echo_n "(cached) " >&6
15093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15095 #include <sys/stat.h>
15104 if ac_fn_c_try_compile
"$LINENO"; then :
15105 wine_cv_one_arg_mkdir
=yes
15107 wine_cv_one_arg_mkdir
=no
15109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15112 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15113 if test "$wine_cv_one_arg_mkdir" = "yes"
15116 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15121 $as_echo_n "checking for sched_setaffinity... " >&6; }
15122 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15123 $as_echo_n "(cached) " >&6
15125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15126 /* end confdefs.h. */
15127 #define _GNU_SOURCE
15132 sched_setaffinity(0, 0, 0);
15137 if ac_fn_c_try_link
"$LINENO"; then :
15138 wine_cv_have_sched_setaffinity
=yes
15140 wine_cv_have_sched_setaffinity
=no
15142 rm -f core conftest.err conftest.
$ac_objext \
15143 conftest
$ac_exeext conftest.
$ac_ext
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15146 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15147 if test "$wine_cv_have_sched_setaffinity" = "yes"
15150 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15155 $as_echo_n "checking for fallocate... " >&6; }
15156 if ${wine_cv_have_fallocate+:} false
; then :
15157 $as_echo_n "(cached) " >&6
15159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15161 #define _GNU_SOURCE
15166 fallocate(-1, 0, 0, 0);
15171 if ac_fn_c_try_link
"$LINENO"; then :
15172 wine_cv_have_fallocate
=yes
15174 wine_cv_have_fallocate
=no
15176 rm -f core conftest.err conftest.
$ac_objext \
15177 conftest
$ac_exeext conftest.
$ac_ext
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15180 $as_echo "$wine_cv_have_fallocate" >&6; }
15181 if test "$wine_cv_have_fallocate" = "yes"
15184 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15190 $as_echo_n "checking for inline... " >&6; }
15191 if ${ac_cv_c_inline+:} false
; then :
15192 $as_echo_n "(cached) " >&6
15195 for ac_kw
in inline __inline__ __inline
; do
15196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15197 /* end confdefs.h. */
15198 #ifndef __cplusplus
15200 static $ac_kw foo_t static_foo () {return 0; }
15201 $ac_kw foo_t foo () {return 0; }
15205 if ac_fn_c_try_compile
"$LINENO"; then :
15206 ac_cv_c_inline
=$ac_kw
15208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15209 test "$ac_cv_c_inline" != no
&& break
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15214 $as_echo "$ac_cv_c_inline" >&6; }
15216 case $ac_cv_c_inline in
15219 case $ac_cv_c_inline in
15221 *) ac_val
=$ac_cv_c_inline;;
15223 cat >>confdefs.h
<<_ACEOF
15224 #ifndef __cplusplus
15225 #define inline $ac_val
15231 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15232 if test "x$ac_cv_type_mode_t" = xyes
; then :
15234 cat >>confdefs.h
<<_ACEOF
15235 #define HAVE_MODE_T 1
15240 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15241 if test "x$ac_cv_type_off_t" = xyes
; then :
15243 cat >>confdefs.h
<<_ACEOF
15244 #define HAVE_OFF_T 1
15249 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15250 if test "x$ac_cv_type_pid_t" = xyes
; then :
15252 cat >>confdefs.h
<<_ACEOF
15253 #define HAVE_PID_T 1
15258 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15259 if test "x$ac_cv_type_size_t" = xyes
; then :
15261 cat >>confdefs.h
<<_ACEOF
15262 #define HAVE_SIZE_T 1
15267 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15268 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15270 cat >>confdefs.h
<<_ACEOF
15271 #define HAVE_SSIZE_T 1
15276 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15277 if test "x$ac_cv_type_long_long" = xyes
; then :
15279 cat >>confdefs.h
<<_ACEOF
15280 #define HAVE_LONG_LONG 1
15285 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15286 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15288 cat >>confdefs.h
<<_ACEOF
15289 #define HAVE_FSBLKCNT_T 1
15294 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15295 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15297 cat >>confdefs.h
<<_ACEOF
15298 #define HAVE_FSFILCNT_T 1
15304 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15305 #include <signal.h>
15307 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15309 cat >>confdefs.h
<<_ACEOF
15310 #define HAVE_SIGSET_T 1
15316 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15318 if test "x$ac_cv_type_request_sense" = xyes
; then :
15320 cat >>confdefs.h
<<_ACEOF
15321 #define HAVE_REQUEST_SENSE 1
15328 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15329 #ifdef HAVE_SYS_SOCKET_H
15330 #include <sys/socket.h>
15332 #ifdef HAVE_SYS_SOCKETVAR_H
15333 #include <sys/socketvar.h>
15335 #ifdef HAVE_NET_ROUTE_H
15336 #include <net/route.h>
15338 #ifdef HAVE_NETINET_IN_H
15339 #include <netinet/in.h>
15341 #ifdef HAVE_NETINET_IN_SYSTM_H
15342 #include <netinet/in_systm.h>
15344 #ifdef HAVE_NETINET_IP_H
15345 #include <netinet/ip.h>
15347 #ifdef HAVE_NETINET_IN_PCB_H
15348 #include <netinet/in_pcb.h>
15351 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15353 cat >>confdefs.h
<<_ACEOF
15354 #define HAVE_STRUCT_XINPGEN 1
15361 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15364 #ifdef HAVE_SYS_LINK_H
15365 #include <sys/link.h>
15368 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15370 cat >>confdefs.h
<<_ACEOF
15371 #define HAVE_STRUCT_R_DEBUG 1
15376 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15379 #ifdef HAVE_SYS_LINK_H
15380 #include <sys/link.h>
15383 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15385 cat >>confdefs.h
<<_ACEOF
15386 #define HAVE_STRUCT_LINK_MAP 1
15393 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15394 #include <linux/input.h>
15397 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15399 cat >>confdefs.h
<<_ACEOF
15400 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15408 $as_echo_n "checking for sigaddset... " >&6; }
15409 if ${wine_cv_have_sigaddset+:} false
; then :
15410 $as_echo_n "(cached) " >&6
15412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15413 /* end confdefs.h. */
15414 #include <signal.h>
15418 sigset_t set; sigaddset(&set,SIGTERM);
15423 if ac_fn_c_try_link
"$LINENO"; then :
15424 wine_cv_have_sigaddset
=yes
15426 wine_cv_have_sigaddset
=no
15428 rm -f core conftest.err conftest.
$ac_objext \
15429 conftest
$ac_exeext conftest.
$ac_ext
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15432 $as_echo "$wine_cv_have_sigaddset" >&6; }
15433 if test "$wine_cv_have_sigaddset" = "yes"
15436 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15442 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15443 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15444 $as_echo_n "(cached) " >&6
15446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15447 /* end confdefs.h. */
15455 struct hostent *result;
15462 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15463 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15469 if ac_fn_c_try_link
"$LINENO"; then :
15470 wine_cv_linux_gethostbyname_r_6
=yes
15472 wine_cv_linux_gethostbyname_r_6
=no
15475 rm -f core conftest.err conftest.
$ac_objext \
15476 conftest
$ac_exeext conftest.
$ac_ext
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15480 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15481 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15484 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15488 if test "$ac_cv_header_linux_joystick_h" = "yes"
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15491 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15492 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15493 $as_echo_n "(cached) " >&6
15495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15496 /* end confdefs.h. */
15498 #include <sys/ioctl.h>
15499 #include <sys/types.h>
15500 #include <linux/joystick.h>
15502 struct js_event blub;
15503 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15504 #error "no 2.2 header"
15515 if ac_fn_c_try_compile
"$LINENO"; then :
15516 wine_cv_linux_joystick_22_api
=yes
15518 wine_cv_linux_joystick_22_api
=no
15520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15524 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15525 if test "$wine_cv_linux_joystick_22_api" = "yes"
15528 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15534 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15535 #ifdef HAVE_SYS_PARAM_H
15536 # include <sys/param.h>
15538 #ifdef HAVE_SYS_MOUNT_H
15539 # include <sys/mount.h>
15541 #ifdef HAVE_SYS_VFS_H
15542 # include <sys/vfs.h>
15544 #ifdef HAVE_SYS_STATFS_H
15545 # include <sys/statfs.h>
15548 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15550 cat >>confdefs.h
<<_ACEOF
15551 #define HAVE_STRUCT_STATFS_F_BFREE 1
15556 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15557 #ifdef HAVE_SYS_PARAM_H
15558 # include <sys/param.h>
15560 #ifdef HAVE_SYS_MOUNT_H
15561 # include <sys/mount.h>
15563 #ifdef HAVE_SYS_VFS_H
15564 # include <sys/vfs.h>
15566 #ifdef HAVE_SYS_STATFS_H
15567 # include <sys/statfs.h>
15570 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15572 cat >>confdefs.h
<<_ACEOF
15573 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15578 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15579 #ifdef HAVE_SYS_PARAM_H
15580 # include <sys/param.h>
15582 #ifdef HAVE_SYS_MOUNT_H
15583 # include <sys/mount.h>
15585 #ifdef HAVE_SYS_VFS_H
15586 # include <sys/vfs.h>
15588 #ifdef HAVE_SYS_STATFS_H
15589 # include <sys/statfs.h>
15592 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15594 cat >>confdefs.h
<<_ACEOF
15595 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15600 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15601 #ifdef HAVE_SYS_PARAM_H
15602 # include <sys/param.h>
15604 #ifdef HAVE_SYS_MOUNT_H
15605 # include <sys/mount.h>
15607 #ifdef HAVE_SYS_VFS_H
15608 # include <sys/vfs.h>
15610 #ifdef HAVE_SYS_STATFS_H
15611 # include <sys/statfs.h>
15614 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15616 cat >>confdefs.h
<<_ACEOF
15617 #define HAVE_STRUCT_STATFS_F_FFREE 1
15622 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15623 #ifdef HAVE_SYS_PARAM_H
15624 # include <sys/param.h>
15626 #ifdef HAVE_SYS_MOUNT_H
15627 # include <sys/mount.h>
15629 #ifdef HAVE_SYS_VFS_H
15630 # include <sys/vfs.h>
15632 #ifdef HAVE_SYS_STATFS_H
15633 # include <sys/statfs.h>
15636 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15638 cat >>confdefs.h
<<_ACEOF
15639 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15644 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15645 #ifdef HAVE_SYS_PARAM_H
15646 # include <sys/param.h>
15648 #ifdef HAVE_SYS_MOUNT_H
15649 # include <sys/mount.h>
15651 #ifdef HAVE_SYS_VFS_H
15652 # include <sys/vfs.h>
15654 #ifdef HAVE_SYS_STATFS_H
15655 # include <sys/statfs.h>
15658 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15660 cat >>confdefs.h
<<_ACEOF
15661 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15668 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15669 #include <sys/statvfs.h>
15672 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15674 cat >>confdefs.h
<<_ACEOF
15675 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15682 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15683 #include <dirent.h>
15686 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15688 cat >>confdefs.h
<<_ACEOF
15689 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15696 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15697 #ifdef HAVE_SYS_SOCKET_H
15698 # include <sys/socket.h>
15700 #ifdef HAVE_SYS_UN_H
15701 # include <sys/un.h>
15704 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15706 cat >>confdefs.h
<<_ACEOF
15707 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15712 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15713 #ifdef HAVE_SYS_SOCKET_H
15714 # include <sys/socket.h>
15716 #ifdef HAVE_SYS_UN_H
15717 # include <sys/un.h>
15720 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15722 cat >>confdefs.h
<<_ACEOF
15723 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15728 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15729 #ifdef HAVE_SYS_SOCKET_H
15730 # include <sys/socket.h>
15732 #ifdef HAVE_SYS_UN_H
15733 # include <sys/un.h>
15736 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15738 cat >>confdefs.h
<<_ACEOF
15739 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15746 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15747 #ifdef HAVE_SCSI_SG_H
15748 #include <scsi/sg.h>
15751 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15753 cat >>confdefs.h
<<_ACEOF
15754 #define HAVE_SCSIREQ_T_CMD 1
15759 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>
15760 #ifdef HAVE_SCSI_SG_H
15761 #include <scsi/sg.h>
15764 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15766 cat >>confdefs.h
<<_ACEOF
15767 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15774 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15776 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15778 cat >>confdefs.h
<<_ACEOF
15779 #define HAVE_SIGINFO_T_SI_FD 1
15786 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15787 #ifdef HAVE_SYS_MTIO_H
15788 #include <sys/mtio.h>
15791 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15793 cat >>confdefs.h
<<_ACEOF
15794 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15799 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15800 #ifdef HAVE_SYS_MTIO_H
15801 #include <sys/mtio.h>
15804 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15806 cat >>confdefs.h
<<_ACEOF
15807 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15812 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15813 #ifdef HAVE_SYS_MTIO_H
15814 #include <sys/mtio.h>
15817 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15819 cat >>confdefs.h
<<_ACEOF
15820 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15827 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15828 #include <getopt.h>
15831 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15833 cat >>confdefs.h
<<_ACEOF
15834 #define HAVE_STRUCT_OPTION_NAME 1
15841 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15842 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15844 cat >>confdefs.h
<<_ACEOF
15845 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15850 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15851 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15853 cat >>confdefs.h
<<_ACEOF
15854 #define HAVE_STRUCT_STAT_ST_MTIM 1
15859 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15860 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15862 cat >>confdefs.h
<<_ACEOF
15863 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15868 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15869 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15871 cat >>confdefs.h
<<_ACEOF
15872 #define HAVE_STRUCT_STAT_ST_CTIM 1
15877 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15878 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15880 cat >>confdefs.h
<<_ACEOF
15881 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15886 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15887 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15889 cat >>confdefs.h
<<_ACEOF
15890 #define HAVE_STRUCT_STAT_ST_ATIM 1
15895 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15896 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15898 cat >>confdefs.h
<<_ACEOF
15899 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15904 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15905 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15907 cat >>confdefs.h
<<_ACEOF
15908 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15913 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15914 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15916 cat >>confdefs.h
<<_ACEOF
15917 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15922 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15923 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15925 cat >>confdefs.h
<<_ACEOF
15926 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15931 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15932 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15934 cat >>confdefs.h
<<_ACEOF
15935 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15940 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15941 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15943 cat >>confdefs.h
<<_ACEOF
15944 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15951 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
15952 #include <sys/types.h>
15954 #ifdef HAVE_NETINET_IN_H
15955 #include <netinet/in.h>
15958 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15960 cat >>confdefs.h
<<_ACEOF
15961 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15968 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15969 #include <resolv.h>
15972 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15974 cat >>confdefs.h
<<_ACEOF
15975 #define HAVE_STRUCT___RES_STATE 1
15982 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
15983 #include <resolv.h>
15986 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15988 cat >>confdefs.h
<<_ACEOF
15989 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15996 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15997 #include <sys/types.h>
15999 #ifdef HAVE_NETINET_IN_H
16000 # include <netinet/in.h>
16002 #ifdef HAVE_ARPA_NAMESER_H
16003 # include <arpa/nameser.h>
16006 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16008 cat >>confdefs.h
<<_ACEOF
16009 #define HAVE_NS_MSG__MSG_PTR 1
16016 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16017 #include <sys/types.h>
16019 #ifdef HAVE_NETINET_IP_H
16020 #include <netinet/ip.h>
16022 #ifdef HAVE_NETINET_IP_ICMP_H
16023 #include <netinet/ip_icmp.h>
16025 #ifdef HAVE_NETINET_ICMP_VAR_H
16026 #include <netinet/icmp_var.h>
16029 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16031 cat >>confdefs.h
<<_ACEOF
16032 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16039 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16040 #include <sys/types.h>
16042 #ifdef HAVE_ALIAS_H
16045 #ifdef HAVE_SYS_SOCKET_H
16046 #include <sys/socket.h>
16048 #ifdef HAVE_SYS_SOCKETVAR_H
16049 #include <sys/socketvar.h>
16051 #ifdef HAVE_SYS_TIMEOUT_H
16052 #include <sys/timeout.h>
16054 #ifdef HAVE_NETINET_IN_H
16055 #include <netinet/in.h>
16057 #ifdef HAVE_NETINET_IN_SYSTM_H
16058 #include <netinet/in_systm.h>
16060 #ifdef HAVE_NETINET_IP_H
16061 #include <netinet/ip.h>
16063 #ifdef HAVE_NETINET_IP_VAR_H
16064 #include <netinet/ip_var.h>
16066 #ifdef HAVE_NETINET_IP_ICMP_H
16067 #include <netinet/ip_icmp.h>
16069 #ifdef HAVE_NETINET_ICMP_VAR_H
16070 #include <netinet/icmp_var.h>
16073 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16075 cat >>confdefs.h
<<_ACEOF
16076 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16083 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16084 #include <sys/types.h>
16086 #ifdef HAVE_SYS_SOCKETVAR_H
16087 #include <sys/socketvar.h>
16089 #ifdef HAVE_NETINET_IN_H
16090 #include <netinet/in.h>
16092 #ifdef HAVE_NETINET_IP_VAR_H
16093 #include <netinet/ip_var.h>
16096 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16098 cat >>confdefs.h
<<_ACEOF
16099 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16106 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
16107 #include <netinet/ip_var.h>
16110 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16112 cat >>confdefs.h
<<_ACEOF
16113 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16120 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16121 #include <sys/types.h>
16123 #ifdef HAVE_SYS_SOCKETVAR_H
16124 #include <sys/socketvar.h>
16126 #ifdef HAVE_NETINET_IN_H
16127 #include <netinet/in.h>
16129 #ifdef HAVE_NETINET_TCP_H
16130 #include <netinet/tcp.h>
16132 #ifdef HAVE_NETINET_TCP_VAR_H
16133 #include <netinet/tcp_var.h>
16136 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16138 cat >>confdefs.h
<<_ACEOF
16139 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16146 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
16147 #include <netinet/tcp_var.h>
16150 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16152 cat >>confdefs.h
<<_ACEOF
16153 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16160 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16161 #include <sys/types.h>
16163 #ifdef HAVE_NETINET_IN_H
16164 #include <netinet/in.h>
16166 #ifdef HAVE_NETINET_IP_VAR_H
16167 #include <netinet/ip_var.h>
16169 #ifdef HAVE_NETINET_UDP_H
16170 #include <netinet/udp.h>
16172 #ifdef HAVE_NETINET_UDP_VAR_H
16173 #include <netinet/udp_var.h>
16176 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16178 cat >>confdefs.h
<<_ACEOF
16179 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16186 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16187 #include <sys/types.h>
16189 #ifdef HAVE_NET_IF_H
16190 # include <net/if.h>
16193 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16195 cat >>confdefs.h
<<_ACEOF
16196 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16204 $as_echo_n "checking for timezone variable... " >&6; }
16205 if ${ac_cv_have_timezone+:} false
; then :
16206 $as_echo_n "(cached) " >&6
16208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16209 /* end confdefs.h. */
16219 if ac_fn_c_try_link
"$LINENO"; then :
16220 ac_cv_have_timezone
="yes"
16222 ac_cv_have_timezone
="no"
16224 rm -f core conftest.err conftest.
$ac_objext \
16225 conftest
$ac_exeext conftest.
$ac_ext
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16228 $as_echo "$ac_cv_have_timezone" >&6; }
16229 if test "$ac_cv_have_timezone" = "yes"
16232 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16236 $as_echo_n "checking for daylight variable... " >&6; }
16237 if ${ac_cv_have_daylight+:} false
; then :
16238 $as_echo_n "(cached) " >&6
16240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16241 /* end confdefs.h. */
16251 if ac_fn_c_try_link
"$LINENO"; then :
16252 ac_cv_have_daylight
="yes"
16254 ac_cv_have_daylight
="no"
16256 rm -f core conftest.err conftest.
$ac_objext \
16257 conftest
$ac_exeext conftest.
$ac_ext
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16260 $as_echo "$ac_cv_have_daylight" >&6; }
16261 if test "$ac_cv_have_daylight" = "yes"
16264 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16268 ac_save_LIBS
="$LIBS"
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16271 $as_echo_n "checking for isfinite... " >&6; }
16272 if ${ac_cv_have_isfinite+:} false
; then :
16273 $as_echo_n "(cached) " >&6
16275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16276 /* end confdefs.h. */
16277 #define _GNU_SOURCE
16282 float f = 0.0; return isfinite(f)
16287 if ac_fn_c_try_link
"$LINENO"; then :
16288 ac_cv_have_isfinite
="yes"
16290 ac_cv_have_isfinite
="no"
16292 rm -f core conftest.err conftest.
$ac_objext \
16293 conftest
$ac_exeext conftest.
$ac_ext
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16296 $as_echo "$ac_cv_have_isfinite" >&6; }
16297 if test "$ac_cv_have_isfinite" = "yes"
16300 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16304 ac_save_LIBS
="$LIBS"
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16307 $as_echo_n "checking for isinf... " >&6; }
16308 if ${ac_cv_have_isinf+:} false
; then :
16309 $as_echo_n "(cached) " >&6
16311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16312 /* end confdefs.h. */
16317 float f = 0.0; return isinf(f)
16322 if ac_fn_c_try_link
"$LINENO"; then :
16323 ac_cv_have_isinf
="yes"
16325 ac_cv_have_isinf
="no"
16327 rm -f core conftest.err conftest.
$ac_objext \
16328 conftest
$ac_exeext conftest.
$ac_ext
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16331 $as_echo "$ac_cv_have_isinf" >&6; }
16332 if test "$ac_cv_have_isinf" = "yes"
16335 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16340 $as_echo_n "checking for isnan... " >&6; }
16341 if ${ac_cv_have_isnan+:} false
; then :
16342 $as_echo_n "(cached) " >&6
16344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16345 /* end confdefs.h. */
16350 float f = 0.0; return isnan(f)
16355 if ac_fn_c_try_link
"$LINENO"; then :
16356 ac_cv_have_isnan
="yes"
16358 ac_cv_have_isnan
="no"
16360 rm -f core conftest.err conftest.
$ac_objext \
16361 conftest
$ac_exeext conftest.
$ac_ext
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16364 $as_echo "$ac_cv_have_isnan" >&6; }
16365 if test "$ac_cv_have_isnan" = "yes"
16368 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16371 LIBS
="$ac_save_LIBS"
16375 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16376 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16377 if ${ac_cv_cpp_def___i386__+:} false
; then :
16378 $as_echo_n "(cached) " >&6
16380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16381 /* end confdefs.h. */
16386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16387 $EGREP "yes" >/dev
/null
2>&1; then :
16388 ac_cv_cpp_def___i386__
=yes
16390 ac_cv_cpp_def___i386__
=no
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16396 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16397 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16398 CFLAGS
="$CFLAGS -D__i386__"
16399 LINTFLAGS
="$LINTFLAGS -D__i386__"
16401 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16402 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16403 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16404 $as_echo_n "(cached) " >&6
16406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16407 /* end confdefs.h. */
16412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16413 $EGREP "yes" >/dev
/null
2>&1; then :
16414 ac_cv_cpp_def___x86_64__
=yes
16416 ac_cv_cpp_def___x86_64__
=no
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16422 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16423 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16424 CFLAGS
="$CFLAGS -D__x86_64__"
16425 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16427 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16428 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16429 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16430 $as_echo_n "(cached) " >&6
16432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16434 #ifndef __sparc64__
16438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16439 $EGREP "yes" >/dev
/null
2>&1; then :
16440 ac_cv_cpp_def___sparc64__
=yes
16442 ac_cv_cpp_def___sparc64__
=no
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16448 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16449 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16450 CFLAGS
="$CFLAGS -D__sparc64__"
16451 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16453 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16454 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16455 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16456 $as_echo_n "(cached) " >&6
16458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16465 $EGREP "yes" >/dev
/null
2>&1; then :
16466 ac_cv_cpp_def___sparc__
=yes
16468 ac_cv_cpp_def___sparc__
=no
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16474 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16475 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16476 CFLAGS
="$CFLAGS -D__sparc__"
16477 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16479 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16480 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16481 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16482 $as_echo_n "(cached) " >&6
16484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h. */
16486 #ifndef __powerpc64__
16490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16491 $EGREP "yes" >/dev
/null
2>&1; then :
16492 ac_cv_cpp_def___powerpc64__
=yes
16494 ac_cv_cpp_def___powerpc64__
=no
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16500 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16501 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16502 CFLAGS
="$CFLAGS -D__powerpc64__"
16503 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16505 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16506 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16507 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16508 $as_echo_n "(cached) " >&6
16510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16511 /* end confdefs.h. */
16512 #ifndef __powerpc__
16516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16517 $EGREP "yes" >/dev
/null
2>&1; then :
16518 ac_cv_cpp_def___powerpc__
=yes
16520 ac_cv_cpp_def___powerpc__
=no
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16526 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16527 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16528 CFLAGS
="$CFLAGS -D__powerpc__"
16529 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16531 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16532 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16533 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16534 $as_echo_n "(cached) " >&6
16536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16537 /* end confdefs.h. */
16538 #ifndef __aarch64__
16542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16543 $EGREP "yes" >/dev
/null
2>&1; then :
16544 ac_cv_cpp_def___aarch64__
=yes
16546 ac_cv_cpp_def___aarch64__
=no
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16552 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16553 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16554 CFLAGS
="$CFLAGS -D__aarch64__"
16555 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16557 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16558 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16559 if ${ac_cv_cpp_def___arm__+:} false
; then :
16560 $as_echo_n "(cached) " >&6
16562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16563 /* end confdefs.h. */
16568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16569 $EGREP "yes" >/dev
/null
2>&1; then :
16570 ac_cv_cpp_def___arm__
=yes
16572 ac_cv_cpp_def___arm__
=no
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16578 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16579 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16580 CFLAGS
="$CFLAGS -D__arm__"
16581 LINTFLAGS
="$LINTFLAGS -D__arm__"
16585 case $host_vendor in
16586 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16587 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16588 if ${ac_cv_cpp_def___sun__+:} false
; then :
16589 $as_echo_n "(cached) " >&6
16591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h. */
16597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16598 $EGREP "yes" >/dev
/null
2>&1; then :
16599 ac_cv_cpp_def___sun__
=yes
16601 ac_cv_cpp_def___sun__
=no
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16607 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16608 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16609 CFLAGS
="$CFLAGS -D__sun__"
16610 LINTFLAGS
="$LINTFLAGS -D__sun__"
16618 ac_config_commands
="$ac_config_commands include/stamp-h"
16620 $as_echo_n "creating Makefile rules..." >&6
16622 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16623 SOCKET_LIBS = $SOCKET_LIBS
16624 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16625 IOKIT_LIBS = $IOKIT_LIBS
16626 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16627 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16628 CORESERVICES_LIBS = $CORESERVICES_LIBS
16629 APPKIT_LIBS = $APPKIT_LIBS
16630 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16631 SECURITY_LIBS = $SECURITY_LIBS
16632 COREAUDIO_LIBS = $COREAUDIO_LIBS
16633 OPENAL_LIBS = $OPENAL_LIBS
16634 OPENCL_LIBS = $OPENCL_LIBS
16635 QUICKTIME_LIBS = $QUICKTIME_LIBS
16636 CARBON_LIBS = $CARBON_LIBS
16637 PTHREAD_LIBS = $PTHREAD_LIBS
16638 X_CFLAGS = $X_CFLAGS
16639 X_PRE_LIBS = $X_PRE_LIBS
16641 X_EXTRA_LIBS = $X_EXTRA_LIBS
16642 XML2_CFLAGS = $XML2_CFLAGS
16643 XML2_LIBS = $XML2_LIBS
16644 XSLT_CFLAGS = $XSLT_CFLAGS
16645 XSLT_LIBS = $XSLT_LIBS
16646 DBUS_CFLAGS = $DBUS_CFLAGS
16647 DBUS_LIBS = $DBUS_LIBS
16648 HAL_CFLAGS = $HAL_CFLAGS
16649 HAL_LIBS = $HAL_LIBS
16650 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16651 GNUTLS_LIBS = $GNUTLS_LIBS
16652 SANE_CFLAGS = $SANE_CFLAGS
16653 SANE_LIBS = $SANE_LIBS
16654 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16655 GPHOTO2_LIBS = $GPHOTO2_LIBS
16656 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16657 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16658 RESOLV_LIBS = $RESOLV_LIBS
16659 LCMS2_CFLAGS = $LCMS2_CFLAGS
16660 LCMS2_LIBS = $LCMS2_LIBS
16661 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16662 FREETYPE_LIBS = $FREETYPE_LIBS
16664 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16665 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16666 GSTREAMER_LIBS = $GSTREAMER_LIBS
16667 ALSA_LIBS = $ALSA_LIBS
16668 OSS4_CFLAGS = $OSS4_CFLAGS
16669 CAPI20_CFLAGS = $CAPI20_CFLAGS
16670 CAPI20_LIBS = $CAPI20_LIBS
16671 CUPS_CFLAGS = $CUPS_CFLAGS
16672 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16673 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16674 JPEG_CFLAGS = $JPEG_CFLAGS
16675 JPEG_LIBS = $JPEG_LIBS
16676 PNG_CFLAGS = $PNG_CFLAGS
16677 PNG_LIBS = $PNG_LIBS
16678 TIFF_CFLAGS = $TIFF_CFLAGS
16679 TIFF_LIBS = $TIFF_LIBS
16680 MPG123_CFLAGS = $MPG123_CFLAGS
16681 MPG123_LIBS = $MPG123_LIBS
16682 KSTAT_LIBS = $KSTAT_LIBS
16683 PROCSTAT_LIBS = $PROCSTAT_LIBS
16685 POLL_LIBS = $POLL_LIBS
16687 LDAP_LIBS = $LDAP_LIBS
16692 wine_fn_append_rule
"
16693 # Rules automatically generated by configure
16695 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16700 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16701 @./config.status Make.tmp Makefile"
16703 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16704 .gitignore: config.status
16705 @./config.status .gitignore"
16707 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16708 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16710 if test "x$enable_fonts" != xno
; then
16711 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16712 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16713 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16714 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16715 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16717 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16718 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16719 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16720 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16721 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16722 wine_fn_config_symlink wine
16723 if test "x$enable_win64" != xno
; then
16724 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16725 wine_fn_config_symlink wine64
16728 wine_fn_config_dll acledit enable_acledit
16729 wine_fn_config_dll aclui enable_aclui implib
16730 wine_fn_config_dll activeds enable_activeds implib
16731 wine_fn_config_dll actxprxy enable_actxprxy clean
16732 wine_fn_config_lib adsiid
16733 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16734 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16735 wine_fn_config_dll advpack enable_advpack implib
16736 wine_fn_config_test dlls
/advpack
/tests advpack_test
16737 wine_fn_config_dll amstream enable_amstream clean
16738 wine_fn_config_test dlls
/amstream
/tests amstream_test
16739 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16740 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16741 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16742 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16743 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16744 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16745 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16746 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16747 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16748 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16749 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16750 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16751 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16752 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16753 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16754 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16755 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16756 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16757 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16758 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16759 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16760 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16761 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16762 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16763 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16764 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16765 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16766 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16767 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16768 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16769 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16770 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16771 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16772 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16773 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16774 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16775 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16776 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16777 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16778 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16779 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16780 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16781 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16782 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16783 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16784 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16785 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16786 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16787 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16788 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16789 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16790 wine_fn_config_dll apphelp enable_apphelp
16791 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16792 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16793 wine_fn_config_dll atl enable_atl clean
,implib
16794 wine_fn_config_test dlls
/atl
/tests atl_test
16795 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16796 wine_fn_config_test dlls
/atl100
/tests atl100_test
16797 wine_fn_config_dll atl110 enable_atl110 clean
16798 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16799 wine_fn_config_test dlls
/atl80
/tests atl80_test
16800 wine_fn_config_dll atl90 enable_atl90 clean
16801 wine_fn_config_dll authz enable_authz
16802 wine_fn_config_dll avicap32 enable_avicap32 implib
16803 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16804 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16805 wine_fn_config_dll avifile.dll16 enable_win16
16806 wine_fn_config_dll avrt enable_avrt implib
16807 wine_fn_config_dll bcrypt enable_bcrypt
16808 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16809 wine_fn_config_dll browseui enable_browseui clean
,po
16810 wine_fn_config_test dlls
/browseui
/tests browseui_test
16811 wine_fn_config_dll cabinet enable_cabinet implib
16812 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16813 wine_fn_config_dll capi2032 enable_capi2032 implib
16814 wine_fn_config_dll cards enable_cards implib
16815 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16816 wine_fn_config_dll clusapi enable_clusapi implib
16817 wine_fn_config_dll comcat enable_comcat
16818 wine_fn_config_test dlls
/comcat
/tests comcat_test
16819 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16820 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16821 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16822 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16823 wine_fn_config_dll
comm.drv16 enable_win16
16824 wine_fn_config_dll commdlg.dll16 enable_win16
16825 wine_fn_config_dll compobj.dll16 enable_win16
16826 wine_fn_config_dll compstui enable_compstui implib
16827 wine_fn_config_dll comsvcs enable_comsvcs implib
16828 wine_fn_config_dll credui enable_credui implib
,po
16829 wine_fn_config_test dlls
/credui
/tests credui_test
16830 wine_fn_config_dll crtdll enable_crtdll implib
16831 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16832 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16833 wine_fn_config_dll cryptdlg enable_cryptdlg po
16834 wine_fn_config_dll cryptdll enable_cryptdll implib
16835 wine_fn_config_dll cryptnet enable_cryptnet implib
16836 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16837 wine_fn_config_dll cryptui enable_cryptui implib
,po
16838 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16839 wine_fn_config_dll ctapi32 enable_ctapi32
16840 wine_fn_config_dll ctl3d.dll16 enable_win16
16841 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16842 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16843 wine_fn_config_dll d2d1 enable_d2d1 implib
16844 wine_fn_config_dll d3d10 enable_d3d10 implib
16845 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16846 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16847 wine_fn_config_dll d3d10core enable_d3d10core implib
16848 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16849 wine_fn_config_dll d3d11 enable_d3d11
16850 wine_fn_config_dll d3d8 enable_d3d8 implib
16851 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16852 wine_fn_config_dll d3d9 enable_d3d9 implib
16853 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16854 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16855 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16856 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16857 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16858 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16859 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16860 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16861 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16862 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16863 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16864 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16865 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16866 wine_fn_config_dll d3dim enable_d3dim implib
16867 wine_fn_config_dll d3drm enable_d3drm implib
16868 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16869 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16870 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16871 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16872 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16873 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16874 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16875 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16876 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16877 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16878 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16879 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16880 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16881 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16882 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16883 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16884 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16885 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16886 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16887 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16888 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16889 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16890 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16891 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16892 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16893 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16894 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16895 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16896 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16897 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16898 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16899 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16900 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16901 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16902 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16903 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16904 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16905 wine_fn_config_dll dbgeng enable_dbgeng implib
16906 wine_fn_config_dll dbghelp enable_dbghelp implib
16907 wine_fn_config_dll dciman32 enable_dciman32 implib
16908 wine_fn_config_dll ddeml.dll16 enable_win16
16909 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16910 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16911 wine_fn_config_dll ddrawex enable_ddrawex clean
16912 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16913 wine_fn_config_dll devenum enable_devenum clean
,po
16914 wine_fn_config_test dlls
/devenum
/tests devenum_test
16915 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16916 wine_fn_config_dll difxapi enable_difxapi
16917 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16918 wine_fn_config_test dlls
/dinput
/tests dinput_test
16919 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16920 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16921 wine_fn_config_dll dispdib.dll16 enable_win16
16922 wine_fn_config_dll dispex enable_dispex clean
16923 wine_fn_config_test dlls
/dispex
/tests dispex_test
16924 wine_fn_config_dll display.drv16 enable_win16
16925 wine_fn_config_dll dmband enable_dmband clean
16926 wine_fn_config_test dlls
/dmband
/tests dmband_test
16927 wine_fn_config_dll dmcompos enable_dmcompos clean
16928 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16929 wine_fn_config_dll dmime enable_dmime clean
16930 wine_fn_config_test dlls
/dmime
/tests dmime_test
16931 wine_fn_config_dll dmloader enable_dmloader clean
16932 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16933 wine_fn_config_dll dmscript enable_dmscript clean
16934 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16935 wine_fn_config_dll dmstyle enable_dmstyle clean
16936 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16937 wine_fn_config_dll dmsynth enable_dmsynth clean
16938 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16939 wine_fn_config_dll dmusic enable_dmusic clean
16940 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16941 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16942 wine_fn_config_dll dnsapi enable_dnsapi implib
16943 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16944 wine_fn_config_dll dplay enable_dplay implib
16945 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16946 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16947 wine_fn_config_dll dpnaddr enable_dpnaddr
16948 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16949 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16950 wine_fn_config_dll dpnhpast enable_dpnhpast
16951 wine_fn_config_dll dpnlobby enable_dpnlobby
16952 wine_fn_config_dll dpwsockx enable_dpwsockx
16953 wine_fn_config_dll drmclien enable_drmclien
16954 wine_fn_config_dll dsound enable_dsound clean
,implib
16955 wine_fn_config_test dlls
/dsound
/tests dsound_test
16956 wine_fn_config_dll dssenh enable_dssenh
16957 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16958 wine_fn_config_dll dswave enable_dswave clean
16959 wine_fn_config_test dlls
/dswave
/tests dswave_test
16960 wine_fn_config_dll dwmapi enable_dwmapi implib
16961 wine_fn_config_dll dwrite enable_dwrite implib
16962 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16963 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16964 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16965 wine_fn_config_lib dxerr8
16966 wine_fn_config_lib dxerr9
16967 wine_fn_config_dll dxgi enable_dxgi implib
16968 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16969 wine_fn_config_lib dxguid
16970 wine_fn_config_dll dxva2 enable_dxva2
16971 wine_fn_config_dll explorerframe enable_explorerframe clean
16972 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16973 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16974 wine_fn_config_dll faultrep enable_faultrep implib
16975 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16976 wine_fn_config_dll fltlib enable_fltlib
16977 wine_fn_config_dll fntcache enable_fntcache
16978 wine_fn_config_dll fontsub enable_fontsub
16979 wine_fn_config_dll fusion enable_fusion
16980 wine_fn_config_test dlls
/fusion
/tests fusion_test
16981 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16982 wine_fn_config_dll gameux enable_gameux clean
16983 wine_fn_config_test dlls
/gameux
/tests gameux_test
16984 wine_fn_config_dll gdi.exe16 enable_win16
16985 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16986 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16987 wine_fn_config_dll gdiplus enable_gdiplus implib
16988 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16989 wine_fn_config_dll glu32 enable_glu32 implib
16990 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16991 wine_fn_config_dll gpkcsp enable_gpkcsp
16992 wine_fn_config_dll hal enable_hal
16993 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16994 wine_fn_config_dll hid enable_hid implib
16995 wine_fn_config_dll hlink enable_hlink clean
,implib
16996 wine_fn_config_test dlls
/hlink
/tests hlink_test
16997 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16998 wine_fn_config_dll httpapi enable_httpapi
16999 wine_fn_config_dll iccvid enable_iccvid po
17000 wine_fn_config_dll icmp enable_icmp
17001 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17002 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17003 wine_fn_config_dll ifsmgr.vxd enable_win16
17004 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17005 wine_fn_config_dll imagehlp enable_imagehlp implib
17006 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17007 wine_fn_config_dll imm.dll16 enable_win16
17008 wine_fn_config_dll imm32 enable_imm32 implib
17009 wine_fn_config_test dlls
/imm32
/tests imm32_test
17010 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17011 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17012 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17013 wine_fn_config_dll inetmib1 enable_inetmib1
17014 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17015 wine_fn_config_dll infosoft enable_infosoft clean
17016 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17017 wine_fn_config_dll initpki enable_initpki
17018 wine_fn_config_dll inkobj enable_inkobj
17019 wine_fn_config_dll inseng enable_inseng clean
17020 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17021 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17022 wine_fn_config_dll itircl enable_itircl
17023 wine_fn_config_dll itss enable_itss clean
17024 wine_fn_config_test dlls
/itss
/tests itss_test
17025 wine_fn_config_dll joy.cpl enable_joy_cpl po
17026 wine_fn_config_dll jscript enable_jscript clean
,po
17027 wine_fn_config_test dlls
/jscript
/tests jscript_test
17028 wine_fn_config_dll jsproxy enable_jsproxy implib
17029 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17030 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17031 wine_fn_config_dll keyboard.drv16 enable_win16
17032 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17033 wine_fn_config_dll ktmw32 enable_ktmw32
17034 wine_fn_config_dll loadperf enable_loadperf implib
17035 wine_fn_config_dll localspl enable_localspl po
17036 wine_fn_config_test dlls
/localspl
/tests localspl_test
17037 wine_fn_config_dll localui enable_localui po
17038 wine_fn_config_test dlls
/localui
/tests localui_test
17039 wine_fn_config_dll lz32 enable_lz32 implib
17040 wine_fn_config_test dlls
/lz32
/tests lz32_test
17041 wine_fn_config_dll lzexpand.dll16 enable_win16
17042 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17043 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17044 wine_fn_config_dll mapistub enable_mapistub
17045 wine_fn_config_dll mciavi32 enable_mciavi32
17046 wine_fn_config_dll mcicda enable_mcicda
17047 wine_fn_config_dll mciqtz32 enable_mciqtz32
17048 wine_fn_config_dll mciseq enable_mciseq
17049 wine_fn_config_dll mciwave enable_mciwave
17050 wine_fn_config_dll mgmtapi enable_mgmtapi
17051 wine_fn_config_dll midimap enable_midimap
17052 wine_fn_config_dll mlang enable_mlang clean
,implib
17053 wine_fn_config_test dlls
/mlang
/tests mlang_test
17054 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17055 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17056 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17057 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17058 wine_fn_config_dll mmdevldr.vxd enable_win16
17059 wine_fn_config_dll mmsystem.dll16 enable_win16
17060 wine_fn_config_dll monodebg.vxd enable_win16
17061 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17062 wine_fn_config_dll mouse.drv16 enable_win16
17063 wine_fn_config_dll mpr enable_mpr implib
,po
17064 wine_fn_config_test dlls
/mpr
/tests mpr_test
17065 wine_fn_config_dll mprapi enable_mprapi implib
17066 wine_fn_config_dll msacm.dll16 enable_win16
17067 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17068 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17069 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17070 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17071 wine_fn_config_dll msasn1 enable_msasn1 implib
17072 wine_fn_config_dll mscat32 enable_mscat32
17073 wine_fn_config_dll mscms enable_mscms implib
17074 wine_fn_config_test dlls
/mscms
/tests mscms_test
17075 wine_fn_config_dll mscoree enable_mscoree clean
17076 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17077 wine_fn_config_dll msctf enable_msctf clean
17078 wine_fn_config_test dlls
/msctf
/tests msctf_test
17079 wine_fn_config_dll msdaps enable_msdaps clean
17080 wine_fn_config_dll msdmo enable_msdmo implib
17081 wine_fn_config_dll msftedit enable_msftedit
17082 wine_fn_config_dll msg711.acm enable_msg711_acm
17083 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17084 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17085 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17086 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17087 wine_fn_config_dll msi enable_msi clean
,implib
,po
17088 wine_fn_config_test dlls
/msi
/tests msi_test
17089 wine_fn_config_dll msident enable_msident clean
17090 wine_fn_config_dll msimg32 enable_msimg32 implib
17091 wine_fn_config_dll msimsg enable_msimsg
17092 wine_fn_config_dll msimtf enable_msimtf clean
17093 wine_fn_config_dll msisip enable_msisip
17094 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17095 wine_fn_config_dll msls31 enable_msls31
17096 wine_fn_config_dll msnet32 enable_msnet32
17097 wine_fn_config_dll mspatcha enable_mspatcha
17098 wine_fn_config_dll msrle32 enable_msrle32 po
17099 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17100 wine_fn_config_dll mssign32 enable_mssign32
17101 wine_fn_config_dll mssip32 enable_mssip32
17102 wine_fn_config_dll mstask enable_mstask clean
17103 wine_fn_config_test dlls
/mstask
/tests mstask_test
17104 wine_fn_config_dll msvcirt enable_msvcirt
17105 wine_fn_config_dll msvcm80 enable_msvcm80
17106 wine_fn_config_dll msvcm90 enable_msvcm90
17107 wine_fn_config_dll msvcp100 enable_msvcp100
17108 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17109 wine_fn_config_dll msvcp110 enable_msvcp110
17110 wine_fn_config_dll msvcp60 enable_msvcp60
17111 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17112 wine_fn_config_dll msvcp70 enable_msvcp70
17113 wine_fn_config_dll msvcp71 enable_msvcp71
17114 wine_fn_config_dll msvcp80 enable_msvcp80
17115 wine_fn_config_dll msvcp90 enable_msvcp90
17116 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17117 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17118 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17119 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17120 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17121 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17122 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17123 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17124 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17125 wine_fn_config_dll msvcrt enable_msvcrt implib
17126 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17127 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17128 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17129 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17130 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17131 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17132 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17133 wine_fn_config_dll msvidc32 enable_msvidc32 po
17134 wine_fn_config_dll msvideo.dll16 enable_win16
17135 wine_fn_config_dll mswsock enable_mswsock implib
17136 wine_fn_config_dll msxml enable_msxml clean
17137 wine_fn_config_dll msxml2 enable_msxml2 clean
17138 wine_fn_config_dll msxml3 enable_msxml3 clean
17139 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17140 wine_fn_config_dll msxml4 enable_msxml4 clean
17141 wine_fn_config_dll msxml6 enable_msxml6 clean
17142 wine_fn_config_dll nddeapi enable_nddeapi implib
17143 wine_fn_config_dll netapi32 enable_netapi32 implib
17144 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17145 wine_fn_config_dll netcfgx enable_netcfgx clean
17146 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17147 wine_fn_config_dll netprofm enable_netprofm clean
17148 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17149 wine_fn_config_dll newdev enable_newdev implib
17150 wine_fn_config_dll normaliz enable_normaliz implib
17151 wine_fn_config_dll npmshtml enable_npmshtml
17152 wine_fn_config_dll npptools enable_npptools
17153 wine_fn_config_dll ntdll enable_ntdll implib
17154 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17155 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17156 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17157 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17158 wine_fn_config_dll ntprint enable_ntprint
17159 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17160 wine_fn_config_dll objsel enable_objsel clean
17161 wine_fn_config_dll odbc32 enable_odbc32 implib
17162 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17163 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17164 wine_fn_config_dll odbccu32 enable_odbccu32
17165 wine_fn_config_dll ole2.dll16 enable_win16
17166 wine_fn_config_dll ole2conv.dll16 enable_win16
17167 wine_fn_config_dll ole2disp.dll16 enable_win16
17168 wine_fn_config_dll ole2nls.dll16 enable_win16
17169 wine_fn_config_dll ole2prox.dll16 enable_win16
17170 wine_fn_config_dll ole2thk.dll16 enable_win16
17171 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17172 wine_fn_config_test dlls
/ole32
/tests ole32_test
17173 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17174 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17175 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17176 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17177 wine_fn_config_dll olecli.dll16 enable_win16
17178 wine_fn_config_dll olecli32 enable_olecli32 implib
17179 wine_fn_config_dll oledb32 enable_oledb32 clean
17180 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17181 wine_fn_config_dll oledlg enable_oledlg implib
,po
17182 wine_fn_config_dll olepro32 enable_olepro32 implib
17183 wine_fn_config_dll olesvr.dll16 enable_win16
17184 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17185 wine_fn_config_dll olethk32 enable_olethk32
17186 wine_fn_config_dll openal32 enable_openal32
17187 wine_fn_config_dll opencl enable_opencl
17188 wine_fn_config_dll opengl32 enable_opengl32 implib
17189 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17190 wine_fn_config_dll packager enable_packager clean
17191 wine_fn_config_test dlls
/packager
/tests packager_test
17192 wine_fn_config_dll pdh enable_pdh implib
17193 wine_fn_config_test dlls
/pdh
/tests pdh_test
17194 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17195 wine_fn_config_dll pidgen enable_pidgen
17196 wine_fn_config_dll powrprof enable_powrprof implib
17197 wine_fn_config_dll printui enable_printui
17198 wine_fn_config_dll propsys enable_propsys clean
,implib
17199 wine_fn_config_test dlls
/propsys
/tests propsys_test
17200 wine_fn_config_dll psapi enable_psapi implib
17201 wine_fn_config_test dlls
/psapi
/tests psapi_test
17202 wine_fn_config_dll pstorec enable_pstorec clean
17203 wine_fn_config_dll qcap enable_qcap
17204 wine_fn_config_test dlls
/qcap
/tests qcap_test
17205 wine_fn_config_dll qedit enable_qedit clean
17206 wine_fn_config_test dlls
/qedit
/tests qedit_test
17207 wine_fn_config_dll qmgr enable_qmgr clean
17208 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17209 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17210 wine_fn_config_dll quartz enable_quartz clean
,implib
17211 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17212 wine_fn_config_dll query enable_query
17213 wine_fn_config_dll rasapi16.dll16 enable_win16
17214 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17215 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17216 wine_fn_config_dll rasdlg enable_rasdlg implib
17217 wine_fn_config_dll regapi enable_regapi
17218 wine_fn_config_dll resutils enable_resutils implib
17219 wine_fn_config_dll riched20 enable_riched20 implib
17220 wine_fn_config_test dlls
/riched20
/tests riched20_test
17221 wine_fn_config_dll riched32 enable_riched32
17222 wine_fn_config_test dlls
/riched32
/tests riched32_test
17223 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17224 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17225 wine_fn_config_dll rsabase enable_rsabase
17226 wine_fn_config_dll rsaenh enable_rsaenh implib
17227 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17228 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17229 wine_fn_config_dll rtutils enable_rtutils implib
17230 wine_fn_config_dll samlib enable_samlib
17231 wine_fn_config_dll sane.ds enable_sane_ds po
17232 wine_fn_config_dll scarddlg enable_scarddlg
17233 wine_fn_config_dll sccbase enable_sccbase
17234 wine_fn_config_dll schannel enable_schannel
17235 wine_fn_config_test dlls
/schannel
/tests schannel_test
17236 wine_fn_config_dll schedsvc enable_schedsvc clean
17237 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17238 wine_fn_config_dll scrrun enable_scrrun clean
17239 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17240 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17241 wine_fn_config_dll secur32 enable_secur32 implib
17242 wine_fn_config_test dlls
/secur32
/tests secur32_test
17243 wine_fn_config_dll security enable_security
17244 wine_fn_config_dll sensapi enable_sensapi implib
17245 wine_fn_config_dll serialui enable_serialui implib
,po
17246 wine_fn_config_test dlls
/serialui
/tests serialui_test
17247 wine_fn_config_dll setupapi enable_setupapi implib
,po
17248 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17249 wine_fn_config_dll setupx.dll16 enable_win16
17250 wine_fn_config_dll sfc enable_sfc implib
17251 wine_fn_config_dll sfc_os enable_sfc_os implib
17252 wine_fn_config_dll shdoclc enable_shdoclc po
17253 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17254 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17255 wine_fn_config_dll shell.dll16 enable_win16
17256 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17257 wine_fn_config_test dlls
/shell32
/tests shell32_test
17258 wine_fn_config_dll shfolder enable_shfolder implib
17259 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17260 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17261 wine_fn_config_dll slbcsp enable_slbcsp
17262 wine_fn_config_dll slc enable_slc implib
17263 wine_fn_config_dll snmpapi enable_snmpapi implib
17264 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17265 wine_fn_config_dll softpub enable_softpub
17266 wine_fn_config_dll sound.drv16 enable_win16
17267 wine_fn_config_dll spoolss enable_spoolss implib
17268 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17269 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17270 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17271 wine_fn_config_dll sti enable_sti clean
,implib
17272 wine_fn_config_test dlls
/sti
/tests sti_test
17273 wine_fn_config_dll storage.dll16 enable_win16
17274 wine_fn_config_dll stress.dll16 enable_win16
17275 wine_fn_config_lib strmbase
17276 wine_fn_config_lib strmiids
17277 wine_fn_config_dll svrapi enable_svrapi
17278 wine_fn_config_dll sxs enable_sxs implib
17279 wine_fn_config_test dlls
/sxs
/tests sxs_test
17280 wine_fn_config_dll system.drv16 enable_win16
17281 wine_fn_config_dll t2embed enable_t2embed
17282 wine_fn_config_dll tapi32 enable_tapi32 implib
17283 wine_fn_config_dll taskschd enable_taskschd clean
17284 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17285 wine_fn_config_dll toolhelp.dll16 enable_win16
17286 wine_fn_config_dll traffic enable_traffic
17287 wine_fn_config_dll twain.dll16 enable_win16
17288 wine_fn_config_dll twain_32 enable_twain_32
17289 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17290 wine_fn_config_dll typelib.dll16 enable_win16
17291 wine_fn_config_dll unicows enable_unicows implib
17292 wine_fn_config_dll updspapi enable_updspapi
17293 wine_fn_config_dll url enable_url implib
17294 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17295 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17296 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17297 wine_fn_config_dll user.exe16 enable_win16
17298 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17299 wine_fn_config_test dlls
/user32
/tests user32_test
17300 wine_fn_config_dll userenv enable_userenv implib
17301 wine_fn_config_test dlls
/userenv
/tests userenv_test
17302 wine_fn_config_dll usp10 enable_usp10 implib
17303 wine_fn_config_test dlls
/usp10
/tests usp10_test
17304 wine_fn_config_lib uuid
17305 wine_fn_config_dll uxtheme enable_uxtheme implib
17306 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17307 wine_fn_config_dll vbscript enable_vbscript clean
17308 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17309 wine_fn_config_dll vcomp enable_vcomp
17310 wine_fn_config_dll vcomp100 enable_vcomp100
17311 wine_fn_config_dll vcomp90 enable_vcomp90
17312 wine_fn_config_dll vdhcp.vxd enable_win16
17313 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17314 wine_fn_config_dll ver.dll16 enable_win16
17315 wine_fn_config_dll version enable_version implib
17316 wine_fn_config_test dlls
/version
/tests version_test
17317 wine_fn_config_dll vmm.vxd enable_win16
17318 wine_fn_config_dll vnbt.vxd enable_win16
17319 wine_fn_config_dll vnetbios.vxd enable_win16
17320 wine_fn_config_dll vtdapi.vxd enable_win16
17321 wine_fn_config_dll vwin32.vxd enable_win16
17322 wine_fn_config_dll w32skrnl enable_win16
17323 wine_fn_config_dll w32sys.dll16 enable_win16
17324 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17325 wine_fn_config_dll wbemprox enable_wbemprox clean
17326 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17327 wine_fn_config_dll webservices enable_webservices implib
17328 wine_fn_config_dll wer enable_wer implib
17329 wine_fn_config_test dlls
/wer
/tests wer_test
17330 wine_fn_config_dll wevtapi enable_wevtapi
17331 wine_fn_config_dll wiaservc enable_wiaservc clean
17332 wine_fn_config_dll win32s16.dll16 enable_win16
17333 wine_fn_config_dll win87em.dll16 enable_win16
17334 wine_fn_config_dll winaspi.dll16 enable_win16
17335 wine_fn_config_dll windebug.dll16 enable_win16
17336 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17337 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17338 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17339 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17340 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17341 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17342 wine_fn_config_lib winecrt0
17343 wine_fn_config_dll wined3d enable_wined3d implib
17344 wine_fn_config_dll winegstreamer enable_winegstreamer
17345 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17346 wine_fn_config_dll winemac.drv enable_winemac_drv
17347 wine_fn_config_dll winemapi enable_winemapi
17348 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17349 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17350 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17351 wine_fn_config_dll wineps16.drv16 enable_win16
17352 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17353 wine_fn_config_dll winex11.drv enable_winex11_drv
17354 wine_fn_config_dll wing.dll16 enable_win16
17355 wine_fn_config_dll wing32 enable_wing32
17356 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17357 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17358 wine_fn_config_dll wininet enable_wininet implib
,po
17359 wine_fn_config_test dlls
/wininet
/tests wininet_test
17360 wine_fn_config_dll winmm enable_winmm implib
,po
17361 wine_fn_config_test dlls
/winmm
/tests winmm_test
17362 wine_fn_config_dll winnls.dll16 enable_win16
17363 wine_fn_config_dll winnls32 enable_winnls32 implib
17364 wine_fn_config_dll winscard enable_winscard implib
17365 wine_fn_config_dll winsock.dll16 enable_win16
17366 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17367 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17368 wine_fn_config_dll winsta enable_winsta
17369 wine_fn_config_dll wintab.dll16 enable_win16
17370 wine_fn_config_dll wintab32 enable_wintab32 implib
17371 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17372 wine_fn_config_dll wintrust enable_wintrust implib
17373 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17374 wine_fn_config_dll wlanapi enable_wlanapi
17375 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17376 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17377 wine_fn_config_dll wmi enable_wmi
17378 wine_fn_config_dll wmiutils enable_wmiutils clean
17379 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17380 wine_fn_config_dll wmp enable_wmp clean
17381 wine_fn_config_test dlls
/wmp
/tests wmp_test
17382 wine_fn_config_dll wmvcore enable_wmvcore
17383 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17384 wine_fn_config_dll wow32 enable_win16 implib
17385 wine_fn_config_dll wpcap enable_wpcap
17386 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17387 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17388 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17389 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17390 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17391 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17392 wine_fn_config_dll wsock32 enable_wsock32 implib
17393 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17394 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17395 wine_fn_config_dll wuapi enable_wuapi clean
17396 wine_fn_config_dll wuaueng enable_wuaueng
17397 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17398 wine_fn_config_dll xinput1_1 enable_xinput1_1
17399 wine_fn_config_dll xinput1_2 enable_xinput1_2
17400 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17401 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17402 wine_fn_config_dll xinput1_4 enable_xinput1_4
17403 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17404 wine_fn_config_dll xmllite enable_xmllite implib
17405 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17406 wine_fn_config_dll xolehlp enable_xolehlp
17407 wine_fn_config_dll xpsprint enable_xpsprint
17408 wine_fn_config_dll xpssvcs enable_xpssvcs
17409 wine_fn_config_makefile documentation enable_documentation clean
17410 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17411 wine_fn_config_makefile include enable_include clean
,install-dev
17412 wine_fn_config_makefile libs
/port enable_libs_port
17413 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17414 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17415 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17416 wine_fn_config_program arp enable_arp
install
17417 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17418 wine_fn_config_program attrib enable_attrib
install,po
17419 wine_fn_config_program cabarc enable_cabarc
install
17420 wine_fn_config_program cacls enable_cacls
install
17421 wine_fn_config_program
clock enable_clock
install,po
17422 wine_fn_config_program cmd enable_cmd
install,po
17423 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17424 wine_fn_config_program conhost enable_conhost
install
17425 wine_fn_config_program control enable_control
install
17426 wine_fn_config_program cscript enable_cscript clean
,install
17427 wine_fn_config_program dpnsvr enable_dpnsvr
install
17428 wine_fn_config_program dxdiag enable_dxdiag
install,po
17429 wine_fn_config_program eject enable_eject
install
17430 wine_fn_config_program
expand enable_expand
install
17431 wine_fn_config_program explorer enable_explorer
install,po
17432 wine_fn_config_program extrac32 enable_extrac32
install
17433 wine_fn_config_program findstr enable_findstr
install
17434 wine_fn_config_program hh enable_hh
install
17435 wine_fn_config_program hostname enable_hostname
install,po
17436 wine_fn_config_program icinfo enable_icinfo
install
17437 wine_fn_config_program iexplore enable_iexplore
install
17438 wine_fn_config_program ipconfig enable_ipconfig
install,po
17439 wine_fn_config_program lodctr enable_lodctr
install
17440 wine_fn_config_program mofcomp enable_mofcomp
install
17441 wine_fn_config_program mshta enable_mshta
install
17442 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17443 wine_fn_config_program net enable_net
install,po
17444 wine_fn_config_program netsh enable_netsh
install
17445 wine_fn_config_program netstat enable_netstat
install,po
17446 wine_fn_config_program ngen enable_ngen
install
17447 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17448 wine_fn_config_program oleview enable_oleview
install,po
17449 wine_fn_config_program
ping enable_ping
install
17450 wine_fn_config_program plugplay enable_plugplay
install
17451 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17452 wine_fn_config_program progman enable_progman
install,po
17453 wine_fn_config_program reg enable_reg
install,po
17454 wine_fn_config_program regasm enable_regasm
install
17455 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17456 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17457 wine_fn_config_program regsvcs enable_regsvcs
install
17458 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17459 wine_fn_config_program rpcss enable_rpcss clean
,install
17460 wine_fn_config_program rundll.exe16 enable_win16
install
17461 wine_fn_config_program rundll32 enable_rundll32
install
17462 wine_fn_config_program sc enable_sc
install
17463 wine_fn_config_program schtasks enable_schtasks
install
17464 wine_fn_config_program sdbinst enable_sdbinst
install
17465 wine_fn_config_program secedit enable_secedit
install
17466 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17467 wine_fn_config_program services enable_services clean
,install
17468 wine_fn_config_test programs
/services
/tests services.exe_test
17469 wine_fn_config_program spoolsv enable_spoolsv
install
17470 wine_fn_config_program start enable_start
install,po
17471 wine_fn_config_program svchost enable_svchost
install
17472 wine_fn_config_program taskkill enable_taskkill
install,po
17473 wine_fn_config_program tasklist enable_tasklist
install
17474 wine_fn_config_program taskmgr enable_taskmgr
install,po
17475 wine_fn_config_program termsv enable_termsv
install
17476 wine_fn_config_program uninstaller enable_uninstaller
install,po
17477 wine_fn_config_program unlodctr enable_unlodctr
install
17478 wine_fn_config_program view enable_view
install,po
17479 wine_fn_config_program wevtutil enable_wevtutil
install
17480 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17481 wine_fn_config_program winebrowser enable_winebrowser
install
17482 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17483 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17484 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17485 wine_fn_config_program winedevice enable_winedevice
install
17486 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17487 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17488 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17489 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17490 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17491 wine_fn_config_program winetest enable_winetest clean
17492 wine_fn_config_program winevdm enable_win16
install
17493 wine_fn_config_program winhelp.exe16 enable_win16
install
17494 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17495 wine_fn_config_program winoldap.mod16 enable_win16
install
17496 wine_fn_config_program winver enable_winver
install
17497 wine_fn_config_program wmic enable_wmic
install,po
17498 wine_fn_config_program wordpad enable_wordpad
install,po
17499 wine_fn_config_program
write enable_write
install,po
17500 wine_fn_config_program wscript enable_wscript clean
,install
17501 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17502 wine_fn_config_program wusa enable_wusa
install
17503 wine_fn_config_program xcopy enable_xcopy
install,po
17504 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17505 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17506 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17507 wine_fn_config_tool tools
/sfnt2fon clean
17508 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17509 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17510 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17511 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17512 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17513 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17565 wine_fn_ignore_file
".gitignore"
17566 wine_fn_ignore_file
"Makefile"
17567 wine_fn_ignore_file
"TAGS"
17568 wine_fn_ignore_file
"tags"
17569 wine_fn_ignore_file
"autom4te.cache"
17570 wine_fn_ignore_file
"config.cache"
17571 wine_fn_ignore_file
"config.log"
17572 wine_fn_ignore_file
"config.status"
17573 wine_fn_ignore_file
"configure.lineno"
17574 wine_fn_ignore_file
"include/config.h"
17575 wine_fn_ignore_file
"include/stamp-h"
17576 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17578 if test "x$enable_tools" != xno
17580 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17581 ac_config_commands
="$ac_config_commands tools/makedep"
17585 ac_config_commands
="$ac_config_commands Makefile"
17588 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17592 if test "x$enable_maintainer_mode" = xyes
17594 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17595 autoconf --warnings=all
17596 include/config.h.in: include/stamp-h.in
17597 include/stamp-h.in: configure.ac aclocal.m4
17598 autoheader --warnings=all
17599 @echo timestamp > \$@"
17602 if test "x$with_gettextpo" = xyes
17604 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17605 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17606 \$(LINGUAS:%=po/%.po): po/wine.pot
17607 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17608 po/wine.pot: \$(ALL_POT_FILES)
17609 msgcat -o \$@ \$(ALL_POT_FILES)"
17612 if test "$MSGFMT" != false
17614 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17616 \$(RM) \$(LINGUAS:%=po/%.mo)"
17619 test "$srcdir" = . || posrc
="$srcdir/po"
17622 wine_fn_ignore_file
"po/$i.mo"
17623 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17624 \$(MSGFMT) -o \$@ $posrc/$i.po"
17630 if test "x$enable_tools" != xno
17632 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17633 @./config.status tools/makedep
17634 Makefile: tools/makedep$ac_exeext
17636 \$(RM) tools/makedep$ac_exeext"
17638 wine_fn_append_rule
"\$(MAKEDEP):
17639 @echo \"You need to run make in $TOOLSDIR first\" && false"
17642 if test -n "$with_wine64"
17644 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17645 fonts server tools:
17646 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17647 $with_wine64/loader/wine:
17648 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17649 $with_wine64/loader/wine-preloader:
17650 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17652 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17654 as_fn_append LOADER_RULES
"
17655 install install-lib:: wine.inf install-man-pages
17656 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17657 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17660 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17664 if test "$srcdir" = .
17666 ac_config_commands
="$ac_config_commands .gitignore"
17670 $as_echo " done" >&6
17671 cat >confcache
<<\_ACEOF
17672 # This file is a shell script that caches the results of configure
17673 # tests run on this system so they can be shared between configure
17674 # scripts and configure runs, see configure's option --config-cache.
17675 # It is not useful on other systems. If it contains results you don't
17676 # want to keep, you may remove or edit it.
17678 # config.status only pays attention to the cache file if you give it
17679 # the --recheck option to rerun configure.
17681 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17682 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17683 # following values.
17687 # The following way of writing the cache mishandles newlines in values,
17688 # but we know of no workaround that is simple, portable, and efficient.
17689 # So, we kill variables containing newlines.
17690 # Ultrix sh set writes to stderr and can't be redirected directly,
17691 # and sets the high bit in the cache file unless we assign to the vars.
17693 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17694 eval ac_val
=\$
$ac_var
17698 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17699 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17702 _ | IFS | as_nl
) ;; #(
17703 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17704 *) { eval $ac_var=; unset $ac_var;} ;;
17710 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17711 *${as_nl}ac_space
=\
*)
17712 # `set' does not quote correctly, so add quotes: double-quote
17713 # substitution turns \\\\ into \\, and sed turns \\ into \.
17716 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17719 # `set' quotes correctly as required by POSIX, so do not add quotes.
17720 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17729 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17731 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17733 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17734 if test -w "$cache_file"; then
17735 if test "x$cache_file" != "x/dev/null"; then
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17737 $as_echo "$as_me: updating cache $cache_file" >&6;}
17738 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17739 cat confcache
>"$cache_file"
17741 case $cache_file in #(
17743 mv -f confcache
"$cache_file"$$
&&
17744 mv -f "$cache_file"$$
"$cache_file" ;; #(
17746 mv -f confcache
"$cache_file" ;;
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17752 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17757 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17758 # Let make expand exec_prefix.
17759 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17761 DEFS
=-DHAVE_CONFIG_H
17766 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17767 # 1. Remove the extension, and $U if already installed.
17768 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17769 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17770 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17771 # will be set to the directory where LIBOBJS objects are built.
17772 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17773 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17775 LIBOBJS
=$ac_libobjs
17777 LTLIBOBJS
=$ac_ltlibobjs
17781 : "${CONFIG_STATUS=./config.status}"
17783 ac_clean_files_save
=$ac_clean_files
17784 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17786 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17788 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17790 # Generated by $as_me.
17791 # Run this file to recreate the current configuration.
17792 # Compiler output produced by configure, useful for debugging
17793 # configure, is in config.log if it exists.
17796 ac_cs_recheck=false
17799 SHELL=\${CONFIG_SHELL-$SHELL}
17802 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17803 ## -------------------- ##
17804 ## M4sh Initialization. ##
17805 ## -------------------- ##
17807 # Be more Bourne compatible
17808 DUALCASE
=1; export DUALCASE
# for MKS sh
17809 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17812 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17813 # is contrary to our usage. Disable this feature.
17814 alias -g '${1+"$@"}'='"$@"'
17815 setopt NO_GLOB_SUBST
17817 case `(set -o) 2>/dev/null` in #(
17829 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17830 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17831 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17832 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17833 # Prefer a ksh shell builtin over an external printf program on Solaris,
17834 # but without wasting forks for bash or zsh.
17835 if test -z "$BASH_VERSION$ZSH_VERSION" \
17836 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17837 as_echo='print
-r --'
17838 as_echo_n='print
-rn --'
17839 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17840 as_echo='printf %s
\n'
17841 as_echo_n='printf %s
'
17843 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17844 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17845 as_echo_n='/usr
/ucb
/echo -n'
17847 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17848 as_echo_n_body='eval
17852 expr "X$arg" : "X\\(.*\\)$as_nl";
17853 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17855 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17857 export as_echo_n_body
17858 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17860 export as_echo_body
17861 as_echo='sh
-c $as_echo_body as_echo
'
17864 # The user is always right.
17865 if test "${PATH_SEPARATOR+set}" != set; then
17867 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17868 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17875 # We need space, tab and new line, in precisely that order. Quoting is
17876 # there to prevent editors from complaining about space-tab.
17877 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17878 # splitting by setting IFS to empty value.)
17881 # Find who we are. Look in the path if we contain no directory separator.
17884 *[\\/]* ) as_myself=$0 ;;
17885 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17886 for as_dir in $PATH
17889 test -z "$as_dir" && as_dir=.
17890 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17896 # We did not find ourselves, most probably we were run as `sh COMMAND'
17897 # in which case we are not to be found in the path.
17898 if test "x$as_myself" = x
; then
17901 if test ! -f "$as_myself"; then
17902 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17906 # Unset variables that we do not need and which cause bugs (e.g. in
17907 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17908 # suppresses any "Segmentation fault" message there. '((' could
17909 # trigger a bug in pdksh 5.2.14.
17910 for as_var
in BASH_ENV ENV MAIL MAILPATH
17911 do eval test x\
${$as_var+set} = xset \
17912 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17925 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17928 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17929 # ----------------------------------------
17930 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17931 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17932 # script with STATUS, using 1 if that was 0.
17935 as_status
=$1; test $as_status -eq 0 && as_status
=1
17937 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17938 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17940 $as_echo "$as_me: error: $2" >&2
17941 as_fn_exit
$as_status
17945 # as_fn_set_status STATUS
17946 # -----------------------
17947 # Set $? to STATUS, without forking.
17948 as_fn_set_status
()
17951 } # as_fn_set_status
17953 # as_fn_exit STATUS
17954 # -----------------
17955 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17959 as_fn_set_status
$1
17965 # Portably unset VAR.
17968 { eval $1=; unset $1;}
17970 as_unset
=as_fn_unset
17971 # as_fn_append VAR VALUE
17972 # ----------------------
17973 # Append the text in VALUE to the end of the definition contained in VAR. Take
17974 # advantage of any shell optimizations that allow amortized linear growth over
17975 # repeated appends, instead of the typical quadratic growth present in naive
17977 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17978 eval 'as_fn_append ()
17989 # as_fn_arith ARG...
17990 # ------------------
17991 # Perform arithmetic evaluation on the ARGs, and store the result in the
17992 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17993 # must be portable across $(()) and expr.
17994 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17995 eval 'as_fn_arith ()
18002 as_val
=`expr "$@" || test $? -eq 1`
18007 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18008 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18014 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18015 as_basename
=basename
18020 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18026 as_me
=`$as_basename -- "$0" ||
18027 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18028 X"$0" : 'X\(//\)$' \| \
18029 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18031 sed '/^.*\/\([^/][^/]*\)\/*$/{
18045 # Avoid depending upon Character Ranges.
18046 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18047 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18048 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18049 as_cr_digits
='0123456789'
18050 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18052 ECHO_C
= ECHO_N
= ECHO_T
=
18053 case `echo -n x` in #(((((
18055 case `echo 'xy\c'` in
18056 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18058 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18065 rm -f conf$$ conf$$.exe conf$$.
file
18066 if test -d conf$$.dir
; then
18067 rm -f conf$$.dir
/conf$$.
file
18070 mkdir conf$$.dir
2>/dev
/null
18072 if (echo >conf$$.
file) 2>/dev
/null
; then
18073 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18075 # ... but there are two gotchas:
18076 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18077 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18078 # In both cases, we have to default to `cp -pR'.
18079 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18081 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18089 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18090 rmdir conf$$.dir
2>/dev
/null
18095 # Create "$as_dir" as a directory, including parents if necessary.
18100 -*) as_dir
=.
/$as_dir;;
18102 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18106 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18107 *) as_qdir
=$as_dir;;
18109 as_dirs
="'$as_qdir' $as_dirs"
18110 as_dir
=`$as_dirname -- "$as_dir" ||
18111 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18112 X"$as_dir" : 'X\(//\)[^/]' \| \
18113 X"$as_dir" : 'X\(//\)$' \| \
18114 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18115 $as_echo X"$as_dir" |
18116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18120 /^X\(\/\/\)[^/].*/{
18133 test -d "$as_dir" && break
18135 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18136 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18140 if mkdir
-p .
2>/dev
/null
; then
18141 as_mkdir_p
='mkdir -p "$as_dir"'
18143 test -d .
/-p && rmdir .
/-p
18148 # as_fn_executable_p FILE
18149 # -----------------------
18150 # Test if FILE is an executable regular file.
18151 as_fn_executable_p
()
18153 test -f "$1" && test -x "$1"
18154 } # as_fn_executable_p
18155 as_test_x
='test -x'
18156 as_executable_p
=as_fn_executable_p
18158 # Sed expression to map a string onto a valid CPP name.
18159 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18161 # Sed expression to map a string onto a valid variable name.
18162 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18166 ## ----------------------------------- ##
18167 ## Main body of $CONFIG_STATUS script. ##
18168 ## ----------------------------------- ##
18170 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18173 # Save the log message, to keep $0 and so on meaningful, and to
18174 # report actual input values of CONFIG_FILES etc. instead of their
18175 # values after options handling.
18177 This file was extended by Wine $as_me 1.7.25, which was
18178 generated by GNU Autoconf 2.69. Invocation command line was
18180 CONFIG_FILES = $CONFIG_FILES
18181 CONFIG_HEADERS = $CONFIG_HEADERS
18182 CONFIG_LINKS = $CONFIG_LINKS
18183 CONFIG_COMMANDS = $CONFIG_COMMANDS
18186 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18191 case $ac_config_files in *"
18192 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18195 case $ac_config_headers in *"
18196 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18201 # Files that config.status was made for.
18202 config_files="$ac_config_files"
18203 config_headers="$ac_config_headers"
18204 config_links="$ac_config_links"
18205 config_commands="$ac_config_commands"
18209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18211 \`$as_me' instantiates files and other configuration actions
18212 from templates according to the current configuration. Unless the files
18213 and actions are specified as TAGs, all are instantiated by default.
18215 Usage: $0 [OPTION]... [TAG]...
18217 -h, --help print this help, then exit
18218 -V, --version print version number and configuration settings, then exit
18219 --config print configuration, then exit
18220 -q, --quiet, --silent
18221 do not print progress messages
18222 -d, --debug don't remove temporary files
18223 --recheck update $as_me by reconfiguring in the same conditions
18224 --file=FILE[:TEMPLATE]
18225 instantiate the configuration file FILE
18226 --header=FILE[:TEMPLATE]
18227 instantiate the configuration header FILE
18229 Configuration files:
18232 Configuration headers:
18235 Configuration links:
18238 Configuration commands:
18241 Report bugs to <wine-devel@winehq.org>.
18242 Wine home page: <http://www.winehq.org>."
18245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18246 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18248 Wine config.status 1.7.25
18249 configured by $0, generated by GNU Autoconf 2.69,
18250 with options \\"\$ac_cs_config\\"
18252 Copyright (C) 2012 Free Software Foundation, Inc.
18253 This config.status script is free software; the Free Software Foundation
18254 gives unlimited permission to copy, distribute and modify it."
18258 test -n "\$AWK" || AWK=awk
18261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18262 # The default lists apply if the user does not specify any file.
18268 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18269 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18273 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18285 # Handling of the options.
18286 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18288 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18289 $as_echo "$ac_cs_version"; exit ;;
18290 --config |
--confi |
--conf |
--con |
--co |
--c )
18291 $as_echo "$ac_cs_config"; exit ;;
18292 --debug |
--debu |
--deb |
--de |
--d |
-d )
18294 --file |
--fil |
--fi |
--f )
18297 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18298 '') as_fn_error $?
"missing file argument" ;;
18300 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18301 ac_need_defaults
=false
;;
18302 --header |
--heade |
--head |
--hea )
18305 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18307 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18308 ac_need_defaults
=false
;;
18310 # Conflict between --help and --header
18311 as_fn_error $?
"ambiguous option: \`$1'
18312 Try \`$0 --help' for more information.";;
18313 --help |
--hel |
-h )
18314 $as_echo "$ac_cs_usage"; exit ;;
18315 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18316 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18319 # This is an error.
18320 -*) as_fn_error $?
"unrecognized option: \`$1'
18321 Try \`$0 --help' for more information." ;;
18323 *) as_fn_append ac_config_targets
" $1"
18324 ac_need_defaults
=false
;;
18330 ac_configure_extra_args
=
18332 if $ac_cs_silent; then
18334 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18339 if \$ac_cs_recheck; then
18340 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18342 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18343 CONFIG_SHELL='$SHELL'
18344 export CONFIG_SHELL
18349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18353 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18354 ## Running $as_me. ##
18360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18364 wine_fn_output_makedep ()
18366 as_dir=tools; as_fn_mkdir_p
18367 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18369 wine_fn_output_makefile ()
18371 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18372 `cat $wine_rules_file`
18374 as_fn_error $? "could not create Makefile" "$LINENO" 5
18376 wine_fn_output_gitignore ()
18378 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18381 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18388 # Handling of arguments.
18389 for ac_config_target
in $ac_config_targets
18391 case $ac_config_target in
18392 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18393 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18394 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18395 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18396 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18397 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18398 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18399 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18400 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18401 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18402 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18403 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18404 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18405 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18407 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18412 # If the user did not use the arguments to specify the items to instantiate,
18413 # then the envvar interface is used. Set only those that are not.
18414 # We use the long form for the default assignment because of an extremely
18415 # bizarre bug on SunOS 4.1.3.
18416 if $ac_need_defaults; then
18417 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18418 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18419 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18420 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18423 # Have a temporary directory for convenience. Make it in the build tree
18424 # simply because there is no reason against having it here, and in addition,
18425 # creating and moving files from /tmp can sometimes cause problems.
18426 # Hook for its removal unless debugging.
18427 # Note that there is a small window in which the directory will not be cleaned:
18428 # after its creation but before its name has been assigned to `$tmp'.
18432 trap 'exit_status=$?
18433 : "${ac_tmp:=$tmp}"
18434 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18436 trap 'as_fn_exit 1' 1 2 13 15
18438 # Create a (secure) tmp directory for tmp files.
18441 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18445 tmp
=.
/conf$$
-$RANDOM
18446 (umask 077 && mkdir
"$tmp")
18447 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18450 # Set up the scripts for CONFIG_FILES section.
18451 # No need to generate them if there are no CONFIG_FILES.
18452 # This happens for instance with `./config.status config.h'.
18453 if test -n "$CONFIG_FILES"; then
18456 ac_cr
=`echo X | tr X '\015'`
18457 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18458 # But we know of no other shell where ac_cr would be empty at this
18459 # point, so we can use a bashism as a fallback.
18460 if test "x$ac_cr" = x
; then
18461 eval ac_cr
=\$
\'\\r
\'
18463 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18464 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18467 ac_cs_awk_cr
=$ac_cr
18470 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18475 echo "cat >conf$$subs.awk <<_ACEOF" &&
18476 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18478 } >conf$$subs.sh ||
18479 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18480 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18482 for ac_last_try in false false false false false :; do
18483 . ./conf$$subs.sh ||
18484 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18486 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18487 if test $ac_delim_n = $ac_delim_num; then
18489 elif $ac_last_try; then
18490 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18492 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18495 rm -f conf$$subs.sh
18497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18498 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18502 s/^/S["/; s
/!.
*/"]=/
18512 s/\(.\{148\}\)..*/\1/
18514 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18519 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18526 s/\(.\{148\}\)..*/\1/
18528 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18532 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18537 ' <conf$$subs.awk | sed '
18542 ' >>$CONFIG_STATUS || ac_write_fail=1
18543 rm -f conf$$subs.awk
18544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18546 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18547 for (key in S) S_is_set[key] = 1
18553 nfields = split(line, field, "@
")
18555 len = length(field[1])
18556 for (i = 2; i < nfields; i++) {
18558 keylen = length(key)
18559 if (S_is_set[key]) {
18561 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18562 len += length(value) + length(field[++i])
18573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18574 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18575 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18578 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18579 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18582 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18583 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18584 # trailing colons and then remove the whole line if VPATH becomes empty
18585 # (actually we leave an empty line to preserve line numbers).
18586 if test "x
$srcdir" = x.; then
18587 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18606 fi # test -n "$CONFIG_FILES"
18608 # Set up the scripts for CONFIG_HEADERS section.
18609 # No need to generate them if there are no CONFIG_HEADERS.
18610 # This happens for instance with `./config.status Makefile'.
18611 if test -n "$CONFIG_HEADERS"; then
18612 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18616 # Transform confdefs.h into an awk script `defines.awk', embedded as
18617 # here-document in config.status, that substitutes the proper values into
18618 # config.h.in to produce config.h.
18620 # Create a delimiter string that does not exist in confdefs.h, to ease
18621 # handling of long lines.
18623 for ac_last_try in false false :; do
18624 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18625 if test -z "$ac_tt"; then
18627 elif $ac_last_try; then
18628 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18630 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18634 # For the awk script, D is an array of macro values keyed by name,
18635 # likewise P contains macro parameters if any. Preserve backslash
18636 # newline sequences.
18638 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18640 s/.\{148\}/&'"$ac_delim"'/g
18643 s/^[ ]*#[ ]*define[ ][ ]*/ /
18650 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18652 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18656 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18657 D["\
1"]=" \
3\\\\\\n
"\\/p
18659 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18664 s/.\{148\}/&'"$ac_delim"'/g
18669 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18672 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18674 ' <confdefs.h | sed '
18675 s/'"$ac_delim"'/"\\\
18676 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18679 for (key in D) D_is_set[key] = 1
18682 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18684 split(line, arg, " ")
18685 if (arg[1] == "#") {
18689 defundef
= substr
(arg
[1], 2)
18692 split(mac1
, mac2
, "(") #)
18694 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18695 if (D_is_set
[macro
]) {
18696 # Preserve the white space surrounding the "#".
18697 print prefix
"define", macro P
[macro
] D
[macro
]
18700 # Replace #undef with comments. This is necessary, for example,
18701 # in the case of _POSIX_SOURCE, which is predefined and required
18702 # on some systems where configure will not decide to define it.
18703 if (defundef
== "undef") {
18704 print
"/*", prefix defundef
, macro
, "*/"
18712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18713 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18714 fi # test -n "$CONFIG_HEADERS"
18717 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18722 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18724 case $ac_mode$ac_tag in
18726 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18727 :[FH
]-) ac_tag
=-:-;;
18728 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18745 -) ac_f
="$ac_tmp/stdin";;
18746 *) # Look for the file first in the build tree, then in the source tree
18747 # (if the path is not absolute). The absolute path cannot be DOS-style,
18748 # because $ac_f cannot contain `:'.
18752 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18754 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18756 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18757 as_fn_append ac_file_inputs
" '$ac_f'"
18760 # Let's still pretend it is `configure' which instantiates (i.e., don't
18761 # use $as_me), people would be surprised to read:
18762 # /* config.h. Generated by config.status. */
18763 configure_input
='Generated from '`
18764 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18766 if test x
"$ac_file" != x-
; then
18767 configure_input
="$ac_file. $configure_input"
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18769 $as_echo "$as_me: creating $ac_file" >&6;}
18771 # Neutralize special characters interpreted by sed in replacement strings.
18772 case $configure_input in #(
18773 *\
&* |
*\|
* |
*\\* )
18774 ac_sed_conf_input
=`$as_echo "$configure_input" |
18775 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18776 *) ac_sed_conf_input
=$configure_input;;
18780 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18781 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18786 ac_dir
=`$as_dirname -- "$ac_file" ||
18787 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18788 X"$ac_file" : 'X\(//\)[^/]' \| \
18789 X"$ac_file" : 'X\(//\)$' \| \
18790 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18791 $as_echo X"$ac_file" |
18792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18796 /^X\(\/\/\)[^/].*/{
18809 as_dir
="$ac_dir"; as_fn_mkdir_p
18813 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18815 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18816 # A ".." for each directory in $ac_dir_suffix.
18817 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18818 case $ac_top_builddir_sub in
18819 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18820 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18823 ac_abs_top_builddir
=$ac_pwd
18824 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18825 # for backward compatibility:
18826 ac_top_builddir
=$ac_top_build_prefix
18829 .
) # We are building in place.
18831 ac_top_srcdir
=$ac_top_builddir_sub
18832 ac_abs_top_srcdir
=$ac_pwd ;;
18833 [\\/]* | ?
:[\\/]* ) # Absolute name.
18834 ac_srcdir
=$srcdir$ac_dir_suffix;
18835 ac_top_srcdir
=$srcdir
18836 ac_abs_top_srcdir
=$srcdir ;;
18837 *) # Relative name.
18838 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18839 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18840 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18842 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18854 # If the template does not know about datarootdir, expand it.
18855 # FIXME: This hack should be removed a few years after 2.60.
18856 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18867 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18868 *datarootdir
*) ac_datarootdir_seen
=yes;;
18869 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18871 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18874 ac_datarootdir_hack='
18875 s&@datadir@&$datadir&g
18876 s&@docdir@&$docdir&g
18877 s&@infodir@&$infodir&g
18878 s&@localedir@&$localedir&g
18879 s&@mandir@&$mandir&g
18880 s&\\\${datarootdir}&$datarootdir&g' ;;
18884 # Neutralize VPATH when `$srcdir' = `.'.
18885 # Shell code in configure.ac might set extrasub.
18886 # FIXME: do we really want to maintain this feature?
18887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18888 ac_sed_extra="$ac_vpsub
18891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18893 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18894 s|@configure_input@|
$ac_sed_conf_input|
;t t
18895 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18896 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18897 s
&@srcdir@
&$ac_srcdir&;t t
18898 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18899 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18900 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18901 s
&@builddir@
&$ac_builddir&;t t
18902 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18903 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18904 $ac_datarootdir_hack
18906 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18907 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18909 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18910 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18911 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18912 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18914 which seems to be undefined. Please make sure it is defined" >&5
18915 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18916 which seems to be undefined. Please make sure it is defined" >&2;}
18918 rm -f "$ac_tmp/stdin"
18920 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18921 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18923 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18929 if test x"$ac_file" != x-; then
18931 $as_echo "/* $configure_input */" \
18932 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18933 } >"$ac_tmp/config.h" \
18934 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18935 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18936 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18937 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18940 mv "$ac_tmp/config.h" "$ac_file" \
18941 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18944 $as_echo "/* $configure_input */" \
18945 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18946 || as_fn_error $? "could not create -" "$LINENO" 5
18954 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18957 # Prefer the file from the source tree if names are identical.
18958 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18959 ac_source=$srcdir/$ac_source
18962 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18963 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18965 if test ! -r "$ac_source"; then
18966 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18970 # Try a relative symlink, then a hard link, then a copy.
18972 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18973 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18975 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18976 ln "$ac_source" "$ac_file" 2>/dev/null ||
18977 cp -p "$ac_source" "$ac_file" ||
18978 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18981 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18982 $as_echo "$as_me: executing $ac_file commands" >&6;}
18987 case $ac_file$ac_mode in
18988 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18989 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18990 "Makefile":C) wine_fn_output_makefile Makefile ;;
18991 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18999 ac_clean_files=$ac_clean_files_save
19001 test $ac_write_fail = 0 ||
19002 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19005 # configure is writing to config.log, and then calls config.status.
19006 # config.status does its own redirection, appending to config.log.
19007 # Unfortunately, on DOS this fails, as config.log is still kept open
19008 # by configure, so config.status won't be able to
write to it
; its
19009 # output is simply discarded. So we exec the FD to /dev/null,
19010 # effectively closing config.log, so it can be properly (re)opened and
19011 # appended to by config.status. When coming back to configure, we
19012 # need to make the FD available again.
19013 if test "$no_create" != yes; then
19015 ac_config_status_args
=
19016 test "$silent" = yes &&
19017 ac_config_status_args
="$ac_config_status_args --quiet"
19019 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19021 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19022 # would make configure fail if this is the last instruction.
19023 $ac_cs_success || as_fn_exit
1
19025 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19027 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19031 if test "$no_create" = "yes"
19037 if test "x$wine_notices != "x
; then
19040 for msg
in $wine_notices; do
19042 if ${msg:+false} :; then :
19045 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19046 $as_echo "$as_me: $msg" >&6;}
19051 for msg
in $wine_warnings; do
19053 if ${msg:+false} :; then :
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19058 $as_echo "$as_me: WARNING: $msg" >&2;}
19064 $as_me: Finished. Do '${ac_make}' to compile Wine.