2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.30.
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.30'
584 PACKAGE_STRING
='Wine 1.7.30'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
698 APPLICATIONSERVICES_LIBS
782 program_transform_name
795 enable_option_checking
799 enable_maintainer_mode
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_debug_l1_1_1
859 enable_api_ms_win_core_errorhandling_l1_1_1
860 enable_api_ms_win_core_file_l1_2_0
861 enable_api_ms_win_core_handle_l1_1_0
862 enable_api_ms_win_core_heap_l1_2_0
863 enable_api_ms_win_core_heap_obsolete_l1_1_0
864 enable_api_ms_win_core_interlocked_l1_2_0
865 enable_api_ms_win_core_io_l1_1_1
866 enable_api_ms_win_core_kernel32_legacy_l1_1_0
867 enable_api_ms_win_core_libraryloader_l1_1_1
868 enable_api_ms_win_core_localization_l1_2_0
869 enable_api_ms_win_core_localization_obsolete_l1_1_0
870 enable_api_ms_win_core_localregistry_l1_1_0
871 enable_api_ms_win_core_memory_l1_1_1
872 enable_api_ms_win_core_namedpipe_l1_2_0
873 enable_api_ms_win_core_processenvironment_l1_2_0
874 enable_api_ms_win_core_processthreads_l1_1_0
875 enable_api_ms_win_core_processthreads_l1_1_1
876 enable_api_ms_win_core_profile_l1_1_0
877 enable_api_ms_win_core_psapi_l1_1_0
878 enable_api_ms_win_core_registry_l1_1_0
879 enable_api_ms_win_core_rtlsupport_l1_2_0
880 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
881 enable_api_ms_win_core_string_l1_1_0
882 enable_api_ms_win_core_synch_l1_2_0
883 enable_api_ms_win_core_sysinfo_l1_2_0
884 enable_api_ms_win_core_threadpool_legacy_l1_1_0
885 enable_api_ms_win_core_timezone_l1_1_0
886 enable_api_ms_win_core_url_l1_1_0
887 enable_api_ms_win_core_util_l1_1_0
888 enable_api_ms_win_core_winrt_error_l1_1_0
889 enable_api_ms_win_core_winrt_string_l1_1_0
890 enable_api_ms_win_downlevel_advapi32_l1_1_0
891 enable_api_ms_win_downlevel_advapi32_l2_1_0
892 enable_api_ms_win_downlevel_normaliz_l1_1_0
893 enable_api_ms_win_downlevel_ole32_l1_1_0
894 enable_api_ms_win_downlevel_shell32_l1_1_0
895 enable_api_ms_win_downlevel_shlwapi_l1_1_0
896 enable_api_ms_win_downlevel_shlwapi_l2_1_0
897 enable_api_ms_win_downlevel_user32_l1_1_0
898 enable_api_ms_win_downlevel_version_l1_1_0
899 enable_api_ms_win_eventing_provider_l1_1_0
900 enable_api_ms_win_ntuser_dc_access_l1_1_0
901 enable_api_ms_win_security_base_l1_1_0
902 enable_api_ms_win_security_base_l1_2_0
903 enable_api_ms_win_security_sddl_l1_1_0
904 enable_api_ms_win_service_core_l1_1_1
905 enable_api_ms_win_service_management_l1_1_0
906 enable_api_ms_win_service_winsvc_l1_2_0
946 enable_d3dcompiler_33
947 enable_d3dcompiler_34
948 enable_d3dcompiler_35
949 enable_d3dcompiler_36
950 enable_d3dcompiler_37
951 enable_d3dcompiler_38
952 enable_d3dcompiler_39
953 enable_d3dcompiler_40
954 enable_d3dcompiler_41
955 enable_d3dcompiler_42
956 enable_d3dcompiler_43
1031 enable_explorerframe
1032 enable_ext_ms_win_gdi_devcaps_l1_1_0
1180 enable_photometadatahandler
1261 enable_windowscodecs
1262 enable_windowscodecsext
1264 enable_winecoreaudio_drv
1266 enable_winegstreamer
1267 enable_winejoystick_drv
1273 enable_wineqtdecoder
1310 enable_documentation
1318 enable_aspnet_regiis
1351 enable_presentationfontcache
1364 enable_servicemodelreg
1385 enable_winemenubuilder
1387 enable_winemsibuilder
1401 ac_precious_vars
='build_alias
1450 # Initialize some variables set by options.
1452 ac_init_version
=false
1453 ac_unrecognized_opts
=
1454 ac_unrecognized_sep
=
1455 # The variables have the same names as the options, with
1456 # dashes changed to underlines.
1457 cache_file
=/dev
/null
1464 program_transform_name
=s
,x
,x
,
1472 # Installation directory options.
1473 # These are left unexpanded so users can "make install exec_prefix=/foo"
1474 # and all the variables that are supposed to be based on exec_prefix
1475 # by default will actually change.
1476 # Use braces instead of parens because sh, perl, etc. also accept them.
1477 # (The list follows the same order as the GNU Coding Standards.)
1478 bindir
='${exec_prefix}/bin'
1479 sbindir
='${exec_prefix}/sbin'
1480 libexecdir
='${exec_prefix}/libexec'
1481 datarootdir
='${prefix}/share'
1482 datadir
='${datarootdir}'
1483 sysconfdir
='${prefix}/etc'
1484 sharedstatedir
='${prefix}/com'
1485 localstatedir
='${prefix}/var'
1486 includedir
='${prefix}/include'
1487 oldincludedir
='/usr/include'
1488 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1489 infodir
='${datarootdir}/info'
1494 libdir
='${exec_prefix}/lib'
1495 localedir
='${datarootdir}/locale'
1496 mandir
='${datarootdir}/man'
1502 # If the previous option needs an argument, assign it.
1503 if test -n "$ac_prev"; then
1504 eval $ac_prev=\
$ac_option
1510 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1515 # Accept the important Cygnus configure options, so we can diagnose typos.
1517 case $ac_dashdash$ac_option in
1521 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1523 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1524 bindir
=$ac_optarg ;;
1526 -build |
--build |
--buil |
--bui |
--bu)
1527 ac_prev
=build_alias
;;
1528 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1529 build_alias
=$ac_optarg ;;
1531 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1532 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1533 ac_prev
=cache_file
;;
1534 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1535 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1536 cache_file
=$ac_optarg ;;
1538 --config-cache |
-C)
1539 cache_file
=config.cache
;;
1541 -datadir |
--datadir |
--datadi |
--datad)
1543 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1544 datadir
=$ac_optarg ;;
1546 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1547 |
--dataroo |
--dataro |
--datar)
1548 ac_prev
=datarootdir
;;
1549 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1550 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1551 datarootdir
=$ac_optarg ;;
1553 -disable-* |
--disable-*)
1554 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1555 # Reject names that are not valid shell variable names.
1556 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1557 as_fn_error $?
"invalid feature name: $ac_useropt"
1558 ac_useropt_orig
=$ac_useropt
1559 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1560 case $ac_user_opts in
1562 "enable_
$ac_useropt"
1564 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1565 ac_unrecognized_sep
=', ';;
1567 eval enable_
$ac_useropt=no
;;
1569 -docdir |
--docdir |
--docdi |
--doc |
--do)
1571 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1572 docdir
=$ac_optarg ;;
1574 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1576 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1577 dvidir
=$ac_optarg ;;
1579 -enable-* |
--enable-*)
1580 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1581 # Reject names that are not valid shell variable names.
1582 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1583 as_fn_error $?
"invalid feature name: $ac_useropt"
1584 ac_useropt_orig
=$ac_useropt
1585 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1586 case $ac_user_opts in
1588 "enable_
$ac_useropt"
1590 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1591 ac_unrecognized_sep
=', ';;
1593 eval enable_
$ac_useropt=\
$ac_optarg ;;
1595 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1596 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1597 |
--exec |
--exe |
--ex)
1598 ac_prev
=exec_prefix
;;
1599 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1600 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1601 |
--exec=* |
--exe=* |
--ex=*)
1602 exec_prefix
=$ac_optarg ;;
1604 -gas |
--gas |
--ga |
--g)
1605 # Obsolete; use --with-gas.
1608 -help |
--help |
--hel |
--he |
-h)
1609 ac_init_help
=long
;;
1610 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1611 ac_init_help
=recursive
;;
1612 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1613 ac_init_help
=short
;;
1615 -host |
--host |
--hos |
--ho)
1616 ac_prev
=host_alias
;;
1617 -host=* |
--host=* |
--hos=* |
--ho=*)
1618 host_alias
=$ac_optarg ;;
1620 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1622 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1624 htmldir
=$ac_optarg ;;
1626 -includedir |
--includedir |
--includedi |
--included |
--include \
1627 |
--includ |
--inclu |
--incl |
--inc)
1628 ac_prev
=includedir
;;
1629 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1630 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1631 includedir
=$ac_optarg ;;
1633 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1635 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1636 infodir
=$ac_optarg ;;
1638 -libdir |
--libdir |
--libdi |
--libd)
1640 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1641 libdir
=$ac_optarg ;;
1643 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1644 |
--libexe |
--libex |
--libe)
1645 ac_prev
=libexecdir
;;
1646 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1647 |
--libexe=* |
--libex=* |
--libe=*)
1648 libexecdir
=$ac_optarg ;;
1650 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1651 ac_prev
=localedir
;;
1652 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1653 localedir
=$ac_optarg ;;
1655 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1656 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1657 ac_prev
=localstatedir
;;
1658 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1659 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1660 localstatedir
=$ac_optarg ;;
1662 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1664 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1665 mandir
=$ac_optarg ;;
1667 -nfp |
--nfp |
--nf)
1668 # Obsolete; use --without-fp.
1671 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1672 |
--no-cr |
--no-c |
-n)
1675 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1676 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1679 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1680 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1681 |
--oldin |
--oldi |
--old |
--ol |
--o)
1682 ac_prev
=oldincludedir
;;
1683 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1684 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1685 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1686 oldincludedir
=$ac_optarg ;;
1688 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1690 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1691 prefix
=$ac_optarg ;;
1693 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1694 |
--program-pre |
--program-pr |
--program-p)
1695 ac_prev
=program_prefix
;;
1696 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1697 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1698 program_prefix
=$ac_optarg ;;
1700 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1701 |
--program-suf |
--program-su |
--program-s)
1702 ac_prev
=program_suffix
;;
1703 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1704 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1705 program_suffix
=$ac_optarg ;;
1707 -program-transform-name |
--program-transform-name \
1708 |
--program-transform-nam |
--program-transform-na \
1709 |
--program-transform-n |
--program-transform- \
1710 |
--program-transform |
--program-transfor \
1711 |
--program-transfo |
--program-transf \
1712 |
--program-trans |
--program-tran \
1713 |
--progr-tra |
--program-tr |
--program-t)
1714 ac_prev
=program_transform_name
;;
1715 -program-transform-name=* |
--program-transform-name=* \
1716 |
--program-transform-nam=* |
--program-transform-na=* \
1717 |
--program-transform-n=* |
--program-transform-=* \
1718 |
--program-transform=* |
--program-transfor=* \
1719 |
--program-transfo=* |
--program-transf=* \
1720 |
--program-trans=* |
--program-tran=* \
1721 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1722 program_transform_name
=$ac_optarg ;;
1724 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1726 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1727 pdfdir
=$ac_optarg ;;
1729 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1731 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1734 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1735 |
-silent |
--silent |
--silen |
--sile |
--sil)
1738 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1740 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1742 sbindir
=$ac_optarg ;;
1744 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1745 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1746 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1748 ac_prev
=sharedstatedir
;;
1749 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1750 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1751 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1753 sharedstatedir
=$ac_optarg ;;
1755 -site |
--site |
--sit)
1757 -site=* |
--site=* |
--sit=*)
1760 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1762 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1763 srcdir
=$ac_optarg ;;
1765 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1766 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1767 ac_prev
=sysconfdir
;;
1768 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1769 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1770 sysconfdir
=$ac_optarg ;;
1772 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1773 ac_prev
=target_alias
;;
1774 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1775 target_alias
=$ac_optarg ;;
1777 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1780 -version |
--version |
--versio |
--versi |
--vers |
-V)
1781 ac_init_version
=: ;;
1784 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1785 # Reject names that are not valid shell variable names.
1786 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1787 as_fn_error $?
"invalid package name: $ac_useropt"
1788 ac_useropt_orig
=$ac_useropt
1789 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1790 case $ac_user_opts in
1794 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1795 ac_unrecognized_sep
=', ';;
1797 eval with_
$ac_useropt=\
$ac_optarg ;;
1799 -without-* |
--without-*)
1800 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1801 # Reject names that are not valid shell variable names.
1802 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1803 as_fn_error $?
"invalid package name: $ac_useropt"
1804 ac_useropt_orig
=$ac_useropt
1805 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1806 case $ac_user_opts in
1810 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1811 ac_unrecognized_sep
=', ';;
1813 eval with_
$ac_useropt=no
;;
1816 # Obsolete; use --with-x.
1819 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1820 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1821 ac_prev
=x_includes
;;
1822 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1823 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1824 x_includes
=$ac_optarg ;;
1826 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1827 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1828 ac_prev
=x_libraries
;;
1829 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1830 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1831 x_libraries
=$ac_optarg ;;
1833 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1834 Try \`$0 --help' for more information"
1838 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1839 # Reject names that are not valid shell variable names.
1840 case $ac_envvar in #(
1841 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1842 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1844 eval $ac_envvar=\
$ac_optarg
1845 export $ac_envvar ;;
1848 # FIXME: should be removed in autoconf 3.0.
1849 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1850 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1851 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1852 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1858 if test -n "$ac_prev"; then
1859 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1860 as_fn_error $?
"missing argument to $ac_option"
1863 if test -n "$ac_unrecognized_opts"; then
1864 case $enable_option_checking in
1866 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1867 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1871 # Check all directory arguments for consistency.
1872 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1873 datadir sysconfdir sharedstatedir localstatedir includedir \
1874 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1875 libdir localedir mandir
1877 eval ac_val
=\$
$ac_var
1878 # Remove trailing slashes.
1881 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1882 eval $ac_var=\
$ac_val;;
1884 # Be sure to have absolute directory names.
1886 [\\/$
]* | ?
:[\\/]* ) continue;;
1887 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1889 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1892 # There might be people who depend on the old broken behavior: `$host'
1893 # used to hold the argument of --host etc.
1894 # FIXME: To remove some day.
1897 target
=$target_alias
1899 # FIXME: To remove some day.
1900 if test "x$host_alias" != x
; then
1901 if test "x$build_alias" = x
; then
1902 cross_compiling
=maybe
1903 elif test "x$build_alias" != "x$host_alias"; then
1909 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1911 test "$silent" = yes && exec 6>/dev
/null
1914 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1915 ac_ls_di
=`ls -di .` &&
1916 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1917 as_fn_error $?
"working directory cannot be determined"
1918 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1919 as_fn_error $?
"pwd does not report name of working directory"
1922 # Find the source files, if location was not specified.
1923 if test -z "$srcdir"; then
1924 ac_srcdir_defaulted
=yes
1925 # Try the directory containing this script, then the parent directory.
1926 ac_confdir
=`$as_dirname -- "$as_myself" ||
1927 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1928 X"$as_myself" : 'X\(//\)[^/]' \| \
1929 X"$as_myself" : 'X\(//\)$' \| \
1930 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1931 $as_echo X"$as_myself" |
1932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1950 if test ! -r "$srcdir/$ac_unique_file"; then
1954 ac_srcdir_defaulted
=no
1956 if test ! -r "$srcdir/$ac_unique_file"; then
1957 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1958 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1960 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1962 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1964 # When building in place, set srcdir=.
1965 if test "$ac_abs_confdir" = "$ac_pwd"; then
1968 # Remove unnecessary trailing slashes from srcdir.
1969 # Double slashes in file names in object file debugging info
1970 # mess up M-x gdb in Emacs.
1972 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1974 for ac_var
in $ac_precious_vars; do
1975 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1976 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1977 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1978 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1982 # Report the --help message.
1984 if test "$ac_init_help" = "long"; then
1985 # Omit some internal or obsolete options to make the list less imposing.
1986 # This message is too long to be a string in the A/UX 3.1 sh.
1988 \`configure' configures Wine 1.7.30 to adapt to many kinds of systems.
1990 Usage: $0 [OPTION]... [VAR=VALUE]...
1992 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1993 VAR=VALUE. See below for descriptions of some of the useful variables.
1995 Defaults for the options are specified in brackets.
1998 -h, --help display this help and exit
1999 --help=short display options specific to this package
2000 --help=recursive display the short help of all the included packages
2001 -V, --version display version information and exit
2002 -q, --quiet, --silent do not print \`checking ...' messages
2003 --cache-file=FILE cache test results in FILE [disabled]
2004 -C, --config-cache alias for \`--cache-file=config.cache'
2005 -n, --no-create do not create output files
2006 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2008 Installation directories:
2009 --prefix=PREFIX install architecture-independent files in PREFIX
2010 [$ac_default_prefix]
2011 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2014 By default, \`make install' will install all the files in
2015 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2016 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2017 for instance \`--prefix=\$HOME'.
2019 For better control, use the options below.
2021 Fine tuning of the installation directories:
2022 --bindir=DIR user executables [EPREFIX/bin]
2023 --sbindir=DIR system admin executables [EPREFIX/sbin]
2024 --libexecdir=DIR program executables [EPREFIX/libexec]
2025 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2026 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2027 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2028 --libdir=DIR object code libraries [EPREFIX/lib]
2029 --includedir=DIR C header files [PREFIX/include]
2030 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2031 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2032 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2033 --infodir=DIR info documentation [DATAROOTDIR/info]
2034 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2035 --mandir=DIR man documentation [DATAROOTDIR/man]
2036 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2037 --htmldir=DIR html documentation [DOCDIR]
2038 --dvidir=DIR dvi documentation [DOCDIR]
2039 --pdfdir=DIR pdf documentation [DOCDIR]
2040 --psdir=DIR ps documentation [DOCDIR]
2046 --x-includes=DIR X include files are
in DIR
2047 --x-libraries=DIR X library files are
in DIR
2050 --build=BUILD configure
for building on BUILD
[guessed
]
2051 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2055 if test -n "$ac_init_help"; then
2056 case $ac_init_help in
2057 short | recursive
) echo "Configuration of Wine 1.7.30:";;
2062 --disable-option-checking ignore unrecognized
--enable/--with options
2063 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2064 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2065 --disable-win16 do not include Win16 support
2066 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2068 --disable-tests do not build the regression tests
2069 --enable-maintainer-mode
2070 enable maintainer-specific build rules
2071 --disable-largefile omit support for large files
2074 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2075 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2076 --without-alsa do not use the Alsa sound support
2077 --without-capi do not use CAPI (ISDN support)
2078 --without-cms do not use CMS (color management support)
2079 --without-coreaudio do not use the CoreAudio sound support
2080 --without-cups do not use CUPS
2081 --without-curses do not use (n)curses
2082 --without-dbus do not use DBus (dynamic device support)
2083 --without-fontconfig do not use fontconfig
2084 --without-freetype do not use the FreeType library
2085 --without-gettext do not use gettext
2086 --with-gettextpo use the GetTextPO library to rebuild po files
2087 --without-gphoto do not use gphoto (Digital Camera support)
2088 --without-glu do not use the GLU library
2089 --without-gnutls do not use GnuTLS (schannel support)
2090 --without-gsm do not use libgsm (GSM 06.10 codec support)
2091 --without-gstreamer do not use GStreamer (codecs support)
2092 --without-hal do not use HAL (dynamic device support)
2093 --without-jpeg do not use JPEG
2094 --without-ldap do not use LDAP
2095 --without-mpg123 do not use the mpg123 library
2096 --without-netapi do not use the Samba NetAPI library
2097 --without-openal do not use OpenAL
2098 --without-opencl do not use OpenCL
2099 --without-opengl do not use OpenGL
2100 --without-osmesa do not use the OSMesa library
2101 --without-oss do not use the OSS sound support
2102 --without-pcap do not use the Packet Capture library
2103 --without-png do not use PNG
2104 --without-pthread do not use the pthread library
2105 --without-sane do not use SANE (scanner support)
2106 --without-tiff do not use TIFF
2107 --without-v4l do not use v4l1 (v4l support)
2108 --without-xcomposite do not use the Xcomposite extension
2109 --without-xcursor do not use the Xcursor extension
2110 --without-xinerama do not use Xinerama (multi-monitor support)
2111 --without-xinput do not use the Xinput extension
2112 --without-xinput2 do not use the Xinput 2 extension
2113 --without-xml do not use XML
2114 --without-xrandr do not use Xrandr (resolution changes)
2115 --without-xrender do not use the Xrender extension
2116 --without-xshape do not use the Xshape extension
2117 --without-xshm do not use XShm (shared memory extension)
2118 --without-xslt do not use XSLT
2119 --without-xxf86vm do not use XFree video mode extension
2120 --without-zlib do not use Zlib (data compression)
2121 --with-wine-tools=DIR use Wine tools from directory DIR
2122 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2123 --with-x use the X Window System
2125 Some influential environment variables:
2126 CC C compiler command
2127 CFLAGS C compiler flags
2128 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2129 nonstandard directory <lib dir>
2130 LIBS libraries to pass to the linker, e.g. -l<library>
2131 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2132 you have headers in a nonstandard directory <include dir>
2133 CXX C++ compiler command
2134 CXXFLAGS C++ compiler flags
2136 XMKMF Path to xmkmf, Makefile generator for X Window System
2137 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2138 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2139 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2140 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2141 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2142 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2143 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2144 HAL_LIBS Linker flags for hal, overriding pkg-config
2146 C compiler flags for gnutls, overriding pkg-config
2147 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2148 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2149 SANE_LIBS Linker flags for libsane, overriding pkg-config
2151 C compiler flags for libgphoto2, overriding pkg-config
2153 Linker flags for libgphoto2, overriding pkg-config
2155 C compiler flags for libgphoto2_port, overriding pkg-config
2157 Linker flags for libgphoto2_port, overriding pkg-config
2159 C compiler flags for lcms2, overriding pkg-config
2160 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2162 C compiler flags for freetype2, overriding pkg-config
2164 Linker flags for freetype2, overriding pkg-config
2166 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2168 Linker flags for gstreamer-app-0.10, overriding pkg-config
2170 C compiler flags for capi20, overriding pkg-config
2171 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2173 C compiler flags for fontconfig, overriding pkg-config
2175 Linker flags for fontconfig, overriding pkg-config
2176 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2177 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2178 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2179 PNG_LIBS Linker flags for libpng, overriding pkg-config
2180 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2181 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2183 C compiler flags for libmpg123, overriding pkg-config
2184 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2186 Use these variables to override the choices made by `configure' or to
help
2187 it to
find libraries and programs with nonstandard names
/locations.
2189 Report bugs to
<wine-devel@winehq.org
>.
2190 Wine home page
: <http
://www.winehq.org
>.
2195 if test "$ac_init_help" = "recursive"; then
2196 # If there are subdirs, report their specific --help.
2197 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2198 test -d "$ac_dir" ||
2199 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2204 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2206 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2207 # A ".." for each directory in $ac_dir_suffix.
2208 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2209 case $ac_top_builddir_sub in
2210 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2211 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2214 ac_abs_top_builddir
=$ac_pwd
2215 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2216 # for backward compatibility:
2217 ac_top_builddir
=$ac_top_build_prefix
2220 .
) # We are building in place.
2222 ac_top_srcdir
=$ac_top_builddir_sub
2223 ac_abs_top_srcdir
=$ac_pwd ;;
2224 [\\/]* | ?
:[\\/]* ) # Absolute name.
2225 ac_srcdir
=$srcdir$ac_dir_suffix;
2226 ac_top_srcdir
=$srcdir
2227 ac_abs_top_srcdir
=$srcdir ;;
2229 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2230 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2231 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2233 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2235 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2236 # Check for guested configure.
2237 if test -f "$ac_srcdir/configure.gnu"; then
2239 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2240 elif test -f "$ac_srcdir/configure"; then
2242 $SHELL "$ac_srcdir/configure" --help=recursive
2244 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2246 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2250 test -n "$ac_init_help" && exit $ac_status
2251 if $ac_init_version; then
2253 Wine configure
1.7.30
2254 generated by GNU Autoconf
2.69
2256 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2257 This configure
script is free software
; the Free Software Foundation
2258 gives unlimited permission to copy
, distribute and modify it.
2263 ## ------------------------ ##
2264 ## Autoconf initialization. ##
2265 ## ------------------------ ##
2267 # ac_fn_c_try_compile LINENO
2268 # --------------------------
2269 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2270 ac_fn_c_try_compile
()
2272 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2273 rm -f conftest.
$ac_objext
2274 if { { ac_try
="$ac_compile"
2276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2277 *) ac_try_echo=$ac_try;;
2279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2280 $as_echo "$ac_try_echo"; } >&5
2281 (eval "$ac_compile") 2>conftest.err
2283 if test -s conftest.err; then
2284 grep -v '^ *+' conftest.err >conftest.er1
2285 cat conftest.er1 >&5
2286 mv -f conftest.er1 conftest.err
2288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2289 test $ac_status = 0; } && {
2290 test -z "$ac_c_werror_flag" ||
2291 test ! -s conftest.err
2292 } && test -s conftest.$ac_objext; then :
2295 $as_echo "$as_me: failed program was:" >&5
2296 sed 's/^/| /' conftest.$ac_ext >&5
2300 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2301 as_fn_set_status $ac_retval
2303 } # ac_fn_c_try_compile
2305 # ac_fn_cxx_try_compile LINENO
2306 # ----------------------------
2307 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2308 ac_fn_cxx_try_compile ()
2310 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2311 rm -f conftest.$ac_objext
2312 if { { ac_try="$ac_compile"
2314 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2315 *) ac_try_echo
=$ac_try;;
2317 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2318 $as_echo "$ac_try_echo"; } >&5
2319 (eval "$ac_compile") 2>conftest.err
2321 if test -s conftest.err
; then
2322 grep -v '^ *+' conftest.err
>conftest.er1
2323 cat conftest.er1
>&5
2324 mv -f conftest.er1 conftest.err
2326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2327 test $ac_status = 0; } && {
2328 test -z "$ac_cxx_werror_flag" ||
2329 test ! -s conftest.err
2330 } && test -s conftest.
$ac_objext; then :
2333 $as_echo "$as_me: failed program was:" >&5
2334 sed 's/^/| /' conftest.
$ac_ext >&5
2338 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2339 as_fn_set_status
$ac_retval
2341 } # ac_fn_cxx_try_compile
2343 # ac_fn_c_try_link LINENO
2344 # -----------------------
2345 # Try to link conftest.$ac_ext, and return whether this succeeded.
2348 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2349 rm -f conftest.
$ac_objext conftest
$ac_exeext
2350 if { { ac_try
="$ac_link"
2352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2353 *) ac_try_echo=$ac_try;;
2355 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2356 $as_echo "$ac_try_echo"; } >&5
2357 (eval "$ac_link") 2>conftest.err
2359 if test -s conftest.err; then
2360 grep -v '^ *+' conftest.err >conftest.er1
2361 cat conftest.er1 >&5
2362 mv -f conftest.er1 conftest.err
2364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2365 test $ac_status = 0; } && {
2366 test -z "$ac_c_werror_flag" ||
2367 test ! -s conftest.err
2368 } && test -s conftest$ac_exeext && {
2369 test "$cross_compiling" = yes ||
2370 test -x conftest$ac_exeext
2374 $as_echo "$as_me: failed program was:" >&5
2375 sed 's/^/| /' conftest.$ac_ext >&5
2379 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2380 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2381 # interfere with the next link command; also delete a directory that is
2382 # left behind by Apple's compiler. We do this before executing the actions.
2383 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2384 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2385 as_fn_set_status $ac_retval
2387 } # ac_fn_c_try_link
2389 # ac_fn_c_try_cpp LINENO
2390 # ----------------------
2391 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2394 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2395 if { { ac_try="$ac_cpp conftest.$ac_ext"
2397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2398 *) ac_try_echo
=$ac_try;;
2400 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2401 $as_echo "$ac_try_echo"; } >&5
2402 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2404 if test -s conftest.err
; then
2405 grep -v '^ *+' conftest.err
>conftest.er1
2406 cat conftest.er1
>&5
2407 mv -f conftest.er1 conftest.err
2409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2410 test $ac_status = 0; } > conftest.i
&& {
2411 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2412 test ! -s conftest.err
2416 $as_echo "$as_me: failed program was:" >&5
2417 sed 's/^/| /' conftest.
$ac_ext >&5
2421 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2422 as_fn_set_status
$ac_retval
2426 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2427 # -------------------------------------------------------
2428 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2429 # the include files in INCLUDES and setting the cache variable VAR
2431 ac_fn_c_check_header_mongrel
()
2433 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2434 if eval \
${$3+:} false
; then :
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2436 $as_echo_n "checking for $2... " >&6; }
2437 if eval \
${$3+:} false
; then :
2438 $as_echo_n "(cached) " >&6
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2442 $as_echo "$ac_res" >&6; }
2444 # Is the header compilable?
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2446 $as_echo_n "checking $2 usability... " >&6; }
2447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2448 /* end confdefs.h. */
2452 if ac_fn_c_try_compile
"$LINENO"; then :
2453 ac_header_compiler
=yes
2455 ac_header_compiler
=no
2457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2459 $as_echo "$ac_header_compiler" >&6; }
2461 # Is the header present?
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2463 $as_echo_n "checking $2 presence... " >&6; }
2464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2465 /* end confdefs.h. */
2468 if ac_fn_c_try_cpp
"$LINENO"; then :
2469 ac_header_preproc
=yes
2471 ac_header_preproc
=no
2473 rm -f conftest.err conftest.i conftest.
$ac_ext
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2475 $as_echo "$ac_header_preproc" >&6; }
2477 # So? What about this header?
2478 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2481 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2483 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2487 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2489 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2491 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2493 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2495 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2496 ( $as_echo "## ------------------------------------ ##
2497 ## Report this to wine-devel@winehq.org ##
2498 ## ------------------------------------ ##"
2499 ) |
sed "s/^/$as_me: WARNING: /" >&2
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2503 $as_echo_n "checking for $2... " >&6; }
2504 if eval \
${$3+:} false
; then :
2505 $as_echo_n "(cached) " >&6
2507 eval "$3=\$ac_header_compiler"
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2511 $as_echo "$ac_res" >&6; }
2513 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2515 } # ac_fn_c_check_header_mongrel
2517 # ac_fn_c_try_run LINENO
2518 # ----------------------
2519 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2520 # that executables *can* be run.
2523 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2524 if { { ac_try
="$ac_link"
2526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2527 *) ac_try_echo=$ac_try;;
2529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2530 $as_echo "$ac_try_echo"; } >&5
2531 (eval "$ac_link") 2>&5
2533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2534 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2535 { { case "(($ac_try" in
2536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2537 *) ac_try_echo
=$ac_try;;
2539 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2540 $as_echo "$ac_try_echo"; } >&5
2541 (eval "$ac_try") 2>&5
2543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2544 test $ac_status = 0; }; }; then :
2547 $as_echo "$as_me: program exited with status $ac_status" >&5
2548 $as_echo "$as_me: failed program was:" >&5
2549 sed 's/^/| /' conftest.
$ac_ext >&5
2551 ac_retval
=$ac_status
2553 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2554 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2555 as_fn_set_status
$ac_retval
2559 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2560 # -------------------------------------------------------
2561 # Tests whether HEADER exists and can be compiled using the include files in
2562 # INCLUDES, setting the cache variable VAR accordingly.
2563 ac_fn_c_check_header_compile
()
2565 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2567 $as_echo_n "checking for $2... " >&6; }
2568 if eval \
${$3+:} false
; then :
2569 $as_echo_n "(cached) " >&6
2571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2572 /* end confdefs.h. */
2576 if ac_fn_c_try_compile
"$LINENO"; then :
2581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2585 $as_echo "$ac_res" >&6; }
2586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2588 } # ac_fn_c_check_header_compile
2590 # ac_fn_c_check_func LINENO FUNC VAR
2591 # ----------------------------------
2592 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2593 ac_fn_c_check_func
()
2595 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2597 $as_echo_n "checking for $2... " >&6; }
2598 if eval \
${$3+:} false
; then :
2599 $as_echo_n "(cached) " >&6
2601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2602 /* end confdefs.h. */
2603 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2605 #define $2 innocuous_$2
2607 /* System header to define __stub macros and hopefully few prototypes,
2608 which can conflict with char $2 (); below.
2609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2610 <limits.h> exists even on freestanding compilers. */
2613 # include <limits.h>
2615 # include <assert.h>
2620 /* Override any GCC internal prototype to avoid an error.
2621 Use char because int might match the return type of a GCC
2622 builtin and then its argument prototype would still apply. */
2627 /* The GNU C library defines this for functions which it implements
2628 to always fail with ENOSYS. Some functions are actually named
2629 something starting with __ and the normal name is an alias. */
2630 #if defined __stub_$2 || defined __stub___$2
2642 if ac_fn_c_try_link
"$LINENO"; then :
2647 rm -f core conftest.err conftest.
$ac_objext \
2648 conftest
$ac_exeext conftest.
$ac_ext
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2652 $as_echo "$ac_res" >&6; }
2653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2655 } # ac_fn_c_check_func
2657 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2658 # ----------------------------------------------------
2659 # Tries to find if the field MEMBER exists in type AGGR, after including
2660 # INCLUDES, setting cache variable VAR accordingly.
2661 ac_fn_c_check_member
()
2663 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2665 $as_echo_n "checking for $2.$3... " >&6; }
2666 if eval \
${$4+:} false
; then :
2667 $as_echo_n "(cached) " >&6
2669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2670 /* end confdefs.h. */
2682 if ac_fn_c_try_compile
"$LINENO"; then :
2685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2686 /* end confdefs.h. */
2692 if (sizeof ac_aggr.$3)
2698 if ac_fn_c_try_compile
"$LINENO"; then :
2703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2709 $as_echo "$ac_res" >&6; }
2710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2712 } # ac_fn_c_check_member
2714 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2715 # -------------------------------------------
2716 # Tests whether TYPE exists after having included INCLUDES, setting cache
2717 # variable VAR accordingly.
2718 ac_fn_c_check_type
()
2720 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2722 $as_echo_n "checking for $2... " >&6; }
2723 if eval \
${$3+:} false
; then :
2724 $as_echo_n "(cached) " >&6
2727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2728 /* end confdefs.h. */
2739 if ac_fn_c_try_compile
"$LINENO"; then :
2740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2741 /* end confdefs.h. */
2752 if ac_fn_c_try_compile
"$LINENO"; then :
2757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2763 $as_echo "$ac_res" >&6; }
2764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2766 } # ac_fn_c_check_type
2767 cat >config.log
<<_ACEOF
2768 This file contains any messages produced by compilers while
2769 running configure, to aid debugging if configure makes a mistake.
2771 It was created by Wine $as_me 1.7.30, which was
2772 generated by GNU Autoconf 2.69. Invocation command line was
2784 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2785 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2786 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2787 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2788 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2790 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2791 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2793 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2794 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2795 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2796 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2797 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2798 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2799 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2807 test -z "$as_dir" && as_dir
=.
2808 $as_echo "PATH: $as_dir"
2824 # Keep a trace of the command line.
2825 # Strip out --no-create and --no-recursion so they do not pile up.
2826 # Strip out --silent because we don't want to record it for future runs.
2827 # Also quote any args containing shell meta-characters.
2828 # Make two passes to allow for proper duplicate-argument suppression.
2832 ac_must_keep_next
=false
2838 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2839 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2840 |
-silent |
--silent |
--silen |
--sile |
--sil)
2843 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2846 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2848 as_fn_append ac_configure_args1
" '$ac_arg'"
2849 if test $ac_must_keep_next = true
; then
2850 ac_must_keep_next
=false
# Got value, back to normal.
2853 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2854 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2855 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2856 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2857 case "$ac_configure_args0 " in
2858 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2861 -* ) ac_must_keep_next
=true
;;
2864 as_fn_append ac_configure_args
" '$ac_arg'"
2869 { ac_configure_args0
=; unset ac_configure_args0
;}
2870 { ac_configure_args1
=; unset ac_configure_args1
;}
2872 # When interrupted or exit'd, cleanup temporary files, and complete
2873 # config.log. We remove comments because anyway the quotes in there
2874 # would cause problems or look ugly.
2875 # WARNING: Use '\'' to represent an apostrophe within the trap.
2876 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2877 trap 'exit_status=$?
2878 # Save into config.log some information that might help in debugging.
2882 $as_echo "## ---------------- ##
2883 ## Cache variables. ##
2884 ## ---------------- ##"
2886 # The following way of writing the cache mishandles newlines in values,
2888 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2889 eval ac_val=\$$ac_var
2893 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2894 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2897 _ | IFS | as_nl) ;; #(
2898 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2899 *) { eval $ac_var=; unset $ac_var;} ;;
2904 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2905 *${as_nl}ac_space=\ *)
2907 "s/'\''/'\''\\\\'\'''\''/g;
2908 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2911 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2918 $as_echo "## ----------------- ##
2919 ## Output variables. ##
2920 ## ----------------- ##"
2922 for ac_var in $ac_subst_vars
2924 eval ac_val=\$$ac_var
2926 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2928 $as_echo "$ac_var='\''$ac_val'\''"
2932 if test -n "$ac_subst_files"; then
2933 $as_echo "## ------------------- ##
2934 ## File substitutions. ##
2935 ## ------------------- ##"
2937 for ac_var
in $ac_subst_files
2939 eval ac_val
=\$
$ac_var
2941 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2943 $as_echo "$ac_var='\''$ac_val'\''"
2948 if test -s confdefs.h; then
2949 $as_echo "## ----------- ##
2956 test "$ac_signal" != 0 &&
2957 $as_echo "$as_me: caught signal $ac_signal"
2958 $as_echo "$as_me: exit $exit_status"
2960 rm -f core *.core core.conftest.* &&
2961 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2964 for ac_signal
in 1 2 13 15; do
2965 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2969 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2970 rm -f -r conftest
* confdefs.h
2972 $as_echo "/* confdefs.h */" > confdefs.h
2974 # Predefined preprocessor variables.
2976 cat >>confdefs.h
<<_ACEOF
2977 #define PACKAGE_NAME "$PACKAGE_NAME"
2980 cat >>confdefs.h
<<_ACEOF
2981 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2984 cat >>confdefs.h
<<_ACEOF
2985 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2988 cat >>confdefs.h
<<_ACEOF
2989 #define PACKAGE_STRING "$PACKAGE_STRING"
2992 cat >>confdefs.h
<<_ACEOF
2993 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2996 cat >>confdefs.h
<<_ACEOF
2997 #define PACKAGE_URL "$PACKAGE_URL"
3001 # Let the site file select an alternate cache file if it wants to.
3002 # Prefer an explicitly selected file to automatically selected ones.
3005 if test -n "$CONFIG_SITE"; then
3006 # We do not want a PATH search for config.site.
3007 case $CONFIG_SITE in #((
3008 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3009 */*) ac_site_file1
=$CONFIG_SITE;;
3010 *) ac_site_file1
=.
/$CONFIG_SITE;;
3012 elif test "x$prefix" != xNONE
; then
3013 ac_site_file1
=$prefix/share
/config.site
3014 ac_site_file2
=$prefix/etc
/config.site
3016 ac_site_file1
=$ac_default_prefix/share
/config.site
3017 ac_site_file2
=$ac_default_prefix/etc
/config.site
3019 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3021 test "x$ac_site_file" = xNONE
&& continue
3022 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3024 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3025 sed 's/^/| /' "$ac_site_file" >&5
3027 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3029 as_fn_error $?
"failed to load site script $ac_site_file
3030 See \`config.log' for more details" "$LINENO" 5; }
3034 if test -r "$cache_file"; then
3035 # Some versions of bash will fail to source /dev/null (special files
3036 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3037 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3039 $as_echo "$as_me: loading cache $cache_file" >&6;}
3041 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3042 *) .
"./$cache_file";;
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3047 $as_echo "$as_me: creating cache $cache_file" >&6;}
3051 # Check that the precious variables saved in the cache have kept the same
3053 ac_cache_corrupted
=false
3054 for ac_var
in $ac_precious_vars; do
3055 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3056 eval ac_new_set
=\
$ac_env_${ac_var}_set
3057 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3058 eval ac_new_val
=\
$ac_env_${ac_var}_value
3059 case $ac_old_set,$ac_new_set in
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3062 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3063 ac_cache_corrupted
=: ;;
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3066 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3067 ac_cache_corrupted
=: ;;
3070 if test "x$ac_old_val" != "x$ac_new_val"; then
3071 # differences in whitespace do not lead to failure.
3072 ac_old_val_w
=`echo x $ac_old_val`
3073 ac_new_val_w
=`echo x $ac_new_val`
3074 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3076 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3077 ac_cache_corrupted
=:
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3080 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3081 eval $ac_var=\
$ac_old_val
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3084 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3086 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3089 # Pass precious variables to config.status.
3090 if test "$ac_new_set" = set; then
3092 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3093 *) ac_arg
=$ac_var=$ac_new_val ;;
3095 case " $ac_configure_args " in
3096 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3097 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3101 if $ac_cache_corrupted; then
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3105 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3106 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3108 ## -------------------- ##
3109 ## Main body of script. ##
3110 ## -------------------- ##
3113 ac_cpp
='$CPP $CPPFLAGS'
3114 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3115 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3116 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3120 ac_config_headers
="$ac_config_headers include/config.h"
3123 for ac_dir
in tools
"$srcdir"/tools
; do
3124 if test -f "$ac_dir/install-sh"; then
3126 ac_install_sh
="$ac_aux_dir/install-sh -c"
3128 elif test -f "$ac_dir/install.sh"; then
3130 ac_install_sh
="$ac_aux_dir/install.sh -c"
3132 elif test -f "$ac_dir/shtool"; then
3134 ac_install_sh
="$ac_aux_dir/shtool install -c"
3138 if test -z "$ac_aux_dir"; then
3139 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3142 # These three variables are undocumented and unsupported,
3143 # and are intended to be withdrawn in a future Autoconf release.
3144 # They can cause serious problems if a builder's source tree is in a directory
3145 # whose full name contains unusual characters.
3146 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3147 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3148 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3152 libwine_version
="1.0"
3156 # Check whether --enable-win16 was given.
3157 if test "${enable_win16+set}" = set; then :
3158 enableval
=$enable_win16;
3161 # Check whether --enable-win64 was given.
3162 if test "${enable_win64+set}" = set; then :
3163 enableval
=$enable_win64;
3166 # Check whether --enable-tests was given.
3167 if test "${enable_tests+set}" = set; then :
3168 enableval
=$enable_tests;
3171 # Check whether --enable-maintainer-mode was given.
3172 if test "${enable_maintainer_mode+set}" = set; then :
3173 enableval
=$enable_maintainer_mode;
3178 # Check whether --with-alsa was given.
3179 if test "${with_alsa+set}" = set; then :
3180 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3184 # Check whether --with-capi was given.
3185 if test "${with_capi+set}" = set; then :
3190 # Check whether --with-cms was given.
3191 if test "${with_cms+set}" = set; then :
3196 # Check whether --with-coreaudio was given.
3197 if test "${with_coreaudio+set}" = set; then :
3198 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3202 # Check whether --with-cups was given.
3203 if test "${with_cups+set}" = set; then :
3208 # Check whether --with-curses was given.
3209 if test "${with_curses+set}" = set; then :
3210 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3214 # Check whether --with-dbus was given.
3215 if test "${with_dbus+set}" = set; then :
3220 # Check whether --with-fontconfig was given.
3221 if test "${with_fontconfig+set}" = set; then :
3222 withval
=$with_fontconfig;
3226 # Check whether --with-freetype was given.
3227 if test "${with_freetype+set}" = set; then :
3228 withval
=$with_freetype;
3232 # Check whether --with-gettext was given.
3233 if test "${with_gettext+set}" = set; then :
3234 withval
=$with_gettext;
3238 # Check whether --with-gettextpo was given.
3239 if test "${with_gettextpo+set}" = set; then :
3240 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3244 # Check whether --with-gphoto was given.
3245 if test "${with_gphoto+set}" = set; then :
3246 withval
=$with_gphoto;
3250 # Check whether --with-glu was given.
3251 if test "${with_glu+set}" = set; then :
3256 # Check whether --with-gnutls was given.
3257 if test "${with_gnutls+set}" = set; then :
3258 withval
=$with_gnutls;
3262 # Check whether --with-gsm was given.
3263 if test "${with_gsm+set}" = set; then :
3264 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3268 # Check whether --with-gstreamer was given.
3269 if test "${with_gstreamer+set}" = set; then :
3270 withval
=$with_gstreamer;
3274 # Check whether --with-hal was given.
3275 if test "${with_hal+set}" = set; then :
3280 # Check whether --with-jpeg was given.
3281 if test "${with_jpeg+set}" = set; then :
3286 # Check whether --with-ldap was given.
3287 if test "${with_ldap+set}" = set; then :
3288 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3292 # Check whether --with-mpg123 was given.
3293 if test "${with_mpg123+set}" = set; then :
3294 withval
=$with_mpg123;
3298 # Check whether --with-netapi was given.
3299 if test "${with_netapi+set}" = set; then :
3300 withval
=$with_netapi;
3304 # Check whether --with-openal was given.
3305 if test "${with_openal+set}" = set; then :
3306 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3310 # Check whether --with-opencl was given.
3311 if test "${with_opencl+set}" = set; then :
3312 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3316 # Check whether --with-opengl was given.
3317 if test "${with_opengl+set}" = set; then :
3318 withval
=$with_opengl;
3322 # Check whether --with-osmesa was given.
3323 if test "${with_osmesa+set}" = set; then :
3324 withval
=$with_osmesa;
3328 # Check whether --with-oss was given.
3329 if test "${with_oss+set}" = set; then :
3334 # Check whether --with-pcap was given.
3335 if test "${with_pcap+set}" = set; then :
3336 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3340 # Check whether --with-png was given.
3341 if test "${with_png+set}" = set; then :
3346 # Check whether --with-pthread was given.
3347 if test "${with_pthread+set}" = set; then :
3348 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3352 # Check whether --with-sane was given.
3353 if test "${with_sane+set}" = set; then :
3358 # Check whether --with-tiff was given.
3359 if test "${with_tiff+set}" = set; then :
3364 # Check whether --with-v4l was given.
3365 if test "${with_v4l+set}" = set; then :
3370 # Check whether --with-xcomposite was given.
3371 if test "${with_xcomposite+set}" = set; then :
3372 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3376 # Check whether --with-xcursor was given.
3377 if test "${with_xcursor+set}" = set; then :
3378 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3382 # Check whether --with-xinerama was given.
3383 if test "${with_xinerama+set}" = set; then :
3384 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3388 # Check whether --with-xinput was given.
3389 if test "${with_xinput+set}" = set; then :
3390 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3394 # Check whether --with-xinput2 was given.
3395 if test "${with_xinput2+set}" = set; then :
3396 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3400 # Check whether --with-xml was given.
3401 if test "${with_xml+set}" = set; then :
3406 # Check whether --with-xrandr was given.
3407 if test "${with_xrandr+set}" = set; then :
3408 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3412 # Check whether --with-xrender was given.
3413 if test "${with_xrender+set}" = set; then :
3414 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3418 # Check whether --with-xshape was given.
3419 if test "${with_xshape+set}" = set; then :
3420 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3424 # Check whether --with-xshm was given.
3425 if test "${with_xshm+set}" = set; then :
3426 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3430 # Check whether --with-xslt was given.
3431 if test "${with_xslt+set}" = set; then :
3436 # Check whether --with-xxf86vm was given.
3437 if test "${with_xxf86vm+set}" = set; then :
3438 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
3442 # Check whether --with-zlib was given.
3443 if test "${with_zlib+set}" = set; then :
3444 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3449 # Check whether --with-wine-tools was given.
3450 if test "${with_wine_tools+set}" = set; then :
3451 withval
=$with_wine_tools;
3455 # Check whether --with-wine64 was given.
3456 if test "${with_wine64+set}" = set; then :
3457 withval
=$with_wine64;
3461 # Make sure we can run config.sub.
3462 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3463 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3466 $as_echo_n "checking build system type... " >&6; }
3467 if ${ac_cv_build+:} false
; then :
3468 $as_echo_n "(cached) " >&6
3470 ac_build_alias
=$build_alias
3471 test "x$ac_build_alias" = x
&&
3472 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3473 test "x$ac_build_alias" = x
&&
3474 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3475 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3476 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3480 $as_echo "$ac_cv_build" >&6; }
3481 case $ac_cv_build in
3483 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3486 ac_save_IFS
=$IFS; IFS
='-'
3492 # Remember, the first character of IFS is used to create $*,
3493 # except with old shells:
3496 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3500 $as_echo_n "checking host system type... " >&6; }
3501 if ${ac_cv_host+:} false
; then :
3502 $as_echo_n "(cached) " >&6
3504 if test "x$host_alias" = x
; then
3505 ac_cv_host
=$ac_cv_build
3507 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3508 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3513 $as_echo "$ac_cv_host" >&6; }
3516 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3519 ac_save_IFS
=$IFS; IFS
='-'
3525 # Remember, the first character of IFS is used to create $*,
3526 # except with old shells:
3529 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3535 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3536 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3537 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3543 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3545 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3546 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3547 $as_echo_n "(cached) " >&6
3549 cat >conftest.
make <<\_ACEOF
3552 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3554 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3555 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3557 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3559 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3563 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3565 $as_echo "yes" >&6; }
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569 $as_echo "no" >&6; }
3570 SET_MAKE
="MAKE=${MAKE-make}"
3574 ac_cpp
='$CPP $CPPFLAGS'
3575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3578 if test -n "$ac_tool_prefix"; then
3579 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3580 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3582 $as_echo_n "checking for $ac_word... " >&6; }
3583 if ${ac_cv_prog_CC+:} false
; then :
3584 $as_echo_n "(cached) " >&6
3586 if test -n "$CC"; then
3587 ac_cv_prog_CC
="$CC" # Let the user override the test.
3589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3593 test -z "$as_dir" && as_dir
=.
3594 for ac_exec_ext
in '' $ac_executable_extensions; do
3595 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3596 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 if test -n "$CC"; then
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3609 $as_echo "$CC" >&6; }
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3612 $as_echo "no" >&6; }
3617 if test -z "$ac_cv_prog_CC"; then
3619 # Extract the first word of "gcc", so it can be a program name with args.
3620 set dummy gcc
; ac_word
=$2
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3622 $as_echo_n "checking for $ac_word... " >&6; }
3623 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3624 $as_echo_n "(cached) " >&6
3626 if test -n "$ac_ct_CC"; then
3627 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3633 test -z "$as_dir" && as_dir
=.
3634 for ac_exec_ext
in '' $ac_executable_extensions; do
3635 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3636 ac_cv_prog_ac_ct_CC
="gcc"
3637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3646 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3647 if test -n "$ac_ct_CC"; then
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3649 $as_echo "$ac_ct_CC" >&6; }
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3652 $as_echo "no" >&6; }
3655 if test "x$ac_ct_CC" = x
; then
3658 case $cross_compiling:$ac_tool_warned in
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3662 ac_tool_warned
=yes ;;
3670 if test -z "$CC"; then
3671 if test -n "$ac_tool_prefix"; then
3672 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3673 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if ${ac_cv_prog_CC+:} false
; then :
3677 $as_echo_n "(cached) " >&6
3679 if test -n "$CC"; then
3680 ac_cv_prog_CC
="$CC" # Let the user override the test.
3682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3686 test -z "$as_dir" && as_dir
=.
3687 for ac_exec_ext
in '' $ac_executable_extensions; do
3688 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3689 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3700 if test -n "$CC"; then
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3702 $as_echo "$CC" >&6; }
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3705 $as_echo "no" >&6; }
3711 if test -z "$CC"; then
3712 # Extract the first word of "cc", so it can be a program name with args.
3713 set dummy cc
; ac_word
=$2
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3715 $as_echo_n "checking for $ac_word... " >&6; }
3716 if ${ac_cv_prog_CC+:} false
; then :
3717 $as_echo_n "(cached) " >&6
3719 if test -n "$CC"; then
3720 ac_cv_prog_CC
="$CC" # Let the user override the test.
3723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3727 test -z "$as_dir" && as_dir
=.
3728 for ac_exec_ext
in '' $ac_executable_extensions; do
3729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3730 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3731 ac_prog_rejected
=yes
3735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3742 if test $ac_prog_rejected = yes; then
3743 # We found a bogon in the path, so make sure we never use it.
3744 set dummy
$ac_cv_prog_CC
3746 if test $# != 0; then
3747 # We chose a different compiler from the bogus one.
3748 # However, it has the same basename, so the bogon will be chosen
3749 # first if we set CC to just the basename; use the full file name.
3751 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3757 if test -n "$CC"; then
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3759 $as_echo "$CC" >&6; }
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3762 $as_echo "no" >&6; }
3767 if test -z "$CC"; then
3768 if test -n "$ac_tool_prefix"; then
3769 for ac_prog
in cl.exe
3771 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3772 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3774 $as_echo_n "checking for $ac_word... " >&6; }
3775 if ${ac_cv_prog_CC+:} false
; then :
3776 $as_echo_n "(cached) " >&6
3778 if test -n "$CC"; then
3779 ac_cv_prog_CC
="$CC" # Let the user override the test.
3781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3785 test -z "$as_dir" && as_dir
=.
3786 for ac_exec_ext
in '' $ac_executable_extensions; do
3787 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3788 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3799 if test -n "$CC"; then
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3801 $as_echo "$CC" >&6; }
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3804 $as_echo "no" >&6; }
3808 test -n "$CC" && break
3811 if test -z "$CC"; then
3813 for ac_prog
in cl.exe
3815 # Extract the first word of "$ac_prog", so it can be a program name with args.
3816 set dummy
$ac_prog; ac_word
=$2
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3818 $as_echo_n "checking for $ac_word... " >&6; }
3819 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3820 $as_echo_n "(cached) " >&6
3822 if test -n "$ac_ct_CC"; then
3823 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3829 test -z "$as_dir" && as_dir
=.
3830 for ac_exec_ext
in '' $ac_executable_extensions; do
3831 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3832 ac_cv_prog_ac_ct_CC
="$ac_prog"
3833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3842 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3843 if test -n "$ac_ct_CC"; then
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3845 $as_echo "$ac_ct_CC" >&6; }
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3848 $as_echo "no" >&6; }
3852 test -n "$ac_ct_CC" && break
3855 if test "x$ac_ct_CC" = x
; then
3858 case $cross_compiling:$ac_tool_warned in
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3862 ac_tool_warned
=yes ;;
3871 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3873 as_fn_error $?
"no acceptable C compiler found in \$PATH
3874 See \`config.log' for more details" "$LINENO" 5; }
3876 # Provide some information about the compiler.
3877 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3880 for ac_option
in --version -v -V -qversion; do
3881 { { ac_try
="$ac_compiler $ac_option >&5"
3883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3884 *) ac_try_echo=$ac_try;;
3886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3887 $as_echo "$ac_try_echo"; } >&5
3888 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3890 if test -s conftest.err; then
3892 ... rest of stderr output deleted ...
3893 10q' conftest.err >conftest.er1
3894 cat conftest.er1 >&5
3896 rm -f conftest.er1 conftest.err
3897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3898 test $ac_status = 0; }
3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3912 ac_clean_files_save=$ac_clean_files
3913 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3914 # Try to create an executable without -o first, disregard a.out.
3915 # It will help us diagnose broken compilers, and finding out an intuition
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3918 $as_echo_n "checking whether the C compiler works... " >&6; }
3919 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3921 # The possible output files:
3922 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3925 for ac_file in $ac_files
3928 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3929 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3934 if { { ac_try="$ac_link_default"
3936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3937 *) ac_try_echo
=$ac_try;;
3939 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3940 $as_echo "$ac_try_echo"; } >&5
3941 (eval "$ac_link_default") 2>&5
3943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3944 test $ac_status = 0; }; then :
3945 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3946 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3947 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3948 # so that the user can short-circuit this test for compilers unknown to
3950 for ac_file
in $ac_files ''
3952 test -f "$ac_file" ||
continue
3954 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3957 # We found the default executable, but exeext='' is most
3961 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3963 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3965 # We set ac_cv_exeext here because the later test for it is not
3966 # safe: cross compilers may not add the suffix if given an `-o'
3967 # argument, so we may need to know it at that point already.
3968 # Even if this section looks crufty: it has the advantage of
3975 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3980 if test -z "$ac_file"; then :
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3982 $as_echo "no" >&6; }
3983 $as_echo "$as_me: failed program was:" >&5
3984 sed 's/^/| /' conftest.
$ac_ext >&5
3986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3988 as_fn_error
77 "C compiler cannot create executables
3989 See \`config.log' for more details" "$LINENO" 5; }
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3992 $as_echo "yes" >&6; }
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3995 $as_echo_n "checking for C compiler default output file name... " >&6; }
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3997 $as_echo "$ac_file" >&6; }
3998 ac_exeext
=$ac_cv_exeext
4000 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4001 ac_clean_files
=$ac_clean_files_save
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4003 $as_echo_n "checking for suffix of executables... " >&6; }
4004 if { { ac_try
="$ac_link"
4006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4007 *) ac_try_echo=$ac_try;;
4009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4010 $as_echo "$ac_try_echo"; } >&5
4011 (eval "$ac_link") 2>&5
4013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4014 test $ac_status = 0; }; then :
4015 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4016 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4017 # work properly (i.e., refer to `conftest.exe'), while it won't with
4019 for ac_file
in conftest.exe conftest conftest.
*; do
4020 test -f "$ac_file" ||
continue
4022 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4023 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4032 See \`config.log' for more details" "$LINENO" 5; }
4034 rm -f conftest conftest
$ac_cv_exeext
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4036 $as_echo "$ac_cv_exeext" >&6; }
4038 rm -f conftest.
$ac_ext
4039 EXEEXT
=$ac_cv_exeext
4041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4042 /* end confdefs.h. */
4047 FILE *f = fopen ("conftest.out", "w");
4048 return ferror (f) || fclose (f) != 0;
4054 ac_clean_files
="$ac_clean_files conftest.out"
4055 # Check that the compiler produces executables we can run. If not, either
4056 # the compiler is broken, or we cross compile.
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4058 $as_echo_n "checking whether we are cross compiling... " >&6; }
4059 if test "$cross_compiling" != yes; then
4060 { { ac_try
="$ac_link"
4062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4063 *) ac_try_echo=$ac_try;;
4065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4066 $as_echo "$ac_try_echo"; } >&5
4067 (eval "$ac_link") 2>&5
4069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4070 test $ac_status = 0; }
4071 if { ac_try='./conftest$ac_cv_exeext'
4072 { { case "(($ac_try" in
4073 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4074 *) ac_try_echo
=$ac_try;;
4076 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4077 $as_echo "$ac_try_echo"; } >&5
4078 (eval "$ac_try") 2>&5
4080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4081 test $ac_status = 0; }; }; then
4084 if test "$cross_compiling" = maybe
; then
4087 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4089 as_fn_error $?
"cannot run C compiled programs.
4090 If you meant to cross compile, use \`--host'.
4091 See \`config.log' for more details" "$LINENO" 5; }
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4096 $as_echo "$cross_compiling" >&6; }
4098 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4099 ac_clean_files
=$ac_clean_files_save
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4101 $as_echo_n "checking for suffix of object files... " >&6; }
4102 if ${ac_cv_objext+:} false
; then :
4103 $as_echo_n "(cached) " >&6
4105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4116 rm -f conftest.o conftest.obj
4117 if { { ac_try
="$ac_compile"
4119 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4120 *) ac_try_echo=$ac_try;;
4122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4123 $as_echo "$ac_try_echo"; } >&5
4124 (eval "$ac_compile") 2>&5
4126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4127 test $ac_status = 0; }; then :
4128 for ac_file in conftest.o conftest.obj conftest.*; do
4129 test -f "$ac_file" || continue;
4131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4132 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4137 $as_echo "$as_me: failed program was:" >&5
4138 sed 's/^/| /' conftest.$ac_ext >&5
4140 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4142 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4143 See \
`config.log' for more details" "$LINENO" 5; }
4145 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4148 $as_echo "$ac_cv_objext" >&6; }
4149 OBJEXT=$ac_cv_objext
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4152 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4153 if ${ac_cv_c_compiler_gnu+:} false; then :
4154 $as_echo_n "(cached) " >&6
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4170 if ac_fn_c_try_compile "$LINENO"; then :
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4180 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4181 if test $ac_compiler_gnu = yes; then
4186 ac_test_CFLAGS=${CFLAGS+set}
4187 ac_save_CFLAGS=$CFLAGS
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4189 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4190 if ${ac_cv_prog_cc_g+:} false; then :
4191 $as_echo_n "(cached) " >&6
4193 ac_save_c_werror_flag=$ac_c_werror_flag
4194 ac_c_werror_flag=yes
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4208 if ac_fn_c_try_compile "$LINENO"; then :
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4223 if ac_fn_c_try_compile "$LINENO"; then :
4226 ac_c_werror_flag=$ac_save_c_werror_flag
4228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4229 /* end confdefs.h. */
4239 if ac_fn_c_try_compile "$LINENO"; then :
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247 ac_c_werror_flag=$ac_save_c_werror_flag
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4250 $as_echo "$ac_cv_prog_cc_g" >&6; }
4251 if test "$ac_test_CFLAGS" = set; then
4252 CFLAGS=$ac_save_CFLAGS
4253 elif test $ac_cv_prog_cc_g = yes; then
4254 if test "$GCC" = yes; then
4260 if test "$GCC" = yes; then
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4267 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4268 if ${ac_cv_prog_cc_c89+:} false; then :
4269 $as_echo_n "(cached) " >&6
4271 ac_cv_prog_cc_c89=no
4273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4274 /* end confdefs.h. */
4278 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4279 struct buf { int x; };
4280 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4281 static char *e (p, i)
4287 static char *f (char * (*g) (char **, int), char **p, ...)
4292 s = g (p, va_arg (v,int));
4297 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4298 function prototypes and stuff, but not '\xHH' hex character constants.
4299 These don't provoke an error unfortunately, instead are silently treated
4300 as 'x'. The following induces an error, until -std is added to get
4301 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4302 array size at least. It's necessary to write '\x00'==0 to get something
4303 that's true only with -std. */
4304 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4306 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4307 inside strings and character constants. */
4309 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4311 int test (int i, double x);
4312 struct s1 {int (*f) (int a);};
4313 struct s2 {int (*f) (double a);};
4314 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4320 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4325 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4326 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4328 CC="$ac_save_CC $ac_arg"
4329 if ac_fn_c_try_compile "$LINENO"; then :
4330 ac_cv_prog_cc_c89=$ac_arg
4332 rm -f core conftest.err conftest.$ac_objext
4333 test "x$ac_cv_prog_cc_c89" != "xno" && break
4335 rm -f conftest.$ac_ext
4340 case "x$ac_cv_prog_cc_c89" in
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4343 $as_echo "none needed" >&6; } ;;
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4346 $as_echo "unsupported" >&6; } ;;
4348 CC="$CC $ac_cv_prog_cc_c89"
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4350 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4352 if test "x$ac_cv_prog_cc_c89" != xno; then :
4357 ac_cpp='$CPP $CPPFLAGS'
4358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4363 ac_cpp='$CXXCPP $CPPFLAGS'
4364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4367 if test -z "$CXX"; then
4368 if test -n "$CCC"; then
4371 if test -n "$ac_tool_prefix"; then
4372 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4374 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4375 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4377 $as_echo_n "checking for $ac_word... " >&6; }
4378 if ${ac_cv_prog_CXX+:} false; then :
4379 $as_echo_n "(cached) " >&6
4381 if test -n "$CXX"; then
4382 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 test -z "$as_dir" && as_dir=.
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4391 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4402 if test -n "$CXX"; then
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4404 $as_echo "$CXX" >&6; }
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4407 $as_echo "no" >&6; }
4411 test -n "$CXX" && break
4414 if test -z "$CXX"; then
4416 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4418 # Extract the first word of "$ac_prog", so it can be a program name with args.
4419 set dummy $ac_prog; ac_word=$2
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4421 $as_echo_n "checking for $ac_word... " >&6; }
4422 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4423 $as_echo_n "(cached) " >&6
4425 if test -n "$ac_ct_CXX"; then
4426 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4432 test -z "$as_dir" && as_dir=.
4433 for ac_exec_ext in '' $ac_executable_extensions; do
4434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4435 ac_cv_prog_ac_ct_CXX="$ac_prog"
4436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4445 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4446 if test -n "$ac_ct_CXX"; then
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4448 $as_echo "$ac_ct_CXX" >&6; }
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4451 $as_echo "no" >&6; }
4455 test -n "$ac_ct_CXX" && break
4458 if test "x$ac_ct_CXX" = x; then
4461 case $cross_compiling:$ac_tool_warned in
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4465 ac_tool_warned=yes ;;
4473 # Provide some information about the compiler.
4474 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4477 for ac_option in --version -v -V -qversion; do
4478 { { ac_try="$ac_compiler $ac_option >&5"
4480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4481 *) ac_try_echo
=$ac_try;;
4483 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4484 $as_echo "$ac_try_echo"; } >&5
4485 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4487 if test -s conftest.err
; then
4489 ... rest of stderr output deleted ...
4490 10q' conftest.err
>conftest.er1
4491 cat conftest.er1
>&5
4493 rm -f conftest.er1 conftest.err
4494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4495 test $ac_status = 0; }
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4499 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4500 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4501 $as_echo_n "(cached) " >&6
4503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h. */
4517 if ac_fn_cxx_try_compile
"$LINENO"; then :
4522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4523 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4527 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4528 if test $ac_compiler_gnu = yes; then
4533 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4534 ac_save_CXXFLAGS
=$CXXFLAGS
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4536 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4537 if ${ac_cv_prog_cxx_g+:} false
; then :
4538 $as_echo_n "(cached) " >&6
4540 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4541 ac_cxx_werror_flag
=yes
4544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4555 if ac_fn_cxx_try_compile
"$LINENO"; then :
4556 ac_cv_prog_cxx_g
=yes
4559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4560 /* end confdefs.h. */
4570 if ac_fn_cxx_try_compile
"$LINENO"; then :
4573 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4576 /* end confdefs.h. */
4586 if ac_fn_cxx_try_compile
"$LINENO"; then :
4587 ac_cv_prog_cxx_g
=yes
4589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4594 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4597 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4598 if test "$ac_test_CXXFLAGS" = set; then
4599 CXXFLAGS
=$ac_save_CXXFLAGS
4600 elif test $ac_cv_prog_cxx_g = yes; then
4601 if test "$GXX" = yes; then
4607 if test "$GXX" = yes; then
4614 ac_cpp
='$CPP $CPPFLAGS'
4615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4619 if test -n "$ac_tool_prefix"; then
4620 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4621 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4623 $as_echo_n "checking for $ac_word... " >&6; }
4624 if ${ac_cv_prog_CPPBIN+:} false
; then :
4625 $as_echo_n "(cached) " >&6
4627 if test -n "$CPPBIN"; then
4628 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4634 test -z "$as_dir" && as_dir
=.
4635 for ac_exec_ext
in '' $ac_executable_extensions; do
4636 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4637 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4647 CPPBIN
=$ac_cv_prog_CPPBIN
4648 if test -n "$CPPBIN"; then
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4650 $as_echo "$CPPBIN" >&6; }
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4653 $as_echo "no" >&6; }
4658 if test -z "$ac_cv_prog_CPPBIN"; then
4659 ac_ct_CPPBIN
=$CPPBIN
4660 # Extract the first word of "cpp", so it can be a program name with args.
4661 set dummy cpp
; ac_word
=$2
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4663 $as_echo_n "checking for $ac_word... " >&6; }
4664 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4665 $as_echo_n "(cached) " >&6
4667 if test -n "$ac_ct_CPPBIN"; then
4668 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4674 test -z "$as_dir" && as_dir
=.
4675 for ac_exec_ext
in '' $ac_executable_extensions; do
4676 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4677 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4687 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4688 if test -n "$ac_ct_CPPBIN"; then
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4690 $as_echo "$ac_ct_CPPBIN" >&6; }
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693 $as_echo "no" >&6; }
4696 if test "x$ac_ct_CPPBIN" = x
; then
4699 case $cross_compiling:$ac_tool_warned in
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4702 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4703 ac_tool_warned
=yes ;;
4705 CPPBIN
=$ac_ct_CPPBIN
4708 CPPBIN
="$ac_cv_prog_CPPBIN"
4712 cat >>confdefs.h
<<_ACEOF
4713 #define EXEEXT "$ac_exeext"
4719 if test "x$enable_win64" = "xyes"
4724 notice_platform
="64-bit "
4731 notice_platform
="32-bit "
4734 enable_win16
=${enable_win16:-yes}
4736 with_fontconfig
=${with_fontconfig:-no}
4739 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4744 $as_echo_n "checking whether $CC works... " >&6; }
4746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h. */
4757 if ac_fn_c_try_link
"$LINENO"; then :
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4759 $as_echo "yes" >&6; }
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4762 $as_echo "no" >&6; }
4763 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4765 rm -f core conftest.err conftest.
$ac_objext \
4766 conftest
$ac_exeext conftest.
$ac_ext
4768 notice_platform
="32-bit "
4771 enable_win16
=${enable_win16:-yes}
4773 if test "x${GCC}" = "xyes"
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4776 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4783 void func(__builtin_ms_va_list *args);
4788 if ac_fn_c_try_compile
"$LINENO"; then :
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4790 $as_echo "yes" >&6; }
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4793 $as_echo "no" >&6; }
4794 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4804 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4807 int ac_test(int i) { return i; }
4811 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4816 if ac_fn_c_try_link
"$LINENO"; then :
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4818 $as_echo "yes" >&6; }
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4821 $as_echo "no" >&6; }
4822 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4824 rm -f core conftest.err conftest.
$ac_objext \
4825 conftest
$ac_exeext conftest.
$ac_ext
4826 CFLAGS
="$CFLAGS -marm"
4830 *-mingw32*|
*-cygwin*)
4831 enable_win16
=${enable_win16:-no}
4832 CFLAGS
="$CFLAGS -D_WIN32"
4835 enable_win16
=${enable_win16:-yes}
4839 enable_win16
=${enable_win16:-no}
4840 enable_win64
=${enable_win64:-no}
4842 enable_winetest
=${enable_winetest:-$enable_tests}
4844 if test -n "$with_wine64"
4846 if test "x$enable_win64" = "xyes"
4848 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4849 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4851 enable_fonts
=${enable_fonts:-no}
4852 enable_server
=${enable_server:-no}
4853 elif test "x$enable_win64" = "xyes"
4855 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4859 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4860 if ${wine_cv_toolsdir+:} false
; then :
4861 $as_echo_n "(cached) " >&6
4863 wine_cv_toolsdir
="$with_wine_tools"
4864 if test -z "$with_wine_tools"; then
4865 if test "$cross_compiling" = "yes"; then
4866 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4867 elif test -n "$with_wine64"; then
4868 wine_cv_toolsdir
="$with_wine64"
4871 if test -z "$wine_cv_toolsdir"; then
4872 wine_makedep
=tools
/makedep
4873 wine_cv_toolsdir
="\$(top_builddir)"
4874 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4875 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4876 case "$wine_cv_toolsdir" in
4878 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4880 enable_tools
=${enable_tools:-no}
4881 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4883 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4887 $as_echo "$wine_cv_toolsdir" >&6; }
4888 TOOLSDIR
=$wine_cv_toolsdir
4890 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4892 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4898 # Extract the first word of "$ac_prog", so it can be a program name with args.
4899 set dummy
$ac_prog; ac_word
=$2
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4901 $as_echo_n "checking for $ac_word... " >&6; }
4902 if ${ac_cv_prog_FLEX+:} false
; then :
4903 $as_echo_n "(cached) " >&6
4905 if test -n "$FLEX"; then
4906 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4912 test -z "$as_dir" && as_dir
=.
4913 for ac_exec_ext
in '' $ac_executable_extensions; do
4914 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4915 ac_cv_prog_FLEX
="$ac_prog"
4916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4925 FLEX
=$ac_cv_prog_FLEX
4926 if test -n "$FLEX"; then
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4928 $as_echo "$FLEX" >&6; }
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4931 $as_echo "no" >&6; }
4935 test -n "$FLEX" && break
4937 test -n "$FLEX" || FLEX
="none"
4939 if test "$FLEX" = "none"
4941 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4944 $as_echo_n "checking whether flex is recent enough... " >&6; }
4945 cat >conftest.l
<<EOF
4947 #include "prediluvian.h"
4951 if $FLEX -t conftest.l
>/dev
/null
2>&5
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4954 $as_echo "yes" >&6; }
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4958 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4961 for ac_prog
in bison
4963 # Extract the first word of "$ac_prog", so it can be a program name with args.
4964 set dummy
$ac_prog; ac_word
=$2
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4966 $as_echo_n "checking for $ac_word... " >&6; }
4967 if ${ac_cv_prog_BISON+:} false
; then :
4968 $as_echo_n "(cached) " >&6
4970 if test -n "$BISON"; then
4971 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4977 test -z "$as_dir" && as_dir
=.
4978 for ac_exec_ext
in '' $ac_executable_extensions; do
4979 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4980 ac_cv_prog_BISON
="$ac_prog"
4981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990 BISON
=$ac_cv_prog_BISON
4991 if test -n "$BISON"; then
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4993 $as_echo "$BISON" >&6; }
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4996 $as_echo "no" >&6; }
5000 test -n "$BISON" && break
5002 test -n "$BISON" || BISON
="none"
5004 if test "$BISON" = "none"
5006 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5009 if test -n "$ac_tool_prefix"; then
5010 for ac_prog
in ar gar
5012 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5013 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if ${ac_cv_prog_AR+:} false
; then :
5017 $as_echo_n "(cached) " >&6
5019 if test -n "$AR"; then
5020 ac_cv_prog_AR
="$AR" # Let the user override the test.
5022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5026 test -z "$as_dir" && as_dir
=.
5027 for ac_exec_ext
in '' $ac_executable_extensions; do
5028 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5029 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5040 if test -n "$AR"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5042 $as_echo "$AR" >&6; }
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5049 test -n "$AR" && break
5052 if test -z "$AR"; then
5054 for ac_prog
in ar gar
5056 # Extract the first word of "$ac_prog", so it can be a program name with args.
5057 set dummy
$ac_prog; ac_word
=$2
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059 $as_echo_n "checking for $ac_word... " >&6; }
5060 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5061 $as_echo_n "(cached) " >&6
5063 if test -n "$ac_ct_AR"; then
5064 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5070 test -z "$as_dir" && as_dir
=.
5071 for ac_exec_ext
in '' $ac_executable_extensions; do
5072 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5073 ac_cv_prog_ac_ct_AR
="$ac_prog"
5074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5084 if test -n "$ac_ct_AR"; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5086 $as_echo "$ac_ct_AR" >&6; }
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5093 test -n "$ac_ct_AR" && break
5096 if test "x$ac_ct_AR" = x
; then
5099 case $cross_compiling:$ac_tool_warned in
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5103 ac_tool_warned
=yes ;;
5109 if test -n "$ac_tool_prefix"; then
5110 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5111 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5113 $as_echo_n "checking for $ac_word... " >&6; }
5114 if ${ac_cv_prog_STRIP+:} false
; then :
5115 $as_echo_n "(cached) " >&6
5117 if test -n "$STRIP"; then
5118 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5124 test -z "$as_dir" && as_dir
=.
5125 for ac_exec_ext
in '' $ac_executable_extensions; do
5126 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5127 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5137 STRIP
=$ac_cv_prog_STRIP
5138 if test -n "$STRIP"; then
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5140 $as_echo "$STRIP" >&6; }
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5148 if test -z "$ac_cv_prog_STRIP"; then
5150 # Extract the first word of "strip", so it can be a program name with args.
5151 set dummy strip
; ac_word
=$2
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5153 $as_echo_n "checking for $ac_word... " >&6; }
5154 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5155 $as_echo_n "(cached) " >&6
5157 if test -n "$ac_ct_STRIP"; then
5158 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5164 test -z "$as_dir" && as_dir
=.
5165 for ac_exec_ext
in '' $ac_executable_extensions; do
5166 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5167 ac_cv_prog_ac_ct_STRIP
="strip"
5168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5177 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5178 if test -n "$ac_ct_STRIP"; then
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5180 $as_echo "$ac_ct_STRIP" >&6; }
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183 $as_echo "no" >&6; }
5186 if test "x$ac_ct_STRIP" = x
; then
5189 case $cross_compiling:$ac_tool_warned in
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5193 ac_tool_warned
=yes ;;
5198 STRIP
="$ac_cv_prog_STRIP"
5203 if test -n "$ac_tool_prefix"; then
5204 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5205 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; }
5208 if ${ac_cv_prog_RANLIB+:} false
; then :
5209 $as_echo_n "(cached) " >&6
5211 if test -n "$RANLIB"; then
5212 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5218 test -z "$as_dir" && as_dir
=.
5219 for ac_exec_ext
in '' $ac_executable_extensions; do
5220 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5221 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 RANLIB
=$ac_cv_prog_RANLIB
5232 if test -n "$RANLIB"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5234 $as_echo "$RANLIB" >&6; }
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5242 if test -z "$ac_cv_prog_RANLIB"; then
5243 ac_ct_RANLIB
=$RANLIB
5244 # Extract the first word of "ranlib", so it can be a program name with args.
5245 set dummy ranlib
; ac_word
=$2
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5247 $as_echo_n "checking for $ac_word... " >&6; }
5248 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5249 $as_echo_n "(cached) " >&6
5251 if test -n "$ac_ct_RANLIB"; then
5252 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5258 test -z "$as_dir" && as_dir
=.
5259 for ac_exec_ext
in '' $ac_executable_extensions; do
5260 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5261 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5272 if test -n "$ac_ct_RANLIB"; then
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5274 $as_echo "$ac_ct_RANLIB" >&6; }
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5277 $as_echo "no" >&6; }
5280 if test "x$ac_ct_RANLIB" = x
; then
5283 case $cross_compiling:$ac_tool_warned in
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5286 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5287 ac_tool_warned
=yes ;;
5289 RANLIB
=$ac_ct_RANLIB
5292 RANLIB
="$ac_cv_prog_RANLIB"
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5296 $as_echo_n "checking whether ln -s works... " >&6; }
5298 if test "$LN_S" = "ln -s"; then
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5300 $as_echo "yes" >&6; }
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5303 $as_echo "no, using $LN_S" >&6; }
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5307 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5308 if ${ac_cv_path_GREP+:} false
; then :
5309 $as_echo_n "(cached) " >&6
5311 if test -z "$GREP"; then
5312 ac_path_GREP_found
=false
5313 # Loop through the user's path and test for each of PROGNAME-LIST
5314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5315 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5318 test -z "$as_dir" && as_dir
=.
5319 for ac_prog
in grep ggrep
; do
5320 for ac_exec_ext
in '' $ac_executable_extensions; do
5321 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5322 as_fn_executable_p
"$ac_path_GREP" ||
continue
5323 # Check for GNU ac_path_GREP and select it if it is found.
5324 # Check for GNU $ac_path_GREP
5325 case `"$ac_path_GREP" --version 2>&1` in
5327 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5330 $as_echo_n 0123456789 >"conftest.in"
5333 cat "conftest.in" "conftest.in" >"conftest.tmp"
5334 mv "conftest.tmp" "conftest.in"
5335 cp "conftest.in" "conftest.nl"
5336 $as_echo 'GREP' >> "conftest.nl"
5337 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5338 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5339 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5340 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5341 # Best one so far, save it but keep looking for a better one
5342 ac_cv_path_GREP
="$ac_path_GREP"
5343 ac_path_GREP_max
=$ac_count
5345 # 10*(2^10) chars as input seems more than enough
5346 test $ac_count -gt 10 && break
5348 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5351 $ac_path_GREP_found && break 3
5356 if test -z "$ac_cv_path_GREP"; then
5357 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5360 ac_cv_path_GREP
=$GREP
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5365 $as_echo "$ac_cv_path_GREP" >&6; }
5366 GREP
="$ac_cv_path_GREP"
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5370 $as_echo_n "checking for egrep... " >&6; }
5371 if ${ac_cv_path_EGREP+:} false
; then :
5372 $as_echo_n "(cached) " >&6
5374 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5375 then ac_cv_path_EGREP
="$GREP -E"
5377 if test -z "$EGREP"; then
5378 ac_path_EGREP_found
=false
5379 # Loop through the user's path and test for each of PROGNAME-LIST
5380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5381 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5384 test -z "$as_dir" && as_dir
=.
5385 for ac_prog
in egrep; do
5386 for ac_exec_ext
in '' $ac_executable_extensions; do
5387 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5388 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5389 # Check for GNU ac_path_EGREP and select it if it is found.
5390 # Check for GNU $ac_path_EGREP
5391 case `"$ac_path_EGREP" --version 2>&1` in
5393 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5396 $as_echo_n 0123456789 >"conftest.in"
5399 cat "conftest.in" "conftest.in" >"conftest.tmp"
5400 mv "conftest.tmp" "conftest.in"
5401 cp "conftest.in" "conftest.nl"
5402 $as_echo 'EGREP' >> "conftest.nl"
5403 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5404 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5405 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5406 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5407 # Best one so far, save it but keep looking for a better one
5408 ac_cv_path_EGREP
="$ac_path_EGREP"
5409 ac_path_EGREP_max
=$ac_count
5411 # 10*(2^10) chars as input seems more than enough
5412 test $ac_count -gt 10 && break
5414 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5417 $ac_path_EGREP_found && break 3
5422 if test -z "$ac_cv_path_EGREP"; then
5423 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5426 ac_cv_path_EGREP
=$EGREP
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5432 $as_echo "$ac_cv_path_EGREP" >&6; }
5433 EGREP
="$ac_cv_path_EGREP"
5436 # Extract the first word of "ldconfig", so it can be a program name with args.
5437 set dummy ldconfig
; ac_word
=$2
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5439 $as_echo_n "checking for $ac_word... " >&6; }
5440 if ${ac_cv_path_LDCONFIG+:} false
; then :
5441 $as_echo_n "(cached) " >&6
5445 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5449 for as_dir
in /sbin
/usr
/sbin
$PATH
5452 test -z "$as_dir" && as_dir
=.
5453 for ac_exec_ext
in '' $ac_executable_extensions; do
5454 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5455 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5463 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5467 LDCONFIG
=$ac_cv_path_LDCONFIG
5468 if test -n "$LDCONFIG"; then
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5470 $as_echo "$LDCONFIG" >&6; }
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5473 $as_echo "no" >&6; }
5477 for ac_prog
in msgfmt
5479 # Extract the first word of "$ac_prog", so it can be a program name with args.
5480 set dummy
$ac_prog; ac_word
=$2
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5482 $as_echo_n "checking for $ac_word... " >&6; }
5483 if ${ac_cv_prog_MSGFMT+:} false
; then :
5484 $as_echo_n "(cached) " >&6
5486 if test -n "$MSGFMT"; then
5487 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5493 test -z "$as_dir" && as_dir
=.
5494 for ac_exec_ext
in '' $ac_executable_extensions; do
5495 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5496 ac_cv_prog_MSGFMT
="$ac_prog"
5497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 MSGFMT
=$ac_cv_prog_MSGFMT
5507 if test -n "$MSGFMT"; then
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5509 $as_echo "$MSGFMT" >&6; }
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5512 $as_echo "no" >&6; }
5516 test -n "$MSGFMT" && break
5518 test -n "$MSGFMT" || MSGFMT
="false"
5520 if ${ac_tool_prefix+:} false
; then :
5521 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5522 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524 $as_echo_n "checking for $ac_word... " >&6; }
5525 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5526 $as_echo_n "(cached) " >&6
5528 if test -n "$PKG_CONFIG"; then
5529 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5535 test -z "$as_dir" && as_dir
=.
5536 for ac_exec_ext
in '' $ac_executable_extensions; do
5537 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5538 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5549 if test -n "$PKG_CONFIG"; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5551 $as_echo "$PKG_CONFIG" >&6; }
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554 $as_echo "no" >&6; }
5559 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5560 if test "x$cross_compiling" = xyes
; then :
5563 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5564 # Extract the first word of "pkg-config", so it can be a program name with args.
5565 set dummy pkg-config
; ac_word
=$2
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567 $as_echo_n "checking for $ac_word... " >&6; }
5568 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5569 $as_echo_n "(cached) " >&6
5571 if test -n "$PKG_CONFIG"; then
5572 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5578 test -z "$as_dir" && as_dir
=.
5579 for ac_exec_ext
in '' $ac_executable_extensions; do
5580 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5581 ac_cv_prog_PKG_CONFIG
="pkg-config"
5582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5591 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5592 if test -n "$PKG_CONFIG"; then
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5594 $as_echo "$PKG_CONFIG" >&6; }
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5603 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5606 if test "x$enable_maintainer_mode" != "xyes"
5613 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5614 for ac_prog
in fontforge
5616 # Extract the first word of "$ac_prog", so it can be a program name with args.
5617 set dummy
$ac_prog; ac_word
=$2
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5619 $as_echo_n "checking for $ac_word... " >&6; }
5620 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5621 $as_echo_n "(cached) " >&6
5623 if test -n "$FONTFORGE"; then
5624 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5630 test -z "$as_dir" && as_dir
=.
5631 for ac_exec_ext
in '' $ac_executable_extensions; do
5632 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5633 ac_cv_prog_FONTFORGE
="$ac_prog"
5634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5643 FONTFORGE
=$ac_cv_prog_FONTFORGE
5644 if test -n "$FONTFORGE"; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5646 $as_echo "$FONTFORGE" >&6; }
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 $as_echo "no" >&6; }
5653 test -n "$FONTFORGE" && break
5655 test -n "$FONTFORGE" || FONTFORGE
="false"
5659 # Extract the first word of "$ac_prog", so it can be a program name with args.
5660 set dummy
$ac_prog; ac_word
=$2
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5662 $as_echo_n "checking for $ac_word... " >&6; }
5663 if ${ac_cv_prog_RSVG+:} false
; then :
5664 $as_echo_n "(cached) " >&6
5666 if test -n "$RSVG"; then
5667 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5673 test -z "$as_dir" && as_dir
=.
5674 for ac_exec_ext
in '' $ac_executable_extensions; do
5675 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5676 ac_cv_prog_RSVG
="$ac_prog"
5677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5686 RSVG
=$ac_cv_prog_RSVG
5687 if test -n "$RSVG"; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5689 $as_echo "$RSVG" >&6; }
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5692 $as_echo "no" >&6; }
5696 test -n "$RSVG" && break
5698 test -n "$RSVG" || RSVG
="false"
5700 for ac_prog
in convert
5702 # Extract the first word of "$ac_prog", so it can be a program name with args.
5703 set dummy
$ac_prog; ac_word
=$2
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5705 $as_echo_n "checking for $ac_word... " >&6; }
5706 if ${ac_cv_prog_CONVERT+:} false
; then :
5707 $as_echo_n "(cached) " >&6
5709 if test -n "$CONVERT"; then
5710 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5716 test -z "$as_dir" && as_dir
=.
5717 for ac_exec_ext
in '' $ac_executable_extensions; do
5718 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5719 ac_cv_prog_CONVERT
="$ac_prog"
5720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729 CONVERT
=$ac_cv_prog_CONVERT
5730 if test -n "$CONVERT"; then
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5732 $as_echo "$CONVERT" >&6; }
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5735 $as_echo "no" >&6; }
5739 test -n "$CONVERT" && break
5741 test -n "$CONVERT" || CONVERT
="false"
5743 for ac_prog
in icotool
5745 # Extract the first word of "$ac_prog", so it can be a program name with args.
5746 set dummy
$ac_prog; ac_word
=$2
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5748 $as_echo_n "checking for $ac_word... " >&6; }
5749 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5750 $as_echo_n "(cached) " >&6
5752 if test -n "$ICOTOOL"; then
5753 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5759 test -z "$as_dir" && as_dir
=.
5760 for ac_exec_ext
in '' $ac_executable_extensions; do
5761 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5762 ac_cv_prog_ICOTOOL
="$ac_prog"
5763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 ICOTOOL
=$ac_cv_prog_ICOTOOL
5773 if test -n "$ICOTOOL"; then
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5775 $as_echo "$ICOTOOL" >&6; }
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778 $as_echo "no" >&6; }
5782 test -n "$ICOTOOL" && break
5784 test -n "$ICOTOOL" || ICOTOOL
="false"
5786 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5787 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5789 if test "$CONVERT" = false
5791 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5794 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5795 convert_version
=`convert --version | head -n1`
5796 if test "x$convert_version" != "x"
5798 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5799 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5800 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5805 if test "$CONVERT" = false
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5808 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5809 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5812 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5816 if test "$ICOTOOL" = false
5818 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5821 $as_echo_n "checking for recent enough icotool... " >&6; }
5822 icotool_version
=`icotool --version | head -n1`
5823 if test "x$icotool_version" != "x"
5825 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5826 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5827 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5830 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5833 if test "$ICOTOOL" = false
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5836 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5837 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5840 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5846 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5849 test "x$with_gettext" != xno || MSGFMT
=false
5850 if test "$MSGFMT" != "false"
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5853 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5854 cat >conftest.po
<<EOF
5860 if $MSGFMT -o /dev
/null conftest.po
2>&5
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5863 $as_echo "yes" >&6; }
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5870 if test "$MSGFMT" = false
; then :
5871 case "x$with_gettext" in
5872 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5874 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5875 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5881 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5882 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5883 $as_echo_n "(cached) " >&6
5885 ac_check_lib_save_LIBS
=$LIBS
5887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5888 /* end confdefs.h. */
5890 /* Override any GCC internal prototype to avoid an error.
5891 Use char because int might match the return type of a GCC
5892 builtin and then its argument prototype would still apply. */
5896 char i386_set_ldt ();
5900 return i386_set_ldt ();
5905 if ac_fn_c_try_link
"$LINENO"; then :
5906 ac_cv_lib_i386_i386_set_ldt
=yes
5908 ac_cv_lib_i386_i386_set_ldt
=no
5910 rm -f core conftest.err conftest.
$ac_objext \
5911 conftest
$ac_exeext conftest.
$ac_ext
5912 LIBS
=$ac_check_lib_save_LIBS
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5915 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5916 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5917 cat >>confdefs.h
<<_ACEOF
5918 #define HAVE_LIBI386 1
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5926 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5927 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5928 $as_echo_n "(cached) " >&6
5930 ac_check_lib_save_LIBS
=$LIBS
5931 LIBS
="-lossaudio $LIBS"
5932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5933 /* end confdefs.h. */
5935 /* Override any GCC internal prototype to avoid an error.
5936 Use char because int might match the return type of a GCC
5937 builtin and then its argument prototype would still apply. */
5945 return _oss_ioctl ();
5950 if ac_fn_c_try_link
"$LINENO"; then :
5951 ac_cv_lib_ossaudio__oss_ioctl
=yes
5953 ac_cv_lib_ossaudio__oss_ioctl
=no
5955 rm -f core conftest.err conftest.
$ac_objext \
5956 conftest
$ac_exeext conftest.
$ac_ext
5957 LIBS
=$ac_check_lib_save_LIBS
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5960 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5961 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5962 cat >>confdefs.h
<<_ACEOF
5963 #define HAVE_LIBOSSAUDIO 1
5966 LIBS
="-lossaudio $LIBS"
5975 # Check whether --enable-largefile was given.
5976 if test "${enable_largefile+set}" = set; then :
5977 enableval
=$enable_largefile;
5980 if test "$enable_largefile" != no
; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5983 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5984 if ${ac_cv_sys_largefile_CC+:} false
; then :
5985 $as_echo_n "(cached) " >&6
5987 ac_cv_sys_largefile_CC
=no
5988 if test "$GCC" != yes; then
5991 # IRIX 6.2 and later do not support large files by default,
5992 # so use the C compiler's -n32 option if that helps.
5993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5994 /* end confdefs.h. */
5995 #include <sys/types.h>
5996 /* Check that off_t can represent 2**63 - 1 correctly.
5997 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5998 since some C++ compilers masquerading as C compilers
5999 incorrectly reject 9223372036854775807. */
6000 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6001 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6002 && LARGE_OFF_T % 2147483647 == 1)
6012 if ac_fn_c_try_compile
"$LINENO"; then :
6015 rm -f core conftest.err conftest.
$ac_objext
6017 if ac_fn_c_try_compile
"$LINENO"; then :
6018 ac_cv_sys_largefile_CC
=' -n32'; break
6020 rm -f core conftest.err conftest.
$ac_objext
6024 rm -f conftest.
$ac_ext
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6028 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6029 if test "$ac_cv_sys_largefile_CC" != no
; then
6030 CC
=$CC$ac_cv_sys_largefile_CC
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6034 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6035 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6036 $as_echo_n "(cached) " >&6
6039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6041 #include <sys/types.h>
6042 /* Check that off_t can represent 2**63 - 1 correctly.
6043 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6044 since some C++ compilers masquerading as C compilers
6045 incorrectly reject 9223372036854775807. */
6046 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6047 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6048 && LARGE_OFF_T % 2147483647 == 1)
6058 if ac_fn_c_try_compile
"$LINENO"; then :
6059 ac_cv_sys_file_offset_bits
=no
; break
6061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6063 /* end confdefs.h. */
6064 #define _FILE_OFFSET_BITS 64
6065 #include <sys/types.h>
6066 /* Check that off_t can represent 2**63 - 1 correctly.
6067 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6068 since some C++ compilers masquerading as C compilers
6069 incorrectly reject 9223372036854775807. */
6070 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6071 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6072 && LARGE_OFF_T % 2147483647 == 1)
6082 if ac_fn_c_try_compile
"$LINENO"; then :
6083 ac_cv_sys_file_offset_bits
=64; break
6085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6086 ac_cv_sys_file_offset_bits
=unknown
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6091 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6092 case $ac_cv_sys_file_offset_bits in #(
6095 cat >>confdefs.h
<<_ACEOF
6096 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6101 if test $ac_cv_sys_file_offset_bits = unknown
; then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6103 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6104 if ${ac_cv_sys_large_files+:} false
; then :
6105 $as_echo_n "(cached) " >&6
6108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6109 /* end confdefs.h. */
6110 #include <sys/types.h>
6111 /* Check that off_t can represent 2**63 - 1 correctly.
6112 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6113 since some C++ compilers masquerading as C compilers
6114 incorrectly reject 9223372036854775807. */
6115 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6116 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6117 && LARGE_OFF_T % 2147483647 == 1)
6127 if ac_fn_c_try_compile
"$LINENO"; then :
6128 ac_cv_sys_large_files
=no
; break
6130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6132 /* end confdefs.h. */
6133 #define _LARGE_FILES 1
6134 #include <sys/types.h>
6135 /* Check that off_t can represent 2**63 - 1 correctly.
6136 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6137 since some C++ compilers masquerading as C compilers
6138 incorrectly reject 9223372036854775807. */
6139 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6140 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6141 && LARGE_OFF_T % 2147483647 == 1)
6151 if ac_fn_c_try_compile
"$LINENO"; then :
6152 ac_cv_sys_large_files
=1; break
6154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6155 ac_cv_sys_large_files
=unknown
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6160 $as_echo "$ac_cv_sys_large_files" >&6; }
6161 case $ac_cv_sys_large_files in #(
6164 cat >>confdefs.h
<<_ACEOF
6165 #define _LARGE_FILES $ac_cv_sys_large_files
6177 ac_cpp
='$CPP $CPPFLAGS'
6178 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6179 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6180 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6182 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6183 # On Suns, sometimes $CPP names a directory.
6184 if test -n "$CPP" && test -d "$CPP"; then
6187 if test -z "$CPP"; then
6188 if ${ac_cv_prog_CPP+:} false
; then :
6189 $as_echo_n "(cached) " >&6
6191 # Double quotes because CPP needs to be expanded
6192 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6195 for ac_c_preproc_warn_flag
in '' yes
6197 # Use a header file that comes with gcc, so configuring glibc
6198 # with a fresh cross-compiler works.
6199 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6200 # <limits.h> exists even on freestanding compilers.
6201 # On the NeXT, cc -E runs the code through the compiler's parser,
6202 # not just through cpp. "Syntax error" is here to catch this case.
6203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6204 /* end confdefs.h. */
6206 # include <limits.h>
6208 # include <assert.h>
6212 if ac_fn_c_try_cpp
"$LINENO"; then :
6215 # Broken: fails on valid input.
6218 rm -f conftest.err conftest.i conftest.
$ac_ext
6220 # OK, works on sane cases. Now check whether nonexistent headers
6221 # can be detected and how.
6222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6223 /* end confdefs.h. */
6224 #include <ac_nonexistent.h>
6226 if ac_fn_c_try_cpp
"$LINENO"; then :
6227 # Broken: success on invalid input.
6230 # Passes both tests.
6234 rm -f conftest.err conftest.i conftest.
$ac_ext
6237 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6238 rm -f conftest.i conftest.err conftest.
$ac_ext
6239 if $ac_preproc_ok; then :
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6252 $as_echo "$CPP" >&6; }
6254 for ac_c_preproc_warn_flag
in '' yes
6256 # Use a header file that comes with gcc, so configuring glibc
6257 # with a fresh cross-compiler works.
6258 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6259 # <limits.h> exists even on freestanding compilers.
6260 # On the NeXT, cc -E runs the code through the compiler's parser,
6261 # not just through cpp. "Syntax error" is here to catch this case.
6262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6263 /* end confdefs.h. */
6265 # include <limits.h>
6267 # include <assert.h>
6271 if ac_fn_c_try_cpp
"$LINENO"; then :
6274 # Broken: fails on valid input.
6277 rm -f conftest.err conftest.i conftest.
$ac_ext
6279 # OK, works on sane cases. Now check whether nonexistent headers
6280 # can be detected and how.
6281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6282 /* end confdefs.h. */
6283 #include <ac_nonexistent.h>
6285 if ac_fn_c_try_cpp
"$LINENO"; then :
6286 # Broken: success on invalid input.
6289 # Passes both tests.
6293 rm -f conftest.err conftest.i conftest.
$ac_ext
6296 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6297 rm -f conftest.i conftest.err conftest.
$ac_ext
6298 if $ac_preproc_ok; then :
6301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6303 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6304 See \`config.log' for more details" "$LINENO" 5; }
6308 ac_cpp
='$CPP $CPPFLAGS'
6309 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6310 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6311 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6315 $as_echo_n "checking for ANSI C header files... " >&6; }
6316 if ${ac_cv_header_stdc+:} false
; then :
6317 $as_echo_n "(cached) " >&6
6319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6320 /* end confdefs.h. */
6334 if ac_fn_c_try_compile
"$LINENO"; then :
6335 ac_cv_header_stdc
=yes
6337 ac_cv_header_stdc
=no
6339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6341 if test $ac_cv_header_stdc = yes; then
6342 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6349 $EGREP "memchr" >/dev
/null
2>&1; then :
6352 ac_cv_header_stdc
=no
6358 if test $ac_cv_header_stdc = yes; then
6359 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6361 /* end confdefs.h. */
6365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6366 $EGREP "free" >/dev
/null
2>&1; then :
6369 ac_cv_header_stdc
=no
6375 if test $ac_cv_header_stdc = yes; then
6376 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6377 if test "$cross_compiling" = yes; then :
6380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6384 #if ((' ' & 0x0FF) == 0x020)
6385 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6386 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6388 # define ISLOWER(c) \
6389 (('a' <= (c) && (c) <= 'i') \
6390 || ('j' <= (c) && (c) <= 'r') \
6391 || ('s' <= (c) && (c) <= 'z'))
6392 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6395 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6400 for (i = 0; i < 256; i++)
6401 if (XOR (islower (i), ISLOWER (i))
6402 || toupper (i) != TOUPPER (i))
6407 if ac_fn_c_try_run
"$LINENO"; then :
6410 ac_cv_header_stdc
=no
6412 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6413 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6419 $as_echo "$ac_cv_header_stdc" >&6; }
6420 if test $ac_cv_header_stdc = yes; then
6422 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6426 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6427 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6428 inttypes.h stdint.h unistd.h
6430 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6431 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6433 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6434 cat >>confdefs.h
<<_ACEOF
6435 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6445 ApplicationServices
/ApplicationServices.h \
6446 AudioToolbox
/AudioConverter.h \
6447 AudioUnit
/AudioUnit.h \
6448 AudioUnit
/AudioComponent.h \
6451 CoreAudio
/CoreAudio.h \
6452 CoreServices
/CoreServices.h \
6453 DiskArbitration
/DiskArbitration.h \
6455 IOKit
/hid
/IOHIDLib.h \
6458 QuickTime
/ImageCompression.h \
6459 Security
/Security.h \
6510 netinet
/in_systm.h \
6572 valgrind
/memcheck.h \
6573 valgrind
/valgrind.h \
6577 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6578 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6579 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6580 cat >>confdefs.h
<<_ACEOF
6581 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6589 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6590 if ${ac_cv_header_stat_broken+:} false
; then :
6591 $as_echo_n "(cached) " >&6
6593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6594 /* end confdefs.h. */
6595 #include <sys/types.h>
6596 #include <sys/stat.h>
6598 #if defined S_ISBLK && defined S_IFDIR
6599 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6602 #if defined S_ISBLK && defined S_IFCHR
6603 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6606 #if defined S_ISLNK && defined S_IFREG
6607 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6610 #if defined S_ISSOCK && defined S_IFREG
6611 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6615 if ac_fn_c_try_compile
"$LINENO"; then :
6616 ac_cv_header_stat_broken
=no
6618 ac_cv_header_stat_broken
=yes
6620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6623 $as_echo "$ac_cv_header_stat_broken" >&6; }
6624 if test $ac_cv_header_stat_broken = yes; then
6626 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6632 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6634 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6635 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6636 #ifdef HAVE_SYS_PARAM_H
6637 # include <sys/param.h>
6640 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6641 cat >>confdefs.h
<<_ACEOF
6642 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6657 netinet
/if_ether.h \
6658 netinet
/if_inarp.h \
6667 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6668 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6669 #ifdef HAVE_SYS_SOCKET_H
6670 # include <sys/socket.h>
6672 #ifdef HAVE_SYS_SOCKETVAR_H
6673 # include <sys/socketvar.h>
6675 #ifdef HAVE_NET_ROUTE_H
6676 # include <net/route.h>
6678 #ifdef HAVE_NETINET_IN_H
6679 # include <netinet/in.h>
6681 #ifdef HAVE_NETINET_IN_SYSTM_H
6682 # include <netinet/in_systm.h>
6684 #ifdef HAVE_NET_IF_H
6685 # include <net/if.h>
6687 #ifdef HAVE_NETINET_IP_H
6688 # include <netinet/ip.h>
6691 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6692 cat >>confdefs.h
<<_ACEOF
6693 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6701 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6703 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6704 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6708 #ifdef HAVE_SYS_SOCKET_H
6709 # include <sys/socket.h>
6711 #ifdef HAVE_SYS_SOCKETVAR_H
6712 # include <sys/socketvar.h>
6714 #ifdef HAVE_SYS_TIMEOUT_H
6715 # include <sys/timeout.h>
6717 #ifdef HAVE_NETINET_IN_H
6718 # include <netinet/in.h>
6720 #ifdef HAVE_NETINET_IN_SYSTM_H
6721 # include <netinet/in_systm.h>
6723 #ifdef HAVE_NETINET_IP_H
6724 # include <netinet/ip.h>
6726 #ifdef HAVE_NETINET_IP_VAR_H
6727 # include <netinet/ip_var.h>
6729 #ifdef HAVE_NETINET_IP_ICMP_H
6730 # include <netinet/ip_icmp.h>
6732 #ifdef HAVE_NETINET_UDP_H
6733 # include <netinet/udp.h>
6735 #ifdef HAVE_NETINET_TCP_H
6736 # include <netinet/tcp.h>
6738 #ifdef HAVE_NETINET_TCP_TIMER_H
6739 #include <netinet/tcp_timer.h>
6742 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6743 cat >>confdefs.h
<<_ACEOF
6744 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6752 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6754 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6755 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6756 #ifdef HAVE_ASM_TYPES_H
6757 # include <asm/types.h>
6759 #ifdef HAVE_SYS_SOCKET_H
6760 # include <sys/socket.h>
6762 #ifdef HAVE_LINUX_TYPES_H
6763 # include <linux/types.h>
6766 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6767 cat >>confdefs.h
<<_ACEOF
6768 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6776 for ac_header
in mach-o
/dyld_images.h
6778 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6779 # include <stdbool.h>
6781 #ifdef HAVE_STDINT_H
6782 # include <stdint.h>
6785 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6786 cat >>confdefs.h
<<_ACEOF
6787 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6795 for ac_header
in resolv.h
6797 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6798 #ifdef HAVE_SYS_SOCKET_H
6799 # include <sys/socket.h>
6801 #ifdef HAVE_NETINET_IN_H
6802 # include <netinet/in.h>
6804 #ifdef HAVE_ARPA_NAMESER_H
6805 # include <arpa/nameser.h>
6808 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6809 cat >>confdefs.h
<<_ACEOF
6810 #define HAVE_RESOLV_H 1
6818 for ac_header
in ifaddrs.h
6820 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6822 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6823 cat >>confdefs.h
<<_ACEOF
6824 #define HAVE_IFADDRS_H 1
6832 for ac_header
in sys
/ucontext.h
6834 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6836 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6837 cat >>confdefs.h
<<_ACEOF
6838 #define HAVE_SYS_UCONTEXT_H 1
6846 for ac_header
in sys
/thr.h
6848 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6849 #ifdef HAVE_SYS_UCONTEXT_H
6850 #include <sys/ucontext.h>
6853 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6854 cat >>confdefs.h
<<_ACEOF
6855 #define HAVE_SYS_THR_H 1
6863 for ac_header
in pthread_np.h
6865 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6866 #include <pthread.h>
6869 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6870 cat >>confdefs.h
<<_ACEOF
6871 #define HAVE_PTHREAD_NP_H 1
6879 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6881 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6882 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6883 #include <sys/time.h>
6885 #include <sys/types.h>
6886 #ifdef HAVE_ASM_TYPES_H
6887 #include <asm/types.h>
6890 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6891 cat >>confdefs.h
<<_ACEOF
6892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6900 for ac_header
in libprocstat.h
6902 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6903 #include <sys/param.h>
6905 #ifdef HAVE_SYS_QUEUE_H
6906 #include <sys/queue.h>
6908 #ifdef HAVE_SYS_SOCKET_H
6909 #include <sys/socket.h>
6912 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6913 cat >>confdefs.h
<<_ACEOF
6914 #define HAVE_LIBPROCSTAT_H 1
6923 dlldir
="\${libdir}/wine"
6927 DLLFLAGS
="-D_REENTRANT"
6936 STATIC_IMPLIBEXT
="def.a"
6937 # Extract the first word of "ldd", so it can be a program name with args.
6938 set dummy ldd
; ac_word
=$2
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6940 $as_echo_n "checking for $ac_word... " >&6; }
6941 if ${ac_cv_path_LDD+:} false
; then :
6942 $as_echo_n "(cached) " >&6
6946 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6950 as_dummy
="/sbin:/usr/sbin:$PATH"
6951 for as_dir
in $as_dummy
6954 test -z "$as_dir" && as_dir
=.
6955 for ac_exec_ext
in '' $ac_executable_extensions; do
6956 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6957 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6965 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6970 if test -n "$LDD"; then
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6972 $as_echo "$LDD" >&6; }
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6975 $as_echo "no" >&6; }
6979 if test -n "$ac_tool_prefix"; then
6980 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6981 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6983 $as_echo_n "checking for $ac_word... " >&6; }
6984 if ${ac_cv_prog_READELF+:} false
; then :
6985 $as_echo_n "(cached) " >&6
6987 if test -n "$READELF"; then
6988 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6994 test -z "$as_dir" && as_dir
=.
6995 for ac_exec_ext
in '' $ac_executable_extensions; do
6996 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6997 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7007 READELF
=$ac_cv_prog_READELF
7008 if test -n "$READELF"; then
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7010 $as_echo "$READELF" >&6; }
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7013 $as_echo "no" >&6; }
7018 if test -z "$ac_cv_prog_READELF"; then
7019 ac_ct_READELF
=$READELF
7020 # Extract the first word of "readelf", so it can be a program name with args.
7021 set dummy readelf
; ac_word
=$2
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7023 $as_echo_n "checking for $ac_word... " >&6; }
7024 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7025 $as_echo_n "(cached) " >&6
7027 if test -n "$ac_ct_READELF"; then
7028 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7034 test -z "$as_dir" && as_dir
=.
7035 for ac_exec_ext
in '' $ac_executable_extensions; do
7036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7037 ac_cv_prog_ac_ct_READELF
="readelf"
7038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7047 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7048 if test -n "$ac_ct_READELF"; then
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7050 $as_echo "$ac_ct_READELF" >&6; }
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7053 $as_echo "no" >&6; }
7056 if test "x$ac_ct_READELF" = x
; then
7059 case $cross_compiling:$ac_tool_warned in
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7063 ac_tool_warned
=yes ;;
7065 READELF
=$ac_ct_READELF
7068 READELF
="$ac_cv_prog_READELF"
7071 wine_rules_file
=conf$
$rules.
make
7072 rm -f $wine_rules_file
7074 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7075 ALL_TEST_RESOURCES
=""
7078 wine_fn_append_file
()
7080 as_fn_append
$1 " \\$as_nl $2"
7083 wine_fn_ignore_file
()
7086 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7087 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7088 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7092 wine_fn_append_rule
()
7094 $as_echo "$1" >>$wine_rules_file
7099 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7102 wine_fn_depend_rules
()
7104 wine_fn_append_rule \
7105 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7106 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7107 depend: $ac_dir/depend
7108 .PHONY: $ac_dir/depend
7109 $ac_dir/depend: \$(MAKEDEP) dummy
7110 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7113 wine_fn_pot_rules
()
7115 test "x$with_gettextpo" = xyes ||
return
7117 if wine_fn_has_flag mc
7119 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7120 wine_fn_append_rule \
7121 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7122 @cd $ac_dir && \$(MAKE) msg.pot
7123 $ac_dir/msg.pot: tools/wmc include"
7125 if wine_fn_has_flag po
7127 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7128 wine_fn_append_rule \
7129 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7130 @cd $ac_dir && \$(MAKE) rsrc.pot
7131 $ac_dir/rsrc.pot: tools/wrc include"
7135 wine_fn_all_rules
()
7137 wine_fn_depend_rules
7138 wine_fn_append_rule \
7141 $ac_dir: $ac_dir/Makefile dummy
7142 @cd $ac_dir && \$(MAKE)"
7145 wine_fn_install_rules
()
7147 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7149 wine_fn_append_rule \
7150 ".PHONY: $ac_dir/install $ac_dir/uninstall
7151 $ac_dir/install:: $ac_dir
7152 @cd $ac_dir && \$(MAKE) install
7153 $ac_dir/uninstall:: $ac_dir/Makefile
7154 @cd $ac_dir && \$(MAKE) uninstall
7155 install:: $ac_dir/install
7156 __uninstall__: $ac_dir/uninstall"
7158 if wine_fn_has_flag install-lib
7160 wine_fn_append_rule \
7161 ".PHONY: $ac_dir/install-lib
7162 $ac_dir/install-lib:: $ac_dir
7163 @cd $ac_dir && \$(MAKE) install-lib
7164 install-lib:: $ac_dir/install-lib"
7167 if wine_fn_has_flag install-dev
7169 wine_fn_append_rule \
7170 ".PHONY: $ac_dir/install-dev
7171 $ac_dir/install-dev:: $ac_dir
7172 @cd $ac_dir && \$(MAKE) install-dev
7173 install-dev:: $ac_dir/install-dev"
7177 wine_fn_clean_rules
()
7180 ac_extraclean
="$ac_dir/Makefile"
7181 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7183 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7186 if wine_fn_has_flag clean
7188 wine_fn_append_rule \
7189 "__clean__: $ac_dir/clean
7190 .PHONY: $ac_dir/clean
7191 $ac_dir/clean: $ac_dir/Makefile
7192 @cd $ac_dir && \$(MAKE) clean
7193 \$(RM) $ac_extraclean"
7195 wine_fn_append_rule \
7196 "__clean__: $ac_dir/clean
7197 .PHONY: $ac_dir/clean
7198 $ac_dir/clean: dummy
7199 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7203 wine_fn_disabled_rules
()
7206 ac_extraclean
="$ac_dir/Makefile"
7207 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7209 wine_fn_append_rule \
7210 "__clean__: $ac_dir/clean
7211 .PHONY: $ac_dir/clean
7212 $ac_dir/clean: dummy
7213 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7216 wine_fn_config_makefile
()
7222 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7223 wine_fn_disabled_rules
; return
7226 wine_fn_install_rules
7230 wine_fn_config_lib
()
7234 ac_dir
=dlls
/$ac_name
7237 if test "x$enable_tools" = xno
; then :
7240 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7245 wine_fn_append_rule \
7246 ".PHONY: $ac_dir/install $ac_dir/uninstall
7247 $ac_dir/install:: $ac_dir
7248 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7250 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7251 install install-dev:: $ac_dir/install
7252 __uninstall__: $ac_dir/uninstall
7253 __builddeps__: $ac_dir
7257 wine_fn_config_dll
()
7260 ac_dir
=dlls
/$ac_name
7263 ac_implib
=${4:-$ac_name}
7264 ac_file
=$ac_dir/lib
$ac_implib
7269 if test "x$enable_tools" = xno
; then :
7272 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7275 *16) ac_implibflags
=" -m16" ;;
7277 *) ac_dll
=$ac_dll.dll
;;
7281 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7282 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7283 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7284 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7286 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7287 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7289 wine_fn_depend_rules
7290 wine_fn_clean_rules
$ac_clean
7292 wine_fn_disabled_rules
$ac_clean
7297 wine_fn_clean_rules
$ac_clean
7298 wine_fn_append_rule \
7299 "$ac_dir: __builddeps__
7300 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7301 @cd $ac_dir && \$(MAKE) \$@
7302 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7303 install install-lib:: $ac_dir/install-lib
7304 __uninstall__: $ac_dir/uninstall"
7305 if test -n "$DLLEXT"
7307 wine_fn_append_rule \
7308 "$ac_dir/install-lib:: $ac_dir
7309 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7310 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7312 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7314 wine_fn_append_rule \
7315 "$ac_dir/install-lib:: $ac_dir
7316 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7318 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7324 if wine_fn_has_flag staticimplib
7326 wine_fn_append_rule \
7327 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7328 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7329 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7330 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7331 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7332 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7333 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7334 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7335 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7337 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7338 install install-dev:: $ac_dir/install-dev
7339 __uninstall__: $ac_dir/uninstall"
7341 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7343 wine_fn_append_rule \
7344 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7345 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7347 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7350 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7352 wine_fn_append_rule \
7353 "__builddeps__: $ac_file.cross.a
7354 $ac_file.cross.a: $ac_dir/Makefile dummy
7355 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7358 elif wine_fn_has_flag implib
7360 wine_fn_append_rule \
7361 "__builddeps__: $ac_file.$IMPLIBEXT
7362 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7363 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7364 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7365 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7366 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7367 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7368 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7370 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7371 install install-dev:: $ac_dir/install-dev
7372 __uninstall__: $ac_dir/uninstall"
7373 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7375 wine_fn_append_rule \
7376 "__builddeps__: $ac_file.cross.a
7377 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7378 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7381 if test "$ac_name" != "$ac_implib"
7383 wine_fn_append_rule \
7384 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7385 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7386 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7388 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7389 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7390 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7392 wine_fn_append_rule \
7393 "__builddeps__: dlls/lib$ac_implib.cross.a
7394 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7395 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7397 \$(RM) dlls/lib$ac_implib.cross.a"
7398 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7404 wine_fn_config_program
()
7407 ac_dir
=programs
/$ac_name
7414 *) ac_program
=$ac_program.exe
;;
7418 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7419 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7420 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7421 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7423 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7424 wine_fn_disabled_rules
$ac_clean; return
7428 wine_fn_clean_rules
$ac_clean
7429 wine_fn_append_rule
"$ac_dir: __builddeps__"
7432 wine_fn_has_flag
install ||
return
7433 wine_fn_append_rule \
7434 ".PHONY: $ac_dir/install $ac_dir/uninstall
7435 install install-lib:: $ac_dir/install
7436 __uninstall__: $ac_dir/uninstall"
7438 if test -n "$DLLEXT"
7440 wine_fn_append_rule \
7441 "$ac_dir/install:: $ac_dir
7442 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7443 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7445 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7447 if test -z "$with_wine64" && wine_fn_has_flag installbin
7449 wine_fn_append_rule \
7450 "$ac_dir/install:: __tooldeps__
7451 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7453 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7456 wine_fn_append_rule \
7457 "$ac_dir/install:: $ac_dir
7458 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7460 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7463 if test -z "$with_wine64" && wine_fn_has_flag manpage
7465 wine_fn_append_rule \
7466 "$ac_dir/install:: $ac_dir
7467 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7469 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7473 wine_fn_config_test
()
7480 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7481 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7483 if test "x$enable_tests" = xno
; then :
7484 wine_fn_disabled_rules
$ac_clean; return
7487 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7489 wine_fn_clean_rules
$ac_clean
7491 wine_fn_append_rule \
7492 "$ac_dir: programs/winetest/Makefile __builddeps__
7493 programs/winetest: $ac_dir
7494 check test: $ac_dir/test
7495 .PHONY: $ac_dir/test
7497 @cd $ac_dir && \$(MAKE) test
7499 \$(RM) $ac_dir/*.ok"
7501 if test -n "$CROSSTARGET"
7503 wine_fn_append_rule \
7504 "crosstest: $ac_dir/crosstest
7505 .PHONY: $ac_dir/crosstest
7506 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7507 @cd $ac_dir && \$(MAKE) crosstest"
7511 wine_fn_config_tool
()
7515 if test "x$enable_tools" = xno
; then :
7520 wine_fn_install_rules
7523 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7524 wine_fn_append_rule
"$ac_dir: libs/port"
7526 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7530 wine_fn_config_symlink
()
7533 if test "x$1" = "x-d"
7539 wine_fn_append_rule \
7541 @./config.status \$@
7544 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7545 test -n "$ac_linkdir" ||
return
7546 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7550 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7551 loader_programs
="$wine_binary wine-installed"
7552 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7557 install install-lib:: wine-installed
7558 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7561 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7567 if test -n "$ac_tool_prefix"; then
7568 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7569 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7571 $as_echo_n "checking for $ac_word... " >&6; }
7572 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7573 $as_echo_n "(cached) " >&6
7575 if test -n "$DLLTOOL"; then
7576 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7582 test -z "$as_dir" && as_dir
=.
7583 for ac_exec_ext
in '' $ac_executable_extensions; do
7584 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7585 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7595 DLLTOOL
=$ac_cv_prog_DLLTOOL
7596 if test -n "$DLLTOOL"; then
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7598 $as_echo "$DLLTOOL" >&6; }
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7601 $as_echo "no" >&6; }
7606 if test -z "$ac_cv_prog_DLLTOOL"; then
7607 ac_ct_DLLTOOL
=$DLLTOOL
7608 # Extract the first word of "dlltool", so it can be a program name with args.
7609 set dummy dlltool
; ac_word
=$2
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7611 $as_echo_n "checking for $ac_word... " >&6; }
7612 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7613 $as_echo_n "(cached) " >&6
7615 if test -n "$ac_ct_DLLTOOL"; then
7616 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7622 test -z "$as_dir" && as_dir
=.
7623 for ac_exec_ext
in '' $ac_executable_extensions; do
7624 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7625 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7635 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7636 if test -n "$ac_ct_DLLTOOL"; then
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7638 $as_echo "$ac_ct_DLLTOOL" >&6; }
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7641 $as_echo "no" >&6; }
7644 if test "x$ac_ct_DLLTOOL" = x
; then
7647 case $cross_compiling:$ac_tool_warned in
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7651 ac_tool_warned
=yes ;;
7653 DLLTOOL
=$ac_ct_DLLTOOL
7656 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7662 STATIC_IMPLIBEXT
="a"
7663 enable_iphlpapi
=${enable_iphlpapi:-no}
7664 enable_kernel32
=${enable_kernel32:-no}
7665 enable_msvcrt
=${enable_msvcrt:-no}
7666 enable_ntdll
=${enable_ntdll:-no}
7667 enable_ws2_32
=${enable_ws2_32:-no}
7668 enable_loader
=${enable_loader:-no}
7669 enable_server
=${enable_server:-no}
7670 with_x
=${with_x:-no}
7671 with_pthread
=${with_pthread:-no}
7677 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7681 libwine_targets
="libwine.dll libwine.a"
7683 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7685 all: libwine.dll libwine.a
7687 libwine.a: \$(srcdir)/wine.def
7688 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7690 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7691 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7693 install install-lib:: libwine.dll
7694 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7696 install install-dev:: libwine.a
7697 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7700 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7707 DLLFLAGS
="$DLLFLAGS -fPIC"
7708 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7709 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7710 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7711 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7713 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7715 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7717 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7719 CORESERVICES_LIBS
="-framework CoreServices"
7721 APPKIT_LIBS
="-framework AppKit"
7723 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7725 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7726 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7727 $as_echo_n "(cached) " >&6
7729 ac_wine_try_cflags_saved
=$CFLAGS
7730 CFLAGS
="$CFLAGS -Wl,-no_pie"
7731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7732 /* end confdefs.h. */
7733 int main(int argc, char **argv) { return 0; }
7735 if ac_fn_c_try_link
"$LINENO"; then :
7736 ac_cv_cflags__Wl__no_pie
=yes
7738 ac_cv_cflags__Wl__no_pie
=no
7740 rm -f core conftest.err conftest.
$ac_objext \
7741 conftest
$ac_exeext conftest.
$ac_ext
7742 CFLAGS
=$ac_wine_try_cflags_saved
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7745 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7746 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7747 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7749 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7751 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7754 if test "$ac_cv_header_Security_Security_h" = "yes"
7756 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7758 ac_save_LIBS
="$LIBS"
7759 LIBS
="$LIBS $SECURITY_LIBS"
7760 for ac_func
in SSLCopyPeerCertificates
7762 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7763 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7764 cat >>confdefs.h
<<_ACEOF
7765 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7771 LIBS
="$ac_save_LIBS"
7772 with_gnutls
=${with_gnutls:-no}
7774 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7776 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7778 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7781 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7784 ac_save_LIBS
="$LIBS"
7785 LIBS
="$LIBS $COREAUDIO_LIBS"
7786 for ac_func
in AUGraphAddNode
7788 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7789 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7790 cat >>confdefs.h
<<_ACEOF
7791 #define HAVE_AUGRAPHADDNODE 1
7797 LIBS
="$ac_save_LIBS"
7799 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7801 OPENAL_LIBS
="-framework OpenAL"
7804 cat >>confdefs.h
<<_ACEOF
7805 #define HAVE_OPENAL 1
7808 ac_cv_lib_openal
=yes
7810 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7812 OPENCL_LIBS
="-framework OpenCL"
7814 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7816 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7818 ac_save_LIBS
="$LIBS"
7819 LIBS
="$LIBS $IOKIT_LIBS"
7820 for ac_func
in IOHIDManagerCreate
7822 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7823 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7824 cat >>confdefs.h
<<_ACEOF
7825 #define HAVE_IOHIDMANAGERCREATE 1
7831 LIBS
="$ac_save_LIBS"
7833 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7835 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7837 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7839 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7841 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7843 CARBON_LIBS
="-framework Carbon"
7847 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7849 ac_save_LIBS
="$LIBS"
7850 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7851 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7852 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7853 enable_winemac_drv
=${enable_winemac_drv:-yes}
7856 LIBS
="$ac_save_LIBS"
7859 if test "x$enable_win16" = "xyes"
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7862 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7863 if test "$cross_compiling" = yes; then :
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7865 $as_echo "cross-compiling, assuming yes" >&6; }
7867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7868 /* end confdefs.h. */
7871 "good:\tnop;nop\n\t"
7872 ".globl _testfunc\n"
7873 "_testfunc:\tcallw good");
7874 extern void testfunc();
7878 unsigned short *p = (unsigned short *)testfunc;
7879 return p[0] != 0xe866 || p[1] != 0xfffa
7884 if ac_fn_c_try_run
"$LINENO"; then :
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7886 $as_echo "yes" >&6; }
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7889 $as_echo "no" >&6; }
7890 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
7892 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7893 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7898 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7900 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7904 libwine.$libwine_version.dylib: \$(OBJS)
7905 \$(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 \$@
7907 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7908 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7910 libwine.dylib: libwine.$libwine_soversion.dylib
7911 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7913 install install-lib:: libwine.$libwine_version.dylib
7914 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7915 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7917 install install-dev::
7918 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7921 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7925 as_fn_append LOADER_RULES
"
7926 $wine_binary: main.o wine_info.plist
7927 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7929 wine-installed: main.o wine_info.plist
7930 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7935 DLLFLAGS
="$DLLFLAGS -fPIC"
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7940 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7941 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7942 $as_echo_n "(cached) " >&6
7944 ac_wine_try_cflags_saved
=$CFLAGS
7945 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7947 /* end confdefs.h. */
7948 int main(int argc, char **argv) { return 0; }
7950 if ac_fn_c_try_link
"$LINENO"; then :
7951 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7953 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7955 rm -f core conftest.err conftest.
$ac_objext \
7956 conftest
$ac_exeext conftest.
$ac_ext
7957 CFLAGS
=$ac_wine_try_cflags_saved
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7960 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7961 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7962 LDEXECFLAGS
="-Wl,--export-dynamic"
7964 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7966 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7967 if eval \
${$as_ac_var+:} false
; then :
7968 $as_echo_n "(cached) " >&6
7970 ac_wine_try_cflags_saved
=$CFLAGS
7971 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7973 /* end confdefs.h. */
7974 int main(int argc, char **argv) { return 0; }
7976 if ac_fn_c_try_link
"$LINENO"; then :
7977 eval "$as_ac_var=yes"
7979 eval "$as_ac_var=no"
7981 rm -f core conftest.err conftest.
$ac_objext \
7982 conftest
$ac_exeext conftest.
$ac_ext
7983 CFLAGS
=$ac_wine_try_cflags_saved
7985 eval ac_res
=\$
$as_ac_var
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7987 $as_echo "$ac_res" >&6; }
7988 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7989 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7990 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7992 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7994 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7995 if eval \
${$as_ac_var+:} false
; then :
7996 $as_echo_n "(cached) " >&6
7998 ac_wine_try_cflags_saved
=$CFLAGS
7999 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8001 /* end confdefs.h. */
8002 int main(int argc, char **argv) { return 0; }
8004 if ac_fn_c_try_link
"$LINENO"; then :
8005 eval "$as_ac_var=yes"
8007 eval "$as_ac_var=no"
8009 rm -f core conftest.err conftest.
$ac_objext \
8010 conftest
$ac_exeext conftest.
$ac_ext
8011 CFLAGS
=$ac_wine_try_cflags_saved
8013 eval ac_res
=\$
$as_ac_var
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8015 $as_echo "$ac_res" >&6; }
8016 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8017 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8018 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8023 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8024 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8025 $as_echo_n "(cached) " >&6
8027 ac_wine_try_cflags_saved
=$CFLAGS
8028 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8030 /* end confdefs.h. */
8031 int main(int argc, char **argv) { return 0; }
8033 if ac_fn_c_try_link
"$LINENO"; then :
8034 ac_cv_cflags__Wl___enable_new_dtags
=yes
8036 ac_cv_cflags__Wl___enable_new_dtags
=no
8038 rm -f core conftest.err conftest.
$ac_objext \
8039 conftest
$ac_exeext conftest.
$ac_ext
8040 CFLAGS
=$ac_wine_try_cflags_saved
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8043 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8044 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8045 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8049 *i
[3456789]86* | x86_64
)
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8051 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8052 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8053 $as_echo_n "(cached) " >&6
8055 ac_wine_try_cflags_saved
=$CFLAGS
8056 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8058 /* end confdefs.h. */
8059 int main(int argc, char **argv) { return 0; }
8061 if ac_fn_c_try_link
"$LINENO"; then :
8062 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8064 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8066 rm -f core conftest.err conftest.
$ac_objext \
8067 conftest
$ac_exeext conftest.
$ac_ext
8068 CFLAGS
=$ac_wine_try_cflags_saved
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8071 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8072 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8073 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8078 libwine_targets
="libwine.so"
8080 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8084 libwine.so: \$(OBJS)
8085 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8087 install install-lib:: libwine.so
8088 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8091 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8095 as_fn_append LOADER_RULES
"
8096 $wine_binary: main.o
8097 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8099 wine-installed: main.o
8100 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8105 DLLFLAGS
="$DLLFLAGS -fPIC"
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8108 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8109 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8110 $as_echo_n "(cached) " >&6
8112 ac_wine_try_cflags_saved
=$CFLAGS
8113 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8115 /* end confdefs.h. */
8118 if ac_fn_c_try_link
"$LINENO"; then :
8119 ac_cv_c_dll_gnuelf
="yes"
8121 ac_cv_c_dll_gnuelf
="no"
8123 rm -f core conftest.err conftest.
$ac_objext \
8124 conftest
$ac_exeext conftest.
$ac_ext
8125 CFLAGS
=$ac_wine_try_cflags_saved
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8128 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8129 if test "$ac_cv_c_dll_gnuelf" = "yes"
8131 LDSHARED
="\$(CC) -shared"
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8133 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8134 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8135 $as_echo_n "(cached) " >&6
8137 ac_wine_try_cflags_saved
=$CFLAGS
8138 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8140 /* end confdefs.h. */
8141 int main(int argc, char **argv) { return 0; }
8143 if ac_fn_c_try_link
"$LINENO"; then :
8144 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8146 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8148 rm -f core conftest.err conftest.
$ac_objext \
8149 conftest
$ac_exeext conftest.
$ac_ext
8150 CFLAGS
=$ac_wine_try_cflags_saved
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8153 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8154 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8155 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8158 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8159 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8160 $as_echo_n "(cached) " >&6
8162 ac_wine_try_cflags_saved
=$CFLAGS
8163 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8165 /* end confdefs.h. */
8166 int main(int argc, char **argv) { return 0; }
8168 if ac_fn_c_try_link
"$LINENO"; then :
8169 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8171 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8173 rm -f core conftest.err conftest.
$ac_objext \
8174 conftest
$ac_exeext conftest.
$ac_ext
8175 CFLAGS
=$ac_wine_try_cflags_saved
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8178 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8179 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8180 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8184 echo '{ global: *; };' >conftest.map
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8186 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8187 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8188 $as_echo_n "(cached) " >&6
8190 ac_wine_try_cflags_saved
=$CFLAGS
8191 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
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__shared__Wl___version_script_conftest_map
=yes
8199 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=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__shared__Wl___version_script_conftest_map" >&5
8206 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8207 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8208 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8213 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8214 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8215 $as_echo_n "(cached) " >&6
8217 ac_wine_try_cflags_saved
=$CFLAGS
8218 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
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 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8226 ac_cv_cflags__fPIC__Wl___export_dynamic
=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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8233 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8234 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8235 LDEXECFLAGS
="-Wl,--export-dynamic"
8238 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8240 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8241 if eval \
${$as_ac_var+:} false
; then :
8242 $as_echo_n "(cached) " >&6
8244 ac_wine_try_cflags_saved
=$CFLAGS
8245 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8247 /* end confdefs.h. */
8248 int main(int argc, char **argv) { return 0; }
8250 if ac_fn_c_try_link
"$LINENO"; then :
8251 eval "$as_ac_var=yes"
8253 eval "$as_ac_var=no"
8255 rm -f core conftest.err conftest.
$ac_objext \
8256 conftest
$ac_exeext conftest.
$ac_ext
8257 CFLAGS
=$ac_wine_try_cflags_saved
8259 eval ac_res
=\$
$as_ac_var
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8261 $as_echo "$ac_res" >&6; }
8262 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8263 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8264 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8266 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8268 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8269 if eval \
${$as_ac_var+:} false
; then :
8270 $as_echo_n "(cached) " >&6
8272 ac_wine_try_cflags_saved
=$CFLAGS
8273 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8275 /* end confdefs.h. */
8276 int main(int argc, char **argv) { return 0; }
8278 if ac_fn_c_try_link
"$LINENO"; then :
8279 eval "$as_ac_var=yes"
8281 eval "$as_ac_var=no"
8283 rm -f core conftest.err conftest.
$ac_objext \
8284 conftest
$ac_exeext conftest.
$ac_ext
8285 CFLAGS
=$ac_wine_try_cflags_saved
8287 eval ac_res
=\$
$as_ac_var
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8289 $as_echo "$ac_res" >&6; }
8290 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8291 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8292 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8297 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8298 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8299 $as_echo_n "(cached) " >&6
8301 ac_wine_try_cflags_saved
=$CFLAGS
8302 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8305 int main(int argc, char **argv) { return 0; }
8307 if ac_fn_c_try_link
"$LINENO"; then :
8308 ac_cv_cflags__Wl___enable_new_dtags
=yes
8310 ac_cv_cflags__Wl___enable_new_dtags
=no
8312 rm -f core conftest.err conftest.
$ac_objext \
8313 conftest
$ac_exeext conftest.
$ac_ext
8314 CFLAGS
=$ac_wine_try_cflags_saved
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8317 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8318 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8319 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8323 *i
[3456789]86* | x86_64
)
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8325 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8326 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8327 $as_echo_n "(cached) " >&6
8329 ac_wine_try_cflags_saved
=$CFLAGS
8330 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8332 /* end confdefs.h. */
8333 int main(int argc, char **argv) { return 0; }
8335 if ac_fn_c_try_link
"$LINENO"; then :
8336 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8338 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8340 rm -f core conftest.err conftest.
$ac_objext \
8341 conftest
$ac_exeext conftest.
$ac_ext
8342 CFLAGS
=$ac_wine_try_cflags_saved
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8345 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8346 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8348 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8349 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8353 # Extract the first word of "prelink", so it can be a program name with args.
8354 set dummy prelink
; ac_word
=$2
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8356 $as_echo_n "checking for $ac_word... " >&6; }
8357 if ${ac_cv_path_PRELINK+:} false
; then :
8358 $as_echo_n "(cached) " >&6
8362 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8366 for as_dir
in /sbin
/usr
/sbin
$PATH
8369 test -z "$as_dir" && as_dir
=.
8370 for ac_exec_ext
in '' $ac_executable_extensions; do
8371 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8372 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8380 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8384 PRELINK
=$ac_cv_path_PRELINK
8385 if test -n "$PRELINK"; then
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8387 $as_echo "$PRELINK" >&6; }
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8390 $as_echo "no" >&6; }
8394 if test "x$PRELINK" = xfalse
8396 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8403 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8404 if ${ac_cv_c_dll_unixware+:} false
; then :
8405 $as_echo_n "(cached) " >&6
8407 ac_wine_try_cflags_saved
=$CFLAGS
8408 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8410 /* end confdefs.h. */
8413 if ac_fn_c_try_link
"$LINENO"; then :
8414 ac_cv_c_dll_unixware
="yes"
8416 ac_cv_c_dll_unixware
="no"
8418 rm -f core conftest.err conftest.
$ac_objext \
8419 conftest
$ac_exeext conftest.
$ac_ext
8420 CFLAGS
=$ac_wine_try_cflags_saved
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8423 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8424 if test "$ac_cv_c_dll_unixware" = "yes"
8426 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8429 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8431 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8435 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8436 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8438 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8439 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8441 libwine.so: libwine.so.$libwine_soversion
8442 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8444 install install-lib:: libwine.so.$libwine_version
8445 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8446 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8448 install install-dev::
8449 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8452 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8456 as_fn_append LOADER_RULES
"
8457 $wine_binary: main.o
8458 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8460 wine-installed: main.o
8461 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8466 as_fn_append LIBWINE_RULES
"
8467 EXTRA_TARGETS = $libwine_targets
8470 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8471 enable_winemac_drv
=${enable_winemac_drv:-no}
8475 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8479 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
8482 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 " ;;
8484 ac_prefix_list
="" ;;
8486 for ac_prog
in $ac_prefix_list
8488 # Extract the first word of "$ac_prog", so it can be a program name with args.
8489 set dummy
$ac_prog; ac_word
=$2
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8491 $as_echo_n "checking for $ac_word... " >&6; }
8492 if ${ac_cv_prog_CROSSCC+:} false
; then :
8493 $as_echo_n "(cached) " >&6
8495 if test -n "$CROSSCC"; then
8496 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8502 test -z "$as_dir" && as_dir
=.
8503 for ac_exec_ext
in '' $ac_executable_extensions; do
8504 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8505 ac_cv_prog_CROSSCC
="$ac_prog"
8506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8515 CROSSCC
=$ac_cv_prog_CROSSCC
8516 if test -n "$CROSSCC"; then
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8518 $as_echo "$CROSSCC" >&6; }
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8521 $as_echo "no" >&6; }
8525 test -n "$CROSSCC" && break
8527 test -n "$CROSSCC" || CROSSCC
="false"
8529 if test "$CROSSCC" != "false"
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8534 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8546 if ac_fn_c_try_compile
"$LINENO"; then :
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8548 $as_echo "yes" >&6; }
8554 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8560 $as_echo "no" >&6; }
8562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8568 if test "$ac_cv_header_pthread_h" = "yes"
8570 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8571 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8575 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8576 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8577 $as_echo_n "(cached) " >&6
8579 ac_check_lib_save_LIBS
=$LIBS
8580 LIBS
="-lpthread $LIBS"
8581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8582 /* end confdefs.h. */
8584 /* Override any GCC internal prototype to avoid an error.
8585 Use char because int might match the return type of a GCC
8586 builtin and then its argument prototype would still apply. */
8590 char pthread_create ();
8594 return pthread_create ();
8599 if ac_fn_c_try_link
"$LINENO"; then :
8600 ac_cv_lib_pthread_pthread_create
=yes
8602 ac_cv_lib_pthread_pthread_create
=no
8604 rm -f core conftest.err conftest.
$ac_objext \
8605 conftest
$ac_exeext conftest.
$ac_ext
8606 LIBS
=$ac_check_lib_save_LIBS
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8609 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8610 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8611 PTHREAD_LIBS
="-lpthread"
8618 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8619 case "x$with_pthread" in
8621 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8622 Wine cannot support threads without libpthread.
8623 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8629 $as_echo_n "checking for X... " >&6; }
8632 # Check whether --with-x was given.
8633 if test "${with_x+set}" = set; then :
8637 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8638 if test "x$with_x" = xno
; then
8639 # The user explicitly disabled X.
8642 case $x_includes,$x_libraries in #(
8643 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8644 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8645 $as_echo_n "(cached) " >&6
8647 # One or both of the vars are not set, and there is no cached value.
8648 ac_x_includes
=no ac_x_libraries
=no
8649 rm -f -r conftest.dir
8650 if mkdir conftest.dir
; then
8652 cat >Imakefile
<<'_ACEOF'
8654 @echo incroot='${INCROOT}'
8656 @echo usrlibdir='${USRLIBDIR}'
8658 @echo libdir='${LIBDIR}'
8660 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8661 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8662 for ac_var
in incroot usrlibdir libdir
; do
8663 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8665 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8666 for ac_extension
in a so sl dylib la dll
; do
8667 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8668 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8669 ac_im_usrlibdir
=$ac_im_libdir; break
8672 # Screen out bogus values from the imake configuration. They are
8673 # bogus both because they are the default anyway, and because
8674 # using them would break gcc on systems where it needs fixed includes.
8675 case $ac_im_incroot in
8676 /usr
/include
) ac_x_includes
= ;;
8677 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8679 case $ac_im_usrlibdir in
8680 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8681 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8685 rm -f -r conftest.dir
8688 # Standard set of common directories for X headers.
8689 # Check X11 before X11Rn because it is often a symlink to the current release.
8703 /usr/local/X11/include
8704 /usr/local/X11R7/include
8705 /usr/local/X11R6/include
8706 /usr/local/X11R5/include
8707 /usr/local/X11R4/include
8709 /usr/local/include/X11
8710 /usr/local/include/X11R7
8711 /usr/local/include/X11R6
8712 /usr/local/include/X11R5
8713 /usr/local/include/X11R4
8717 /usr/XFree86/include/X11
8721 /usr/unsupported/include
8723 /usr/local/x11r5/include
8724 /usr/lpp/Xamples/include
8726 /usr/openwin/include
8727 /usr/openwin/share/include'
8729 if test "$ac_x_includes" = no
; then
8730 # Guess where to find include files, by looking for Xlib.h.
8731 # First, try using that file with no special directory specified.
8732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8733 /* end confdefs.h. */
8734 #include <X11/Xlib.h>
8736 if ac_fn_c_try_cpp
"$LINENO"; then :
8737 # We can compile using X headers with no special include directory.
8740 for ac_dir
in $ac_x_header_dirs; do
8741 if test -r "$ac_dir/X11/Xlib.h"; then
8742 ac_x_includes
=$ac_dir
8747 rm -f conftest.err conftest.i conftest.
$ac_ext
8748 fi # $ac_x_includes = no
8750 if test "$ac_x_libraries" = no
; then
8751 # Check for the libraries.
8752 # See if we find them without any special options.
8753 # Don't add to $LIBS permanently.
8756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8757 /* end confdefs.h. */
8758 #include <X11/Xlib.h>
8767 if ac_fn_c_try_link
"$LINENO"; then :
8769 # We can link X programs with no special library path.
8773 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8775 # Don't even attempt the hair of trying to link an X program!
8776 for ac_extension
in a so sl dylib la dll
; do
8777 if test -r "$ac_dir/libX11.$ac_extension"; then
8778 ac_x_libraries
=$ac_dir
8784 rm -f core conftest.err conftest.
$ac_objext \
8785 conftest
$ac_exeext conftest.
$ac_ext
8786 fi # $ac_x_libraries = no
8788 case $ac_x_includes,$ac_x_libraries in #(
8790 # Didn't find X, or a directory has "'" in its name.
8791 ac_cv_have_x
="have_x=no";; #(
8793 # Record where we found X for the cache.
8794 ac_cv_have_x
="have_x=yes\
8795 ac_x_includes='$ac_x_includes'\
8796 ac_x_libraries='$ac_x_libraries'"
8802 eval "$ac_cv_have_x"
8805 if test "$have_x" != yes; then
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8807 $as_echo "$have_x" >&6; }
8810 # If each of the values was on the command line, it overrides each guess.
8811 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8812 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8813 # Update the cache value to reflect the command line values.
8814 ac_cv_have_x
="have_x=yes\
8815 ac_x_includes='$x_includes'\
8816 ac_x_libraries='$x_libraries'"
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8818 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8821 if test "$no_x" = yes; then
8822 # Not all programs may use this symbol, but it does not hurt to define it.
8824 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8826 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8828 if test -n "$x_includes"; then
8829 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8832 # It would also be nice to do this for all -L options, not just this one.
8833 if test -n "$x_libraries"; then
8834 X_LIBS
="$X_LIBS -L$x_libraries"
8835 # For Solaris; some versions of Sun CC require a space after -R and
8836 # others require no space. Words are not sufficient . . . .
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8838 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8839 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8840 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8841 ac_c_werror_flag
=yes
8842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8843 /* end confdefs.h. */
8853 if ac_fn_c_try_link
"$LINENO"; then :
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8855 $as_echo "no" >&6; }
8856 X_LIBS
="$X_LIBS -R$x_libraries"
8858 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8860 /* end confdefs.h. */
8870 if ac_fn_c_try_link
"$LINENO"; then :
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8872 $as_echo "yes" >&6; }
8873 X_LIBS
="$X_LIBS -R $x_libraries"
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8876 $as_echo "neither works" >&6; }
8878 rm -f core conftest.err conftest.
$ac_objext \
8879 conftest
$ac_exeext conftest.
$ac_ext
8881 rm -f core conftest.err conftest.
$ac_objext \
8882 conftest
$ac_exeext conftest.
$ac_ext
8883 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8887 # Check for system-dependent libraries X programs must link with.
8888 # Do this before checking for the system-independent R6 libraries
8889 # (-lICE), since we may need -lsocket or whatever for X linking.
8891 if test "$ISC" = yes; then
8892 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8894 # Martyn Johnson says this is needed for Ultrix, if the X
8895 # libraries were built with DECnet support. And Karl Berry says
8896 # the Alpha needs dnet_stub (dnet does not exist).
8897 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8899 /* end confdefs.h. */
8901 /* Override any GCC internal prototype to avoid an error.
8902 Use char because int might match the return type of a GCC
8903 builtin and then its argument prototype would still apply. */
8907 char XOpenDisplay ();
8911 return XOpenDisplay ();
8916 if ac_fn_c_try_link
"$LINENO"; then :
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8920 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8921 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8922 $as_echo_n "(cached) " >&6
8924 ac_check_lib_save_LIBS
=$LIBS
8926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8927 /* end confdefs.h. */
8929 /* Override any GCC internal prototype to avoid an error.
8930 Use char because int might match the return type of a GCC
8931 builtin and then its argument prototype would still apply. */
8939 return dnet_ntoa ();
8944 if ac_fn_c_try_link
"$LINENO"; then :
8945 ac_cv_lib_dnet_dnet_ntoa
=yes
8947 ac_cv_lib_dnet_dnet_ntoa
=no
8949 rm -f core conftest.err conftest.
$ac_objext \
8950 conftest
$ac_exeext conftest.
$ac_ext
8951 LIBS
=$ac_check_lib_save_LIBS
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8954 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8955 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8956 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8959 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8961 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8962 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8963 $as_echo_n "(cached) " >&6
8965 ac_check_lib_save_LIBS
=$LIBS
8966 LIBS
="-ldnet_stub $LIBS"
8967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8968 /* end confdefs.h. */
8970 /* Override any GCC internal prototype to avoid an error.
8971 Use char because int might match the return type of a GCC
8972 builtin and then its argument prototype would still apply. */
8980 return dnet_ntoa ();
8985 if ac_fn_c_try_link
"$LINENO"; then :
8986 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8988 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8990 rm -f core conftest.err conftest.
$ac_objext \
8991 conftest
$ac_exeext conftest.
$ac_ext
8992 LIBS
=$ac_check_lib_save_LIBS
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8995 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8996 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8997 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9002 rm -f core conftest.err conftest.
$ac_objext \
9003 conftest
$ac_exeext conftest.
$ac_ext
9004 LIBS
="$ac_xsave_LIBS"
9006 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9007 # to get the SysV transport functions.
9008 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9010 # The nsl library prevents programs from opening the X display
9011 # on Irix 5.2, according to T.E. Dickey.
9012 # The functions gethostbyname, getservbyname, and inet_addr are
9013 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9014 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9015 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9019 if test $ac_cv_func_gethostbyname = no
; then
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9021 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9022 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9023 $as_echo_n "(cached) " >&6
9025 ac_check_lib_save_LIBS
=$LIBS
9027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9028 /* end confdefs.h. */
9030 /* Override any GCC internal prototype to avoid an error.
9031 Use char because int might match the return type of a GCC
9032 builtin and then its argument prototype would still apply. */
9036 char gethostbyname ();
9040 return gethostbyname ();
9045 if ac_fn_c_try_link
"$LINENO"; then :
9046 ac_cv_lib_nsl_gethostbyname
=yes
9048 ac_cv_lib_nsl_gethostbyname
=no
9050 rm -f core conftest.err conftest.
$ac_objext \
9051 conftest
$ac_exeext conftest.
$ac_ext
9052 LIBS
=$ac_check_lib_save_LIBS
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9055 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9056 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9057 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9060 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9062 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9063 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9064 $as_echo_n "(cached) " >&6
9066 ac_check_lib_save_LIBS
=$LIBS
9068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9069 /* end confdefs.h. */
9071 /* Override any GCC internal prototype to avoid an error.
9072 Use char because int might match the return type of a GCC
9073 builtin and then its argument prototype would still apply. */
9077 char gethostbyname ();
9081 return gethostbyname ();
9086 if ac_fn_c_try_link
"$LINENO"; then :
9087 ac_cv_lib_bsd_gethostbyname
=yes
9089 ac_cv_lib_bsd_gethostbyname
=no
9091 rm -f core conftest.err conftest.
$ac_objext \
9092 conftest
$ac_exeext conftest.
$ac_ext
9093 LIBS
=$ac_check_lib_save_LIBS
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9096 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9097 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9098 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9104 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9105 # socket/setsockopt and other routines are undefined under SCO ODT
9106 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9107 # on later versions), says Simon Leinen: it contains gethostby*
9108 # variants that don't use the name server (or something). -lsocket
9109 # must be given before -lnsl if both are needed. We assume that
9110 # if connect needs -lnsl, so does gethostbyname.
9111 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9112 if test "x$ac_cv_func_connect" = xyes
; then :
9116 if test $ac_cv_func_connect = no
; then
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9118 $as_echo_n "checking for connect in -lsocket... " >&6; }
9119 if ${ac_cv_lib_socket_connect+:} false
; then :
9120 $as_echo_n "(cached) " >&6
9122 ac_check_lib_save_LIBS
=$LIBS
9123 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9125 /* end confdefs.h. */
9127 /* Override any GCC internal prototype to avoid an error.
9128 Use char because int might match the return type of a GCC
9129 builtin and then its argument prototype would still apply. */
9142 if ac_fn_c_try_link
"$LINENO"; then :
9143 ac_cv_lib_socket_connect
=yes
9145 ac_cv_lib_socket_connect
=no
9147 rm -f core conftest.err conftest.
$ac_objext \
9148 conftest
$ac_exeext conftest.
$ac_ext
9149 LIBS
=$ac_check_lib_save_LIBS
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9152 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9153 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9154 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9159 # Guillermo Gomez says -lposix is necessary on A/UX.
9160 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9161 if test "x$ac_cv_func_remove" = xyes
; then :
9165 if test $ac_cv_func_remove = no
; then
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9167 $as_echo_n "checking for remove in -lposix... " >&6; }
9168 if ${ac_cv_lib_posix_remove+:} false
; then :
9169 $as_echo_n "(cached) " >&6
9171 ac_check_lib_save_LIBS
=$LIBS
9172 LIBS
="-lposix $LIBS"
9173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9174 /* end confdefs.h. */
9176 /* Override any GCC internal prototype to avoid an error.
9177 Use char because int might match the return type of a GCC
9178 builtin and then its argument prototype would still apply. */
9191 if ac_fn_c_try_link
"$LINENO"; then :
9192 ac_cv_lib_posix_remove
=yes
9194 ac_cv_lib_posix_remove
=no
9196 rm -f core conftest.err conftest.
$ac_objext \
9197 conftest
$ac_exeext conftest.
$ac_ext
9198 LIBS
=$ac_check_lib_save_LIBS
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9201 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9202 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9203 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9208 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9209 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9210 if test "x$ac_cv_func_shmat" = xyes
; then :
9214 if test $ac_cv_func_shmat = no
; then
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9216 $as_echo_n "checking for shmat in -lipc... " >&6; }
9217 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9218 $as_echo_n "(cached) " >&6
9220 ac_check_lib_save_LIBS
=$LIBS
9222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9223 /* end confdefs.h. */
9225 /* Override any GCC internal prototype to avoid an error.
9226 Use char because int might match the return type of a GCC
9227 builtin and then its argument prototype would still apply. */
9240 if ac_fn_c_try_link
"$LINENO"; then :
9241 ac_cv_lib_ipc_shmat
=yes
9243 ac_cv_lib_ipc_shmat
=no
9245 rm -f core conftest.err conftest.
$ac_objext \
9246 conftest
$ac_exeext conftest.
$ac_ext
9247 LIBS
=$ac_check_lib_save_LIBS
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9250 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9251 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9252 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9258 # Check for libraries that X11R6 Xt/Xaw programs need.
9259 ac_save_LDFLAGS
=$LDFLAGS
9260 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9261 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9262 # check for ICE first), but we must link in the order -lSM -lICE or
9263 # we get undefined symbols. So assume we have SM if we have ICE.
9264 # These have to be linked with before -lX11, unlike the other
9265 # libraries we check for below, so use a different variable.
9266 # John Interrante, Karl Berry
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9268 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9269 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9270 $as_echo_n "(cached) " >&6
9272 ac_check_lib_save_LIBS
=$LIBS
9273 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9275 /* end confdefs.h. */
9277 /* Override any GCC internal prototype to avoid an error.
9278 Use char because int might match the return type of a GCC
9279 builtin and then its argument prototype would still apply. */
9283 char IceConnectionNumber ();
9287 return IceConnectionNumber ();
9292 if ac_fn_c_try_link
"$LINENO"; then :
9293 ac_cv_lib_ICE_IceConnectionNumber
=yes
9295 ac_cv_lib_ICE_IceConnectionNumber
=no
9297 rm -f core conftest.err conftest.
$ac_objext \
9298 conftest
$ac_exeext conftest.
$ac_ext
9299 LIBS
=$ac_check_lib_save_LIBS
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9302 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9303 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9304 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9307 LDFLAGS
=$ac_save_LDFLAGS
9312 if test "$have_x" = "yes"
9314 ac_save_CPPFLAGS
="$CPPFLAGS"
9315 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9318 $as_echo_n "checking for -lX11... " >&6; }
9319 if ${ac_cv_lib_soname_X11+:} false
; then :
9320 $as_echo_n "(cached) " >&6
9322 ac_check_soname_save_LIBS
=$LIBS
9323 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9325 /* end confdefs.h. */
9327 /* Override any GCC internal prototype to avoid an error.
9328 Use char because int might match the return type of a GCC
9329 builtin and then its argument prototype would still apply. */
9333 char XCreateWindow ();
9337 return XCreateWindow ();
9342 if ac_fn_c_try_link
"$LINENO"; then :
9344 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9345 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'` ;;
9346 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9347 if ${ac_cv_lib_soname_X11:+false} :; then :
9348 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9352 rm -f core conftest.err conftest.
$ac_objext \
9353 conftest
$ac_exeext conftest.
$ac_ext
9354 LIBS
=$ac_check_soname_save_LIBS
9356 if ${ac_cv_lib_soname_X11:+false} :; then :
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9358 $as_echo "not found" >&6; }
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9362 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9364 cat >>confdefs.h
<<_ACEOF
9365 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9371 $as_echo_n "checking for -lXext... " >&6; }
9372 if ${ac_cv_lib_soname_Xext+:} false
; then :
9373 $as_echo_n "(cached) " >&6
9375 ac_check_soname_save_LIBS
=$LIBS
9376 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9378 /* end confdefs.h. */
9380 /* Override any GCC internal prototype to avoid an error.
9381 Use char because int might match the return type of a GCC
9382 builtin and then its argument prototype would still apply. */
9386 char XextCreateExtension ();
9390 return XextCreateExtension ();
9395 if ac_fn_c_try_link
"$LINENO"; then :
9397 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9398 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'` ;;
9399 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9400 if ${ac_cv_lib_soname_Xext:+false} :; then :
9401 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9405 rm -f core conftest.err conftest.
$ac_objext \
9406 conftest
$ac_exeext conftest.
$ac_ext
9407 LIBS
=$ac_check_soname_save_LIBS
9409 if ${ac_cv_lib_soname_Xext:+false} :; then :
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9411 $as_echo "not found" >&6; }
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9415 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9417 cat >>confdefs.h
<<_ACEOF
9418 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9421 X_LIBS
="$X_LIBS -lXext"
9423 X_LIBS
="$X_LIBS -lX11"
9425 for ac_header
in X11
/Xlib.h \
9428 X11
/Xcursor
/Xcursor.h \
9429 X11
/extensions
/shape.h \
9430 X11
/extensions
/XInput.h \
9431 X11
/extensions
/XInput2.h \
9432 X11
/extensions
/XShm.h \
9433 X11
/extensions
/Xcomposite.h \
9434 X11
/extensions
/Xinerama.h \
9435 X11
/extensions
/Xrandr.h \
9436 X11
/extensions
/Xrender.h \
9437 X11
/extensions
/xf86vmode.h \
9438 X11
/extensions
/xf86vmproto.h
9440 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9441 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9442 # include <X11/Xlib.h>
9444 #ifdef HAVE_X11_XUTIL_H
9445 # include <X11/Xutil.h>
9448 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9449 cat >>confdefs.h
<<_ACEOF
9450 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9458 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9461 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9462 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9463 $as_echo_n "(cached) " >&6
9465 ac_check_lib_save_LIBS
=$LIBS
9466 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9470 /* Override any GCC internal prototype to avoid an error.
9471 Use char because int might match the return type of a GCC
9472 builtin and then its argument prototype would still apply. */
9476 char XkbQueryExtension ();
9480 return XkbQueryExtension ();
9485 if ac_fn_c_try_link
"$LINENO"; then :
9486 ac_cv_lib_X11_XkbQueryExtension
=yes
9488 ac_cv_lib_X11_XkbQueryExtension
=no
9490 rm -f core conftest.err conftest.
$ac_objext \
9491 conftest
$ac_exeext conftest.
$ac_ext
9492 LIBS
=$ac_check_lib_save_LIBS
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9495 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9496 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9498 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9504 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9507 $as_echo_n "checking for -lXcursor... " >&6; }
9508 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9509 $as_echo_n "(cached) " >&6
9511 ac_check_soname_save_LIBS
=$LIBS
9512 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h. */
9516 /* Override any GCC internal prototype to avoid an error.
9517 Use char because int might match the return type of a GCC
9518 builtin and then its argument prototype would still apply. */
9522 char XcursorImageLoadCursor ();
9526 return XcursorImageLoadCursor ();
9531 if ac_fn_c_try_link
"$LINENO"; then :
9533 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9534 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'` ;;
9535 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9536 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9537 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9541 rm -f core conftest.err conftest.
$ac_objext \
9542 conftest
$ac_exeext conftest.
$ac_ext
9543 LIBS
=$ac_check_soname_save_LIBS
9545 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9547 $as_echo "not found" >&6; }
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9551 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9553 cat >>confdefs.h
<<_ACEOF
9554 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9560 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9561 case "x$with_xcursor" in
9562 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9564 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9565 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9569 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9572 $as_echo_n "checking for -lXi... " >&6; }
9573 if ${ac_cv_lib_soname_Xi+:} false
; then :
9574 $as_echo_n "(cached) " >&6
9576 ac_check_soname_save_LIBS
=$LIBS
9577 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9579 /* end confdefs.h. */
9581 /* Override any GCC internal prototype to avoid an error.
9582 Use char because int might match the return type of a GCC
9583 builtin and then its argument prototype would still apply. */
9587 char XOpenDevice ();
9591 return XOpenDevice ();
9596 if ac_fn_c_try_link
"$LINENO"; then :
9598 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9599 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'` ;;
9600 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9601 if ${ac_cv_lib_soname_Xi:+false} :; then :
9602 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9606 rm -f core conftest.err conftest.
$ac_objext \
9607 conftest
$ac_exeext conftest.
$ac_ext
9608 LIBS
=$ac_check_soname_save_LIBS
9610 if ${ac_cv_lib_soname_Xi:+false} :; then :
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9612 $as_echo "not found" >&6; }
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9616 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9618 cat >>confdefs.h
<<_ACEOF
9619 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9625 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9626 case "x$with_xinput" in
9627 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9629 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9630 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9634 if test "x$ac_cv_lib_soname_Xi" != x
9636 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9637 case "x$with_xinput2" in
9638 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9640 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9641 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9646 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9649 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9650 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9651 $as_echo_n "(cached) " >&6
9653 ac_check_lib_save_LIBS
=$LIBS
9654 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9656 /* end confdefs.h. */
9658 /* Override any GCC internal prototype to avoid an error.
9659 Use char because int might match the return type of a GCC
9660 builtin and then its argument prototype would still apply. */
9664 char XShmQueryExtension ();
9668 return XShmQueryExtension ();
9673 if ac_fn_c_try_link
"$LINENO"; then :
9674 ac_cv_lib_Xext_XShmQueryExtension
=yes
9676 ac_cv_lib_Xext_XShmQueryExtension
=no
9678 rm -f core conftest.err conftest.
$ac_objext \
9679 conftest
$ac_exeext conftest.
$ac_ext
9680 LIBS
=$ac_check_lib_save_LIBS
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9683 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9684 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9686 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9691 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9692 case "x$with_xshm" in
9693 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9695 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9696 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9700 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9703 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9704 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9705 $as_echo_n "(cached) " >&6
9707 ac_check_lib_save_LIBS
=$LIBS
9708 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9710 /* end confdefs.h. */
9712 /* Override any GCC internal prototype to avoid an error.
9713 Use char because int might match the return type of a GCC
9714 builtin and then its argument prototype would still apply. */
9718 char XShapeQueryExtension ();
9722 return XShapeQueryExtension ();
9727 if ac_fn_c_try_link
"$LINENO"; then :
9728 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9730 ac_cv_lib_Xext_XShapeQueryExtension
=no
9732 rm -f core conftest.err conftest.
$ac_objext \
9733 conftest
$ac_exeext conftest.
$ac_ext
9734 LIBS
=$ac_check_lib_save_LIBS
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9737 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9738 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9740 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9745 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9746 case "x$with_xshape" in
9747 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9749 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9750 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9754 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9757 $as_echo_n "checking for -lXxf86vm... " >&6; }
9758 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9759 $as_echo_n "(cached) " >&6
9761 ac_check_soname_save_LIBS
=$LIBS
9762 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9764 /* end confdefs.h. */
9766 /* Override any GCC internal prototype to avoid an error.
9767 Use char because int might match the return type of a GCC
9768 builtin and then its argument prototype would still apply. */
9772 char XF86VidModeQueryExtension ();
9776 return XF86VidModeQueryExtension ();
9781 if ac_fn_c_try_link
"$LINENO"; then :
9783 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9784 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'` ;;
9785 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9786 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9787 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9791 rm -f core conftest.err conftest.
$ac_objext \
9792 conftest
$ac_exeext conftest.
$ac_ext
9793 LIBS
=$ac_check_soname_save_LIBS
9795 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9797 $as_echo "not found" >&6; }
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9801 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9803 cat >>confdefs.h
<<_ACEOF
9804 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9810 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9811 case "x$with_xxf86vm" in
9812 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9814 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9815 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9819 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"
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9822 $as_echo_n "checking for -lXrender... " >&6; }
9823 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9824 $as_echo_n "(cached) " >&6
9826 ac_check_soname_save_LIBS
=$LIBS
9827 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9831 /* Override any GCC internal prototype to avoid an error.
9832 Use char because int might match the return type of a GCC
9833 builtin and then its argument prototype would still apply. */
9837 char XRenderQueryExtension ();
9841 return XRenderQueryExtension ();
9846 if ac_fn_c_try_link
"$LINENO"; then :
9848 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9849 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'` ;;
9850 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9851 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9852 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9856 rm -f core conftest.err conftest.
$ac_objext \
9857 conftest
$ac_exeext conftest.
$ac_ext
9858 LIBS
=$ac_check_soname_save_LIBS
9860 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9862 $as_echo "not found" >&6; }
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9866 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9868 cat >>confdefs.h
<<_ACEOF
9869 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9873 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9874 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9875 $as_echo_n "(cached) " >&6
9877 ac_check_lib_save_LIBS
=$LIBS
9878 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9882 /* Override any GCC internal prototype to avoid an error.
9883 Use char because int might match the return type of a GCC
9884 builtin and then its argument prototype would still apply. */
9888 char XRenderSetPictureTransform ();
9892 return XRenderSetPictureTransform ();
9897 if ac_fn_c_try_link
"$LINENO"; then :
9898 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9900 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9902 rm -f core conftest.err conftest.
$ac_objext \
9903 conftest
$ac_exeext conftest.
$ac_ext
9904 LIBS
=$ac_check_lib_save_LIBS
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9907 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9908 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9910 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9915 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9916 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9917 $as_echo_n "(cached) " >&6
9919 ac_check_lib_save_LIBS
=$LIBS
9920 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9922 /* end confdefs.h. */
9924 /* Override any GCC internal prototype to avoid an error.
9925 Use char because int might match the return type of a GCC
9926 builtin and then its argument prototype would still apply. */
9930 char XRenderCreateLinearGradient ();
9934 return XRenderCreateLinearGradient ();
9939 if ac_fn_c_try_link
"$LINENO"; then :
9940 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9942 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9944 rm -f core conftest.err conftest.
$ac_objext \
9945 conftest
$ac_exeext conftest.
$ac_ext
9946 LIBS
=$ac_check_lib_save_LIBS
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9949 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9950 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9952 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9959 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9960 case "x$with_xrender" in
9961 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9963 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9964 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9968 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9972 #include <X11/Xlib.h>
9973 #include <X11/extensions/Xrandr.h>
9977 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9982 if ac_fn_c_try_compile
"$LINENO"; then :
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9984 $as_echo_n "checking for -lXrandr... " >&6; }
9985 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9986 $as_echo_n "(cached) " >&6
9988 ac_check_soname_save_LIBS
=$LIBS
9989 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
9993 /* Override any GCC internal prototype to avoid an error.
9994 Use char because int might match the return type of a GCC
9995 builtin and then its argument prototype would still apply. */
9999 char XRRQueryExtension ();
10003 return XRRQueryExtension ();
10008 if ac_fn_c_try_link
"$LINENO"; then :
10010 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10011 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'` ;;
10012 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10013 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10014 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10018 rm -f core conftest.err conftest.
$ac_objext \
10019 conftest
$ac_exeext conftest.
$ac_ext
10020 LIBS
=$ac_check_soname_save_LIBS
10022 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10024 $as_echo "not found" >&6; }
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10028 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10030 cat >>confdefs.h
<<_ACEOF
10031 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10035 /* end confdefs.h. */
10036 #include <X11/Xlib.h>
10037 #include <X11/extensions/Xrandr.h>
10041 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10046 if ac_fn_c_try_compile
"$LINENO"; then :
10048 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10056 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10057 case "x$with_xrandr" in
10058 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10060 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10061 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10065 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10068 /* end confdefs.h. */
10069 #include <X11/Xlib.h>
10070 #include <X11/extensions/Xinerama.h>
10074 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10079 if ac_fn_c_try_compile
"$LINENO"; then :
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10081 $as_echo_n "checking for -lXinerama... " >&6; }
10082 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10083 $as_echo_n "(cached) " >&6
10085 ac_check_soname_save_LIBS
=$LIBS
10086 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10088 /* end confdefs.h. */
10090 /* Override any GCC internal prototype to avoid an error.
10091 Use char because int might match the return type of a GCC
10092 builtin and then its argument prototype would still apply. */
10096 char XineramaQueryScreens ();
10100 return XineramaQueryScreens ();
10105 if ac_fn_c_try_link
"$LINENO"; then :
10107 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10108 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'` ;;
10109 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10110 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10111 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10115 rm -f core conftest.err conftest.
$ac_objext \
10116 conftest
$ac_exeext conftest.
$ac_ext
10117 LIBS
=$ac_check_soname_save_LIBS
10119 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10121 $as_echo "not found" >&6; }
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10125 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10127 cat >>confdefs.h
<<_ACEOF
10128 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10136 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10137 case "x$with_xinerama" in
10138 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10140 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10141 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10145 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10148 $as_echo_n "checking for -lXcomposite... " >&6; }
10149 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10150 $as_echo_n "(cached) " >&6
10152 ac_check_soname_save_LIBS
=$LIBS
10153 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10157 /* Override any GCC internal prototype to avoid an error.
10158 Use char because int might match the return type of a GCC
10159 builtin and then its argument prototype would still apply. */
10163 char XCompositeRedirectWindow ();
10167 return XCompositeRedirectWindow ();
10172 if ac_fn_c_try_link
"$LINENO"; then :
10174 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10175 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'` ;;
10176 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10177 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10178 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10182 rm -f core conftest.err conftest.
$ac_objext \
10183 conftest
$ac_exeext conftest.
$ac_ext
10184 LIBS
=$ac_check_soname_save_LIBS
10186 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10188 $as_echo "not found" >&6; }
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10192 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10194 cat >>confdefs.h
<<_ACEOF
10195 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10201 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10202 case "x$with_xcomposite" in
10203 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10205 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10206 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10210 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10211 #include <X11/Xlib.h>
10214 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10216 cat >>confdefs.h
<<_ACEOF
10217 #define HAVE_XICCALLBACK_CALLBACK 1
10222 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10223 #include <X11/Xlib.h>
10226 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10228 cat >>confdefs.h
<<_ACEOF
10229 #define HAVE_XEVENT_XCOOKIE 1
10238 if test "x$with_opengl" != "xno"
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10241 $as_echo_n "checking for -lGL... " >&6; }
10242 if ${ac_cv_lib_soname_GL+:} false
; then :
10243 $as_echo_n "(cached) " >&6
10245 ac_check_soname_save_LIBS
=$LIBS
10246 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10250 /* Override any GCC internal prototype to avoid an error.
10251 Use char because int might match the return type of a GCC
10252 builtin and then its argument prototype would still apply. */
10256 char glXCreateContext ();
10260 return glXCreateContext ();
10265 if ac_fn_c_try_link
"$LINENO"; then :
10267 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10268 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'` ;;
10269 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10270 if ${ac_cv_lib_soname_GL:+false} :; then :
10271 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10275 rm -f core conftest.err conftest.
$ac_objext \
10276 conftest
$ac_exeext conftest.
$ac_ext
10277 LIBS
=$ac_check_soname_save_LIBS
10279 if ${ac_cv_lib_soname_GL:+false} :; then :
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10281 $as_echo "not found" >&6; }
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10283 $as_echo_n "checking for -lGL... " >&6; }
10284 if ${ac_cv_lib_soname_GL+:} false
; then :
10285 $as_echo_n "(cached) " >&6
10287 ac_check_soname_save_LIBS
=$LIBS
10288 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"
10289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10290 /* end confdefs.h. */
10292 /* Override any GCC internal prototype to avoid an error.
10293 Use char because int might match the return type of a GCC
10294 builtin and then its argument prototype would still apply. */
10298 char glXCreateContext ();
10302 return glXCreateContext ();
10307 if ac_fn_c_try_link
"$LINENO"; then :
10309 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10310 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'` ;;
10311 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10312 if ${ac_cv_lib_soname_GL:+false} :; then :
10313 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10317 rm -f core conftest.err conftest.
$ac_objext \
10318 conftest
$ac_exeext conftest.
$ac_ext
10319 LIBS
=$ac_check_soname_save_LIBS
10321 if ${ac_cv_lib_soname_GL:+false} :; then :
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10323 $as_echo "not found" >&6; }
10324 if test -f /usr
/X11R
6/lib
/libGL.a
10326 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10327 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10329 opengl_msg
="No OpenGL library found on this system."
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10333 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10335 cat >>confdefs.h
<<_ACEOF
10336 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10339 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"
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10343 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10345 cat >>confdefs.h
<<_ACEOF
10346 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10351 if test "x$with_glu" != "xno"
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10354 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10355 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10356 $as_echo_n "(cached) " >&6
10358 ac_check_lib_save_LIBS
=$LIBS
10359 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10361 /* end confdefs.h. */
10363 /* Override any GCC internal prototype to avoid an error.
10364 Use char because int might match the return type of a GCC
10365 builtin and then its argument prototype would still apply. */
10373 return gluLookAt ();
10378 if ac_fn_c_try_link
"$LINENO"; then :
10379 ac_cv_lib_GLU_gluLookAt
=yes
10381 ac_cv_lib_GLU_gluLookAt
=no
10383 rm -f core conftest.err conftest.
$ac_objext \
10384 conftest
$ac_exeext conftest.
$ac_ext
10385 LIBS
=$ac_check_lib_save_LIBS
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10388 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10389 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10393 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10394 case "x$with_glu" in
10395 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10397 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10398 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10403 if test "x$with_osmesa" != "xno"
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10406 $as_echo_n "checking for -lOSMesa... " >&6; }
10407 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10408 $as_echo_n "(cached) " >&6
10410 ac_check_soname_save_LIBS
=$LIBS
10411 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10413 /* end confdefs.h. */
10415 /* Override any GCC internal prototype to avoid an error.
10416 Use char because int might match the return type of a GCC
10417 builtin and then its argument prototype would still apply. */
10430 if ac_fn_c_try_link
"$LINENO"; then :
10432 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10433 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'` ;;
10434 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10435 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10436 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10440 rm -f core conftest.err conftest.
$ac_objext \
10441 conftest
$ac_exeext conftest.
$ac_ext
10442 LIBS
=$ac_check_soname_save_LIBS
10444 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10446 $as_echo "not found" >&6; }
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10450 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10452 cat >>confdefs.h
<<_ACEOF
10453 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10458 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10459 case "x$with_osmesa" in
10460 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10462 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10463 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10468 if test -n "$opengl_msg"; then :
10469 case "x$with_opengl" in
10470 x
) as_fn_append wine_warnings
"|$opengl_msg
10471 OpenGL and Direct3D won't be supported." ;;
10473 *) as_fn_error $?
"$opengl_msg
10474 OpenGL and Direct3D won't be supported.
10475 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10479 CPPFLAGS
="$ac_save_CPPFLAGS"
10483 enable_winex11_drv
=${enable_winex11_drv:-no}
10485 if test "x$X_LIBS" = "x"; then :
10488 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10489 without X support, which probably isn't what you want. You will need
10490 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10491 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10495 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10497 if test "$ac_cv_header_CL_cl_h" = "yes"
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10500 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10501 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10502 $as_echo_n "(cached) " >&6
10504 ac_check_lib_save_LIBS
=$LIBS
10505 LIBS
="-lOpenCL $LIBS"
10506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10507 /* end confdefs.h. */
10509 /* Override any GCC internal prototype to avoid an error.
10510 Use char because int might match the return type of a GCC
10511 builtin and then its argument prototype would still apply. */
10515 char clGetPlatformInfo ();
10519 return clGetPlatformInfo ();
10524 if ac_fn_c_try_link
"$LINENO"; then :
10525 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10527 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10529 rm -f core conftest.err conftest.
$ac_objext \
10530 conftest
$ac_exeext conftest.
$ac_ext
10531 LIBS
=$ac_check_lib_save_LIBS
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10534 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10535 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10536 OPENCL_LIBS
="-lOpenCL"
10541 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10542 case "x$with_opencl" in
10543 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10545 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10546 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10549 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10551 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10554 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10555 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10556 $as_echo_n "(cached) " >&6
10558 ac_check_lib_save_LIBS
=$LIBS
10559 LIBS
="-lpcap $LIBS"
10560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10561 /* end confdefs.h. */
10563 /* Override any GCC internal prototype to avoid an error.
10564 Use char because int might match the return type of a GCC
10565 builtin and then its argument prototype would still apply. */
10569 char pcap_create ();
10573 return pcap_create ();
10578 if ac_fn_c_try_link
"$LINENO"; then :
10579 ac_cv_lib_pcap_pcap_create
=yes
10581 ac_cv_lib_pcap_pcap_create
=no
10583 rm -f core conftest.err conftest.
$ac_objext \
10584 conftest
$ac_exeext conftest.
$ac_ext
10585 LIBS
=$ac_check_lib_save_LIBS
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10588 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10589 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10595 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10596 case "x$with_pcap" in
10597 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10599 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10600 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10603 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10606 if test "x$with_xml" != "xno"
10608 if ${XML2_CFLAGS:+false} :; then :
10609 if ${PKG_CONFIG+:} false
; then :
10610 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10613 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10614 if ${XML2_LIBS:+false} :; then :
10615 if ${PKG_CONFIG+:} false
; then :
10616 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10619 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10620 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10621 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10622 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10623 ac_save_CPPFLAGS
=$CPPFLAGS
10624 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10625 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10627 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10628 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10629 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10630 cat >>confdefs.h
<<_ACEOF
10631 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10638 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"
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10641 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10642 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10643 $as_echo_n "(cached) " >&6
10645 ac_check_lib_save_LIBS
=$LIBS
10646 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10648 /* end confdefs.h. */
10650 /* Override any GCC internal prototype to avoid an error.
10651 Use char because int might match the return type of a GCC
10652 builtin and then its argument prototype would still apply. */
10656 char xmlParseMemory ();
10660 return xmlParseMemory ();
10665 if ac_fn_c_try_link
"$LINENO"; then :
10666 ac_cv_lib_xml2_xmlParseMemory
=yes
10668 ac_cv_lib_xml2_xmlParseMemory
=no
10670 rm -f core conftest.err conftest.
$ac_objext \
10671 conftest
$ac_exeext conftest.
$ac_ext
10672 LIBS
=$ac_check_lib_save_LIBS
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10675 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10676 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10678 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10685 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10686 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10687 $as_echo_n "(cached) " >&6
10689 ac_check_lib_save_LIBS
=$LIBS
10690 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10692 /* end confdefs.h. */
10694 /* Override any GCC internal prototype to avoid an error.
10695 Use char because int might match the return type of a GCC
10696 builtin and then its argument prototype would still apply. */
10700 char xmlReadMemory ();
10704 return xmlReadMemory ();
10709 if ac_fn_c_try_link
"$LINENO"; then :
10710 ac_cv_lib_xml2_xmlReadMemory
=yes
10712 ac_cv_lib_xml2_xmlReadMemory
=no
10714 rm -f core conftest.err conftest.
$ac_objext \
10715 conftest
$ac_exeext conftest.
$ac_ext
10716 LIBS
=$ac_check_lib_save_LIBS
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10719 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10720 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10722 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10727 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10728 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10729 $as_echo_n "(cached) " >&6
10731 ac_check_lib_save_LIBS
=$LIBS
10732 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10734 /* end confdefs.h. */
10736 /* Override any GCC internal prototype to avoid an error.
10737 Use char because int might match the return type of a GCC
10738 builtin and then its argument prototype would still apply. */
10742 char xmlNewDocPI ();
10746 return xmlNewDocPI ();
10751 if ac_fn_c_try_link
"$LINENO"; then :
10752 ac_cv_lib_xml2_xmlNewDocPI
=yes
10754 ac_cv_lib_xml2_xmlNewDocPI
=no
10756 rm -f core conftest.err conftest.
$ac_objext \
10757 conftest
$ac_exeext conftest.
$ac_ext
10758 LIBS
=$ac_check_lib_save_LIBS
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10761 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10762 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10764 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10769 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10770 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10771 $as_echo_n "(cached) " >&6
10773 ac_check_lib_save_LIBS
=$LIBS
10774 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10776 /* end confdefs.h. */
10778 /* Override any GCC internal prototype to avoid an error.
10779 Use char because int might match the return type of a GCC
10780 builtin and then its argument prototype would still apply. */
10784 char xmlSchemaSetParserStructuredErrors ();
10788 return xmlSchemaSetParserStructuredErrors ();
10793 if ac_fn_c_try_link
"$LINENO"; then :
10794 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10796 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10798 rm -f core conftest.err conftest.
$ac_objext \
10799 conftest
$ac_exeext conftest.
$ac_ext
10800 LIBS
=$ac_check_lib_save_LIBS
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10803 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10804 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10806 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10811 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10812 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10813 $as_echo_n "(cached) " >&6
10815 ac_check_lib_save_LIBS
=$LIBS
10816 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10818 /* end confdefs.h. */
10820 /* Override any GCC internal prototype to avoid an error.
10821 Use char because int might match the return type of a GCC
10822 builtin and then its argument prototype would still apply. */
10826 char xmlSchemaSetValidStructuredErrors ();
10830 return xmlSchemaSetValidStructuredErrors ();
10835 if ac_fn_c_try_link
"$LINENO"; then :
10836 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10838 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10840 rm -f core conftest.err conftest.
$ac_objext \
10841 conftest
$ac_exeext conftest.
$ac_ext
10842 LIBS
=$ac_check_lib_save_LIBS
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10845 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10846 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10848 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10853 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10854 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10855 $as_echo_n "(cached) " >&6
10857 ac_check_lib_save_LIBS
=$LIBS
10858 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10860 /* end confdefs.h. */
10862 /* Override any GCC internal prototype to avoid an error.
10863 Use char because int might match the return type of a GCC
10864 builtin and then its argument prototype would still apply. */
10868 char xmlFirstElementChild ();
10872 return xmlFirstElementChild ();
10877 if ac_fn_c_try_link
"$LINENO"; then :
10878 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10880 ac_cv_lib_xml2_xmlFirstElementChild
=no
10882 rm -f core conftest.err conftest.
$ac_objext \
10883 conftest
$ac_exeext conftest.
$ac_ext
10884 LIBS
=$ac_check_lib_save_LIBS
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10887 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10888 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10890 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10894 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10896 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10898 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10906 CPPFLAGS
=$ac_save_CPPFLAGS
10907 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10908 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10911 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10912 case "x$with_xml" in
10913 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10915 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10916 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10920 if test "x$with_xslt" != "xno"
10922 if ${XSLT_CFLAGS:+false} :; then :
10923 if ${PKG_CONFIG+:} false
; then :
10924 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10927 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10928 if ${XSLT_LIBS:+false} :; then :
10929 if ${PKG_CONFIG+:} false
; then :
10930 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10933 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10934 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10935 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10936 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10937 ac_save_CPPFLAGS
=$CPPFLAGS
10938 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10939 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10941 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10942 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10943 # include <libxslt/pattern.h>
10946 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10947 cat >>confdefs.h
<<_ACEOF
10948 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10955 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10958 $as_echo_n "checking for -lxslt... " >&6; }
10959 if ${ac_cv_lib_soname_xslt+:} false
; then :
10960 $as_echo_n "(cached) " >&6
10962 ac_check_soname_save_LIBS
=$LIBS
10963 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10965 /* end confdefs.h. */
10967 /* Override any GCC internal prototype to avoid an error.
10968 Use char because int might match the return type of a GCC
10969 builtin and then its argument prototype would still apply. */
10973 char xsltCompilePattern ();
10977 return xsltCompilePattern ();
10982 if ac_fn_c_try_link
"$LINENO"; then :
10984 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10985 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'` ;;
10986 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10987 if ${ac_cv_lib_soname_xslt:+false} :; then :
10988 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10992 rm -f core conftest.err conftest.
$ac_objext \
10993 conftest
$ac_exeext conftest.
$ac_ext
10994 LIBS
=$ac_check_soname_save_LIBS
10996 if ${ac_cv_lib_soname_xslt:+false} :; then :
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10998 $as_echo "not found" >&6; }
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11002 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11004 cat >>confdefs.h
<<_ACEOF
11005 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11013 CPPFLAGS
=$ac_save_CPPFLAGS
11014 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11015 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11018 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11019 case "x$with_xslt" in
11020 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11022 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11023 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11027 if test "x$with_dbus" != "xno"
11029 if ${DBUS_CFLAGS:+false} :; then :
11030 if ${PKG_CONFIG+:} false
; then :
11031 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11035 if ${DBUS_LIBS:+false} :; then :
11036 if ${PKG_CONFIG+:} false
; then :
11037 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11042 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11043 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11044 ac_save_CPPFLAGS
=$CPPFLAGS
11045 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11046 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11047 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11049 $as_echo_n "checking for -ldbus-1... " >&6; }
11050 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11051 $as_echo_n "(cached) " >&6
11053 ac_check_soname_save_LIBS
=$LIBS
11054 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11058 /* Override any GCC internal prototype to avoid an error.
11059 Use char because int might match the return type of a GCC
11060 builtin and then its argument prototype would still apply. */
11064 char dbus_connection_close ();
11068 return dbus_connection_close ();
11073 if ac_fn_c_try_link
"$LINENO"; then :
11075 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11076 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'` ;;
11077 *) 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'`
11078 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11079 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11083 rm -f core conftest.err conftest.
$ac_objext \
11084 conftest
$ac_exeext conftest.
$ac_ext
11085 LIBS
=$ac_check_soname_save_LIBS
11087 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11089 $as_echo "not found" >&6; }
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11093 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11095 cat >>confdefs.h
<<_ACEOF
11096 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11106 CPPFLAGS
=$ac_save_CPPFLAGS
11107 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11108 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11111 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11112 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11113 case "x$with_dbus" in
11114 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11116 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11117 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11121 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11123 if ${HAL_CFLAGS:+false} :; then :
11124 if ${PKG_CONFIG+:} false
; then :
11125 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11129 if ${HAL_LIBS:+false} :; then :
11130 if ${PKG_CONFIG+:} false
; then :
11131 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11135 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11136 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11137 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11138 ac_save_CPPFLAGS
=$CPPFLAGS
11139 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11140 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11141 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11143 $as_echo_n "checking for -lhal... " >&6; }
11144 if ${ac_cv_lib_soname_hal+:} false
; then :
11145 $as_echo_n "(cached) " >&6
11147 ac_check_soname_save_LIBS
=$LIBS
11148 LIBS
="-lhal $HAL_LIBS $LIBS"
11149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11152 /* Override any GCC internal prototype to avoid an error.
11153 Use char because int might match the return type of a GCC
11154 builtin and then its argument prototype would still apply. */
11158 char libhal_ctx_new ();
11162 return libhal_ctx_new ();
11167 if ac_fn_c_try_link
"$LINENO"; then :
11169 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11170 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'` ;;
11171 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11172 if ${ac_cv_lib_soname_hal:+false} :; then :
11173 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11177 rm -f core conftest.err conftest.
$ac_objext \
11178 conftest
$ac_exeext conftest.
$ac_ext
11179 LIBS
=$ac_check_soname_save_LIBS
11181 if ${ac_cv_lib_soname_hal:+false} :; then :
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11183 $as_echo "not found" >&6; }
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11187 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11189 cat >>confdefs.h
<<_ACEOF
11190 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11200 CPPFLAGS
=$ac_save_CPPFLAGS
11201 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11202 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11204 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11205 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11206 case "x$with_hal" in
11207 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11209 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11210 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11215 if test "x$with_gnutls" != "xno"
11217 if ${GNUTLS_CFLAGS:+false} :; then :
11218 if ${PKG_CONFIG+:} false
; then :
11219 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11223 if ${GNUTLS_LIBS:+false} :; then :
11224 if ${PKG_CONFIG+:} false
; then :
11225 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11230 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11231 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11232 ac_save_CPPFLAGS
=$CPPFLAGS
11233 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11234 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11235 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11238 #include <gnutls/gnutls.h>
11239 #include <gnutls/crypto.h>
11243 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11248 if ac_fn_c_try_compile
"$LINENO"; then :
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11250 $as_echo_n "checking for -lgnutls... " >&6; }
11251 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11252 $as_echo_n "(cached) " >&6
11254 ac_check_soname_save_LIBS
=$LIBS
11255 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11257 /* end confdefs.h. */
11259 /* Override any GCC internal prototype to avoid an error.
11260 Use char because int might match the return type of a GCC
11261 builtin and then its argument prototype would still apply. */
11265 char gnutls_global_init ();
11269 return gnutls_global_init ();
11274 if ac_fn_c_try_link
"$LINENO"; then :
11276 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11277 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'` ;;
11278 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11279 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11280 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11284 rm -f core conftest.err conftest.
$ac_objext \
11285 conftest
$ac_exeext conftest.
$ac_ext
11286 LIBS
=$ac_check_soname_save_LIBS
11288 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11290 $as_echo "not found" >&6; }
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11294 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11296 cat >>confdefs.h
<<_ACEOF
11297 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11309 CPPFLAGS
=$ac_save_CPPFLAGS
11310 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11311 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11314 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11315 case "x$with_gnutls" in
11316 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11318 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11319 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11324 if test "$ac_cv_header_ncurses_h" = "yes"
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11327 $as_echo_n "checking for -lncurses... " >&6; }
11328 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11329 $as_echo_n "(cached) " >&6
11331 ac_check_soname_save_LIBS
=$LIBS
11332 LIBS
="-lncurses $LIBS"
11333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11336 /* Override any GCC internal prototype to avoid an error.
11337 Use char because int might match the return type of a GCC
11338 builtin and then its argument prototype would still apply. */
11351 if ac_fn_c_try_link
"$LINENO"; then :
11353 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11354 dylib
) ac_cv_lib_soname_ncurses
=`otool -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11355 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11356 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11357 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11361 rm -f core conftest.err conftest.
$ac_objext \
11362 conftest
$ac_exeext conftest.
$ac_ext
11363 LIBS
=$ac_check_soname_save_LIBS
11365 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11367 $as_echo "not found" >&6; }
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11371 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11373 cat >>confdefs.h
<<_ACEOF
11374 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11377 CURSES_LIBS
="-lncurses"
11379 elif test "$ac_cv_header_curses_h" = "yes"
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11382 $as_echo_n "checking for -lcurses... " >&6; }
11383 if ${ac_cv_lib_soname_curses+:} false
; then :
11384 $as_echo_n "(cached) " >&6
11386 ac_check_soname_save_LIBS
=$LIBS
11387 LIBS
="-lcurses $LIBS"
11388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11406 if ac_fn_c_try_link
"$LINENO"; then :
11408 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11409 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'` ;;
11410 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11411 if ${ac_cv_lib_soname_curses:+false} :; then :
11412 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11416 rm -f core conftest.err conftest.
$ac_objext \
11417 conftest
$ac_exeext conftest.
$ac_ext
11418 LIBS
=$ac_check_soname_save_LIBS
11420 if ${ac_cv_lib_soname_curses:+false} :; then :
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11422 $as_echo "not found" >&6; }
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11426 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11428 cat >>confdefs.h
<<_ACEOF
11429 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11432 CURSES_LIBS
="-lcurses"
11435 ac_save_LIBS
="$LIBS"
11436 LIBS
="$LIBS $CURSES_LIBS"
11437 for ac_func
in mousemask
11439 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11440 if test "x$ac_cv_func_mousemask" = xyes
; then :
11441 cat >>confdefs.h
<<_ACEOF
11442 #define HAVE_MOUSEMASK 1
11448 LIBS
="$ac_save_LIBS"
11449 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11450 case "x$with_curses" in
11451 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11453 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11454 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11458 if test "x$with_sane" != "xno"
11460 if ${SANE_CFLAGS:+false} :; then :
11461 if ${PKG_CONFIG+:} false
; then :
11462 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11465 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11466 if ${SANE_LIBS:+false} :; then :
11467 if ${PKG_CONFIG+:} false
; then :
11468 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11471 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11473 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11474 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11475 ac_save_CPPFLAGS
=$CPPFLAGS
11476 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11477 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11478 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11480 $as_echo_n "checking for -lsane... " >&6; }
11481 if ${ac_cv_lib_soname_sane+:} false
; then :
11482 $as_echo_n "(cached) " >&6
11484 ac_check_soname_save_LIBS
=$LIBS
11485 LIBS
="-lsane $SANE_LIBS $LIBS"
11486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11489 /* Override any GCC internal prototype to avoid an error.
11490 Use char because int might match the return type of a GCC
11491 builtin and then its argument prototype would still apply. */
11499 return sane_init ();
11504 if ac_fn_c_try_link
"$LINENO"; then :
11506 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11507 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'` ;;
11508 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11509 if ${ac_cv_lib_soname_sane:+false} :; then :
11510 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11514 rm -f core conftest.err conftest.
$ac_objext \
11515 conftest
$ac_exeext conftest.
$ac_ext
11516 LIBS
=$ac_check_soname_save_LIBS
11518 if ${ac_cv_lib_soname_sane:+false} :; then :
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11520 $as_echo "not found" >&6; }
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11524 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11526 cat >>confdefs.h
<<_ACEOF
11527 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11537 CPPFLAGS
=$ac_save_CPPFLAGS
11538 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11539 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11542 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11543 case "x$with_sane" in
11544 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11546 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11547 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11551 if test "x$with_v4l" != "xno"
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11554 $as_echo_n "checking for -lv4l1... " >&6; }
11555 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11556 $as_echo_n "(cached) " >&6
11558 ac_check_soname_save_LIBS
=$LIBS
11559 LIBS
="-lv4l1 $LIBS"
11560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11561 /* end confdefs.h. */
11563 /* Override any GCC internal prototype to avoid an error.
11564 Use char because int might match the return type of a GCC
11565 builtin and then its argument prototype would still apply. */
11573 return v4l1_open ();
11578 if ac_fn_c_try_link
"$LINENO"; then :
11580 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11581 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'` ;;
11582 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11583 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11584 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11588 rm -f core conftest.err conftest.
$ac_objext \
11589 conftest
$ac_exeext conftest.
$ac_ext
11590 LIBS
=$ac_check_soname_save_LIBS
11592 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11594 $as_echo "not found" >&6; }
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11598 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11600 cat >>confdefs.h
<<_ACEOF
11601 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11607 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11608 case "x$with_v4l" in
11609 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11611 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11612 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11616 if test "x$with_gphoto" != "xno"
11618 if ${GPHOTO2_CFLAGS:+false} :; then :
11619 if ${PKG_CONFIG+:} false
; then :
11620 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11623 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11624 if ${GPHOTO2_LIBS:+false} :; then :
11625 if ${PKG_CONFIG+:} false
; then :
11626 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11629 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11630 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11631 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11632 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11633 ac_save_CPPFLAGS
=$CPPFLAGS
11634 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11635 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11636 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11638 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11639 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11640 $as_echo_n "(cached) " >&6
11642 ac_check_lib_save_LIBS
=$LIBS
11643 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11653 char gp_camera_new ();
11657 return gp_camera_new ();
11662 if ac_fn_c_try_link
"$LINENO"; then :
11663 ac_cv_lib_gphoto2_gp_camera_new
=yes
11665 ac_cv_lib_gphoto2_gp_camera_new
=no
11667 rm -f core conftest.err conftest.
$ac_objext \
11668 conftest
$ac_exeext conftest.
$ac_ext
11669 LIBS
=$ac_check_lib_save_LIBS
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11672 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11673 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11675 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11678 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11682 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11686 CPPFLAGS
=$ac_save_CPPFLAGS
11687 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11688 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11690 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11691 if ${PKG_CONFIG+:} false
; then :
11692 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11695 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11696 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11697 if ${PKG_CONFIG+:} false
; then :
11698 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11701 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11702 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11703 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11704 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11705 ac_save_CPPFLAGS
=$CPPFLAGS
11706 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11707 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11708 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11710 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11711 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11712 $as_echo_n "(cached) " >&6
11714 ac_check_lib_save_LIBS
=$LIBS
11715 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11717 /* end confdefs.h. */
11719 /* Override any GCC internal prototype to avoid an error.
11720 Use char because int might match the return type of a GCC
11721 builtin and then its argument prototype would still apply. */
11725 char gp_port_info_list_new ();
11729 return gp_port_info_list_new ();
11734 if ac_fn_c_try_link
"$LINENO"; then :
11735 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11737 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11739 rm -f core conftest.err conftest.
$ac_objext \
11740 conftest
$ac_exeext conftest.
$ac_ext
11741 LIBS
=$ac_check_lib_save_LIBS
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11744 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11745 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11747 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11750 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11754 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11758 CPPFLAGS
=$ac_save_CPPFLAGS
11759 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11760 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11763 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11764 case "x$with_gphoto" in
11765 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11767 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11768 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11771 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11772 case "x$with_gphoto" in
11773 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11775 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11776 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11781 if test "$ac_cv_header_resolv_h" = "yes"
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11784 $as_echo_n "checking for resolver library... " >&6; }
11785 if ${ac_cv_have_resolv+:} false
; then :
11786 $as_echo_n "(cached) " >&6
11788 ac_save_LIBS
="$LIBS"
11789 for lib
in '' -lresolv
11791 LIBS
="$lib $ac_save_LIBS"
11792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11793 /* end confdefs.h. */
11794 #ifdef HAVE_NETINET_IN_H
11795 #include <netinet/in.h>
11797 #include <resolv.h>
11801 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11806 if ac_fn_c_try_link
"$LINENO"; then :
11807 ac_cv_have_resolv
=${lib:-"none required"}
11809 ac_cv_have_resolv
="not found"
11811 rm -f core conftest.err conftest.
$ac_objext \
11812 conftest
$ac_exeext conftest.
$ac_ext
11813 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11815 LIBS
="$ac_save_LIBS"
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11818 $as_echo "$ac_cv_have_resolv" >&6; }
11820 case "$ac_cv_have_resolv" in
11824 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11827 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11829 RESOLV_LIBS
=$ac_cv_have_resolv
11834 if test "x$with_lcms2" != "xno"
11836 if ${LCMS2_CFLAGS:+false} :; then :
11837 if ${PKG_CONFIG+:} false
; then :
11838 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11842 if ${LCMS2_LIBS:+false} :; then :
11843 if ${PKG_CONFIG+:} false
; then :
11844 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11848 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11849 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11850 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11851 ac_save_CPPFLAGS
=$CPPFLAGS
11852 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11853 for ac_header
in lcms2.h
11855 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11856 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11857 cat >>confdefs.h
<<_ACEOF
11858 #define HAVE_LCMS2_H 1
11865 if test "$ac_cv_header_lcms2_h" = "yes"
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11868 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11869 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11870 $as_echo_n "(cached) " >&6
11872 ac_check_lib_save_LIBS
=$LIBS
11873 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 /* Override any GCC internal prototype to avoid an error.
11878 Use char because int might match the return type of a GCC
11879 builtin and then its argument prototype would still apply. */
11883 char cmsOpenProfileFromFile ();
11887 return cmsOpenProfileFromFile ();
11892 if ac_fn_c_try_link
"$LINENO"; then :
11893 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11895 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11897 rm -f core conftest.err conftest.
$ac_objext \
11898 conftest
$ac_exeext conftest.
$ac_ext
11899 LIBS
=$ac_check_lib_save_LIBS
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11902 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11903 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11905 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11915 CPPFLAGS
=$ac_save_CPPFLAGS
11916 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11917 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11920 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11921 case "x$with_cms" in
11922 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11924 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11925 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11929 if test "x$with_freetype" != "xno"
11931 if ${FREETYPE_CFLAGS:+false} :; then :
11932 if ${PKG_CONFIG+:} false
; then :
11933 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11936 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11937 if ${FREETYPE_LIBS:+false} :; then :
11938 if ${PKG_CONFIG+:} false
; then :
11939 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11942 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11943 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11944 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11945 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11946 ac_save_CPPFLAGS
=$CPPFLAGS
11947 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11948 for ac_header
in ft2build.h
11950 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11951 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11952 cat >>confdefs.h
<<_ACEOF
11953 #define HAVE_FT2BUILD_H 1
11960 if test "$ac_cv_header_ft2build_h" = "yes"
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11963 $as_echo_n "checking for -lfreetype... " >&6; }
11964 if ${ac_cv_lib_soname_freetype+:} false
; then :
11965 $as_echo_n "(cached) " >&6
11967 ac_check_soname_save_LIBS
=$LIBS
11968 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11972 /* Override any GCC internal prototype to avoid an error.
11973 Use char because int might match the return type of a GCC
11974 builtin and then its argument prototype would still apply. */
11978 char FT_Init_FreeType ();
11982 return FT_Init_FreeType ();
11987 if ac_fn_c_try_link
"$LINENO"; then :
11989 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11990 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'` ;;
11991 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11992 if ${ac_cv_lib_soname_freetype:+false} :; then :
11993 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11997 rm -f core conftest.err conftest.
$ac_objext \
11998 conftest
$ac_exeext conftest.
$ac_ext
11999 LIBS
=$ac_check_soname_save_LIBS
12001 if ${ac_cv_lib_soname_freetype:+false} :; then :
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12003 $as_echo "not found" >&6; }
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12007 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12009 cat >>confdefs.h
<<_ACEOF
12010 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12014 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12016 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12017 #include FT_MODULE_H
12019 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12021 cat >>confdefs.h
<<_ACEOF
12022 #define HAVE_FT_TRUETYPEENGINETYPE 1
12033 CPPFLAGS
=$ac_save_CPPFLAGS
12034 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12035 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12038 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12039 case "x$with_freetype" in
12041 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12042 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12045 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12048 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12049 if ${ac_cv_c_ppdev+:} false
; then :
12050 $as_echo_n "(cached) " >&6
12052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12054 #ifdef HAVE_SYS_IOCTL_H
12055 # include <sys/ioctl.h>
12057 #include <linux/ppdev.h>
12061 ioctl (1,PPCLAIM,0)
12066 if ac_fn_c_try_compile
"$LINENO"; then :
12067 ac_cv_c_ppdev
="yes"
12071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12074 $as_echo "$ac_cv_c_ppdev" >&6; }
12075 if test "$ac_cv_c_ppdev" = "yes"
12078 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12082 ac_wine_check_funcs_save_LIBS
="$LIBS"
12083 LIBS
="$LIBS $PTHREAD_LIBS"
12085 pthread_attr_get_np \
12086 pthread_getattr_np \
12087 pthread_getthreadid_np \
12088 pthread_get_stackaddr_np \
12089 pthread_get_stacksize_np
12091 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12092 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12093 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12094 cat >>confdefs.h
<<_ACEOF
12095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12101 LIBS
="$ac_wine_check_funcs_save_LIBS"
12103 if test "$ac_cv_header_zlib_h" = "yes"
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12106 $as_echo_n "checking for inflate in -lz... " >&6; }
12107 if ${ac_cv_lib_z_inflate+:} false
; then :
12108 $as_echo_n "(cached) " >&6
12110 ac_check_lib_save_LIBS
=$LIBS
12112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12113 /* end confdefs.h. */
12115 /* Override any GCC internal prototype to avoid an error.
12116 Use char because int might match the return type of a GCC
12117 builtin and then its argument prototype would still apply. */
12130 if ac_fn_c_try_link
"$LINENO"; then :
12131 ac_cv_lib_z_inflate
=yes
12133 ac_cv_lib_z_inflate
=no
12135 rm -f core conftest.err conftest.
$ac_objext \
12136 conftest
$ac_exeext conftest.
$ac_ext
12137 LIBS
=$ac_check_lib_save_LIBS
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12140 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12141 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12143 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12150 if test "x$Z_LIBS" = "x"; then :
12151 case "x$with_zlib" in
12152 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12154 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12155 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12159 if test "x$enable_tools" != xno
12161 if test "$ac_cv_header_gettext_po_h" = "yes"
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12164 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12165 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12166 $as_echo_n "(cached) " >&6
12168 ac_check_lib_save_LIBS
=$LIBS
12169 LIBS
="-lgettextpo $LIBS"
12170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h. */
12173 /* Override any GCC internal prototype to avoid an error.
12174 Use char because int might match the return type of a GCC
12175 builtin and then its argument prototype would still apply. */
12179 char po_message_msgctxt ();
12183 return po_message_msgctxt ();
12188 if ac_fn_c_try_link
"$LINENO"; then :
12189 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12191 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12193 rm -f core conftest.err conftest.
$ac_objext \
12194 conftest
$ac_exeext conftest.
$ac_ext
12195 LIBS
=$ac_check_lib_save_LIBS
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12198 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12199 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12201 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12203 GETTEXTPO_LIBS
="-lgettextpo"
12208 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12209 case "x$with_gettextpo" in
12210 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12212 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12213 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12218 if test "x$with_gstreamer" != "xno"
12220 if ${GSTREAMER_CFLAGS:+false} :; then :
12221 if ${PKG_CONFIG+:} false
; then :
12222 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12226 if ${GSTREAMER_LIBS:+false} :; then :
12227 if ${PKG_CONFIG+:} false
; then :
12228 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12233 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12234 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12235 ac_save_CPPFLAGS
=$CPPFLAGS
12236 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12238 for i
in $GSTREAMER_CFLAGS
12241 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12244 GSTREAMER_CFLAGS
=$ac_gst_incl
12245 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12246 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12247 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12248 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12249 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12251 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12253 /* end confdefs.h. */
12254 #include <gst/app/gstappsink.h>
12258 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12263 if ac_fn_c_try_compile
"$LINENO"; then :
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12265 $as_echo "yes" >&6; }
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12267 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12268 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12269 $as_echo_n "(cached) " >&6
12271 ac_check_lib_save_LIBS
=$LIBS
12272 LIBS
="-lgstreamer-0.10 $LIBS"
12273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h. */
12276 /* Override any GCC internal prototype to avoid an error.
12277 Use char because int might match the return type of a GCC
12278 builtin and then its argument prototype would still apply. */
12282 char gst_pad_get_caps_reffed ();
12286 return gst_pad_get_caps_reffed ();
12291 if ac_fn_c_try_link
"$LINENO"; then :
12292 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12294 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12296 rm -f core conftest.err conftest.
$ac_objext \
12297 conftest
$ac_exeext conftest.
$ac_ext
12298 LIBS
=$ac_check_lib_save_LIBS
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12301 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12302 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12304 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12305 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12306 $as_echo_n "(cached) " >&6
12308 ac_check_lib_save_LIBS
=$LIBS
12309 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12313 /* Override any GCC internal prototype to avoid an error.
12314 Use char because int might match the return type of a GCC
12315 builtin and then its argument prototype would still apply. */
12319 char gst_app_buffer_new ();
12323 return gst_app_buffer_new ();
12328 if ac_fn_c_try_link
"$LINENO"; then :
12329 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12331 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12333 rm -f core conftest.err conftest.
$ac_objext \
12334 conftest
$ac_exeext conftest.
$ac_ext
12335 LIBS
=$ac_check_lib_save_LIBS
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12338 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12339 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12347 $as_echo "no" >&6; }
12349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12354 GSTREAMER_CFLAGS
=""
12358 CPPFLAGS
=$ac_save_CPPFLAGS
12359 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12360 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12363 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12364 case "x$with_gstreamer" in
12365 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12367 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12368 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12371 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12375 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12378 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12379 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12380 $as_echo_n "(cached) " >&6
12382 ac_check_lib_save_LIBS
=$LIBS
12383 LIBS
="-lasound $LIBS"
12384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12387 /* Override any GCC internal prototype to avoid an error.
12388 Use char because int might match the return type of a GCC
12389 builtin and then its argument prototype would still apply. */
12393 char snd_pcm_hw_params_get_access_mask ();
12397 return snd_pcm_hw_params_get_access_mask ();
12402 if ac_fn_c_try_link
"$LINENO"; then :
12403 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12405 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12407 rm -f core conftest.err conftest.
$ac_objext \
12408 conftest
$ac_exeext conftest.
$ac_ext
12409 LIBS
=$ac_check_lib_save_LIBS
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12412 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12413 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12415 /* end confdefs.h. */
12416 #ifdef HAVE_ALSA_ASOUNDLIB_H
12417 #include <alsa/asoundlib.h>
12418 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12419 #include <sys/asoundlib.h>
12424 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12429 if ac_fn_c_try_compile
"$LINENO"; then :
12430 ALSA_LIBS
="-lasound"
12432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12437 if test "x$with_oss" != xno
12439 ac_save_CPPFLAGS
="$CPPFLAGS"
12440 if test -f /etc
/oss.conf
12444 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12445 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12446 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12447 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12448 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12450 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12452 cat >>confdefs.h
<<_ACEOF
12453 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12456 OSS4_CFLAGS
="$ac_oss_incl"
12463 CPPFLAGS
="$ac_save_CPPFLAGS"
12464 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12466 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12470 if test "x$with_capi" != "xno"
12472 if ${CAPI20_CFLAGS:+false} :; then :
12473 if ${PKG_CONFIG+:} false
; then :
12474 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12478 if ${CAPI20_LIBS:+false} :; then :
12479 if ${PKG_CONFIG+:} false
; then :
12480 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12485 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12486 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12487 ac_save_CPPFLAGS
=$CPPFLAGS
12488 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12489 for ac_header
in capi20.h linux
/capi.h
12491 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12492 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12494 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12495 cat >>confdefs.h
<<_ACEOF
12496 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12503 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12506 $as_echo_n "checking for -lcapi20... " >&6; }
12507 if ${ac_cv_lib_soname_capi20+:} false
; then :
12508 $as_echo_n "(cached) " >&6
12510 ac_check_soname_save_LIBS
=$LIBS
12511 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12515 /* Override any GCC internal prototype to avoid an error.
12516 Use char because int might match the return type of a GCC
12517 builtin and then its argument prototype would still apply. */
12521 char capi20_register ();
12525 return capi20_register ();
12530 if ac_fn_c_try_link
"$LINENO"; then :
12532 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12533 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'` ;;
12534 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12535 if ${ac_cv_lib_soname_capi20:+false} :; then :
12536 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12540 rm -f core conftest.err conftest.
$ac_objext \
12541 conftest
$ac_exeext conftest.
$ac_ext
12542 LIBS
=$ac_check_soname_save_LIBS
12544 if ${ac_cv_lib_soname_capi20:+false} :; then :
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12546 $as_echo "not found" >&6; }
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12550 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12552 cat >>confdefs.h
<<_ACEOF
12553 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12559 CPPFLAGS
=$ac_save_CPPFLAGS
12560 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12561 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12564 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12565 case "x$with_capi" in
12566 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12568 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12569 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12575 if test "x$with_cups" != "xno"
12577 ac_save_CPPFLAGS
="$CPPFLAGS"
12578 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12579 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12580 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12581 for ac_header
in cups
/cups.h
12583 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12584 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12585 cat >>confdefs.h
<<_ACEOF
12586 #define HAVE_CUPS_CUPS_H 1
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12589 $as_echo_n "checking for -lcups... " >&6; }
12590 if ${ac_cv_lib_soname_cups+:} false
; then :
12591 $as_echo_n "(cached) " >&6
12593 ac_check_soname_save_LIBS
=$LIBS
12594 LIBS
="-lcups $ac_cups_libs $LIBS"
12595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12598 /* Override any GCC internal prototype to avoid an error.
12599 Use char because int might match the return type of a GCC
12600 builtin and then its argument prototype would still apply. */
12604 char cupsGetDefault ();
12608 return cupsGetDefault ();
12613 if ac_fn_c_try_link
"$LINENO"; then :
12615 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12616 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'` ;;
12617 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12618 if ${ac_cv_lib_soname_cups:+false} :; then :
12619 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12623 rm -f core conftest.err conftest.
$ac_objext \
12624 conftest
$ac_exeext conftest.
$ac_ext
12625 LIBS
=$ac_check_soname_save_LIBS
12627 if ${ac_cv_lib_soname_cups:+false} :; then :
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12629 $as_echo "not found" >&6; }
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12633 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12635 cat >>confdefs.h
<<_ACEOF
12636 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12639 CUPS_CFLAGS
="$ac_cups_cflags"
12645 CPPFLAGS
="$ac_save_CPPFLAGS"
12647 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12648 case "x$with_cups" in
12649 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12651 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12652 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12656 if test "x$with_fontconfig" != "xno"
12658 if ${FONTCONFIG_CFLAGS:+false} :; then :
12659 if ${PKG_CONFIG+:} false
; then :
12660 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12663 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12664 if ${FONTCONFIG_LIBS:+false} :; then :
12665 if ${PKG_CONFIG+:} false
; then :
12666 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12669 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12671 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12672 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12673 ac_save_CPPFLAGS
=$CPPFLAGS
12674 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12675 for ac_header
in fontconfig
/fontconfig.h
12677 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12678 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12679 cat >>confdefs.h
<<_ACEOF
12680 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12687 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12690 $as_echo_n "checking for -lfontconfig... " >&6; }
12691 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12692 $as_echo_n "(cached) " >&6
12694 ac_check_soname_save_LIBS
=$LIBS
12695 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12697 /* end confdefs.h. */
12699 /* Override any GCC internal prototype to avoid an error.
12700 Use char because int might match the return type of a GCC
12701 builtin and then its argument prototype would still apply. */
12714 if ac_fn_c_try_link
"$LINENO"; then :
12716 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12717 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'` ;;
12718 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12719 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12720 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12724 rm -f core conftest.err conftest.
$ac_objext \
12725 conftest
$ac_exeext conftest.
$ac_ext
12726 LIBS
=$ac_check_soname_save_LIBS
12728 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12730 $as_echo "not found" >&6; }
12731 FONTCONFIG_CFLAGS
=""
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12734 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12736 cat >>confdefs.h
<<_ACEOF
12737 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12743 FONTCONFIG_CFLAGS
=""
12745 CPPFLAGS
=$ac_save_CPPFLAGS
12746 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12747 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12750 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12751 case "x$with_fontconfig" in
12752 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12754 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12755 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12759 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12762 $as_echo_n "checking for -lgsm... " >&6; }
12763 if ${ac_cv_lib_soname_gsm+:} false
; then :
12764 $as_echo_n "(cached) " >&6
12766 ac_check_soname_save_LIBS
=$LIBS
12768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12769 /* end confdefs.h. */
12771 /* Override any GCC internal prototype to avoid an error.
12772 Use char because int might match the return type of a GCC
12773 builtin and then its argument prototype would still apply. */
12777 char gsm_create ();
12781 return gsm_create ();
12786 if ac_fn_c_try_link
"$LINENO"; then :
12788 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12789 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'` ;;
12790 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12791 if ${ac_cv_lib_soname_gsm:+false} :; then :
12792 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12796 rm -f core conftest.err conftest.
$ac_objext \
12797 conftest
$ac_exeext conftest.
$ac_ext
12798 LIBS
=$ac_check_soname_save_LIBS
12800 if ${ac_cv_lib_soname_gsm:+false} :; then :
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12802 $as_echo "not found" >&6; }
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12806 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12808 cat >>confdefs.h
<<_ACEOF
12809 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12815 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12816 case "x$with_gsm" in
12817 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12819 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12820 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12824 if test "x$with_jpeg" != "xno"
12826 if ${JPEG_CFLAGS:+false} :; then :
12827 if ${PKG_CONFIG+:} false
; then :
12828 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12832 if ${JPEG_LIBS:+false} :; then :
12833 if ${PKG_CONFIG+:} false
; then :
12834 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12839 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12840 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12841 ac_save_CPPFLAGS
=$CPPFLAGS
12842 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12843 for ac_header
in jpeglib.h
12845 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12846 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12847 cat >>confdefs.h
<<_ACEOF
12848 #define HAVE_JPEGLIB_H 1
12855 if test "$ac_cv_header_jpeglib_h" = "yes"
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12858 $as_echo_n "checking for -ljpeg... " >&6; }
12859 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12860 $as_echo_n "(cached) " >&6
12862 ac_check_soname_save_LIBS
=$LIBS
12863 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12867 /* Override any GCC internal prototype to avoid an error.
12868 Use char because int might match the return type of a GCC
12869 builtin and then its argument prototype would still apply. */
12873 char jpeg_start_decompress ();
12877 return jpeg_start_decompress ();
12882 if ac_fn_c_try_link
"$LINENO"; then :
12884 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12885 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'` ;;
12886 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12887 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12888 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12892 rm -f core conftest.err conftest.
$ac_objext \
12893 conftest
$ac_exeext conftest.
$ac_ext
12894 LIBS
=$ac_check_soname_save_LIBS
12896 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12898 $as_echo "not found" >&6; }
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12902 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12904 cat >>confdefs.h
<<_ACEOF
12905 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12913 CPPFLAGS
=$ac_save_CPPFLAGS
12914 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12915 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12918 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12919 case "x$with_jpeg" in
12920 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12922 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12923 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12927 if test "x$with_png" != "xno"
12929 if ${PNG_CFLAGS:+false} :; then :
12930 if ${PKG_CONFIG+:} false
; then :
12931 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12934 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12935 if ${PNG_LIBS:+false} :; then :
12936 if ${PKG_CONFIG+:} false
; then :
12937 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12940 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12942 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12943 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12944 ac_save_CPPFLAGS
=$CPPFLAGS
12945 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12946 for ac_header
in png.h
12948 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12949 if test "x$ac_cv_header_png_h" = xyes
; then :
12950 cat >>confdefs.h
<<_ACEOF
12951 #define HAVE_PNG_H 1
12958 if test "$ac_cv_header_png_h" = "yes"
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12961 $as_echo_n "checking for -lpng... " >&6; }
12962 if ${ac_cv_lib_soname_png+:} false
; then :
12963 $as_echo_n "(cached) " >&6
12965 ac_check_soname_save_LIBS
=$LIBS
12966 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12968 /* end confdefs.h. */
12970 /* Override any GCC internal prototype to avoid an error.
12971 Use char because int might match the return type of a GCC
12972 builtin and then its argument prototype would still apply. */
12976 char png_create_read_struct ();
12980 return png_create_read_struct ();
12985 if ac_fn_c_try_link
"$LINENO"; then :
12987 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12988 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'` ;;
12989 *) 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'`
12990 if ${ac_cv_lib_soname_png:+false} :; then :
12991 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12995 rm -f core conftest.err conftest.
$ac_objext \
12996 conftest
$ac_exeext conftest.
$ac_ext
12997 LIBS
=$ac_check_soname_save_LIBS
12999 if ${ac_cv_lib_soname_png:+false} :; then :
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13001 $as_echo "not found" >&6; }
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13005 $as_echo "$ac_cv_lib_soname_png" >&6; }
13007 cat >>confdefs.h
<<_ACEOF
13008 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13017 typeof(png_set_expand_gray_1_2_4_to_8) *p
13022 if ac_fn_c_try_compile
"$LINENO"; then :
13024 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13032 CPPFLAGS
=$ac_save_CPPFLAGS
13033 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13034 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13037 if test "x$ac_cv_lib_soname_png" = "x"; then :
13038 case "x$with_png" in
13039 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13041 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13042 This is an error since --with-png was requested." "$LINENO" 5 ;;
13046 if test "x$with_tiff" != "xno"
13048 if ${TIFF_CFLAGS:+false} :; then :
13049 if ${PKG_CONFIG+:} false
; then :
13050 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13054 if ${TIFF_LIBS:+false} :; then :
13055 if ${PKG_CONFIG+:} false
; then :
13056 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13061 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13062 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13063 ac_save_CPPFLAGS
=$CPPFLAGS
13064 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13065 for ac_header
in tiffio.h
13067 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13068 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13069 cat >>confdefs.h
<<_ACEOF
13070 #define HAVE_TIFFIO_H 1
13077 if test "$ac_cv_header_tiffio_h" = "yes"
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13080 $as_echo_n "checking for -ltiff... " >&6; }
13081 if ${ac_cv_lib_soname_tiff+:} false
; then :
13082 $as_echo_n "(cached) " >&6
13084 ac_check_soname_save_LIBS
=$LIBS
13085 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13089 /* Override any GCC internal prototype to avoid an error.
13090 Use char because int might match the return type of a GCC
13091 builtin and then its argument prototype would still apply. */
13095 char TIFFClientOpen ();
13099 return TIFFClientOpen ();
13104 if ac_fn_c_try_link
"$LINENO"; then :
13106 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13107 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'` ;;
13108 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13109 if ${ac_cv_lib_soname_tiff:+false} :; then :
13110 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13114 rm -f core conftest.err conftest.
$ac_objext \
13115 conftest
$ac_exeext conftest.
$ac_ext
13116 LIBS
=$ac_check_soname_save_LIBS
13118 if ${ac_cv_lib_soname_tiff:+false} :; then :
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13120 $as_echo "not found" >&6; }
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13124 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13126 cat >>confdefs.h
<<_ACEOF
13127 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13133 CPPFLAGS
=$ac_save_CPPFLAGS
13134 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13135 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13138 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13139 case "x$with_tiff" in
13140 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13142 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13143 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13147 if test "x$with_mpg123" != "xno"
13149 if ${MPG123_CFLAGS:+false} :; then :
13150 if ${PKG_CONFIG+:} false
; then :
13151 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13155 if ${MPG123_LIBS:+false} :; then :
13156 if ${PKG_CONFIG+:} false
; then :
13157 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13161 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13162 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13163 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13164 ac_save_CPPFLAGS
=$CPPFLAGS
13165 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13166 for ac_header
in mpg123.h
13168 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13169 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13170 cat >>confdefs.h
<<_ACEOF
13171 #define HAVE_MPG123_H 1
13178 if test "$ac_cv_header_mpg123_h" = "yes"
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13181 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13182 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13183 $as_echo_n "(cached) " >&6
13185 ac_check_lib_save_LIBS
=$LIBS
13186 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13188 /* end confdefs.h. */
13190 /* Override any GCC internal prototype to avoid an error.
13191 Use char because int might match the return type of a GCC
13192 builtin and then its argument prototype would still apply. */
13196 char mpg123_feed ();
13200 return mpg123_feed ();
13205 if ac_fn_c_try_link
"$LINENO"; then :
13206 ac_cv_lib_mpg123_mpg123_feed
=yes
13208 ac_cv_lib_mpg123_mpg123_feed
=no
13210 rm -f core conftest.err conftest.
$ac_objext \
13211 conftest
$ac_exeext conftest.
$ac_ext
13212 LIBS
=$ac_check_lib_save_LIBS
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13215 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13216 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13226 CPPFLAGS
=$ac_save_CPPFLAGS
13227 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13228 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13231 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13232 case "x$with_mpg123" in
13233 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13235 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13236 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13239 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}
13241 if test "$ac_cv_header_AL_al_h" = "yes"
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13244 $as_echo_n "checking for -lopenal... " >&6; }
13245 if ${ac_cv_lib_soname_openal+:} false
; then :
13246 $as_echo_n "(cached) " >&6
13248 ac_check_soname_save_LIBS
=$LIBS
13249 LIBS
="-lopenal $LIBS"
13250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13251 /* end confdefs.h. */
13253 /* Override any GCC internal prototype to avoid an error.
13254 Use char because int might match the return type of a GCC
13255 builtin and then its argument prototype would still apply. */
13259 char alGetSource3i ();
13263 return alGetSource3i ();
13268 if ac_fn_c_try_link
"$LINENO"; then :
13270 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13271 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'` ;;
13272 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13273 if ${ac_cv_lib_soname_openal:+false} :; then :
13274 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13278 rm -f core conftest.err conftest.
$ac_objext \
13279 conftest
$ac_exeext conftest.
$ac_ext
13280 LIBS
=$ac_check_soname_save_LIBS
13282 if ${ac_cv_lib_soname_openal:+false} :; then :
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13284 $as_echo "not found" >&6; }
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13288 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13290 cat >>confdefs.h
<<_ACEOF
13291 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13294 OPENAL_LIBS
="-lopenal"
13296 ac_cv_lib_openal
=yes
13298 cat >>confdefs.h
<<_ACEOF
13299 #define HAVE_OPENAL 1
13304 if test "x$ac_cv_lib_openal" != xyes
; then :
13305 case "x$with_openal" in
13306 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13308 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13309 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13312 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13314 if test "$ac_cv_header_kstat_h" = "yes"
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13317 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13318 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13319 $as_echo_n "(cached) " >&6
13321 ac_check_lib_save_LIBS
=$LIBS
13322 LIBS
="-lkstat $LIBS"
13323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13324 /* end confdefs.h. */
13326 /* Override any GCC internal prototype to avoid an error.
13327 Use char because int might match the return type of a GCC
13328 builtin and then its argument prototype would still apply. */
13332 char kstat_open ();
13336 return kstat_open ();
13341 if ac_fn_c_try_link
"$LINENO"; then :
13342 ac_cv_lib_kstat_kstat_open
=yes
13344 ac_cv_lib_kstat_kstat_open
=no
13346 rm -f core conftest.err conftest.
$ac_objext \
13347 conftest
$ac_exeext conftest.
$ac_ext
13348 LIBS
=$ac_check_lib_save_LIBS
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13351 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13352 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13354 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13356 KSTAT_LIBS
="-lkstat"
13362 if test "$ac_cv_header_libprocstat_h" = "yes"
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13365 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13366 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13367 $as_echo_n "(cached) " >&6
13369 ac_check_lib_save_LIBS
=$LIBS
13370 LIBS
="-lprocstat $LIBS"
13371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13372 /* end confdefs.h. */
13374 /* Override any GCC internal prototype to avoid an error.
13375 Use char because int might match the return type of a GCC
13376 builtin and then its argument prototype would still apply. */
13380 char procstat_open_sysctl ();
13384 return procstat_open_sysctl ();
13389 if ac_fn_c_try_link
"$LINENO"; then :
13390 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13392 ac_cv_lib_procstat_procstat_open_sysctl
=no
13394 rm -f core conftest.err conftest.
$ac_objext \
13395 conftest
$ac_exeext conftest.
$ac_ext
13396 LIBS
=$ac_check_lib_save_LIBS
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13399 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13400 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13402 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13404 PROCSTAT_LIBS
="-lprocstat"
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13411 $as_echo_n "checking for -lodbc... " >&6; }
13412 if ${ac_cv_lib_soname_odbc+:} false
; then :
13413 $as_echo_n "(cached) " >&6
13415 ac_check_soname_save_LIBS
=$LIBS
13416 LIBS
="-lodbc $LIBS"
13417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13418 /* end confdefs.h. */
13420 /* Override any GCC internal prototype to avoid an error.
13421 Use char because int might match the return type of a GCC
13422 builtin and then its argument prototype would still apply. */
13426 char SQLConnect ();
13430 return SQLConnect ();
13435 if ac_fn_c_try_link
"$LINENO"; then :
13437 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13438 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'` ;;
13439 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13440 if ${ac_cv_lib_soname_odbc:+false} :; then :
13441 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13445 rm -f core conftest.err conftest.
$ac_objext \
13446 conftest
$ac_exeext conftest.
$ac_ext
13447 LIBS
=$ac_check_soname_save_LIBS
13449 if ${ac_cv_lib_soname_odbc:+false} :; then :
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13451 $as_echo "not found" >&6; }
13452 cat >>confdefs.h
<<_ACEOF
13453 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13458 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13460 cat >>confdefs.h
<<_ACEOF
13461 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13467 if test "x$with_netapi" != "xno"
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13470 $as_echo_n "checking for -lnetapi... " >&6; }
13471 if ${ac_cv_lib_soname_netapi+:} false
; then :
13472 $as_echo_n "(cached) " >&6
13474 ac_check_soname_save_LIBS
=$LIBS
13475 LIBS
="-lnetapi $LIBS"
13476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13477 /* end confdefs.h. */
13479 /* Override any GCC internal prototype to avoid an error.
13480 Use char because int might match the return type of a GCC
13481 builtin and then its argument prototype would still apply. */
13485 char libnetapi_init ();
13489 return libnetapi_init ();
13494 if ac_fn_c_try_link
"$LINENO"; then :
13496 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13497 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'` ;;
13498 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13499 if ${ac_cv_lib_soname_netapi:+false} :; then :
13500 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13504 rm -f core conftest.err conftest.
$ac_objext \
13505 conftest
$ac_exeext conftest.
$ac_ext
13506 LIBS
=$ac_check_soname_save_LIBS
13508 if ${ac_cv_lib_soname_netapi:+false} :; then :
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13510 $as_echo "not found" >&6; }
13511 cat >>confdefs.h
<<_ACEOF
13512 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13517 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13519 cat >>confdefs.h
<<_ACEOF
13520 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13527 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13528 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13529 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13530 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13532 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13533 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13534 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13536 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13542 if test "x${GCC}" = "xyes"
13544 EXTRACFLAGS
="-Wall -pipe"
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13547 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13548 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13549 $as_echo_n "(cached) " >&6
13551 if test "$cross_compiling" = yes; then :
13552 ac_cv_c_gcc_strength_bug
="yes"
13554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13556 int L[4] = {0,1,2,3};
13560 static int Array[3];
13561 unsigned int B = 3;
13563 for(i=0; i<B; i++) Array[i] = i - 3;
13564 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13566 return (Array[1] != -2 || L[2] != 3)
13571 if ac_fn_c_try_run
"$LINENO"; then :
13572 ac_cv_c_gcc_strength_bug
="no"
13574 ac_cv_c_gcc_strength_bug
="yes"
13576 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13577 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13582 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13583 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13585 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13589 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13590 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13591 $as_echo_n "(cached) " >&6
13593 ac_wine_try_cflags_saved
=$CFLAGS
13594 CFLAGS
="$CFLAGS -fno-builtin"
13595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13597 int main(int argc, char **argv) { return 0; }
13599 if ac_fn_c_try_link
"$LINENO"; then :
13600 ac_cv_cflags__fno_builtin
=yes
13602 ac_cv_cflags__fno_builtin
=no
13604 rm -f core conftest.err conftest.
$ac_objext \
13605 conftest
$ac_exeext conftest.
$ac_ext
13606 CFLAGS
=$ac_wine_try_cflags_saved
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13609 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13610 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13611 BUILTINFLAG
="-fno-builtin"
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13615 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13616 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13617 $as_echo_n "(cached) " >&6
13619 ac_wine_try_cflags_saved
=$CFLAGS
13620 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13622 /* end confdefs.h. */
13623 int main(int argc, char **argv) { return 0; }
13625 if ac_fn_c_try_link
"$LINENO"; then :
13626 ac_cv_cflags__fno_strict_aliasing
=yes
13628 ac_cv_cflags__fno_strict_aliasing
=no
13630 rm -f core conftest.err conftest.
$ac_objext \
13631 conftest
$ac_exeext conftest.
$ac_ext
13632 CFLAGS
=$ac_wine_try_cflags_saved
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13635 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13636 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13637 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13639 saved_CFLAGS
=$CFLAGS
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13641 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13642 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13643 $as_echo_n "(cached) " >&6
13645 ac_wine_try_cflags_saved
=$CFLAGS
13646 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h. */
13649 int main(int argc, char **argv) { return 0; }
13651 if ac_fn_c_try_link
"$LINENO"; then :
13652 ac_cv_cflags__Werror_unknown_warning_option
=yes
13654 ac_cv_cflags__Werror_unknown_warning_option
=no
13656 rm -f core conftest.err conftest.
$ac_objext \
13657 conftest
$ac_exeext conftest.
$ac_ext
13658 CFLAGS
=$ac_wine_try_cflags_saved
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13661 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13662 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13663 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13666 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13667 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13668 $as_echo_n "(cached) " >&6
13670 ac_wine_try_cflags_saved
=$CFLAGS
13671 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13674 int main(int argc, char **argv) { return 0; }
13676 if ac_fn_c_try_link
"$LINENO"; then :
13677 ac_cv_cflags__Wdeclaration_after_statement
=yes
13679 ac_cv_cflags__Wdeclaration_after_statement
=no
13681 rm -f core conftest.err conftest.
$ac_objext \
13682 conftest
$ac_exeext conftest.
$ac_ext
13683 CFLAGS
=$ac_wine_try_cflags_saved
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13686 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13687 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13688 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13691 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13692 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13693 $as_echo_n "(cached) " >&6
13695 ac_wine_try_cflags_saved
=$CFLAGS
13696 CFLAGS
="$CFLAGS -Wempty-body"
13697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13699 int main(int argc, char **argv) { return 0; }
13701 if ac_fn_c_try_link
"$LINENO"; then :
13702 ac_cv_cflags__Wempty_body
=yes
13704 ac_cv_cflags__Wempty_body
=no
13706 rm -f core conftest.err conftest.
$ac_objext \
13707 conftest
$ac_exeext conftest.
$ac_ext
13708 CFLAGS
=$ac_wine_try_cflags_saved
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13711 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13712 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13713 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13716 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13717 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13718 $as_echo_n "(cached) " >&6
13720 ac_wine_try_cflags_saved
=$CFLAGS
13721 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13723 /* end confdefs.h. */
13724 int main(int argc, char **argv) { return 0; }
13726 if ac_fn_c_try_link
"$LINENO"; then :
13727 ac_cv_cflags__Wignored_qualifiers
=yes
13729 ac_cv_cflags__Wignored_qualifiers
=no
13731 rm -f core conftest.err conftest.
$ac_objext \
13732 conftest
$ac_exeext conftest.
$ac_ext
13733 CFLAGS
=$ac_wine_try_cflags_saved
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13736 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13737 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13738 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13741 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13742 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13743 $as_echo_n "(cached) " >&6
13745 ac_wine_try_cflags_saved
=$CFLAGS
13746 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13748 /* end confdefs.h. */
13749 int main(int argc, char **argv) { return 0; }
13751 if ac_fn_c_try_link
"$LINENO"; then :
13752 ac_cv_cflags__Wstrict_prototypes
=yes
13754 ac_cv_cflags__Wstrict_prototypes
=no
13756 rm -f core conftest.err conftest.
$ac_objext \
13757 conftest
$ac_exeext conftest.
$ac_ext
13758 CFLAGS
=$ac_wine_try_cflags_saved
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13761 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13762 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13763 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13766 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13767 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13768 $as_echo_n "(cached) " >&6
13770 ac_wine_try_cflags_saved
=$CFLAGS
13771 CFLAGS
="$CFLAGS -Wtype-limits"
13772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13774 int main(int argc, char **argv) { return 0; }
13776 if ac_fn_c_try_link
"$LINENO"; then :
13777 ac_cv_cflags__Wtype_limits
=yes
13779 ac_cv_cflags__Wtype_limits
=no
13781 rm -f core conftest.err conftest.
$ac_objext \
13782 conftest
$ac_exeext conftest.
$ac_ext
13783 CFLAGS
=$ac_wine_try_cflags_saved
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13786 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13787 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13788 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13791 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13792 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13793 $as_echo_n "(cached) " >&6
13795 ac_wine_try_cflags_saved
=$CFLAGS
13796 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13799 int main(int argc, char **argv) { return 0; }
13801 if ac_fn_c_try_link
"$LINENO"; then :
13802 ac_cv_cflags__Wunused_but_set_parameter
=yes
13804 ac_cv_cflags__Wunused_but_set_parameter
=no
13806 rm -f core conftest.err conftest.
$ac_objext \
13807 conftest
$ac_exeext conftest.
$ac_ext
13808 CFLAGS
=$ac_wine_try_cflags_saved
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13811 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13812 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13813 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13816 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13817 if ${ac_cv_cflags__Wvla+:} false
; then :
13818 $as_echo_n "(cached) " >&6
13820 ac_wine_try_cflags_saved
=$CFLAGS
13821 CFLAGS
="$CFLAGS -Wvla"
13822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h. */
13824 int main(int argc, char **argv) { return 0; }
13826 if ac_fn_c_try_link
"$LINENO"; then :
13827 ac_cv_cflags__Wvla
=yes
13829 ac_cv_cflags__Wvla
=no
13831 rm -f core conftest.err conftest.
$ac_objext \
13832 conftest
$ac_exeext conftest.
$ac_ext
13833 CFLAGS
=$ac_wine_try_cflags_saved
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13836 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13837 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13838 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13841 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13842 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13843 $as_echo_n "(cached) " >&6
13845 ac_wine_try_cflags_saved
=$CFLAGS
13846 CFLAGS
="$CFLAGS -Wwrite-strings"
13847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13848 /* end confdefs.h. */
13849 int main(int argc, char **argv) { return 0; }
13851 if ac_fn_c_try_link
"$LINENO"; then :
13852 ac_cv_cflags__Wwrite_strings
=yes
13854 ac_cv_cflags__Wwrite_strings
=no
13856 rm -f core conftest.err conftest.
$ac_objext \
13857 conftest
$ac_exeext conftest.
$ac_ext
13858 CFLAGS
=$ac_wine_try_cflags_saved
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13861 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13862 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13863 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13867 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13868 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13869 $as_echo_n "(cached) " >&6
13871 ac_wine_try_cflags_saved
=$CFLAGS
13872 CFLAGS
="$CFLAGS -Wpointer-arith"
13873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13874 /* end confdefs.h. */
13875 int main(int argc, char **argv) { return 0; }
13877 if ac_fn_c_try_link
"$LINENO"; then :
13878 ac_cv_cflags__Wpointer_arith
=yes
13880 ac_cv_cflags__Wpointer_arith
=no
13882 rm -f core conftest.err conftest.
$ac_objext \
13883 conftest
$ac_exeext conftest.
$ac_ext
13884 CFLAGS
=$ac_wine_try_cflags_saved
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13887 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13888 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13889 saved_string_h_CFLAGS
=$CFLAGS
13890 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13892 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13893 if ${ac_cv_c_string_h_warnings+:} false
; then :
13894 $as_echo_n "(cached) " >&6
13896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13898 #include <string.h>
13907 if ac_fn_c_try_compile
"$LINENO"; then :
13908 ac_cv_c_string_h_warnings
=no
13910 ac_cv_c_string_h_warnings
=yes
13912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13915 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13916 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13917 CFLAGS
=$saved_string_h_CFLAGS
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13921 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13922 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13923 $as_echo_n "(cached) " >&6
13925 ac_wine_try_cflags_saved
=$CFLAGS
13926 CFLAGS
="$CFLAGS -Wlogical-op"
13927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13928 /* end confdefs.h. */
13929 int main(int argc, char **argv) { return 0; }
13931 if ac_fn_c_try_link
"$LINENO"; then :
13932 ac_cv_cflags__Wlogical_op
=yes
13934 ac_cv_cflags__Wlogical_op
=no
13936 rm -f core conftest.err conftest.
$ac_objext \
13937 conftest
$ac_exeext conftest.
$ac_ext
13938 CFLAGS
=$ac_wine_try_cflags_saved
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13941 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13942 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13943 saved_string_h_CFLAGS
=$CFLAGS
13944 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13946 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13947 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13948 $as_echo_n "(cached) " >&6
13950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13951 /* end confdefs.h. */
13952 #include <string.h>
13953 char*f(const char *h,char n) {return strchr(h,n);}
13962 if ac_fn_c_try_compile
"$LINENO"; then :
13963 ac_cv_c_logicalop_noisy
=no
13965 ac_cv_c_logicalop_noisy
=yes
13967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13970 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13971 CFLAGS
=$saved_string_h_CFLAGS
13972 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13975 CFLAGS
=$saved_CFLAGS
13977 for ac_flag
in $CFLAGS; do
13979 -g) case $host_os in
13980 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13981 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13982 if ${ac_cv_cflags__gstabsp+:} false
; then :
13983 $as_echo_n "(cached) " >&6
13985 ac_wine_try_cflags_saved
=$CFLAGS
13986 CFLAGS
="$CFLAGS -gstabs+"
13987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13989 int main(int argc, char **argv) { return 0; }
13991 if ac_fn_c_try_link
"$LINENO"; then :
13992 ac_cv_cflags__gstabsp
=yes
13994 ac_cv_cflags__gstabsp
=no
13996 rm -f core conftest.err conftest.
$ac_objext \
13997 conftest
$ac_exeext conftest.
$ac_ext
13998 CFLAGS
=$ac_wine_try_cflags_saved
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14001 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14002 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14003 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14005 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14006 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14007 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14008 $as_echo_n "(cached) " >&6
14010 ac_wine_try_cflags_saved
=$CFLAGS
14011 CFLAGS
="$CFLAGS -gdwarf-2"
14012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14014 int main(int argc, char **argv) { return 0; }
14016 if ac_fn_c_try_link
"$LINENO"; then :
14017 ac_cv_cflags__gdwarf_2
=yes
14019 ac_cv_cflags__gdwarf_2
=no
14021 rm -f core conftest.err conftest.
$ac_objext \
14022 conftest
$ac_exeext conftest.
$ac_ext
14023 CFLAGS
=$ac_wine_try_cflags_saved
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14026 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14027 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14028 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14031 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14032 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14033 $as_echo_n "(cached) " >&6
14035 ac_wine_try_cflags_saved
=$CFLAGS
14036 CFLAGS
="$CFLAGS -gstrict-dwarf"
14037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14038 /* end confdefs.h. */
14039 int main(int argc, char **argv) { return 0; }
14041 if ac_fn_c_try_link
"$LINENO"; then :
14042 ac_cv_cflags__gstrict_dwarf
=yes
14044 ac_cv_cflags__gstrict_dwarf
=no
14046 rm -f core conftest.err conftest.
$ac_objext \
14047 conftest
$ac_exeext conftest.
$ac_ext
14048 CFLAGS
=$ac_wine_try_cflags_saved
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14051 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14052 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14053 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14060 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14061 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14062 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14063 $as_echo_n "(cached) " >&6
14065 ac_wine_try_cflags_saved
=$CFLAGS
14066 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14069 int main(int argc, char **argv) { return 0; }
14071 if ac_fn_c_try_link
"$LINENO"; then :
14072 ac_cv_cflags__fno_omit_frame_pointer
=yes
14074 ac_cv_cflags__fno_omit_frame_pointer
=no
14076 rm -f core conftest.err conftest.
$ac_objext \
14077 conftest
$ac_exeext conftest.
$ac_ext
14078 CFLAGS
=$ac_wine_try_cflags_saved
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14081 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14082 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14083 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14088 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14089 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14090 if ${ac_cv_cflags__Wno_format+:} false
; then :
14091 $as_echo_n "(cached) " >&6
14093 ac_wine_try_cflags_saved
=$CFLAGS
14094 CFLAGS
="$CFLAGS -Wno-format"
14095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14096 /* end confdefs.h. */
14097 int main(int argc, char **argv) { return 0; }
14099 if ac_fn_c_try_link
"$LINENO"; then :
14100 ac_cv_cflags__Wno_format
=yes
14102 ac_cv_cflags__Wno_format
=no
14104 rm -f core conftest.err conftest.
$ac_objext \
14105 conftest
$ac_exeext conftest.
$ac_ext
14106 CFLAGS
=$ac_wine_try_cflags_saved
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14109 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14110 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14111 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14115 if test "x$enable_maintainer_mode" = "xyes"
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14118 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14119 if ${ac_cv_cflags__Werror+:} false
; then :
14120 $as_echo_n "(cached) " >&6
14122 ac_wine_try_cflags_saved
=$CFLAGS
14123 CFLAGS
="$CFLAGS -Werror"
14124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14125 /* end confdefs.h. */
14126 int main(int argc, char **argv) { return 0; }
14128 if ac_fn_c_try_link
"$LINENO"; then :
14129 ac_cv_cflags__Werror
=yes
14131 ac_cv_cflags__Werror
=no
14133 rm -f core conftest.err conftest.
$ac_objext \
14134 conftest
$ac_exeext conftest.
$ac_ext
14135 CFLAGS
=$ac_wine_try_cflags_saved
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14138 $as_echo "$ac_cv_cflags__Werror" >&6; }
14139 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14140 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14144 saved_CFLAGS
="$CFLAGS"
14145 CFLAGS
="$CFLAGS -Werror"
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14147 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14148 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14149 $as_echo_n "(cached) " >&6
14151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14152 /* end confdefs.h. */
14153 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14162 if ac_fn_c_try_compile
"$LINENO"; then :
14163 ac_cv_have_ms_hook_prologue
="yes"
14165 ac_cv_have_ms_hook_prologue
="no"
14167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14170 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14171 CFLAGS
="$saved_CFLAGS"
14172 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14175 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14178 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14185 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14186 if ${ac_cv_c_fortify_enabled+:} false
; then :
14187 $as_echo_n "(cached) " >&6
14189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14190 /* end confdefs.h. */
14191 #include <string.h>
14195 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14196 #error Fortify enabled
14202 if ac_fn_c_try_compile
"$LINENO"; then :
14203 ac_cv_c_fortify_enabled
=no
14205 ac_cv_c_fortify_enabled
=yes
14207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14210 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14211 if test "$ac_cv_c_fortify_enabled" = yes
14213 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14218 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14219 if ${ac_cv_c_extern_prefix+:} false
; then :
14220 $as_echo_n "(cached) " >&6
14222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14224 extern int ac_test;
14228 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14233 if ac_fn_c_try_link
"$LINENO"; then :
14234 ac_cv_c_extern_prefix
="yes"
14236 ac_cv_c_extern_prefix
="no"
14238 rm -f core conftest.err conftest.
$ac_objext \
14239 conftest
$ac_exeext conftest.
$ac_ext
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14242 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14247 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14248 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14249 $as_echo_n "(cached) " >&6
14251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14252 /* end confdefs.h. */
14254 #define __stdcall __attribute__((__stdcall__))
14256 int __stdcall ac_test(int i) { return i; }
14260 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14265 if ac_fn_c_try_link
"$LINENO"; then :
14266 ac_cv_c_stdcall_suffix
="yes"
14268 ac_cv_c_stdcall_suffix
="no"
14270 rm -f core conftest.err conftest.
$ac_objext \
14271 conftest
$ac_exeext conftest.
$ac_ext
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14274 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14275 *) ac_cv_c_stdcall_suffix
="no" ;;
14279 if test "$ac_cv_c_extern_prefix" = "yes"
14281 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14283 asm_name_prefix
="_"
14285 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14291 if test "$ac_cv_c_stdcall_suffix" = "yes"
14293 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14296 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14302 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14303 if ${ac_cv_asm_func_def+:} false
; then :
14304 $as_echo_n "(cached) " >&6
14306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14312 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14317 if ac_fn_c_try_link
"$LINENO"; then :
14318 ac_cv_asm_func_def
=".def"
14320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14321 /* end confdefs.h. */
14326 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14331 if ac_fn_c_try_link
"$LINENO"; then :
14332 ac_cv_asm_func_def
=".type @function"
14334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14335 /* end confdefs.h. */
14340 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14345 if ac_fn_c_try_link
"$LINENO"; then :
14346 ac_cv_asm_func_def
=".type 2"
14348 ac_cv_asm_func_def
="unknown"
14350 rm -f core conftest.err conftest.
$ac_objext \
14351 conftest
$ac_exeext conftest.
$ac_ext
14353 rm -f core conftest.err conftest.
$ac_objext \
14354 conftest
$ac_exeext conftest.
$ac_ext
14356 rm -f core conftest.err conftest.
$ac_objext \
14357 conftest
$ac_exeext conftest.
$ac_ext
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14360 $as_echo "$ac_cv_asm_func_def" >&6; }
14363 case "$ac_cv_asm_func_def" in
14365 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14367 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14369 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14371 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14373 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14375 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14377 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14379 asm_func_header
="" ;;
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14383 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14384 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14385 $as_echo_n "(cached) " >&6
14387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14389 asm(".text\n\t.long 0");
14398 if ac_fn_c_try_compile
"$LINENO"; then :
14399 ac_cv_c_asm_outside_funcs
="yes"
14401 ac_cv_c_asm_outside_funcs
="no"
14403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14406 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14409 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14410 if ${ac_cv_c_dot_previous+:} false
; then :
14411 $as_echo_n "(cached) " >&6
14413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14419 asm(".text\nac_test:\t.long 0\n\t.previous");
14424 if ac_fn_c_try_link
"$LINENO"; then :
14425 ac_cv_c_dot_previous
="yes"
14427 ac_cv_c_dot_previous
="no"
14429 rm -f core conftest.err conftest.
$ac_objext \
14430 conftest
$ac_exeext conftest.
$ac_ext
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14433 $as_echo "$ac_cv_c_dot_previous" >&6; }
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14436 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14437 if ${ac_cv_c_cfi_support+:} false
; then :
14438 $as_echo_n "(cached) " >&6
14440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14441 /* end confdefs.h. */
14442 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14451 if ac_fn_c_try_compile
"$LINENO"; then :
14452 ac_cv_c_cfi_support
="yes"
14454 ac_cv_c_cfi_support
="no"
14456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14459 $as_echo "$ac_cv_c_cfi_support" >&6; }
14461 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14462 asm_func_trailer
=""
14463 if test "$ac_cv_c_dot_previous" = "yes"
14465 asm_func_trailer
="\\n\\t.previous"
14467 if test "$ac_cv_c_cfi_support" = "yes"
14469 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14470 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14472 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14474 UNWINDFLAGS
=-fasynchronous-unwind-tables
14477 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14481 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14484 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14486 cat >>confdefs.h
<<_ACEOF
14487 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14491 cat >>confdefs.h
<<_ACEOF
14492 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14497 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14500 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14505 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14512 *i
[3456789]86*|x86_64
*)
14513 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14514 loader_programs
="$loader_programs $wine_binary-preloader"
14515 as_fn_append LOADER_RULES
"
14516 $wine_binary-preloader: preloader.o
14517 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14519 install install-lib:: $wine_binary-preloader
14520 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14523 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14525 preloader_EXTRADEFS = $BUILTINFLAG
14530 as_fn_append LOADER_RULES
"
14531 PROGRAMS = $loader_programs
14535 ac_save_CFLAGS
="$CFLAGS"
14536 CFLAGS
="$CFLAGS $BUILTINFLAG"
14613 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14614 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14615 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14616 cat >>confdefs.h
<<_ACEOF
14617 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14623 CFLAGS
="$ac_save_CFLAGS"
14625 if test "$ac_cv_func_dlopen" = no
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14628 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14629 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14630 $as_echo_n "(cached) " >&6
14632 ac_check_lib_save_LIBS
=$LIBS
14634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14635 /* end confdefs.h. */
14637 /* Override any GCC internal prototype to avoid an error.
14638 Use char because int might match the return type of a GCC
14639 builtin and then its argument prototype would still apply. */
14652 if ac_fn_c_try_link
"$LINENO"; then :
14653 ac_cv_lib_dl_dlopen
=yes
14655 ac_cv_lib_dl_dlopen
=no
14657 rm -f core conftest.err conftest.
$ac_objext \
14658 conftest
$ac_exeext conftest.
$ac_ext
14659 LIBS
=$ac_check_lib_save_LIBS
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14662 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14663 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14664 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14670 ac_wine_check_funcs_save_LIBS
="$LIBS"
14671 LIBS
="$LIBS $DL_LIBS"
14672 for ac_func
in dladdr
14674 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14675 if test "x$ac_cv_func_dladdr" = xyes
; then :
14676 cat >>confdefs.h
<<_ACEOF
14677 #define HAVE_DLADDR 1
14683 LIBS
="$ac_wine_check_funcs_save_LIBS"
14685 if test "$ac_cv_func_poll" = no
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14688 $as_echo_n "checking for poll in -lpoll... " >&6; }
14689 if ${ac_cv_lib_poll_poll+:} false
; then :
14690 $as_echo_n "(cached) " >&6
14692 ac_check_lib_save_LIBS
=$LIBS
14693 LIBS
="-lpoll $LIBS"
14694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14695 /* end confdefs.h. */
14697 /* Override any GCC internal prototype to avoid an error.
14698 Use char because int might match the return type of a GCC
14699 builtin and then its argument prototype would still apply. */
14712 if ac_fn_c_try_link
"$LINENO"; then :
14713 ac_cv_lib_poll_poll
=yes
14715 ac_cv_lib_poll_poll
=no
14717 rm -f core conftest.err conftest.
$ac_objext \
14718 conftest
$ac_exeext conftest.
$ac_ext
14719 LIBS
=$ac_check_lib_save_LIBS
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14722 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14723 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14724 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14732 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14733 if ${ac_cv_search_gethostbyname+:} false
; then :
14734 $as_echo_n "(cached) " >&6
14736 ac_func_search_save_LIBS
=$LIBS
14737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h. */
14740 /* Override any GCC internal prototype to avoid an error.
14741 Use char because int might match the return type of a GCC
14742 builtin and then its argument prototype would still apply. */
14746 char gethostbyname ();
14750 return gethostbyname ();
14755 for ac_lib
in '' nsl
; do
14756 if test -z "$ac_lib"; then
14757 ac_res
="none required"
14760 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14762 if ac_fn_c_try_link
"$LINENO"; then :
14763 ac_cv_search_gethostbyname
=$ac_res
14765 rm -f core conftest.err conftest.
$ac_objext \
14767 if ${ac_cv_search_gethostbyname+:} false
; then :
14771 if ${ac_cv_search_gethostbyname+:} false
; then :
14774 ac_cv_search_gethostbyname
=no
14776 rm conftest.
$ac_ext
14777 LIBS
=$ac_func_search_save_LIBS
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14780 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14781 ac_res
=$ac_cv_search_gethostbyname
14782 if test "$ac_res" != no
; then :
14783 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14789 $as_echo_n "checking for library containing connect... " >&6; }
14790 if ${ac_cv_search_connect+:} false
; then :
14791 $as_echo_n "(cached) " >&6
14793 ac_func_search_save_LIBS
=$LIBS
14794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14795 /* end confdefs.h. */
14797 /* Override any GCC internal prototype to avoid an error.
14798 Use char because int might match the return type of a GCC
14799 builtin and then its argument prototype would still apply. */
14812 for ac_lib
in '' socket
; do
14813 if test -z "$ac_lib"; then
14814 ac_res
="none required"
14817 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14819 if ac_fn_c_try_link
"$LINENO"; then :
14820 ac_cv_search_connect
=$ac_res
14822 rm -f core conftest.err conftest.
$ac_objext \
14824 if ${ac_cv_search_connect+:} false
; then :
14828 if ${ac_cv_search_connect+:} false
; then :
14831 ac_cv_search_connect
=no
14833 rm conftest.
$ac_ext
14834 LIBS
=$ac_func_search_save_LIBS
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14837 $as_echo "$ac_cv_search_connect" >&6; }
14838 ac_res
=$ac_cv_search_connect
14839 if test "$ac_res" != no
; then :
14840 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14846 $as_echo_n "checking for library containing inet_aton... " >&6; }
14847 if ${ac_cv_search_inet_aton+:} false
; then :
14848 $as_echo_n "(cached) " >&6
14850 ac_func_search_save_LIBS
=$LIBS
14851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14852 /* end confdefs.h. */
14854 /* Override any GCC internal prototype to avoid an error.
14855 Use char because int might match the return type of a GCC
14856 builtin and then its argument prototype would still apply. */
14864 return inet_aton ();
14869 for ac_lib
in '' resolv
; do
14870 if test -z "$ac_lib"; then
14871 ac_res
="none required"
14874 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14876 if ac_fn_c_try_link
"$LINENO"; then :
14877 ac_cv_search_inet_aton
=$ac_res
14879 rm -f core conftest.err conftest.
$ac_objext \
14881 if ${ac_cv_search_inet_aton+:} false
; then :
14885 if ${ac_cv_search_inet_aton+:} false
; then :
14888 ac_cv_search_inet_aton
=no
14890 rm conftest.
$ac_ext
14891 LIBS
=$ac_func_search_save_LIBS
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14894 $as_echo "$ac_cv_search_inet_aton" >&6; }
14895 ac_res
=$ac_cv_search_inet_aton
14896 if test "$ac_res" != no
; then :
14897 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14917 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14918 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14919 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14920 cat >>confdefs.h
<<_ACEOF
14921 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14930 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14931 if ${ac_cv_search_clock_gettime+:} false
; then :
14932 $as_echo_n "(cached) " >&6
14934 ac_func_search_save_LIBS
=$LIBS
14935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14936 /* end confdefs.h. */
14938 /* Override any GCC internal prototype to avoid an error.
14939 Use char because int might match the return type of a GCC
14940 builtin and then its argument prototype would still apply. */
14944 char clock_gettime ();
14948 return clock_gettime ();
14953 for ac_lib
in '' rt
; do
14954 if test -z "$ac_lib"; then
14955 ac_res
="none required"
14958 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14960 if ac_fn_c_try_link
"$LINENO"; then :
14961 ac_cv_search_clock_gettime
=$ac_res
14963 rm -f core conftest.err conftest.
$ac_objext \
14965 if ${ac_cv_search_clock_gettime+:} false
; then :
14969 if ${ac_cv_search_clock_gettime+:} false
; then :
14972 ac_cv_search_clock_gettime
=no
14974 rm conftest.
$ac_ext
14975 LIBS
=$ac_func_search_save_LIBS
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14978 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14979 ac_res
=$ac_cv_search_clock_gettime
14980 if test "$ac_res" != no
; then :
14981 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14983 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14985 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14993 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14995 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14997 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14999 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15000 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15001 $as_echo_n "(cached) " >&6
15003 ac_check_lib_save_LIBS
=$LIBS
15004 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15008 /* Override any GCC internal prototype to avoid an error.
15009 Use char because int might match the return type of a GCC
15010 builtin and then its argument prototype would still apply. */
15014 char ldap_initialize ();
15018 return ldap_initialize ();
15023 if ac_fn_c_try_link
"$LINENO"; then :
15024 ac_cv_lib_ldap_r_ldap_initialize
=yes
15026 ac_cv_lib_ldap_r_ldap_initialize
=no
15028 rm -f core conftest.err conftest.
$ac_objext \
15029 conftest
$ac_exeext conftest.
$ac_ext
15030 LIBS
=$ac_check_lib_save_LIBS
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15033 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15034 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15036 $as_echo_n "checking for ber_init in -llber... " >&6; }
15037 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15038 $as_echo_n "(cached) " >&6
15040 ac_check_lib_save_LIBS
=$LIBS
15041 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15045 /* Override any GCC internal prototype to avoid an error.
15046 Use char because int might match the return type of a GCC
15047 builtin and then its argument prototype would still apply. */
15055 return ber_init ();
15060 if ac_fn_c_try_link
"$LINENO"; then :
15061 ac_cv_lib_lber_ber_init
=yes
15063 ac_cv_lib_lber_ber_init
=no
15065 rm -f core conftest.err conftest.
$ac_objext \
15066 conftest
$ac_exeext conftest.
$ac_ext
15067 LIBS
=$ac_check_lib_save_LIBS
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15070 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15071 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15073 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15075 LDAP_LIBS
="-lldap_r -llber"
15082 ac_wine_check_funcs_save_LIBS
="$LIBS"
15083 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15085 ldap_count_references \
15086 ldap_first_reference \
15087 ldap_next_reference \
15088 ldap_parse_reference \
15089 ldap_parse_sort_control \
15090 ldap_parse_sortresponse_control \
15091 ldap_parse_vlv_control \
15092 ldap_parse_vlvresponse_control
15094 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15095 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15096 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15097 cat >>confdefs.h
<<_ACEOF
15098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15104 LIBS
="$ac_wine_check_funcs_save_LIBS"
15106 if test "x$LDAP_LIBS" = "x"; then :
15107 case "x$with_ldap" in
15108 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15110 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15111 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15116 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15117 if ${wine_cv_one_arg_mkdir+:} false
; then :
15118 $as_echo_n "(cached) " >&6
15120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15122 #include <sys/stat.h>
15131 if ac_fn_c_try_compile
"$LINENO"; then :
15132 wine_cv_one_arg_mkdir
=yes
15134 wine_cv_one_arg_mkdir
=no
15136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15139 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15140 if test "$wine_cv_one_arg_mkdir" = "yes"
15143 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15148 $as_echo_n "checking for sched_setaffinity... " >&6; }
15149 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15150 $as_echo_n "(cached) " >&6
15152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15153 /* end confdefs.h. */
15154 #define _GNU_SOURCE
15159 sched_setaffinity(0, 0, 0);
15164 if ac_fn_c_try_link
"$LINENO"; then :
15165 wine_cv_have_sched_setaffinity
=yes
15167 wine_cv_have_sched_setaffinity
=no
15169 rm -f core conftest.err conftest.
$ac_objext \
15170 conftest
$ac_exeext conftest.
$ac_ext
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15173 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15174 if test "$wine_cv_have_sched_setaffinity" = "yes"
15177 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15182 $as_echo_n "checking for fallocate... " >&6; }
15183 if ${wine_cv_have_fallocate+:} false
; then :
15184 $as_echo_n "(cached) " >&6
15186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15187 /* end confdefs.h. */
15188 #define _GNU_SOURCE
15193 fallocate(-1, 0, 0, 0);
15198 if ac_fn_c_try_link
"$LINENO"; then :
15199 wine_cv_have_fallocate
=yes
15201 wine_cv_have_fallocate
=no
15203 rm -f core conftest.err conftest.
$ac_objext \
15204 conftest
$ac_exeext conftest.
$ac_ext
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15207 $as_echo "$wine_cv_have_fallocate" >&6; }
15208 if test "$wine_cv_have_fallocate" = "yes"
15211 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15217 $as_echo_n "checking for inline... " >&6; }
15218 if ${ac_cv_c_inline+:} false
; then :
15219 $as_echo_n "(cached) " >&6
15222 for ac_kw
in inline __inline__ __inline
; do
15223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15225 #ifndef __cplusplus
15227 static $ac_kw foo_t static_foo () {return 0; }
15228 $ac_kw foo_t foo () {return 0; }
15232 if ac_fn_c_try_compile
"$LINENO"; then :
15233 ac_cv_c_inline
=$ac_kw
15235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15236 test "$ac_cv_c_inline" != no
&& break
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15241 $as_echo "$ac_cv_c_inline" >&6; }
15243 case $ac_cv_c_inline in
15246 case $ac_cv_c_inline in
15248 *) ac_val
=$ac_cv_c_inline;;
15250 cat >>confdefs.h
<<_ACEOF
15251 #ifndef __cplusplus
15252 #define inline $ac_val
15258 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15259 if test "x$ac_cv_type_mode_t" = xyes
; then :
15261 cat >>confdefs.h
<<_ACEOF
15262 #define HAVE_MODE_T 1
15267 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15268 if test "x$ac_cv_type_off_t" = xyes
; then :
15270 cat >>confdefs.h
<<_ACEOF
15271 #define HAVE_OFF_T 1
15276 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15277 if test "x$ac_cv_type_pid_t" = xyes
; then :
15279 cat >>confdefs.h
<<_ACEOF
15280 #define HAVE_PID_T 1
15285 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15286 if test "x$ac_cv_type_size_t" = xyes
; then :
15288 cat >>confdefs.h
<<_ACEOF
15289 #define HAVE_SIZE_T 1
15294 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15295 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15297 cat >>confdefs.h
<<_ACEOF
15298 #define HAVE_SSIZE_T 1
15303 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15304 if test "x$ac_cv_type_long_long" = xyes
; then :
15306 cat >>confdefs.h
<<_ACEOF
15307 #define HAVE_LONG_LONG 1
15312 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15313 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15315 cat >>confdefs.h
<<_ACEOF
15316 #define HAVE_FSBLKCNT_T 1
15321 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15322 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15324 cat >>confdefs.h
<<_ACEOF
15325 #define HAVE_FSFILCNT_T 1
15331 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15332 #include <signal.h>
15334 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15336 cat >>confdefs.h
<<_ACEOF
15337 #define HAVE_SIGSET_T 1
15343 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15345 if test "x$ac_cv_type_request_sense" = xyes
; then :
15347 cat >>confdefs.h
<<_ACEOF
15348 #define HAVE_REQUEST_SENSE 1
15355 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15356 #ifdef HAVE_SYS_SOCKET_H
15357 #include <sys/socket.h>
15359 #ifdef HAVE_SYS_SOCKETVAR_H
15360 #include <sys/socketvar.h>
15362 #ifdef HAVE_NET_ROUTE_H
15363 #include <net/route.h>
15365 #ifdef HAVE_NETINET_IN_H
15366 #include <netinet/in.h>
15368 #ifdef HAVE_NETINET_IN_SYSTM_H
15369 #include <netinet/in_systm.h>
15371 #ifdef HAVE_NETINET_IP_H
15372 #include <netinet/ip.h>
15374 #ifdef HAVE_NETINET_IN_PCB_H
15375 #include <netinet/in_pcb.h>
15378 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15380 cat >>confdefs.h
<<_ACEOF
15381 #define HAVE_STRUCT_XINPGEN 1
15388 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15391 #ifdef HAVE_SYS_LINK_H
15392 #include <sys/link.h>
15395 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15397 cat >>confdefs.h
<<_ACEOF
15398 #define HAVE_STRUCT_R_DEBUG 1
15403 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15406 #ifdef HAVE_SYS_LINK_H
15407 #include <sys/link.h>
15410 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15412 cat >>confdefs.h
<<_ACEOF
15413 #define HAVE_STRUCT_LINK_MAP 1
15420 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15421 #include <linux/input.h>
15424 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15426 cat >>confdefs.h
<<_ACEOF
15427 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15435 $as_echo_n "checking for sigaddset... " >&6; }
15436 if ${wine_cv_have_sigaddset+:} false
; then :
15437 $as_echo_n "(cached) " >&6
15439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15440 /* end confdefs.h. */
15441 #include <signal.h>
15445 sigset_t set; sigaddset(&set,SIGTERM);
15450 if ac_fn_c_try_link
"$LINENO"; then :
15451 wine_cv_have_sigaddset
=yes
15453 wine_cv_have_sigaddset
=no
15455 rm -f core conftest.err conftest.
$ac_objext \
15456 conftest
$ac_exeext conftest.
$ac_ext
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15459 $as_echo "$wine_cv_have_sigaddset" >&6; }
15460 if test "$wine_cv_have_sigaddset" = "yes"
15463 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15469 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15470 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15471 $as_echo_n "(cached) " >&6
15473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15474 /* end confdefs.h. */
15482 struct hostent *result;
15489 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15490 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15496 if ac_fn_c_try_link
"$LINENO"; then :
15497 wine_cv_linux_gethostbyname_r_6
=yes
15499 wine_cv_linux_gethostbyname_r_6
=no
15502 rm -f core conftest.err conftest.
$ac_objext \
15503 conftest
$ac_exeext conftest.
$ac_ext
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15507 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15508 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15511 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15515 if test "$ac_cv_header_linux_joystick_h" = "yes"
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15518 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15519 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15520 $as_echo_n "(cached) " >&6
15522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15523 /* end confdefs.h. */
15525 #include <sys/ioctl.h>
15526 #include <sys/types.h>
15527 #include <linux/joystick.h>
15529 struct js_event blub;
15530 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15531 #error "no 2.2 header"
15542 if ac_fn_c_try_compile
"$LINENO"; then :
15543 wine_cv_linux_joystick_22_api
=yes
15545 wine_cv_linux_joystick_22_api
=no
15547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15551 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15552 if test "$wine_cv_linux_joystick_22_api" = "yes"
15555 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15561 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15562 #ifdef HAVE_SYS_PARAM_H
15563 # include <sys/param.h>
15565 #ifdef HAVE_SYS_MOUNT_H
15566 # include <sys/mount.h>
15568 #ifdef HAVE_SYS_VFS_H
15569 # include <sys/vfs.h>
15571 #ifdef HAVE_SYS_STATFS_H
15572 # include <sys/statfs.h>
15575 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15577 cat >>confdefs.h
<<_ACEOF
15578 #define HAVE_STRUCT_STATFS_F_BFREE 1
15583 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15584 #ifdef HAVE_SYS_PARAM_H
15585 # include <sys/param.h>
15587 #ifdef HAVE_SYS_MOUNT_H
15588 # include <sys/mount.h>
15590 #ifdef HAVE_SYS_VFS_H
15591 # include <sys/vfs.h>
15593 #ifdef HAVE_SYS_STATFS_H
15594 # include <sys/statfs.h>
15597 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15599 cat >>confdefs.h
<<_ACEOF
15600 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15605 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15606 #ifdef HAVE_SYS_PARAM_H
15607 # include <sys/param.h>
15609 #ifdef HAVE_SYS_MOUNT_H
15610 # include <sys/mount.h>
15612 #ifdef HAVE_SYS_VFS_H
15613 # include <sys/vfs.h>
15615 #ifdef HAVE_SYS_STATFS_H
15616 # include <sys/statfs.h>
15619 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15621 cat >>confdefs.h
<<_ACEOF
15622 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15627 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15628 #ifdef HAVE_SYS_PARAM_H
15629 # include <sys/param.h>
15631 #ifdef HAVE_SYS_MOUNT_H
15632 # include <sys/mount.h>
15634 #ifdef HAVE_SYS_VFS_H
15635 # include <sys/vfs.h>
15637 #ifdef HAVE_SYS_STATFS_H
15638 # include <sys/statfs.h>
15641 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15643 cat >>confdefs.h
<<_ACEOF
15644 #define HAVE_STRUCT_STATFS_F_FFREE 1
15649 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15650 #ifdef HAVE_SYS_PARAM_H
15651 # include <sys/param.h>
15653 #ifdef HAVE_SYS_MOUNT_H
15654 # include <sys/mount.h>
15656 #ifdef HAVE_SYS_VFS_H
15657 # include <sys/vfs.h>
15659 #ifdef HAVE_SYS_STATFS_H
15660 # include <sys/statfs.h>
15663 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15665 cat >>confdefs.h
<<_ACEOF
15666 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15671 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15672 #ifdef HAVE_SYS_PARAM_H
15673 # include <sys/param.h>
15675 #ifdef HAVE_SYS_MOUNT_H
15676 # include <sys/mount.h>
15678 #ifdef HAVE_SYS_VFS_H
15679 # include <sys/vfs.h>
15681 #ifdef HAVE_SYS_STATFS_H
15682 # include <sys/statfs.h>
15685 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15687 cat >>confdefs.h
<<_ACEOF
15688 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15695 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15696 #include <sys/statvfs.h>
15699 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15701 cat >>confdefs.h
<<_ACEOF
15702 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15709 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15710 #include <dirent.h>
15713 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15715 cat >>confdefs.h
<<_ACEOF
15716 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15723 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15724 #ifdef HAVE_SYS_SOCKET_H
15725 # include <sys/socket.h>
15727 #ifdef HAVE_SYS_UN_H
15728 # include <sys/un.h>
15731 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15733 cat >>confdefs.h
<<_ACEOF
15734 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15739 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15740 #ifdef HAVE_SYS_SOCKET_H
15741 # include <sys/socket.h>
15743 #ifdef HAVE_SYS_UN_H
15744 # include <sys/un.h>
15747 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15749 cat >>confdefs.h
<<_ACEOF
15750 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15755 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15756 #ifdef HAVE_SYS_SOCKET_H
15757 # include <sys/socket.h>
15759 #ifdef HAVE_SYS_UN_H
15760 # include <sys/un.h>
15763 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15765 cat >>confdefs.h
<<_ACEOF
15766 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15773 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15774 #ifdef HAVE_SCSI_SG_H
15775 #include <scsi/sg.h>
15778 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15780 cat >>confdefs.h
<<_ACEOF
15781 #define HAVE_SCSIREQ_T_CMD 1
15786 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>
15787 #ifdef HAVE_SCSI_SG_H
15788 #include <scsi/sg.h>
15791 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15793 cat >>confdefs.h
<<_ACEOF
15794 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15801 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15803 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15805 cat >>confdefs.h
<<_ACEOF
15806 #define HAVE_SIGINFO_T_SI_FD 1
15813 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15814 #ifdef HAVE_SYS_MTIO_H
15815 #include <sys/mtio.h>
15818 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15820 cat >>confdefs.h
<<_ACEOF
15821 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15826 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15827 #ifdef HAVE_SYS_MTIO_H
15828 #include <sys/mtio.h>
15831 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15833 cat >>confdefs.h
<<_ACEOF
15834 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15839 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15840 #ifdef HAVE_SYS_MTIO_H
15841 #include <sys/mtio.h>
15844 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15846 cat >>confdefs.h
<<_ACEOF
15847 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15854 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15855 #include <getopt.h>
15858 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15860 cat >>confdefs.h
<<_ACEOF
15861 #define HAVE_STRUCT_OPTION_NAME 1
15868 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15869 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15871 cat >>confdefs.h
<<_ACEOF
15872 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15877 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15878 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15880 cat >>confdefs.h
<<_ACEOF
15881 #define HAVE_STRUCT_STAT_ST_MTIM 1
15886 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15887 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15889 cat >>confdefs.h
<<_ACEOF
15890 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15895 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15896 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15898 cat >>confdefs.h
<<_ACEOF
15899 #define HAVE_STRUCT_STAT_ST_CTIM 1
15904 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15905 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15907 cat >>confdefs.h
<<_ACEOF
15908 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15913 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15914 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15916 cat >>confdefs.h
<<_ACEOF
15917 #define HAVE_STRUCT_STAT_ST_ATIM 1
15922 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15923 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15925 cat >>confdefs.h
<<_ACEOF
15926 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 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
15949 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15950 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15952 cat >>confdefs.h
<<_ACEOF
15953 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15958 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15959 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15961 cat >>confdefs.h
<<_ACEOF
15962 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15967 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15968 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15970 cat >>confdefs.h
<<_ACEOF
15971 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15978 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
15979 #include <sys/types.h>
15981 #ifdef HAVE_NETINET_IN_H
15982 #include <netinet/in.h>
15985 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15987 cat >>confdefs.h
<<_ACEOF
15988 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15995 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15996 #include <resolv.h>
15999 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16001 cat >>confdefs.h
<<_ACEOF
16002 #define HAVE_STRUCT___RES_STATE 1
16009 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
16010 #include <resolv.h>
16013 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16015 cat >>confdefs.h
<<_ACEOF
16016 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16023 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16024 #include <sys/types.h>
16026 #ifdef HAVE_NETINET_IN_H
16027 # include <netinet/in.h>
16029 #ifdef HAVE_ARPA_NAMESER_H
16030 # include <arpa/nameser.h>
16033 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16035 cat >>confdefs.h
<<_ACEOF
16036 #define HAVE_NS_MSG__MSG_PTR 1
16043 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16044 #include <sys/types.h>
16046 #ifdef HAVE_NETINET_IP_H
16047 #include <netinet/ip.h>
16049 #ifdef HAVE_NETINET_IP_ICMP_H
16050 #include <netinet/ip_icmp.h>
16052 #ifdef HAVE_NETINET_ICMP_VAR_H
16053 #include <netinet/icmp_var.h>
16056 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16058 cat >>confdefs.h
<<_ACEOF
16059 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16066 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16067 #include <sys/types.h>
16069 #ifdef HAVE_ALIAS_H
16072 #ifdef HAVE_SYS_SOCKET_H
16073 #include <sys/socket.h>
16075 #ifdef HAVE_SYS_SOCKETVAR_H
16076 #include <sys/socketvar.h>
16078 #ifdef HAVE_SYS_TIMEOUT_H
16079 #include <sys/timeout.h>
16081 #ifdef HAVE_NETINET_IN_H
16082 #include <netinet/in.h>
16084 #ifdef HAVE_NETINET_IN_SYSTM_H
16085 #include <netinet/in_systm.h>
16087 #ifdef HAVE_NETINET_IP_H
16088 #include <netinet/ip.h>
16090 #ifdef HAVE_NETINET_IP_VAR_H
16091 #include <netinet/ip_var.h>
16093 #ifdef HAVE_NETINET_IP_ICMP_H
16094 #include <netinet/ip_icmp.h>
16096 #ifdef HAVE_NETINET_ICMP_VAR_H
16097 #include <netinet/icmp_var.h>
16100 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16102 cat >>confdefs.h
<<_ACEOF
16103 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16110 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16111 #include <sys/types.h>
16113 #ifdef HAVE_SYS_SOCKETVAR_H
16114 #include <sys/socketvar.h>
16116 #ifdef HAVE_NETINET_IN_H
16117 #include <netinet/in.h>
16119 #ifdef HAVE_NETINET_IP_VAR_H
16120 #include <netinet/ip_var.h>
16123 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16125 cat >>confdefs.h
<<_ACEOF
16126 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16133 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
16134 #include <netinet/ip_var.h>
16137 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16139 cat >>confdefs.h
<<_ACEOF
16140 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16147 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16148 #include <sys/types.h>
16150 #ifdef HAVE_SYS_SOCKETVAR_H
16151 #include <sys/socketvar.h>
16153 #ifdef HAVE_NETINET_IN_H
16154 #include <netinet/in.h>
16156 #ifdef HAVE_NETINET_TCP_H
16157 #include <netinet/tcp.h>
16159 #ifdef HAVE_NETINET_TCP_VAR_H
16160 #include <netinet/tcp_var.h>
16163 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16165 cat >>confdefs.h
<<_ACEOF
16166 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16173 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
16174 #include <netinet/tcp_var.h>
16177 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16179 cat >>confdefs.h
<<_ACEOF
16180 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16187 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16188 #include <sys/types.h>
16190 #ifdef HAVE_NETINET_IN_H
16191 #include <netinet/in.h>
16193 #ifdef HAVE_NETINET_IP_VAR_H
16194 #include <netinet/ip_var.h>
16196 #ifdef HAVE_NETINET_UDP_H
16197 #include <netinet/udp.h>
16199 #ifdef HAVE_NETINET_UDP_VAR_H
16200 #include <netinet/udp_var.h>
16203 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16205 cat >>confdefs.h
<<_ACEOF
16206 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16213 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16214 #include <sys/types.h>
16216 #ifdef HAVE_NET_IF_H
16217 # include <net/if.h>
16220 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16222 cat >>confdefs.h
<<_ACEOF
16223 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16231 $as_echo_n "checking for timezone variable... " >&6; }
16232 if ${ac_cv_have_timezone+:} false
; then :
16233 $as_echo_n "(cached) " >&6
16235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16236 /* end confdefs.h. */
16246 if ac_fn_c_try_link
"$LINENO"; then :
16247 ac_cv_have_timezone
="yes"
16249 ac_cv_have_timezone
="no"
16251 rm -f core conftest.err conftest.
$ac_objext \
16252 conftest
$ac_exeext conftest.
$ac_ext
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16255 $as_echo "$ac_cv_have_timezone" >&6; }
16256 if test "$ac_cv_have_timezone" = "yes"
16259 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16263 $as_echo_n "checking for daylight variable... " >&6; }
16264 if ${ac_cv_have_daylight+:} false
; then :
16265 $as_echo_n "(cached) " >&6
16267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16268 /* end confdefs.h. */
16278 if ac_fn_c_try_link
"$LINENO"; then :
16279 ac_cv_have_daylight
="yes"
16281 ac_cv_have_daylight
="no"
16283 rm -f core conftest.err conftest.
$ac_objext \
16284 conftest
$ac_exeext conftest.
$ac_ext
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16287 $as_echo "$ac_cv_have_daylight" >&6; }
16288 if test "$ac_cv_have_daylight" = "yes"
16291 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16295 ac_save_LIBS
="$LIBS"
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16298 $as_echo_n "checking for isfinite... " >&6; }
16299 if ${ac_cv_have_isfinite+:} false
; then :
16300 $as_echo_n "(cached) " >&6
16302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16304 #define _GNU_SOURCE
16309 float f = 0.0; return isfinite(f)
16314 if ac_fn_c_try_link
"$LINENO"; then :
16315 ac_cv_have_isfinite
="yes"
16317 ac_cv_have_isfinite
="no"
16319 rm -f core conftest.err conftest.
$ac_objext \
16320 conftest
$ac_exeext conftest.
$ac_ext
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16323 $as_echo "$ac_cv_have_isfinite" >&6; }
16324 if test "$ac_cv_have_isfinite" = "yes"
16327 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16331 ac_save_LIBS
="$LIBS"
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16334 $as_echo_n "checking for isinf... " >&6; }
16335 if ${ac_cv_have_isinf+:} false
; then :
16336 $as_echo_n "(cached) " >&6
16338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16339 /* end confdefs.h. */
16344 float f = 0.0; return isinf(f)
16349 if ac_fn_c_try_link
"$LINENO"; then :
16350 ac_cv_have_isinf
="yes"
16352 ac_cv_have_isinf
="no"
16354 rm -f core conftest.err conftest.
$ac_objext \
16355 conftest
$ac_exeext conftest.
$ac_ext
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16358 $as_echo "$ac_cv_have_isinf" >&6; }
16359 if test "$ac_cv_have_isinf" = "yes"
16362 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16367 $as_echo_n "checking for isnan... " >&6; }
16368 if ${ac_cv_have_isnan+:} false
; then :
16369 $as_echo_n "(cached) " >&6
16371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16372 /* end confdefs.h. */
16377 float f = 0.0; return isnan(f)
16382 if ac_fn_c_try_link
"$LINENO"; then :
16383 ac_cv_have_isnan
="yes"
16385 ac_cv_have_isnan
="no"
16387 rm -f core conftest.err conftest.
$ac_objext \
16388 conftest
$ac_exeext conftest.
$ac_ext
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16391 $as_echo "$ac_cv_have_isnan" >&6; }
16392 if test "$ac_cv_have_isnan" = "yes"
16395 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16398 LIBS
="$ac_save_LIBS"
16402 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16403 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16404 if ${ac_cv_cpp_def___i386__+:} false
; then :
16405 $as_echo_n "(cached) " >&6
16407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16408 /* end confdefs.h. */
16413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16414 $EGREP "yes" >/dev
/null
2>&1; then :
16415 ac_cv_cpp_def___i386__
=yes
16417 ac_cv_cpp_def___i386__
=no
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16423 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16424 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16425 CFLAGS
="$CFLAGS -D__i386__"
16426 LINTFLAGS
="$LINTFLAGS -D__i386__"
16428 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16429 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16430 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16431 $as_echo_n "(cached) " >&6
16433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16434 /* end confdefs.h. */
16439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16440 $EGREP "yes" >/dev
/null
2>&1; then :
16441 ac_cv_cpp_def___x86_64__
=yes
16443 ac_cv_cpp_def___x86_64__
=no
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16449 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16450 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16451 CFLAGS
="$CFLAGS -D__x86_64__"
16452 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16454 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16455 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16456 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16457 $as_echo_n "(cached) " >&6
16459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16460 /* end confdefs.h. */
16461 #ifndef __sparc64__
16465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16466 $EGREP "yes" >/dev
/null
2>&1; then :
16467 ac_cv_cpp_def___sparc64__
=yes
16469 ac_cv_cpp_def___sparc64__
=no
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16475 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16476 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16477 CFLAGS
="$CFLAGS -D__sparc64__"
16478 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16480 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16481 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16482 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16483 $as_echo_n "(cached) " >&6
16485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16486 /* end confdefs.h. */
16491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16492 $EGREP "yes" >/dev
/null
2>&1; then :
16493 ac_cv_cpp_def___sparc__
=yes
16495 ac_cv_cpp_def___sparc__
=no
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16501 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16502 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16503 CFLAGS
="$CFLAGS -D__sparc__"
16504 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16506 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16507 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16508 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16509 $as_echo_n "(cached) " >&6
16511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h. */
16513 #ifndef __powerpc64__
16517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16518 $EGREP "yes" >/dev
/null
2>&1; then :
16519 ac_cv_cpp_def___powerpc64__
=yes
16521 ac_cv_cpp_def___powerpc64__
=no
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16527 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16528 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16529 CFLAGS
="$CFLAGS -D__powerpc64__"
16530 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16532 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16533 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16534 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16535 $as_echo_n "(cached) " >&6
16537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16538 /* end confdefs.h. */
16539 #ifndef __powerpc__
16543 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16544 $EGREP "yes" >/dev
/null
2>&1; then :
16545 ac_cv_cpp_def___powerpc__
=yes
16547 ac_cv_cpp_def___powerpc__
=no
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16553 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16554 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16555 CFLAGS
="$CFLAGS -D__powerpc__"
16556 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16558 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16559 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16560 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16561 $as_echo_n "(cached) " >&6
16563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16564 /* end confdefs.h. */
16565 #ifndef __aarch64__
16569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16570 $EGREP "yes" >/dev
/null
2>&1; then :
16571 ac_cv_cpp_def___aarch64__
=yes
16573 ac_cv_cpp_def___aarch64__
=no
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16579 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16580 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16581 CFLAGS
="$CFLAGS -D__aarch64__"
16582 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16584 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16585 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16586 if ${ac_cv_cpp_def___arm__+:} false
; then :
16587 $as_echo_n "(cached) " >&6
16589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16590 /* end confdefs.h. */
16595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16596 $EGREP "yes" >/dev
/null
2>&1; then :
16597 ac_cv_cpp_def___arm__
=yes
16599 ac_cv_cpp_def___arm__
=no
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16605 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16606 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16607 CFLAGS
="$CFLAGS -D__arm__"
16608 LINTFLAGS
="$LINTFLAGS -D__arm__"
16612 case $host_vendor in
16613 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16614 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16615 if ${ac_cv_cpp_def___sun__+:} false
; then :
16616 $as_echo_n "(cached) " >&6
16618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16619 /* end confdefs.h. */
16624 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16625 $EGREP "yes" >/dev
/null
2>&1; then :
16626 ac_cv_cpp_def___sun__
=yes
16628 ac_cv_cpp_def___sun__
=no
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16634 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16635 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16636 CFLAGS
="$CFLAGS -D__sun__"
16637 LINTFLAGS
="$LINTFLAGS -D__sun__"
16645 ac_config_commands
="$ac_config_commands include/stamp-h"
16647 $as_echo_n "creating Makefile rules..." >&6
16649 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16650 SOCKET_LIBS = $SOCKET_LIBS
16651 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16652 IOKIT_LIBS = $IOKIT_LIBS
16653 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16654 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16655 CORESERVICES_LIBS = $CORESERVICES_LIBS
16656 APPKIT_LIBS = $APPKIT_LIBS
16657 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16658 SECURITY_LIBS = $SECURITY_LIBS
16659 COREAUDIO_LIBS = $COREAUDIO_LIBS
16660 OPENAL_LIBS = $OPENAL_LIBS
16661 OPENCL_LIBS = $OPENCL_LIBS
16662 QUICKTIME_LIBS = $QUICKTIME_LIBS
16663 CARBON_LIBS = $CARBON_LIBS
16664 PTHREAD_LIBS = $PTHREAD_LIBS
16665 X_CFLAGS = $X_CFLAGS
16666 X_PRE_LIBS = $X_PRE_LIBS
16668 X_EXTRA_LIBS = $X_EXTRA_LIBS
16669 XML2_CFLAGS = $XML2_CFLAGS
16670 XML2_LIBS = $XML2_LIBS
16671 XSLT_CFLAGS = $XSLT_CFLAGS
16672 XSLT_LIBS = $XSLT_LIBS
16673 DBUS_CFLAGS = $DBUS_CFLAGS
16674 DBUS_LIBS = $DBUS_LIBS
16675 HAL_CFLAGS = $HAL_CFLAGS
16676 HAL_LIBS = $HAL_LIBS
16677 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16678 GNUTLS_LIBS = $GNUTLS_LIBS
16679 SANE_CFLAGS = $SANE_CFLAGS
16680 SANE_LIBS = $SANE_LIBS
16681 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16682 GPHOTO2_LIBS = $GPHOTO2_LIBS
16683 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16684 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16685 RESOLV_LIBS = $RESOLV_LIBS
16686 LCMS2_CFLAGS = $LCMS2_CFLAGS
16687 LCMS2_LIBS = $LCMS2_LIBS
16688 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16689 FREETYPE_LIBS = $FREETYPE_LIBS
16691 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16692 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16693 GSTREAMER_LIBS = $GSTREAMER_LIBS
16694 ALSA_LIBS = $ALSA_LIBS
16695 OSS4_CFLAGS = $OSS4_CFLAGS
16696 CAPI20_CFLAGS = $CAPI20_CFLAGS
16697 CAPI20_LIBS = $CAPI20_LIBS
16698 CUPS_CFLAGS = $CUPS_CFLAGS
16699 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16700 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16701 JPEG_CFLAGS = $JPEG_CFLAGS
16702 JPEG_LIBS = $JPEG_LIBS
16703 PNG_CFLAGS = $PNG_CFLAGS
16704 PNG_LIBS = $PNG_LIBS
16705 TIFF_CFLAGS = $TIFF_CFLAGS
16706 TIFF_LIBS = $TIFF_LIBS
16707 MPG123_CFLAGS = $MPG123_CFLAGS
16708 MPG123_LIBS = $MPG123_LIBS
16709 KSTAT_LIBS = $KSTAT_LIBS
16710 PROCSTAT_LIBS = $PROCSTAT_LIBS
16712 POLL_LIBS = $POLL_LIBS
16714 LDAP_LIBS = $LDAP_LIBS
16719 wine_fn_append_rule
"
16720 # Rules automatically generated by configure
16722 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16727 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16728 @./config.status Make.tmp Makefile"
16730 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16731 .gitignore: config.status
16732 @./config.status .gitignore"
16734 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16735 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16737 if test "x$enable_fonts" != xno
; then
16738 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16739 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16740 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16741 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16742 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16744 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16745 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16746 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16747 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16748 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16749 wine_fn_config_symlink wine
16750 if test "x$enable_win64" != xno
; then
16751 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16752 wine_fn_config_symlink wine64
16755 wine_fn_config_dll acledit enable_acledit
16756 wine_fn_config_dll aclui enable_aclui implib
16757 wine_fn_config_dll activeds enable_activeds implib
16758 wine_fn_config_dll actxprxy enable_actxprxy clean
16759 wine_fn_config_lib adsiid
16760 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16761 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16762 wine_fn_config_dll advpack enable_advpack implib
16763 wine_fn_config_test dlls
/advpack
/tests advpack_test
16764 wine_fn_config_dll amstream enable_amstream clean
16765 wine_fn_config_test dlls
/amstream
/tests amstream_test
16766 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16767 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16768 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16769 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16770 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16771 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16772 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16773 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16774 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16775 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16776 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16777 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16778 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16779 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16780 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16781 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16782 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16783 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16784 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16785 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16786 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16787 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16788 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16789 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16790 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16791 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16792 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16793 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16794 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16795 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16796 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16797 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16798 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16799 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16800 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16801 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16802 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16803 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16804 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16805 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16806 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16807 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16808 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16809 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16810 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16811 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16812 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16813 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16814 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16815 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16816 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16817 wine_fn_config_dll apphelp enable_apphelp
16818 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16819 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16820 wine_fn_config_dll atl enable_atl clean
,implib
16821 wine_fn_config_test dlls
/atl
/tests atl_test
16822 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16823 wine_fn_config_test dlls
/atl100
/tests atl100_test
16824 wine_fn_config_dll atl110 enable_atl110 clean
16825 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16826 wine_fn_config_test dlls
/atl80
/tests atl80_test
16827 wine_fn_config_dll atl90 enable_atl90 clean
16828 wine_fn_config_dll authz enable_authz
16829 wine_fn_config_dll avicap32 enable_avicap32 implib
16830 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16831 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16832 wine_fn_config_dll avifile.dll16 enable_win16
16833 wine_fn_config_dll avrt enable_avrt implib
16834 wine_fn_config_dll bcrypt enable_bcrypt
16835 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16836 wine_fn_config_dll browseui enable_browseui clean
,po
16837 wine_fn_config_test dlls
/browseui
/tests browseui_test
16838 wine_fn_config_dll cabinet enable_cabinet implib
16839 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16840 wine_fn_config_dll capi2032 enable_capi2032 implib
16841 wine_fn_config_dll cards enable_cards implib
16842 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16843 wine_fn_config_dll clusapi enable_clusapi implib
16844 wine_fn_config_dll comcat enable_comcat
16845 wine_fn_config_test dlls
/comcat
/tests comcat_test
16846 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16847 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16848 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16849 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16850 wine_fn_config_dll
comm.drv16 enable_win16
16851 wine_fn_config_dll commdlg.dll16 enable_win16
16852 wine_fn_config_dll compobj.dll16 enable_win16
16853 wine_fn_config_dll compstui enable_compstui implib
16854 wine_fn_config_dll comsvcs enable_comsvcs implib
16855 wine_fn_config_dll credui enable_credui implib
,po
16856 wine_fn_config_test dlls
/credui
/tests credui_test
16857 wine_fn_config_dll crtdll enable_crtdll implib
16858 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16859 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16860 wine_fn_config_dll cryptdlg enable_cryptdlg po
16861 wine_fn_config_dll cryptdll enable_cryptdll implib
16862 wine_fn_config_dll cryptnet enable_cryptnet implib
16863 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16864 wine_fn_config_dll cryptui enable_cryptui implib
,po
16865 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16866 wine_fn_config_dll ctapi32 enable_ctapi32
16867 wine_fn_config_dll ctl3d.dll16 enable_win16
16868 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16869 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16870 wine_fn_config_dll d2d1 enable_d2d1 implib
16871 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16872 wine_fn_config_dll d3d10 enable_d3d10 implib
16873 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16874 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16875 wine_fn_config_dll d3d10core enable_d3d10core implib
16876 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16877 wine_fn_config_dll d3d11 enable_d3d11
16878 wine_fn_config_dll d3d8 enable_d3d8 implib
16879 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16880 wine_fn_config_dll d3d9 enable_d3d9 implib
16881 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16882 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16883 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16884 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16885 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16886 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16887 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16888 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16889 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16890 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16891 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16892 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16893 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16894 wine_fn_config_dll d3dim enable_d3dim implib
16895 wine_fn_config_dll d3drm enable_d3drm implib
16896 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16897 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16898 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16899 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16900 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16901 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16902 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16903 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16904 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16905 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16906 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16907 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16908 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16909 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16910 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16911 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16912 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16913 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16914 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16915 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16916 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16917 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16918 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16919 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16920 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16921 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16922 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16923 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16924 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16925 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16926 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16927 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16928 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16929 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16930 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16931 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16932 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16933 wine_fn_config_dll dbgeng enable_dbgeng implib
16934 wine_fn_config_dll dbghelp enable_dbghelp implib
16935 wine_fn_config_dll dciman32 enable_dciman32 implib
16936 wine_fn_config_dll ddeml.dll16 enable_win16
16937 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16938 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16939 wine_fn_config_dll ddrawex enable_ddrawex clean
16940 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16941 wine_fn_config_dll devenum enable_devenum clean
,po
16942 wine_fn_config_test dlls
/devenum
/tests devenum_test
16943 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16944 wine_fn_config_dll difxapi enable_difxapi
16945 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16946 wine_fn_config_test dlls
/dinput
/tests dinput_test
16947 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16948 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16949 wine_fn_config_dll dispdib.dll16 enable_win16
16950 wine_fn_config_dll dispex enable_dispex clean
16951 wine_fn_config_test dlls
/dispex
/tests dispex_test
16952 wine_fn_config_dll display.drv16 enable_win16
16953 wine_fn_config_dll dmband enable_dmband clean
16954 wine_fn_config_test dlls
/dmband
/tests dmband_test
16955 wine_fn_config_dll dmcompos enable_dmcompos clean
16956 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16957 wine_fn_config_dll dmime enable_dmime clean
16958 wine_fn_config_test dlls
/dmime
/tests dmime_test
16959 wine_fn_config_dll dmloader enable_dmloader clean
16960 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16961 wine_fn_config_dll dmscript enable_dmscript clean
16962 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16963 wine_fn_config_dll dmstyle enable_dmstyle clean
16964 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16965 wine_fn_config_dll dmsynth enable_dmsynth clean
16966 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16967 wine_fn_config_dll dmusic enable_dmusic clean
16968 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16969 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16970 wine_fn_config_dll dnsapi enable_dnsapi implib
16971 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16972 wine_fn_config_dll dplay enable_dplay implib
16973 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16974 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16975 wine_fn_config_dll dpnaddr enable_dpnaddr
16976 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16977 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16978 wine_fn_config_dll dpnhpast enable_dpnhpast
16979 wine_fn_config_dll dpnlobby enable_dpnlobby
16980 wine_fn_config_dll dpvoice enable_dpvoice clean
16981 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
16982 wine_fn_config_dll dpwsockx enable_dpwsockx
16983 wine_fn_config_dll drmclien enable_drmclien
16984 wine_fn_config_dll dsound enable_dsound clean
,implib
16985 wine_fn_config_test dlls
/dsound
/tests dsound_test
16986 wine_fn_config_dll dssenh enable_dssenh
16987 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16988 wine_fn_config_dll dswave enable_dswave clean
16989 wine_fn_config_test dlls
/dswave
/tests dswave_test
16990 wine_fn_config_dll dwmapi enable_dwmapi implib
16991 wine_fn_config_dll dwrite enable_dwrite implib
16992 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16993 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16994 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16995 wine_fn_config_lib dxerr8
16996 wine_fn_config_lib dxerr9
16997 wine_fn_config_dll dxgi enable_dxgi implib
16998 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16999 wine_fn_config_lib dxguid
17000 wine_fn_config_dll dxva2 enable_dxva2
17001 wine_fn_config_dll explorerframe enable_explorerframe clean
17002 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17003 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17004 wine_fn_config_dll faultrep enable_faultrep implib
17005 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17006 wine_fn_config_dll fltlib enable_fltlib
17007 wine_fn_config_dll fntcache enable_fntcache
17008 wine_fn_config_dll fontsub enable_fontsub
17009 wine_fn_config_dll fusion enable_fusion
17010 wine_fn_config_test dlls
/fusion
/tests fusion_test
17011 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17012 wine_fn_config_dll gameux enable_gameux clean
17013 wine_fn_config_test dlls
/gameux
/tests gameux_test
17014 wine_fn_config_dll gdi.exe16 enable_win16
17015 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17016 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17017 wine_fn_config_dll gdiplus enable_gdiplus implib
17018 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17019 wine_fn_config_dll glu32 enable_glu32 implib
17020 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17021 wine_fn_config_dll gpkcsp enable_gpkcsp
17022 wine_fn_config_dll hal enable_hal
17023 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17024 wine_fn_config_dll hid enable_hid implib
17025 wine_fn_config_dll hlink enable_hlink clean
,implib
17026 wine_fn_config_test dlls
/hlink
/tests hlink_test
17027 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17028 wine_fn_config_dll httpapi enable_httpapi
17029 wine_fn_config_dll iccvid enable_iccvid po
17030 wine_fn_config_dll icmp enable_icmp
17031 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17032 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17033 wine_fn_config_dll ifsmgr.vxd enable_win16
17034 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17035 wine_fn_config_dll imagehlp enable_imagehlp implib
17036 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17037 wine_fn_config_dll imm.dll16 enable_win16
17038 wine_fn_config_dll imm32 enable_imm32 implib
17039 wine_fn_config_test dlls
/imm32
/tests imm32_test
17040 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17041 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17042 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17043 wine_fn_config_dll inetmib1 enable_inetmib1
17044 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17045 wine_fn_config_dll infosoft enable_infosoft clean
17046 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17047 wine_fn_config_dll initpki enable_initpki
17048 wine_fn_config_dll inkobj enable_inkobj
17049 wine_fn_config_dll inseng enable_inseng clean
17050 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17051 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17052 wine_fn_config_dll itircl enable_itircl
17053 wine_fn_config_dll itss enable_itss clean
17054 wine_fn_config_test dlls
/itss
/tests itss_test
17055 wine_fn_config_dll joy.cpl enable_joy_cpl po
17056 wine_fn_config_dll jscript enable_jscript clean
,po
17057 wine_fn_config_test dlls
/jscript
/tests jscript_test
17058 wine_fn_config_dll jsproxy enable_jsproxy implib
17059 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17060 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17061 wine_fn_config_dll keyboard.drv16 enable_win16
17062 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17063 wine_fn_config_dll ksuser enable_ksuser
17064 wine_fn_config_dll ktmw32 enable_ktmw32
17065 wine_fn_config_dll loadperf enable_loadperf implib
17066 wine_fn_config_dll localspl enable_localspl po
17067 wine_fn_config_test dlls
/localspl
/tests localspl_test
17068 wine_fn_config_dll localui enable_localui po
17069 wine_fn_config_test dlls
/localui
/tests localui_test
17070 wine_fn_config_dll lz32 enable_lz32 implib
17071 wine_fn_config_test dlls
/lz32
/tests lz32_test
17072 wine_fn_config_dll lzexpand.dll16 enable_win16
17073 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17074 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17075 wine_fn_config_dll mapistub enable_mapistub
17076 wine_fn_config_dll mciavi32 enable_mciavi32
17077 wine_fn_config_dll mcicda enable_mcicda
17078 wine_fn_config_dll mciqtz32 enable_mciqtz32
17079 wine_fn_config_dll mciseq enable_mciseq
17080 wine_fn_config_dll mciwave enable_mciwave
17081 wine_fn_config_dll mgmtapi enable_mgmtapi
17082 wine_fn_config_dll midimap enable_midimap
17083 wine_fn_config_dll mlang enable_mlang clean
,implib
17084 wine_fn_config_test dlls
/mlang
/tests mlang_test
17085 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17086 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17087 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17088 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17089 wine_fn_config_dll mmdevldr.vxd enable_win16
17090 wine_fn_config_dll mmsystem.dll16 enable_win16
17091 wine_fn_config_dll monodebg.vxd enable_win16
17092 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17093 wine_fn_config_dll mouse.drv16 enable_win16
17094 wine_fn_config_dll mpr enable_mpr implib
,po
17095 wine_fn_config_test dlls
/mpr
/tests mpr_test
17096 wine_fn_config_dll mprapi enable_mprapi implib
17097 wine_fn_config_dll msacm.dll16 enable_win16
17098 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17099 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17100 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17101 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17102 wine_fn_config_dll msasn1 enable_msasn1 implib
17103 wine_fn_config_dll mscat32 enable_mscat32
17104 wine_fn_config_dll mscms enable_mscms implib
17105 wine_fn_config_test dlls
/mscms
/tests mscms_test
17106 wine_fn_config_dll mscoree enable_mscoree clean
17107 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17108 wine_fn_config_dll msctf enable_msctf clean
17109 wine_fn_config_test dlls
/msctf
/tests msctf_test
17110 wine_fn_config_dll msdaps enable_msdaps clean
17111 wine_fn_config_dll msdmo enable_msdmo implib
17112 wine_fn_config_dll msftedit enable_msftedit
17113 wine_fn_config_dll msg711.acm enable_msg711_acm
17114 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17115 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17116 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17117 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17118 wine_fn_config_dll msi enable_msi clean
,implib
,po
17119 wine_fn_config_test dlls
/msi
/tests msi_test
17120 wine_fn_config_dll msident enable_msident clean
17121 wine_fn_config_dll msimg32 enable_msimg32 implib
17122 wine_fn_config_dll msimsg enable_msimsg
17123 wine_fn_config_dll msimtf enable_msimtf clean
17124 wine_fn_config_dll msisip enable_msisip
17125 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17126 wine_fn_config_dll msls31 enable_msls31
17127 wine_fn_config_dll msnet32 enable_msnet32
17128 wine_fn_config_dll mspatcha enable_mspatcha
17129 wine_fn_config_dll msrle32 enable_msrle32 po
17130 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17131 wine_fn_config_dll mssign32 enable_mssign32
17132 wine_fn_config_dll mssip32 enable_mssip32
17133 wine_fn_config_dll mstask enable_mstask clean
17134 wine_fn_config_test dlls
/mstask
/tests mstask_test
17135 wine_fn_config_dll msvcirt enable_msvcirt
17136 wine_fn_config_dll msvcm80 enable_msvcm80
17137 wine_fn_config_dll msvcm90 enable_msvcm90
17138 wine_fn_config_dll msvcp100 enable_msvcp100
17139 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17140 wine_fn_config_dll msvcp110 enable_msvcp110
17141 wine_fn_config_dll msvcp60 enable_msvcp60
17142 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17143 wine_fn_config_dll msvcp70 enable_msvcp70
17144 wine_fn_config_dll msvcp71 enable_msvcp71
17145 wine_fn_config_dll msvcp80 enable_msvcp80
17146 wine_fn_config_dll msvcp90 enable_msvcp90
17147 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17148 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17149 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17150 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17151 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17152 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17153 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17154 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17155 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17156 wine_fn_config_dll msvcrt enable_msvcrt implib
17157 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17158 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17159 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17160 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17161 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17162 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17163 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17164 wine_fn_config_dll msvidc32 enable_msvidc32 po
17165 wine_fn_config_dll msvideo.dll16 enable_win16
17166 wine_fn_config_dll mswsock enable_mswsock implib
17167 wine_fn_config_dll msxml enable_msxml clean
17168 wine_fn_config_dll msxml2 enable_msxml2 clean
17169 wine_fn_config_dll msxml3 enable_msxml3 clean
17170 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17171 wine_fn_config_dll msxml4 enable_msxml4 clean
17172 wine_fn_config_dll msxml6 enable_msxml6 clean
17173 wine_fn_config_dll nddeapi enable_nddeapi implib
17174 wine_fn_config_dll ndis.sys enable_ndis_sys
17175 wine_fn_config_dll netapi32 enable_netapi32 implib
17176 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17177 wine_fn_config_dll netcfgx enable_netcfgx clean
17178 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17179 wine_fn_config_dll netprofm enable_netprofm clean
17180 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17181 wine_fn_config_dll newdev enable_newdev implib
17182 wine_fn_config_dll normaliz enable_normaliz implib
17183 wine_fn_config_dll npmshtml enable_npmshtml
17184 wine_fn_config_dll npptools enable_npptools
17185 wine_fn_config_dll ntdll enable_ntdll implib
17186 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17187 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17188 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17189 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17190 wine_fn_config_dll ntprint enable_ntprint
17191 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17192 wine_fn_config_dll objsel enable_objsel clean
17193 wine_fn_config_dll odbc32 enable_odbc32 implib
17194 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17195 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17196 wine_fn_config_dll odbccu32 enable_odbccu32
17197 wine_fn_config_dll ole2.dll16 enable_win16
17198 wine_fn_config_dll ole2conv.dll16 enable_win16
17199 wine_fn_config_dll ole2disp.dll16 enable_win16
17200 wine_fn_config_dll ole2nls.dll16 enable_win16
17201 wine_fn_config_dll ole2prox.dll16 enable_win16
17202 wine_fn_config_dll ole2thk.dll16 enable_win16
17203 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17204 wine_fn_config_test dlls
/ole32
/tests ole32_test
17205 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17206 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17207 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17208 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17209 wine_fn_config_dll olecli.dll16 enable_win16
17210 wine_fn_config_dll olecli32 enable_olecli32 implib
17211 wine_fn_config_dll oledb32 enable_oledb32 clean
17212 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17213 wine_fn_config_dll oledlg enable_oledlg implib
,po
17214 wine_fn_config_dll olepro32 enable_olepro32 implib
17215 wine_fn_config_dll olesvr.dll16 enable_win16
17216 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17217 wine_fn_config_dll olethk32 enable_olethk32
17218 wine_fn_config_dll openal32 enable_openal32
17219 wine_fn_config_dll opencl enable_opencl
17220 wine_fn_config_dll opengl32 enable_opengl32 implib
17221 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17222 wine_fn_config_dll packager enable_packager clean
17223 wine_fn_config_test dlls
/packager
/tests packager_test
17224 wine_fn_config_dll pdh enable_pdh implib
17225 wine_fn_config_test dlls
/pdh
/tests pdh_test
17226 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17227 wine_fn_config_dll pidgen enable_pidgen
17228 wine_fn_config_dll powrprof enable_powrprof implib
17229 wine_fn_config_dll printui enable_printui
17230 wine_fn_config_dll prntvpt enable_prntvpt
17231 wine_fn_config_dll propsys enable_propsys clean
,implib
17232 wine_fn_config_test dlls
/propsys
/tests propsys_test
17233 wine_fn_config_dll psapi enable_psapi implib
17234 wine_fn_config_test dlls
/psapi
/tests psapi_test
17235 wine_fn_config_dll pstorec enable_pstorec clean
17236 wine_fn_config_dll qcap enable_qcap
17237 wine_fn_config_test dlls
/qcap
/tests qcap_test
17238 wine_fn_config_dll qedit enable_qedit clean
17239 wine_fn_config_test dlls
/qedit
/tests qedit_test
17240 wine_fn_config_dll qmgr enable_qmgr clean
17241 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17242 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17243 wine_fn_config_dll quartz enable_quartz clean
,implib
17244 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17245 wine_fn_config_dll query enable_query
17246 wine_fn_config_dll rasapi16.dll16 enable_win16
17247 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17248 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17249 wine_fn_config_dll rasdlg enable_rasdlg implib
17250 wine_fn_config_dll regapi enable_regapi
17251 wine_fn_config_dll resutils enable_resutils implib
17252 wine_fn_config_dll riched20 enable_riched20 implib
17253 wine_fn_config_test dlls
/riched20
/tests riched20_test
17254 wine_fn_config_dll riched32 enable_riched32
17255 wine_fn_config_test dlls
/riched32
/tests riched32_test
17256 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17257 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17258 wine_fn_config_dll rsabase enable_rsabase
17259 wine_fn_config_dll rsaenh enable_rsaenh implib
17260 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17261 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17262 wine_fn_config_dll rtutils enable_rtutils implib
17263 wine_fn_config_dll samlib enable_samlib
17264 wine_fn_config_dll sane.ds enable_sane_ds po
17265 wine_fn_config_dll scarddlg enable_scarddlg
17266 wine_fn_config_dll sccbase enable_sccbase
17267 wine_fn_config_dll schannel enable_schannel
17268 wine_fn_config_test dlls
/schannel
/tests schannel_test
17269 wine_fn_config_dll schedsvc enable_schedsvc clean
17270 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17271 wine_fn_config_dll scrrun enable_scrrun clean
17272 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17273 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17274 wine_fn_config_dll secur32 enable_secur32 implib
17275 wine_fn_config_test dlls
/secur32
/tests secur32_test
17276 wine_fn_config_dll security enable_security
17277 wine_fn_config_dll sensapi enable_sensapi implib
17278 wine_fn_config_dll serialui enable_serialui implib
,po
17279 wine_fn_config_test dlls
/serialui
/tests serialui_test
17280 wine_fn_config_dll setupapi enable_setupapi implib
,po
17281 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17282 wine_fn_config_dll setupx.dll16 enable_win16
17283 wine_fn_config_dll sfc enable_sfc implib
17284 wine_fn_config_dll sfc_os enable_sfc_os implib
17285 wine_fn_config_dll shdoclc enable_shdoclc po
17286 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17287 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17288 wine_fn_config_dll shell.dll16 enable_win16
17289 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17290 wine_fn_config_test dlls
/shell32
/tests shell32_test
17291 wine_fn_config_dll shfolder enable_shfolder implib
17292 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17293 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17294 wine_fn_config_dll slbcsp enable_slbcsp
17295 wine_fn_config_dll slc enable_slc implib
17296 wine_fn_config_dll snmpapi enable_snmpapi implib
17297 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17298 wine_fn_config_dll softpub enable_softpub
17299 wine_fn_config_dll sound.drv16 enable_win16
17300 wine_fn_config_dll spoolss enable_spoolss implib
17301 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17302 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17303 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17304 wine_fn_config_dll sti enable_sti clean
,implib
17305 wine_fn_config_test dlls
/sti
/tests sti_test
17306 wine_fn_config_dll storage.dll16 enable_win16
17307 wine_fn_config_dll stress.dll16 enable_win16
17308 wine_fn_config_lib strmbase
17309 wine_fn_config_lib strmiids
17310 wine_fn_config_dll svrapi enable_svrapi
17311 wine_fn_config_dll sxs enable_sxs implib
17312 wine_fn_config_test dlls
/sxs
/tests sxs_test
17313 wine_fn_config_dll system.drv16 enable_win16
17314 wine_fn_config_dll t2embed enable_t2embed
17315 wine_fn_config_dll tapi32 enable_tapi32 implib
17316 wine_fn_config_dll taskschd enable_taskschd clean
17317 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17318 wine_fn_config_dll toolhelp.dll16 enable_win16
17319 wine_fn_config_dll traffic enable_traffic
17320 wine_fn_config_dll twain.dll16 enable_win16
17321 wine_fn_config_dll twain_32 enable_twain_32
17322 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17323 wine_fn_config_dll typelib.dll16 enable_win16
17324 wine_fn_config_dll unicows enable_unicows implib
17325 wine_fn_config_dll updspapi enable_updspapi
17326 wine_fn_config_dll url enable_url implib
17327 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17328 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17329 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17330 wine_fn_config_dll user.exe16 enable_win16
17331 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17332 wine_fn_config_test dlls
/user32
/tests user32_test
17333 wine_fn_config_dll userenv enable_userenv implib
17334 wine_fn_config_test dlls
/userenv
/tests userenv_test
17335 wine_fn_config_dll usp10 enable_usp10 implib
17336 wine_fn_config_test dlls
/usp10
/tests usp10_test
17337 wine_fn_config_lib uuid
17338 wine_fn_config_dll uxtheme enable_uxtheme implib
17339 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17340 wine_fn_config_dll vbscript enable_vbscript clean
17341 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17342 wine_fn_config_dll vcomp enable_vcomp
17343 wine_fn_config_dll vcomp100 enable_vcomp100
17344 wine_fn_config_dll vcomp90 enable_vcomp90
17345 wine_fn_config_dll vdhcp.vxd enable_win16
17346 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17347 wine_fn_config_dll ver.dll16 enable_win16
17348 wine_fn_config_dll version enable_version implib
17349 wine_fn_config_test dlls
/version
/tests version_test
17350 wine_fn_config_dll vmm.vxd enable_win16
17351 wine_fn_config_dll vnbt.vxd enable_win16
17352 wine_fn_config_dll vnetbios.vxd enable_win16
17353 wine_fn_config_dll vtdapi.vxd enable_win16
17354 wine_fn_config_dll vwin32.vxd enable_win16
17355 wine_fn_config_dll w32skrnl enable_win16
17356 wine_fn_config_dll w32sys.dll16 enable_win16
17357 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17358 wine_fn_config_dll wbemprox enable_wbemprox clean
17359 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17360 wine_fn_config_dll webservices enable_webservices implib
17361 wine_fn_config_dll wer enable_wer implib
17362 wine_fn_config_test dlls
/wer
/tests wer_test
17363 wine_fn_config_dll wevtapi enable_wevtapi
17364 wine_fn_config_dll wiaservc enable_wiaservc clean
17365 wine_fn_config_dll win32s16.dll16 enable_win16
17366 wine_fn_config_dll win87em.dll16 enable_win16
17367 wine_fn_config_dll winaspi.dll16 enable_win16
17368 wine_fn_config_dll windebug.dll16 enable_win16
17369 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17370 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17371 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17372 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17373 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17374 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17375 wine_fn_config_lib winecrt0
17376 wine_fn_config_dll wined3d enable_wined3d implib
17377 wine_fn_config_dll winegstreamer enable_winegstreamer
17378 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17379 wine_fn_config_dll winemac.drv enable_winemac_drv
17380 wine_fn_config_dll winemapi enable_winemapi
17381 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17382 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17383 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17384 wine_fn_config_dll wineps16.drv16 enable_win16
17385 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17386 wine_fn_config_dll winex11.drv enable_winex11_drv
17387 wine_fn_config_dll wing.dll16 enable_win16
17388 wine_fn_config_dll wing32 enable_wing32
17389 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17390 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17391 wine_fn_config_dll wininet enable_wininet implib
,po
17392 wine_fn_config_test dlls
/wininet
/tests wininet_test
17393 wine_fn_config_dll winmm enable_winmm implib
,po
17394 wine_fn_config_test dlls
/winmm
/tests winmm_test
17395 wine_fn_config_dll winnls.dll16 enable_win16
17396 wine_fn_config_dll winnls32 enable_winnls32 implib
17397 wine_fn_config_dll winscard enable_winscard implib
17398 wine_fn_config_dll winsock.dll16 enable_win16
17399 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17400 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17401 wine_fn_config_dll winsta enable_winsta
17402 wine_fn_config_dll wintab.dll16 enable_win16
17403 wine_fn_config_dll wintab32 enable_wintab32 implib
17404 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17405 wine_fn_config_dll wintrust enable_wintrust implib
17406 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17407 wine_fn_config_dll wlanapi enable_wlanapi
17408 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17409 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17410 wine_fn_config_dll wmi enable_wmi
17411 wine_fn_config_dll wmiutils enable_wmiutils clean
17412 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17413 wine_fn_config_dll wmp enable_wmp clean
17414 wine_fn_config_test dlls
/wmp
/tests wmp_test
17415 wine_fn_config_dll wmvcore enable_wmvcore
17416 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17417 wine_fn_config_dll wow32 enable_win16 implib
17418 wine_fn_config_dll wpcap enable_wpcap
17419 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17420 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17421 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17422 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17423 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17424 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17425 wine_fn_config_dll wsock32 enable_wsock32 implib
17426 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17427 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17428 wine_fn_config_dll wuapi enable_wuapi clean
17429 wine_fn_config_dll wuaueng enable_wuaueng
17430 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17431 wine_fn_config_dll xinput1_1 enable_xinput1_1
17432 wine_fn_config_dll xinput1_2 enable_xinput1_2
17433 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17434 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17435 wine_fn_config_dll xinput1_4 enable_xinput1_4
17436 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17437 wine_fn_config_dll xmllite enable_xmllite implib
17438 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17439 wine_fn_config_dll xolehlp enable_xolehlp
17440 wine_fn_config_dll xpsprint enable_xpsprint
17441 wine_fn_config_dll xpssvcs enable_xpssvcs
17442 wine_fn_config_makefile documentation enable_documentation clean
17443 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17444 wine_fn_config_makefile include enable_include clean
,install-dev
17445 wine_fn_config_makefile libs
/port enable_libs_port
17446 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17447 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17448 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17449 wine_fn_config_program arp enable_arp
install
17450 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17451 wine_fn_config_program attrib enable_attrib
install,po
17452 wine_fn_config_program cabarc enable_cabarc
install
17453 wine_fn_config_program cacls enable_cacls
install
17454 wine_fn_config_program
clock enable_clock
install,po
17455 wine_fn_config_program cmd enable_cmd
install,po
17456 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17457 wine_fn_config_program conhost enable_conhost
install
17458 wine_fn_config_program control enable_control
install
17459 wine_fn_config_program cscript enable_cscript clean
,install
17460 wine_fn_config_program dpnsvr enable_dpnsvr
install
17461 wine_fn_config_program dxdiag enable_dxdiag
install,po
17462 wine_fn_config_program eject enable_eject
install
17463 wine_fn_config_program
expand enable_expand
install
17464 wine_fn_config_program explorer enable_explorer
install,po
17465 wine_fn_config_program extrac32 enable_extrac32
install
17466 wine_fn_config_program findstr enable_findstr
install
17467 wine_fn_config_program hh enable_hh
install
17468 wine_fn_config_program hostname enable_hostname
install,po
17469 wine_fn_config_program icinfo enable_icinfo
install
17470 wine_fn_config_program iexplore enable_iexplore
install
17471 wine_fn_config_program ipconfig enable_ipconfig
install,po
17472 wine_fn_config_program lodctr enable_lodctr
install
17473 wine_fn_config_program mofcomp enable_mofcomp
install
17474 wine_fn_config_program mshta enable_mshta
install
17475 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17476 wine_fn_config_program net enable_net
install,po
17477 wine_fn_config_program netsh enable_netsh
install
17478 wine_fn_config_program netstat enable_netstat
install,po
17479 wine_fn_config_program ngen enable_ngen
install
17480 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17481 wine_fn_config_program oleview enable_oleview
install,po
17482 wine_fn_config_program
ping enable_ping
install
17483 wine_fn_config_program plugplay enable_plugplay
install
17484 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17485 wine_fn_config_program progman enable_progman
install,po
17486 wine_fn_config_program reg enable_reg
install,po
17487 wine_fn_config_test programs
/reg
/tests reg.exe_test
17488 wine_fn_config_program regasm enable_regasm
install
17489 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17490 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17491 wine_fn_config_program regsvcs enable_regsvcs
install
17492 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17493 wine_fn_config_program rpcss enable_rpcss clean
,install
17494 wine_fn_config_program rundll.exe16 enable_win16
install
17495 wine_fn_config_program rundll32 enable_rundll32
install
17496 wine_fn_config_program sc enable_sc
install
17497 wine_fn_config_program schtasks enable_schtasks
install
17498 wine_fn_config_program sdbinst enable_sdbinst
install
17499 wine_fn_config_program secedit enable_secedit
install
17500 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17501 wine_fn_config_program services enable_services clean
,install
17502 wine_fn_config_test programs
/services
/tests services.exe_test
17503 wine_fn_config_program spoolsv enable_spoolsv
install
17504 wine_fn_config_program start enable_start
install,po
17505 wine_fn_config_program svchost enable_svchost
install
17506 wine_fn_config_program systeminfo enable_systeminfo
install
17507 wine_fn_config_program taskkill enable_taskkill
install,po
17508 wine_fn_config_program tasklist enable_tasklist
install
17509 wine_fn_config_program taskmgr enable_taskmgr
install,po
17510 wine_fn_config_program termsv enable_termsv
install
17511 wine_fn_config_program uninstaller enable_uninstaller
install,po
17512 wine_fn_config_program unlodctr enable_unlodctr
install
17513 wine_fn_config_program view enable_view
install,po
17514 wine_fn_config_program wevtutil enable_wevtutil
install
17515 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17516 wine_fn_config_program winebrowser enable_winebrowser
install
17517 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17518 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17519 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17520 wine_fn_config_program winedevice enable_winedevice
install
17521 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17522 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17523 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17524 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17525 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17526 wine_fn_config_program winetest enable_winetest clean
17527 wine_fn_config_program winevdm enable_win16
install
17528 wine_fn_config_program winhelp.exe16 enable_win16
install
17529 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17530 wine_fn_config_program winoldap.mod16 enable_win16
install
17531 wine_fn_config_program winver enable_winver
install
17532 wine_fn_config_program wmic enable_wmic
install,po
17533 wine_fn_config_program wordpad enable_wordpad
install,po
17534 wine_fn_config_program
write enable_write
install,po
17535 wine_fn_config_program wscript enable_wscript clean
,install
17536 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17537 wine_fn_config_program wusa enable_wusa
install
17538 wine_fn_config_program xcopy enable_xcopy
install,po
17539 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17540 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17541 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17542 wine_fn_config_tool tools
/sfnt2fon clean
17543 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17544 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17545 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17546 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17547 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17548 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17600 wine_fn_ignore_file
".gitignore"
17601 wine_fn_ignore_file
"Makefile"
17602 wine_fn_ignore_file
"TAGS"
17603 wine_fn_ignore_file
"tags"
17604 wine_fn_ignore_file
"autom4te.cache"
17605 wine_fn_ignore_file
"config.cache"
17606 wine_fn_ignore_file
"config.log"
17607 wine_fn_ignore_file
"config.status"
17608 wine_fn_ignore_file
"configure.lineno"
17609 wine_fn_ignore_file
"include/config.h"
17610 wine_fn_ignore_file
"include/stamp-h"
17611 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17613 if test "x$enable_tools" != xno
17615 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17616 ac_config_commands
="$ac_config_commands tools/makedep"
17620 ac_config_commands
="$ac_config_commands Makefile"
17623 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17627 if test "x$enable_maintainer_mode" = xyes
17629 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17630 autoconf --warnings=all
17631 include/config.h.in: include/stamp-h.in
17632 include/stamp-h.in: configure.ac aclocal.m4
17633 autoheader --warnings=all
17634 @echo timestamp > \$@"
17637 if test "x$with_gettextpo" = xyes
17639 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17640 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17641 \$(LINGUAS:%=po/%.po): po/wine.pot
17642 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17643 po/wine.pot: \$(ALL_POT_FILES)
17644 msgcat -o \$@ \$(ALL_POT_FILES)"
17647 if test "$MSGFMT" != false
17649 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17651 \$(RM) \$(LINGUAS:%=po/%.mo)"
17654 test "$srcdir" = . || posrc
="$srcdir/po"
17657 wine_fn_ignore_file
"po/$i.mo"
17658 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17659 \$(MSGFMT) -o \$@ $posrc/$i.po"
17665 if test "x$enable_tools" != xno
17667 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17668 @./config.status tools/makedep
17669 Makefile: tools/makedep$ac_exeext
17671 \$(RM) tools/makedep$ac_exeext"
17673 wine_fn_append_rule
"\$(MAKEDEP):
17674 @echo \"You need to run make in $TOOLSDIR first\" && false"
17677 if test -n "$with_wine64"
17679 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17680 fonts server tools:
17681 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17682 $with_wine64/loader/wine:
17683 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17684 $with_wine64/loader/wine-preloader:
17685 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17687 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17689 as_fn_append LOADER_RULES
"
17690 install install-lib:: wine.inf install-man-pages
17691 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17692 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17695 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17699 if test "$srcdir" = .
17701 ac_config_commands
="$ac_config_commands .gitignore"
17705 $as_echo " done" >&6
17706 cat >confcache
<<\_ACEOF
17707 # This file is a shell script that caches the results of configure
17708 # tests run on this system so they can be shared between configure
17709 # scripts and configure runs, see configure's option --config-cache.
17710 # It is not useful on other systems. If it contains results you don't
17711 # want to keep, you may remove or edit it.
17713 # config.status only pays attention to the cache file if you give it
17714 # the --recheck option to rerun configure.
17716 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17717 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17718 # following values.
17722 # The following way of writing the cache mishandles newlines in values,
17723 # but we know of no workaround that is simple, portable, and efficient.
17724 # So, we kill variables containing newlines.
17725 # Ultrix sh set writes to stderr and can't be redirected directly,
17726 # and sets the high bit in the cache file unless we assign to the vars.
17728 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17729 eval ac_val
=\$
$ac_var
17733 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17734 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17737 _ | IFS | as_nl
) ;; #(
17738 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17739 *) { eval $ac_var=; unset $ac_var;} ;;
17745 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17746 *${as_nl}ac_space
=\
*)
17747 # `set' does not quote correctly, so add quotes: double-quote
17748 # substitution turns \\\\ into \\, and sed turns \\ into \.
17751 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17754 # `set' quotes correctly as required by POSIX, so do not add quotes.
17755 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17764 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17766 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17768 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17769 if test -w "$cache_file"; then
17770 if test "x$cache_file" != "x/dev/null"; then
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17772 $as_echo "$as_me: updating cache $cache_file" >&6;}
17773 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17774 cat confcache
>"$cache_file"
17776 case $cache_file in #(
17778 mv -f confcache
"$cache_file"$$
&&
17779 mv -f "$cache_file"$$
"$cache_file" ;; #(
17781 mv -f confcache
"$cache_file" ;;
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17787 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17792 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17793 # Let make expand exec_prefix.
17794 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17796 DEFS
=-DHAVE_CONFIG_H
17801 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17802 # 1. Remove the extension, and $U if already installed.
17803 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17804 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17805 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17806 # will be set to the directory where LIBOBJS objects are built.
17807 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17808 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17810 LIBOBJS
=$ac_libobjs
17812 LTLIBOBJS
=$ac_ltlibobjs
17816 : "${CONFIG_STATUS=./config.status}"
17818 ac_clean_files_save
=$ac_clean_files
17819 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17821 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17823 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17825 # Generated by $as_me.
17826 # Run this file to recreate the current configuration.
17827 # Compiler output produced by configure, useful for debugging
17828 # configure, is in config.log if it exists.
17831 ac_cs_recheck=false
17834 SHELL=\${CONFIG_SHELL-$SHELL}
17837 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17838 ## -------------------- ##
17839 ## M4sh Initialization. ##
17840 ## -------------------- ##
17842 # Be more Bourne compatible
17843 DUALCASE
=1; export DUALCASE
# for MKS sh
17844 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17847 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17848 # is contrary to our usage. Disable this feature.
17849 alias -g '${1+"$@"}'='"$@"'
17850 setopt NO_GLOB_SUBST
17852 case `(set -o) 2>/dev/null` in #(
17864 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17865 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17866 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17867 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17868 # Prefer a ksh shell builtin over an external printf program on Solaris,
17869 # but without wasting forks for bash or zsh.
17870 if test -z "$BASH_VERSION$ZSH_VERSION" \
17871 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17872 as_echo='print
-r --'
17873 as_echo_n='print
-rn --'
17874 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17875 as_echo='printf %s
\n'
17876 as_echo_n='printf %s
'
17878 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17879 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17880 as_echo_n='/usr
/ucb
/echo -n'
17882 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17883 as_echo_n_body='eval
17887 expr "X$arg" : "X\\(.*\\)$as_nl";
17888 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17890 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17892 export as_echo_n_body
17893 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17895 export as_echo_body
17896 as_echo='sh
-c $as_echo_body as_echo
'
17899 # The user is always right.
17900 if test "${PATH_SEPARATOR+set}" != set; then
17902 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17903 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17910 # We need space, tab and new line, in precisely that order. Quoting is
17911 # there to prevent editors from complaining about space-tab.
17912 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17913 # splitting by setting IFS to empty value.)
17916 # Find who we are. Look in the path if we contain no directory separator.
17919 *[\\/]* ) as_myself=$0 ;;
17920 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17921 for as_dir in $PATH
17924 test -z "$as_dir" && as_dir=.
17925 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17931 # We did not find ourselves, most probably we were run as `sh COMMAND'
17932 # in which case we are not to be found in the path.
17933 if test "x$as_myself" = x
; then
17936 if test ! -f "$as_myself"; then
17937 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17941 # Unset variables that we do not need and which cause bugs (e.g. in
17942 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17943 # suppresses any "Segmentation fault" message there. '((' could
17944 # trigger a bug in pdksh 5.2.14.
17945 for as_var
in BASH_ENV ENV MAIL MAILPATH
17946 do eval test x\
${$as_var+set} = xset \
17947 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17960 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17963 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17964 # ----------------------------------------
17965 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17966 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17967 # script with STATUS, using 1 if that was 0.
17970 as_status
=$1; test $as_status -eq 0 && as_status
=1
17972 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17973 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17975 $as_echo "$as_me: error: $2" >&2
17976 as_fn_exit
$as_status
17980 # as_fn_set_status STATUS
17981 # -----------------------
17982 # Set $? to STATUS, without forking.
17983 as_fn_set_status
()
17986 } # as_fn_set_status
17988 # as_fn_exit STATUS
17989 # -----------------
17990 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17994 as_fn_set_status
$1
18000 # Portably unset VAR.
18003 { eval $1=; unset $1;}
18005 as_unset
=as_fn_unset
18006 # as_fn_append VAR VALUE
18007 # ----------------------
18008 # Append the text in VALUE to the end of the definition contained in VAR. Take
18009 # advantage of any shell optimizations that allow amortized linear growth over
18010 # repeated appends, instead of the typical quadratic growth present in naive
18012 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18013 eval 'as_fn_append ()
18024 # as_fn_arith ARG...
18025 # ------------------
18026 # Perform arithmetic evaluation on the ARGs, and store the result in the
18027 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18028 # must be portable across $(()) and expr.
18029 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18030 eval 'as_fn_arith ()
18037 as_val
=`expr "$@" || test $? -eq 1`
18042 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18043 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18049 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18050 as_basename
=basename
18055 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18061 as_me
=`$as_basename -- "$0" ||
18062 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18063 X"$0" : 'X\(//\)$' \| \
18064 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18066 sed '/^.*\/\([^/][^/]*\)\/*$/{
18080 # Avoid depending upon Character Ranges.
18081 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18082 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18083 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18084 as_cr_digits
='0123456789'
18085 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18087 ECHO_C
= ECHO_N
= ECHO_T
=
18088 case `echo -n x` in #(((((
18090 case `echo 'xy\c'` in
18091 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18093 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18100 rm -f conf$$ conf$$.exe conf$$.
file
18101 if test -d conf$$.dir
; then
18102 rm -f conf$$.dir
/conf$$.
file
18105 mkdir conf$$.dir
2>/dev
/null
18107 if (echo >conf$$.
file) 2>/dev
/null
; then
18108 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18110 # ... but there are two gotchas:
18111 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18112 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18113 # In both cases, we have to default to `cp -pR'.
18114 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18116 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18124 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18125 rmdir conf$$.dir
2>/dev
/null
18130 # Create "$as_dir" as a directory, including parents if necessary.
18135 -*) as_dir
=.
/$as_dir;;
18137 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18141 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18142 *) as_qdir
=$as_dir;;
18144 as_dirs
="'$as_qdir' $as_dirs"
18145 as_dir
=`$as_dirname -- "$as_dir" ||
18146 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18147 X"$as_dir" : 'X\(//\)[^/]' \| \
18148 X"$as_dir" : 'X\(//\)$' \| \
18149 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18150 $as_echo X"$as_dir" |
18151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18155 /^X\(\/\/\)[^/].*/{
18168 test -d "$as_dir" && break
18170 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18171 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18175 if mkdir
-p .
2>/dev
/null
; then
18176 as_mkdir_p
='mkdir -p "$as_dir"'
18178 test -d .
/-p && rmdir .
/-p
18183 # as_fn_executable_p FILE
18184 # -----------------------
18185 # Test if FILE is an executable regular file.
18186 as_fn_executable_p
()
18188 test -f "$1" && test -x "$1"
18189 } # as_fn_executable_p
18190 as_test_x
='test -x'
18191 as_executable_p
=as_fn_executable_p
18193 # Sed expression to map a string onto a valid CPP name.
18194 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18196 # Sed expression to map a string onto a valid variable name.
18197 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18201 ## ----------------------------------- ##
18202 ## Main body of $CONFIG_STATUS script. ##
18203 ## ----------------------------------- ##
18205 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18208 # Save the log message, to keep $0 and so on meaningful, and to
18209 # report actual input values of CONFIG_FILES etc. instead of their
18210 # values after options handling.
18212 This file was extended by Wine $as_me 1.7.30, which was
18213 generated by GNU Autoconf 2.69. Invocation command line was
18215 CONFIG_FILES = $CONFIG_FILES
18216 CONFIG_HEADERS = $CONFIG_HEADERS
18217 CONFIG_LINKS = $CONFIG_LINKS
18218 CONFIG_COMMANDS = $CONFIG_COMMANDS
18221 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18226 case $ac_config_files in *"
18227 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18230 case $ac_config_headers in *"
18231 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18235 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18236 # Files that config.status was made for.
18237 config_files="$ac_config_files"
18238 config_headers="$ac_config_headers"
18239 config_links="$ac_config_links"
18240 config_commands="$ac_config_commands"
18244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18246 \`$as_me' instantiates files and other configuration actions
18247 from templates according to the current configuration. Unless the files
18248 and actions are specified as TAGs, all are instantiated by default.
18250 Usage: $0 [OPTION]... [TAG]...
18252 -h, --help print this help, then exit
18253 -V, --version print version number and configuration settings, then exit
18254 --config print configuration, then exit
18255 -q, --quiet, --silent
18256 do not print progress messages
18257 -d, --debug don't remove temporary files
18258 --recheck update $as_me by reconfiguring in the same conditions
18259 --file=FILE[:TEMPLATE]
18260 instantiate the configuration file FILE
18261 --header=FILE[:TEMPLATE]
18262 instantiate the configuration header FILE
18264 Configuration files:
18267 Configuration headers:
18270 Configuration links:
18273 Configuration commands:
18276 Report bugs to <wine-devel@winehq.org>.
18277 Wine home page: <http://www.winehq.org>."
18280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18281 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18283 Wine config.status 1.7.30
18284 configured by $0, generated by GNU Autoconf 2.69,
18285 with options \\"\$ac_cs_config\\"
18287 Copyright (C) 2012 Free Software Foundation, Inc.
18288 This config.status script is free software; the Free Software Foundation
18289 gives unlimited permission to copy, distribute and modify it."
18293 test -n "\$AWK" || AWK=awk
18296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18297 # The default lists apply if the user does not specify any file.
18303 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18304 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18308 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18320 # Handling of the options.
18321 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18323 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18324 $as_echo "$ac_cs_version"; exit ;;
18325 --config |
--confi |
--conf |
--con |
--co |
--c )
18326 $as_echo "$ac_cs_config"; exit ;;
18327 --debug |
--debu |
--deb |
--de |
--d |
-d )
18329 --file |
--fil |
--fi |
--f )
18332 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18333 '') as_fn_error $?
"missing file argument" ;;
18335 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18336 ac_need_defaults
=false
;;
18337 --header |
--heade |
--head |
--hea )
18340 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18342 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18343 ac_need_defaults
=false
;;
18345 # Conflict between --help and --header
18346 as_fn_error $?
"ambiguous option: \`$1'
18347 Try \`$0 --help' for more information.";;
18348 --help |
--hel |
-h )
18349 $as_echo "$ac_cs_usage"; exit ;;
18350 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18351 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18354 # This is an error.
18355 -*) as_fn_error $?
"unrecognized option: \`$1'
18356 Try \`$0 --help' for more information." ;;
18358 *) as_fn_append ac_config_targets
" $1"
18359 ac_need_defaults
=false
;;
18365 ac_configure_extra_args
=
18367 if $ac_cs_silent; then
18369 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18374 if \$ac_cs_recheck; then
18375 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18377 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18378 CONFIG_SHELL='$SHELL'
18379 export CONFIG_SHELL
18384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18388 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18389 ## Running $as_me. ##
18395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18399 wine_fn_output_makedep ()
18401 as_dir=tools; as_fn_mkdir_p
18402 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18404 wine_fn_output_makefile ()
18406 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18407 `cat $wine_rules_file`
18409 as_fn_error $? "could not create Makefile" "$LINENO" 5
18411 wine_fn_output_gitignore ()
18413 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18416 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18423 # Handling of arguments.
18424 for ac_config_target
in $ac_config_targets
18426 case $ac_config_target in
18427 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18428 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18429 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18430 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18431 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18432 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18433 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18434 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18435 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18436 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18437 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18438 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18439 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18440 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18442 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18447 # If the user did not use the arguments to specify the items to instantiate,
18448 # then the envvar interface is used. Set only those that are not.
18449 # We use the long form for the default assignment because of an extremely
18450 # bizarre bug on SunOS 4.1.3.
18451 if $ac_need_defaults; then
18452 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18453 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18454 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18455 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18458 # Have a temporary directory for convenience. Make it in the build tree
18459 # simply because there is no reason against having it here, and in addition,
18460 # creating and moving files from /tmp can sometimes cause problems.
18461 # Hook for its removal unless debugging.
18462 # Note that there is a small window in which the directory will not be cleaned:
18463 # after its creation but before its name has been assigned to `$tmp'.
18467 trap 'exit_status=$?
18468 : "${ac_tmp:=$tmp}"
18469 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18471 trap 'as_fn_exit 1' 1 2 13 15
18473 # Create a (secure) tmp directory for tmp files.
18476 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18480 tmp
=.
/conf$$
-$RANDOM
18481 (umask 077 && mkdir
"$tmp")
18482 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18485 # Set up the scripts for CONFIG_FILES section.
18486 # No need to generate them if there are no CONFIG_FILES.
18487 # This happens for instance with `./config.status config.h'.
18488 if test -n "$CONFIG_FILES"; then
18491 ac_cr
=`echo X | tr X '\015'`
18492 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18493 # But we know of no other shell where ac_cr would be empty at this
18494 # point, so we can use a bashism as a fallback.
18495 if test "x$ac_cr" = x
; then
18496 eval ac_cr
=\$
\'\\r
\'
18498 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18499 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18502 ac_cs_awk_cr
=$ac_cr
18505 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18510 echo "cat >conf$$subs.awk <<_ACEOF" &&
18511 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18513 } >conf$$subs.sh ||
18514 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18515 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18517 for ac_last_try in false false false false false :; do
18518 . ./conf$$subs.sh ||
18519 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18521 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18522 if test $ac_delim_n = $ac_delim_num; then
18524 elif $ac_last_try; then
18525 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18527 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18530 rm -f conf$$subs.sh
18532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18533 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18537 s/^/S["/; s
/!.
*/"]=/
18547 s/\(.\{148\}\)..*/\1/
18549 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18554 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18561 s/\(.\{148\}\)..*/\1/
18563 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18567 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18572 ' <conf$$subs.awk | sed '
18577 ' >>$CONFIG_STATUS || ac_write_fail=1
18578 rm -f conf$$subs.awk
18579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18581 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18582 for (key in S) S_is_set[key] = 1
18588 nfields = split(line, field, "@
")
18590 len = length(field[1])
18591 for (i = 2; i < nfields; i++) {
18593 keylen = length(key)
18594 if (S_is_set[key]) {
18596 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18597 len += length(value) + length(field[++i])
18608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18609 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18610 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18613 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18614 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18617 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18618 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18619 # trailing colons and then remove the whole line if VPATH becomes empty
18620 # (actually we leave an empty line to preserve line numbers).
18621 if test "x
$srcdir" = x.; then
18622 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18641 fi # test -n "$CONFIG_FILES"
18643 # Set up the scripts for CONFIG_HEADERS section.
18644 # No need to generate them if there are no CONFIG_HEADERS.
18645 # This happens for instance with `./config.status Makefile'.
18646 if test -n "$CONFIG_HEADERS"; then
18647 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18651 # Transform confdefs.h into an awk script `defines.awk', embedded as
18652 # here-document in config.status, that substitutes the proper values into
18653 # config.h.in to produce config.h.
18655 # Create a delimiter string that does not exist in confdefs.h, to ease
18656 # handling of long lines.
18658 for ac_last_try in false false :; do
18659 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18660 if test -z "$ac_tt"; then
18662 elif $ac_last_try; then
18663 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18665 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18669 # For the awk script, D is an array of macro values keyed by name,
18670 # likewise P contains macro parameters if any. Preserve backslash
18671 # newline sequences.
18673 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18675 s/.\{148\}/&'"$ac_delim"'/g
18678 s/^[ ]*#[ ]*define[ ][ ]*/ /
18685 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18687 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18691 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18692 D["\
1"]=" \
3\\\\\\n
"\\/p
18694 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18699 s/.\{148\}/&'"$ac_delim"'/g
18704 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18707 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18709 ' <confdefs.h | sed '
18710 s/'"$ac_delim"'/"\\\
18711 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18714 for (key in D) D_is_set[key] = 1
18717 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18719 split(line, arg, " ")
18720 if (arg[1] == "#") {
18724 defundef
= substr
(arg
[1], 2)
18727 split(mac1
, mac2
, "(") #)
18729 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18730 if (D_is_set
[macro
]) {
18731 # Preserve the white space surrounding the "#".
18732 print prefix
"define", macro P
[macro
] D
[macro
]
18735 # Replace #undef with comments. This is necessary, for example,
18736 # in the case of _POSIX_SOURCE, which is predefined and required
18737 # on some systems where configure will not decide to define it.
18738 if (defundef
== "undef") {
18739 print
"/*", prefix defundef
, macro
, "*/"
18747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18748 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18749 fi # test -n "$CONFIG_HEADERS"
18752 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18757 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18759 case $ac_mode$ac_tag in
18761 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18762 :[FH
]-) ac_tag
=-:-;;
18763 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18780 -) ac_f
="$ac_tmp/stdin";;
18781 *) # Look for the file first in the build tree, then in the source tree
18782 # (if the path is not absolute). The absolute path cannot be DOS-style,
18783 # because $ac_f cannot contain `:'.
18787 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18789 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18791 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18792 as_fn_append ac_file_inputs
" '$ac_f'"
18795 # Let's still pretend it is `configure' which instantiates (i.e., don't
18796 # use $as_me), people would be surprised to read:
18797 # /* config.h. Generated by config.status. */
18798 configure_input
='Generated from '`
18799 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18801 if test x
"$ac_file" != x-
; then
18802 configure_input
="$ac_file. $configure_input"
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18804 $as_echo "$as_me: creating $ac_file" >&6;}
18806 # Neutralize special characters interpreted by sed in replacement strings.
18807 case $configure_input in #(
18808 *\
&* |
*\|
* |
*\\* )
18809 ac_sed_conf_input
=`$as_echo "$configure_input" |
18810 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18811 *) ac_sed_conf_input
=$configure_input;;
18815 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18816 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18821 ac_dir
=`$as_dirname -- "$ac_file" ||
18822 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18823 X"$ac_file" : 'X\(//\)[^/]' \| \
18824 X"$ac_file" : 'X\(//\)$' \| \
18825 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18826 $as_echo X"$ac_file" |
18827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18831 /^X\(\/\/\)[^/].*/{
18844 as_dir
="$ac_dir"; as_fn_mkdir_p
18848 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18850 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18851 # A ".." for each directory in $ac_dir_suffix.
18852 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18853 case $ac_top_builddir_sub in
18854 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18855 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18858 ac_abs_top_builddir
=$ac_pwd
18859 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18860 # for backward compatibility:
18861 ac_top_builddir
=$ac_top_build_prefix
18864 .
) # We are building in place.
18866 ac_top_srcdir
=$ac_top_builddir_sub
18867 ac_abs_top_srcdir
=$ac_pwd ;;
18868 [\\/]* | ?
:[\\/]* ) # Absolute name.
18869 ac_srcdir
=$srcdir$ac_dir_suffix;
18870 ac_top_srcdir
=$srcdir
18871 ac_abs_top_srcdir
=$srcdir ;;
18872 *) # Relative name.
18873 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18874 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18875 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18877 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18889 # If the template does not know about datarootdir, expand it.
18890 # FIXME: This hack should be removed a few years after 2.60.
18891 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18902 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18903 *datarootdir
*) ac_datarootdir_seen
=yes;;
18904 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18906 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18909 ac_datarootdir_hack='
18910 s&@datadir@&$datadir&g
18911 s&@docdir@&$docdir&g
18912 s&@infodir@&$infodir&g
18913 s&@localedir@&$localedir&g
18914 s&@mandir@&$mandir&g
18915 s&\\\${datarootdir}&$datarootdir&g' ;;
18919 # Neutralize VPATH when `$srcdir' = `.'.
18920 # Shell code in configure.ac might set extrasub.
18921 # FIXME: do we really want to maintain this feature?
18922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18923 ac_sed_extra="$ac_vpsub
18926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18928 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18929 s|@configure_input@|
$ac_sed_conf_input|
;t t
18930 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18931 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18932 s
&@srcdir@
&$ac_srcdir&;t t
18933 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18934 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18935 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18936 s
&@builddir@
&$ac_builddir&;t t
18937 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18938 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18939 $ac_datarootdir_hack
18941 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18942 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18944 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18945 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18946 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18947 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18949 which seems to be undefined. Please make sure it is defined" >&5
18950 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18951 which seems to be undefined. Please make sure it is defined" >&2;}
18953 rm -f "$ac_tmp/stdin"
18955 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18956 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18958 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18964 if test x"$ac_file" != x-; then
18966 $as_echo "/* $configure_input */" \
18967 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18968 } >"$ac_tmp/config.h" \
18969 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18970 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18972 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18975 mv "$ac_tmp/config.h" "$ac_file" \
18976 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18979 $as_echo "/* $configure_input */" \
18980 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18981 || as_fn_error $? "could not create -" "$LINENO" 5
18989 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18992 # Prefer the file from the source tree if names are identical.
18993 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18994 ac_source=$srcdir/$ac_source
18997 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18998 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19000 if test ! -r "$ac_source"; then
19001 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19005 # Try a relative symlink, then a hard link, then a copy.
19007 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19008 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19010 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19011 ln "$ac_source" "$ac_file" 2>/dev/null ||
19012 cp -p "$ac_source" "$ac_file" ||
19013 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19016 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19017 $as_echo "$as_me: executing $ac_file commands" >&6;}
19022 case $ac_file$ac_mode in
19023 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19024 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19025 "Makefile":C) wine_fn_output_makefile Makefile ;;
19026 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19034 ac_clean_files=$ac_clean_files_save
19036 test $ac_write_fail = 0 ||
19037 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19040 # configure is writing to config.log, and then calls config.status.
19041 # config.status does its own redirection, appending to config.log.
19042 # Unfortunately, on DOS this fails, as config.log is still kept open
19043 # by configure, so config.status won't be able to
write to it
; its
19044 # output is simply discarded. So we exec the FD to /dev/null,
19045 # effectively closing config.log, so it can be properly (re)opened and
19046 # appended to by config.status. When coming back to configure, we
19047 # need to make the FD available again.
19048 if test "$no_create" != yes; then
19050 ac_config_status_args
=
19051 test "$silent" = yes &&
19052 ac_config_status_args
="$ac_config_status_args --quiet"
19054 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19056 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19057 # would make configure fail if this is the last instruction.
19058 $ac_cs_success || as_fn_exit
1
19060 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19062 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19066 if test "$no_create" = "yes"
19072 if test "x$wine_notices != "x
; then
19075 for msg
in $wine_notices; do
19077 if ${msg:+false} :; then :
19080 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19081 $as_echo "$as_me: $msg" >&6;}
19086 for msg
in $wine_warnings; do
19088 if ${msg:+false} :; then :
19092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19093 $as_echo "$as_me: WARNING: $msg" >&2;}
19099 $as_me: Finished. Do '${ac_make}' to compile Wine.