2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.32.
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.32'
584 PACKAGE_STRING
='Wine 1.7.32'
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_datetime_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_1
860 enable_api_ms_win_core_debug_l1_1_1
861 enable_api_ms_win_core_errorhandling_l1_1_1
862 enable_api_ms_win_core_errorhandling_l1_1_2
863 enable_api_ms_win_core_fibers_l1_1_0
864 enable_api_ms_win_core_fibers_l1_1_1
865 enable_api_ms_win_core_file_l1_2_0
866 enable_api_ms_win_core_file_l2_1_0
867 enable_api_ms_win_core_file_l2_1_1
868 enable_api_ms_win_core_handle_l1_1_0
869 enable_api_ms_win_core_heap_l1_2_0
870 enable_api_ms_win_core_heap_obsolete_l1_1_0
871 enable_api_ms_win_core_interlocked_l1_2_0
872 enable_api_ms_win_core_io_l1_1_1
873 enable_api_ms_win_core_kernel32_legacy_l1_1_0
874 enable_api_ms_win_core_libraryloader_l1_1_1
875 enable_api_ms_win_core_localization_l1_2_0
876 enable_api_ms_win_core_localization_l1_2_1
877 enable_api_ms_win_core_localization_obsolete_l1_1_0
878 enable_api_ms_win_core_localregistry_l1_1_0
879 enable_api_ms_win_core_memory_l1_1_1
880 enable_api_ms_win_core_namedpipe_l1_2_0
881 enable_api_ms_win_core_processenvironment_l1_2_0
882 enable_api_ms_win_core_processthreads_l1_1_0
883 enable_api_ms_win_core_processthreads_l1_1_1
884 enable_api_ms_win_core_processthreads_l1_1_2
885 enable_api_ms_win_core_profile_l1_1_0
886 enable_api_ms_win_core_psapi_l1_1_0
887 enable_api_ms_win_core_registry_l1_1_0
888 enable_api_ms_win_core_rtlsupport_l1_2_0
889 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
890 enable_api_ms_win_core_string_l1_1_0
891 enable_api_ms_win_core_synch_l1_2_0
892 enable_api_ms_win_core_sysinfo_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_1
894 enable_api_ms_win_core_threadpool_legacy_l1_1_0
895 enable_api_ms_win_core_timezone_l1_1_0
896 enable_api_ms_win_core_url_l1_1_0
897 enable_api_ms_win_core_util_l1_1_0
898 enable_api_ms_win_core_winrt_error_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_1
900 enable_api_ms_win_core_winrt_l1_1_0
901 enable_api_ms_win_core_winrt_string_l1_1_0
902 enable_api_ms_win_core_xstate_l2_1_0
903 enable_api_ms_win_downlevel_advapi32_l1_1_0
904 enable_api_ms_win_downlevel_advapi32_l2_1_0
905 enable_api_ms_win_downlevel_normaliz_l1_1_0
906 enable_api_ms_win_downlevel_ole32_l1_1_0
907 enable_api_ms_win_downlevel_shell32_l1_1_0
908 enable_api_ms_win_downlevel_shlwapi_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l2_1_0
910 enable_api_ms_win_downlevel_user32_l1_1_0
911 enable_api_ms_win_downlevel_version_l1_1_0
912 enable_api_ms_win_eventing_provider_l1_1_0
913 enable_api_ms_win_ntuser_dc_access_l1_1_0
914 enable_api_ms_win_security_base_l1_1_0
915 enable_api_ms_win_security_base_l1_2_0
916 enable_api_ms_win_security_sddl_l1_1_0
917 enable_api_ms_win_service_core_l1_1_1
918 enable_api_ms_win_service_management_l1_1_0
919 enable_api_ms_win_service_winsvc_l1_2_0
961 enable_d3dcompiler_33
962 enable_d3dcompiler_34
963 enable_d3dcompiler_35
964 enable_d3dcompiler_36
965 enable_d3dcompiler_37
966 enable_d3dcompiler_38
967 enable_d3dcompiler_39
968 enable_d3dcompiler_40
969 enable_d3dcompiler_41
970 enable_d3dcompiler_42
971 enable_d3dcompiler_43
1046 enable_explorerframe
1047 enable_ext_ms_win_gdi_devcaps_l1_1_0
1200 enable_photometadatahandler
1282 enable_windowscodecs
1283 enable_windowscodecsext
1285 enable_winecoreaudio_drv
1287 enable_winegstreamer
1288 enable_winejoystick_drv
1294 enable_wineqtdecoder
1331 enable_documentation
1339 enable_aspnet_regiis
1372 enable_presentationfontcache
1385 enable_servicemodelreg
1406 enable_winemenubuilder
1408 enable_winemsibuilder
1422 ac_precious_vars
='build_alias
1471 # Initialize some variables set by options.
1473 ac_init_version
=false
1474 ac_unrecognized_opts
=
1475 ac_unrecognized_sep
=
1476 # The variables have the same names as the options, with
1477 # dashes changed to underlines.
1478 cache_file
=/dev
/null
1485 program_transform_name
=s
,x
,x
,
1493 # Installation directory options.
1494 # These are left unexpanded so users can "make install exec_prefix=/foo"
1495 # and all the variables that are supposed to be based on exec_prefix
1496 # by default will actually change.
1497 # Use braces instead of parens because sh, perl, etc. also accept them.
1498 # (The list follows the same order as the GNU Coding Standards.)
1499 bindir
='${exec_prefix}/bin'
1500 sbindir
='${exec_prefix}/sbin'
1501 libexecdir
='${exec_prefix}/libexec'
1502 datarootdir
='${prefix}/share'
1503 datadir
='${datarootdir}'
1504 sysconfdir
='${prefix}/etc'
1505 sharedstatedir
='${prefix}/com'
1506 localstatedir
='${prefix}/var'
1507 includedir
='${prefix}/include'
1508 oldincludedir
='/usr/include'
1509 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1510 infodir
='${datarootdir}/info'
1515 libdir
='${exec_prefix}/lib'
1516 localedir
='${datarootdir}/locale'
1517 mandir
='${datarootdir}/man'
1523 # If the previous option needs an argument, assign it.
1524 if test -n "$ac_prev"; then
1525 eval $ac_prev=\
$ac_option
1531 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1536 # Accept the important Cygnus configure options, so we can diagnose typos.
1538 case $ac_dashdash$ac_option in
1542 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1544 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1545 bindir
=$ac_optarg ;;
1547 -build |
--build |
--buil |
--bui |
--bu)
1548 ac_prev
=build_alias
;;
1549 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1550 build_alias
=$ac_optarg ;;
1552 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1553 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1554 ac_prev
=cache_file
;;
1555 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1556 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1557 cache_file
=$ac_optarg ;;
1559 --config-cache |
-C)
1560 cache_file
=config.cache
;;
1562 -datadir |
--datadir |
--datadi |
--datad)
1564 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1565 datadir
=$ac_optarg ;;
1567 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1568 |
--dataroo |
--dataro |
--datar)
1569 ac_prev
=datarootdir
;;
1570 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1571 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1572 datarootdir
=$ac_optarg ;;
1574 -disable-* |
--disable-*)
1575 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1576 # Reject names that are not valid shell variable names.
1577 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1578 as_fn_error $?
"invalid feature name: $ac_useropt"
1579 ac_useropt_orig
=$ac_useropt
1580 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1581 case $ac_user_opts in
1583 "enable_
$ac_useropt"
1585 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1586 ac_unrecognized_sep
=', ';;
1588 eval enable_
$ac_useropt=no
;;
1590 -docdir |
--docdir |
--docdi |
--doc |
--do)
1592 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1593 docdir
=$ac_optarg ;;
1595 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1597 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1598 dvidir
=$ac_optarg ;;
1600 -enable-* |
--enable-*)
1601 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1602 # Reject names that are not valid shell variable names.
1603 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1604 as_fn_error $?
"invalid feature name: $ac_useropt"
1605 ac_useropt_orig
=$ac_useropt
1606 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1607 case $ac_user_opts in
1609 "enable_
$ac_useropt"
1611 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1612 ac_unrecognized_sep
=', ';;
1614 eval enable_
$ac_useropt=\
$ac_optarg ;;
1616 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1617 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1618 |
--exec |
--exe |
--ex)
1619 ac_prev
=exec_prefix
;;
1620 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1621 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1622 |
--exec=* |
--exe=* |
--ex=*)
1623 exec_prefix
=$ac_optarg ;;
1625 -gas |
--gas |
--ga |
--g)
1626 # Obsolete; use --with-gas.
1629 -help |
--help |
--hel |
--he |
-h)
1630 ac_init_help
=long
;;
1631 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1632 ac_init_help
=recursive
;;
1633 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1634 ac_init_help
=short
;;
1636 -host |
--host |
--hos |
--ho)
1637 ac_prev
=host_alias
;;
1638 -host=* |
--host=* |
--hos=* |
--ho=*)
1639 host_alias
=$ac_optarg ;;
1641 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1643 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1645 htmldir
=$ac_optarg ;;
1647 -includedir |
--includedir |
--includedi |
--included |
--include \
1648 |
--includ |
--inclu |
--incl |
--inc)
1649 ac_prev
=includedir
;;
1650 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1651 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1652 includedir
=$ac_optarg ;;
1654 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1656 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1657 infodir
=$ac_optarg ;;
1659 -libdir |
--libdir |
--libdi |
--libd)
1661 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1662 libdir
=$ac_optarg ;;
1664 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1665 |
--libexe |
--libex |
--libe)
1666 ac_prev
=libexecdir
;;
1667 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1668 |
--libexe=* |
--libex=* |
--libe=*)
1669 libexecdir
=$ac_optarg ;;
1671 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1672 ac_prev
=localedir
;;
1673 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1674 localedir
=$ac_optarg ;;
1676 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1677 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1678 ac_prev
=localstatedir
;;
1679 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1680 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1681 localstatedir
=$ac_optarg ;;
1683 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1685 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1686 mandir
=$ac_optarg ;;
1688 -nfp |
--nfp |
--nf)
1689 # Obsolete; use --without-fp.
1692 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1693 |
--no-cr |
--no-c |
-n)
1696 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1697 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1700 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1701 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1702 |
--oldin |
--oldi |
--old |
--ol |
--o)
1703 ac_prev
=oldincludedir
;;
1704 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1705 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1706 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1707 oldincludedir
=$ac_optarg ;;
1709 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1711 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1712 prefix
=$ac_optarg ;;
1714 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1715 |
--program-pre |
--program-pr |
--program-p)
1716 ac_prev
=program_prefix
;;
1717 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1718 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1719 program_prefix
=$ac_optarg ;;
1721 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1722 |
--program-suf |
--program-su |
--program-s)
1723 ac_prev
=program_suffix
;;
1724 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1725 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1726 program_suffix
=$ac_optarg ;;
1728 -program-transform-name |
--program-transform-name \
1729 |
--program-transform-nam |
--program-transform-na \
1730 |
--program-transform-n |
--program-transform- \
1731 |
--program-transform |
--program-transfor \
1732 |
--program-transfo |
--program-transf \
1733 |
--program-trans |
--program-tran \
1734 |
--progr-tra |
--program-tr |
--program-t)
1735 ac_prev
=program_transform_name
;;
1736 -program-transform-name=* |
--program-transform-name=* \
1737 |
--program-transform-nam=* |
--program-transform-na=* \
1738 |
--program-transform-n=* |
--program-transform-=* \
1739 |
--program-transform=* |
--program-transfor=* \
1740 |
--program-transfo=* |
--program-transf=* \
1741 |
--program-trans=* |
--program-tran=* \
1742 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1743 program_transform_name
=$ac_optarg ;;
1745 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1747 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1748 pdfdir
=$ac_optarg ;;
1750 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1752 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1755 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1756 |
-silent |
--silent |
--silen |
--sile |
--sil)
1759 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1761 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1763 sbindir
=$ac_optarg ;;
1765 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1766 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1767 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1769 ac_prev
=sharedstatedir
;;
1770 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1771 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1772 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1774 sharedstatedir
=$ac_optarg ;;
1776 -site |
--site |
--sit)
1778 -site=* |
--site=* |
--sit=*)
1781 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1783 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1784 srcdir
=$ac_optarg ;;
1786 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1787 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1788 ac_prev
=sysconfdir
;;
1789 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1790 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1791 sysconfdir
=$ac_optarg ;;
1793 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1794 ac_prev
=target_alias
;;
1795 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1796 target_alias
=$ac_optarg ;;
1798 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1801 -version |
--version |
--versio |
--versi |
--vers |
-V)
1802 ac_init_version
=: ;;
1805 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1806 # Reject names that are not valid shell variable names.
1807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1808 as_fn_error $?
"invalid package name: $ac_useropt"
1809 ac_useropt_orig
=$ac_useropt
1810 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1811 case $ac_user_opts in
1815 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1816 ac_unrecognized_sep
=', ';;
1818 eval with_
$ac_useropt=\
$ac_optarg ;;
1820 -without-* |
--without-*)
1821 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1822 # Reject names that are not valid shell variable names.
1823 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1824 as_fn_error $?
"invalid package name: $ac_useropt"
1825 ac_useropt_orig
=$ac_useropt
1826 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1827 case $ac_user_opts in
1831 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1832 ac_unrecognized_sep
=', ';;
1834 eval with_
$ac_useropt=no
;;
1837 # Obsolete; use --with-x.
1840 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1841 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1842 ac_prev
=x_includes
;;
1843 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1844 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1845 x_includes
=$ac_optarg ;;
1847 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1848 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1849 ac_prev
=x_libraries
;;
1850 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1851 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1852 x_libraries
=$ac_optarg ;;
1854 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1855 Try \`$0 --help' for more information"
1859 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1860 # Reject names that are not valid shell variable names.
1861 case $ac_envvar in #(
1862 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1863 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1865 eval $ac_envvar=\
$ac_optarg
1866 export $ac_envvar ;;
1869 # FIXME: should be removed in autoconf 3.0.
1870 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1871 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1872 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1873 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1879 if test -n "$ac_prev"; then
1880 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1881 as_fn_error $?
"missing argument to $ac_option"
1884 if test -n "$ac_unrecognized_opts"; then
1885 case $enable_option_checking in
1887 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1888 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1892 # Check all directory arguments for consistency.
1893 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1894 datadir sysconfdir sharedstatedir localstatedir includedir \
1895 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1896 libdir localedir mandir
1898 eval ac_val
=\$
$ac_var
1899 # Remove trailing slashes.
1902 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1903 eval $ac_var=\
$ac_val;;
1905 # Be sure to have absolute directory names.
1907 [\\/$
]* | ?
:[\\/]* ) continue;;
1908 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1910 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1913 # There might be people who depend on the old broken behavior: `$host'
1914 # used to hold the argument of --host etc.
1915 # FIXME: To remove some day.
1918 target
=$target_alias
1920 # FIXME: To remove some day.
1921 if test "x$host_alias" != x
; then
1922 if test "x$build_alias" = x
; then
1923 cross_compiling
=maybe
1924 elif test "x$build_alias" != "x$host_alias"; then
1930 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1932 test "$silent" = yes && exec 6>/dev
/null
1935 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1936 ac_ls_di
=`ls -di .` &&
1937 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1938 as_fn_error $?
"working directory cannot be determined"
1939 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1940 as_fn_error $?
"pwd does not report name of working directory"
1943 # Find the source files, if location was not specified.
1944 if test -z "$srcdir"; then
1945 ac_srcdir_defaulted
=yes
1946 # Try the directory containing this script, then the parent directory.
1947 ac_confdir
=`$as_dirname -- "$as_myself" ||
1948 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1949 X"$as_myself" : 'X\(//\)[^/]' \| \
1950 X"$as_myself" : 'X\(//\)$' \| \
1951 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1952 $as_echo X"$as_myself" |
1953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1971 if test ! -r "$srcdir/$ac_unique_file"; then
1975 ac_srcdir_defaulted
=no
1977 if test ! -r "$srcdir/$ac_unique_file"; then
1978 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1979 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1981 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1983 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1985 # When building in place, set srcdir=.
1986 if test "$ac_abs_confdir" = "$ac_pwd"; then
1989 # Remove unnecessary trailing slashes from srcdir.
1990 # Double slashes in file names in object file debugging info
1991 # mess up M-x gdb in Emacs.
1993 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1995 for ac_var
in $ac_precious_vars; do
1996 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1997 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1998 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1999 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2003 # Report the --help message.
2005 if test "$ac_init_help" = "long"; then
2006 # Omit some internal or obsolete options to make the list less imposing.
2007 # This message is too long to be a string in the A/UX 3.1 sh.
2009 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
2011 Usage: $0 [OPTION]... [VAR=VALUE]...
2013 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2014 VAR=VALUE. See below for descriptions of some of the useful variables.
2016 Defaults for the options are specified in brackets.
2019 -h, --help display this help and exit
2020 --help=short display options specific to this package
2021 --help=recursive display the short help of all the included packages
2022 -V, --version display version information and exit
2023 -q, --quiet, --silent do not print \`checking ...' messages
2024 --cache-file=FILE cache test results in FILE [disabled]
2025 -C, --config-cache alias for \`--cache-file=config.cache'
2026 -n, --no-create do not create output files
2027 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2029 Installation directories:
2030 --prefix=PREFIX install architecture-independent files in PREFIX
2031 [$ac_default_prefix]
2032 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2035 By default, \`make install' will install all the files in
2036 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2037 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2038 for instance \`--prefix=\$HOME'.
2040 For better control, use the options below.
2042 Fine tuning of the installation directories:
2043 --bindir=DIR user executables [EPREFIX/bin]
2044 --sbindir=DIR system admin executables [EPREFIX/sbin]
2045 --libexecdir=DIR program executables [EPREFIX/libexec]
2046 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2047 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2048 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2049 --libdir=DIR object code libraries [EPREFIX/lib]
2050 --includedir=DIR C header files [PREFIX/include]
2051 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2052 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2053 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2054 --infodir=DIR info documentation [DATAROOTDIR/info]
2055 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2056 --mandir=DIR man documentation [DATAROOTDIR/man]
2057 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2058 --htmldir=DIR html documentation [DOCDIR]
2059 --dvidir=DIR dvi documentation [DOCDIR]
2060 --pdfdir=DIR pdf documentation [DOCDIR]
2061 --psdir=DIR ps documentation [DOCDIR]
2067 --x-includes=DIR X include files are
in DIR
2068 --x-libraries=DIR X library files are
in DIR
2071 --build=BUILD configure
for building on BUILD
[guessed
]
2072 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2076 if test -n "$ac_init_help"; then
2077 case $ac_init_help in
2078 short | recursive
) echo "Configuration of Wine 1.7.32:";;
2083 --disable-option-checking ignore unrecognized
--enable/--with options
2084 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2085 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2086 --disable-win16 do not include Win16 support
2087 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2089 --disable-tests do not build the regression tests
2090 --enable-maintainer-mode
2091 enable maintainer-specific build rules
2092 --disable-largefile omit support for large files
2095 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2096 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2097 --without-alsa do not use the Alsa sound support
2098 --without-capi do not use CAPI (ISDN support)
2099 --without-cms do not use CMS (color management support)
2100 --without-coreaudio do not use the CoreAudio sound support
2101 --without-cups do not use CUPS
2102 --without-curses do not use (n)curses
2103 --without-dbus do not use DBus (dynamic device support)
2104 --without-fontconfig do not use fontconfig
2105 --without-freetype do not use the FreeType library
2106 --without-gettext do not use gettext
2107 --with-gettextpo use the GetTextPO library to rebuild po files
2108 --without-gphoto do not use gphoto (Digital Camera support)
2109 --without-glu do not use the GLU library
2110 --without-gnutls do not use GnuTLS (schannel support)
2111 --without-gsm do not use libgsm (GSM 06.10 codec support)
2112 --without-gstreamer do not use GStreamer (codecs support)
2113 --without-hal do not use HAL (dynamic device support)
2114 --without-jpeg do not use JPEG
2115 --without-ldap do not use LDAP
2116 --without-mpg123 do not use the mpg123 library
2117 --without-netapi do not use the Samba NetAPI library
2118 --without-openal do not use OpenAL
2119 --without-opencl do not use OpenCL
2120 --without-opengl do not use OpenGL
2121 --without-osmesa do not use the OSMesa library
2122 --without-oss do not use the OSS sound support
2123 --without-pcap do not use the Packet Capture library
2124 --without-png do not use PNG
2125 --without-pthread do not use the pthread library
2126 --without-sane do not use SANE (scanner support)
2127 --without-tiff do not use TIFF
2128 --without-v4l do not use v4l1 (v4l support)
2129 --without-xcomposite do not use the Xcomposite extension
2130 --without-xcursor do not use the Xcursor extension
2131 --without-xinerama do not use Xinerama (multi-monitor support)
2132 --without-xinput do not use the Xinput extension
2133 --without-xinput2 do not use the Xinput 2 extension
2134 --without-xml do not use XML
2135 --without-xrandr do not use Xrandr (resolution changes)
2136 --without-xrender do not use the Xrender extension
2137 --without-xshape do not use the Xshape extension
2138 --without-xshm do not use XShm (shared memory extension)
2139 --without-xslt do not use XSLT
2140 --without-xxf86vm do not use XFree video mode extension
2141 --without-zlib do not use Zlib (data compression)
2142 --with-wine-tools=DIR use Wine tools from directory DIR
2143 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2144 --with-x use the X Window System
2146 Some influential environment variables:
2147 CC C compiler command
2148 CFLAGS C compiler flags
2149 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2150 nonstandard directory <lib dir>
2151 LIBS libraries to pass to the linker, e.g. -l<library>
2152 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2153 you have headers in a nonstandard directory <include dir>
2154 CXX C++ compiler command
2155 CXXFLAGS C++ compiler flags
2157 XMKMF Path to xmkmf, Makefile generator for X Window System
2158 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2159 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2160 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2161 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2162 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2163 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2164 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2165 HAL_LIBS Linker flags for hal, overriding pkg-config
2167 C compiler flags for gnutls, overriding pkg-config
2168 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2169 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2170 SANE_LIBS Linker flags for libsane, overriding pkg-config
2172 C compiler flags for libgphoto2, overriding pkg-config
2174 Linker flags for libgphoto2, overriding pkg-config
2176 C compiler flags for libgphoto2_port, overriding pkg-config
2178 Linker flags for libgphoto2_port, overriding pkg-config
2180 C compiler flags for lcms2, overriding pkg-config
2181 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2183 C compiler flags for freetype2, overriding pkg-config
2185 Linker flags for freetype2, overriding pkg-config
2187 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2189 Linker flags for gstreamer-app-0.10, overriding pkg-config
2191 C compiler flags for capi20, overriding pkg-config
2192 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2194 C compiler flags for fontconfig, overriding pkg-config
2196 Linker flags for fontconfig, overriding pkg-config
2197 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2198 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2199 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2200 PNG_LIBS Linker flags for libpng, overriding pkg-config
2201 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2202 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2204 C compiler flags for libmpg123, overriding pkg-config
2205 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2207 Use these variables to override the choices made by `configure' or to
help
2208 it to
find libraries and programs with nonstandard names
/locations.
2210 Report bugs to
<wine-devel@winehq.org
>.
2211 Wine home page
: <http
://www.winehq.org
>.
2216 if test "$ac_init_help" = "recursive"; then
2217 # If there are subdirs, report their specific --help.
2218 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2219 test -d "$ac_dir" ||
2220 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2225 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2227 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2228 # A ".." for each directory in $ac_dir_suffix.
2229 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2230 case $ac_top_builddir_sub in
2231 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2232 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2235 ac_abs_top_builddir
=$ac_pwd
2236 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2237 # for backward compatibility:
2238 ac_top_builddir
=$ac_top_build_prefix
2241 .
) # We are building in place.
2243 ac_top_srcdir
=$ac_top_builddir_sub
2244 ac_abs_top_srcdir
=$ac_pwd ;;
2245 [\\/]* | ?
:[\\/]* ) # Absolute name.
2246 ac_srcdir
=$srcdir$ac_dir_suffix;
2247 ac_top_srcdir
=$srcdir
2248 ac_abs_top_srcdir
=$srcdir ;;
2250 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2251 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2252 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2254 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2256 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2257 # Check for guested configure.
2258 if test -f "$ac_srcdir/configure.gnu"; then
2260 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2261 elif test -f "$ac_srcdir/configure"; then
2263 $SHELL "$ac_srcdir/configure" --help=recursive
2265 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2267 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2271 test -n "$ac_init_help" && exit $ac_status
2272 if $ac_init_version; then
2274 Wine configure
1.7.32
2275 generated by GNU Autoconf
2.69
2277 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2278 This configure
script is free software
; the Free Software Foundation
2279 gives unlimited permission to copy
, distribute and modify it.
2284 ## ------------------------ ##
2285 ## Autoconf initialization. ##
2286 ## ------------------------ ##
2288 # ac_fn_c_try_compile LINENO
2289 # --------------------------
2290 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2291 ac_fn_c_try_compile
()
2293 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2294 rm -f conftest.
$ac_objext
2295 if { { ac_try
="$ac_compile"
2297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2298 *) ac_try_echo=$ac_try;;
2300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2301 $as_echo "$ac_try_echo"; } >&5
2302 (eval "$ac_compile") 2>conftest.err
2304 if test -s conftest.err; then
2305 grep -v '^ *+' conftest.err >conftest.er1
2306 cat conftest.er1 >&5
2307 mv -f conftest.er1 conftest.err
2309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2310 test $ac_status = 0; } && {
2311 test -z "$ac_c_werror_flag" ||
2312 test ! -s conftest.err
2313 } && test -s conftest.$ac_objext; then :
2316 $as_echo "$as_me: failed program was:" >&5
2317 sed 's/^/| /' conftest.$ac_ext >&5
2321 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2322 as_fn_set_status $ac_retval
2324 } # ac_fn_c_try_compile
2326 # ac_fn_cxx_try_compile LINENO
2327 # ----------------------------
2328 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2329 ac_fn_cxx_try_compile ()
2331 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2332 rm -f conftest.$ac_objext
2333 if { { ac_try="$ac_compile"
2335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2336 *) ac_try_echo
=$ac_try;;
2338 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2339 $as_echo "$ac_try_echo"; } >&5
2340 (eval "$ac_compile") 2>conftest.err
2342 if test -s conftest.err
; then
2343 grep -v '^ *+' conftest.err
>conftest.er1
2344 cat conftest.er1
>&5
2345 mv -f conftest.er1 conftest.err
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; } && {
2349 test -z "$ac_cxx_werror_flag" ||
2350 test ! -s conftest.err
2351 } && test -s conftest.
$ac_objext; then :
2354 $as_echo "$as_me: failed program was:" >&5
2355 sed 's/^/| /' conftest.
$ac_ext >&5
2359 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2360 as_fn_set_status
$ac_retval
2362 } # ac_fn_cxx_try_compile
2364 # ac_fn_c_try_link LINENO
2365 # -----------------------
2366 # Try to link conftest.$ac_ext, and return whether this succeeded.
2369 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2370 rm -f conftest.
$ac_objext conftest
$ac_exeext
2371 if { { ac_try
="$ac_link"
2373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2374 *) ac_try_echo=$ac_try;;
2376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2377 $as_echo "$ac_try_echo"; } >&5
2378 (eval "$ac_link") 2>conftest.err
2380 if test -s conftest.err; then
2381 grep -v '^ *+' conftest.err >conftest.er1
2382 cat conftest.er1 >&5
2383 mv -f conftest.er1 conftest.err
2385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2386 test $ac_status = 0; } && {
2387 test -z "$ac_c_werror_flag" ||
2388 test ! -s conftest.err
2389 } && test -s conftest$ac_exeext && {
2390 test "$cross_compiling" = yes ||
2391 test -x conftest$ac_exeext
2395 $as_echo "$as_me: failed program was:" >&5
2396 sed 's/^/| /' conftest.$ac_ext >&5
2400 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2401 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2402 # interfere with the next link command; also delete a directory that is
2403 # left behind by Apple's compiler. We do this before executing the actions.
2404 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2405 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2406 as_fn_set_status $ac_retval
2408 } # ac_fn_c_try_link
2410 # ac_fn_c_try_cpp LINENO
2411 # ----------------------
2412 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2415 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2416 if { { ac_try="$ac_cpp conftest.$ac_ext"
2418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2419 *) ac_try_echo
=$ac_try;;
2421 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2422 $as_echo "$ac_try_echo"; } >&5
2423 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2425 if test -s conftest.err
; then
2426 grep -v '^ *+' conftest.err
>conftest.er1
2427 cat conftest.er1
>&5
2428 mv -f conftest.er1 conftest.err
2430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2431 test $ac_status = 0; } > conftest.i
&& {
2432 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2433 test ! -s conftest.err
2437 $as_echo "$as_me: failed program was:" >&5
2438 sed 's/^/| /' conftest.
$ac_ext >&5
2442 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2443 as_fn_set_status
$ac_retval
2447 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2448 # -------------------------------------------------------
2449 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2450 # the include files in INCLUDES and setting the cache variable VAR
2452 ac_fn_c_check_header_mongrel
()
2454 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2455 if eval \
${$3+:} false
; then :
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2457 $as_echo_n "checking for $2... " >&6; }
2458 if eval \
${$3+:} false
; then :
2459 $as_echo_n "(cached) " >&6
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2463 $as_echo "$ac_res" >&6; }
2465 # Is the header compilable?
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2467 $as_echo_n "checking $2 usability... " >&6; }
2468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2469 /* end confdefs.h. */
2473 if ac_fn_c_try_compile
"$LINENO"; then :
2474 ac_header_compiler
=yes
2476 ac_header_compiler
=no
2478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2480 $as_echo "$ac_header_compiler" >&6; }
2482 # Is the header present?
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2484 $as_echo_n "checking $2 presence... " >&6; }
2485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2486 /* end confdefs.h. */
2489 if ac_fn_c_try_cpp
"$LINENO"; then :
2490 ac_header_preproc
=yes
2492 ac_header_preproc
=no
2494 rm -f conftest.err conftest.i conftest.
$ac_ext
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2496 $as_echo "$ac_header_preproc" >&6; }
2498 # So? What about this header?
2499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2502 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2504 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2508 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2510 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2512 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2514 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2516 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2517 ( $as_echo "## ------------------------------------ ##
2518 ## Report this to wine-devel@winehq.org ##
2519 ## ------------------------------------ ##"
2520 ) |
sed "s/^/$as_me: WARNING: /" >&2
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2524 $as_echo_n "checking for $2... " >&6; }
2525 if eval \
${$3+:} false
; then :
2526 $as_echo_n "(cached) " >&6
2528 eval "$3=\$ac_header_compiler"
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2532 $as_echo "$ac_res" >&6; }
2534 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2536 } # ac_fn_c_check_header_mongrel
2538 # ac_fn_c_try_run LINENO
2539 # ----------------------
2540 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2541 # that executables *can* be run.
2544 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2545 if { { ac_try
="$ac_link"
2547 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2548 *) ac_try_echo=$ac_try;;
2550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2551 $as_echo "$ac_try_echo"; } >&5
2552 (eval "$ac_link") 2>&5
2554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2555 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2556 { { case "(($ac_try" in
2557 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2558 *) ac_try_echo
=$ac_try;;
2560 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2561 $as_echo "$ac_try_echo"; } >&5
2562 (eval "$ac_try") 2>&5
2564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2565 test $ac_status = 0; }; }; then :
2568 $as_echo "$as_me: program exited with status $ac_status" >&5
2569 $as_echo "$as_me: failed program was:" >&5
2570 sed 's/^/| /' conftest.
$ac_ext >&5
2572 ac_retval
=$ac_status
2574 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2575 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2576 as_fn_set_status
$ac_retval
2580 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2581 # -------------------------------------------------------
2582 # Tests whether HEADER exists and can be compiled using the include files in
2583 # INCLUDES, setting the cache variable VAR accordingly.
2584 ac_fn_c_check_header_compile
()
2586 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2588 $as_echo_n "checking for $2... " >&6; }
2589 if eval \
${$3+:} false
; then :
2590 $as_echo_n "(cached) " >&6
2592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2593 /* end confdefs.h. */
2597 if ac_fn_c_try_compile
"$LINENO"; then :
2602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2606 $as_echo "$ac_res" >&6; }
2607 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2609 } # ac_fn_c_check_header_compile
2611 # ac_fn_c_check_func LINENO FUNC VAR
2612 # ----------------------------------
2613 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2614 ac_fn_c_check_func
()
2616 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2618 $as_echo_n "checking for $2... " >&6; }
2619 if eval \
${$3+:} false
; then :
2620 $as_echo_n "(cached) " >&6
2622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2623 /* end confdefs.h. */
2624 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2626 #define $2 innocuous_$2
2628 /* System header to define __stub macros and hopefully few prototypes,
2629 which can conflict with char $2 (); below.
2630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2631 <limits.h> exists even on freestanding compilers. */
2634 # include <limits.h>
2636 # include <assert.h>
2641 /* Override any GCC internal prototype to avoid an error.
2642 Use char because int might match the return type of a GCC
2643 builtin and then its argument prototype would still apply. */
2648 /* The GNU C library defines this for functions which it implements
2649 to always fail with ENOSYS. Some functions are actually named
2650 something starting with __ and the normal name is an alias. */
2651 #if defined __stub_$2 || defined __stub___$2
2663 if ac_fn_c_try_link
"$LINENO"; then :
2668 rm -f core conftest.err conftest.
$ac_objext \
2669 conftest
$ac_exeext conftest.
$ac_ext
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2673 $as_echo "$ac_res" >&6; }
2674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2676 } # ac_fn_c_check_func
2678 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2679 # ----------------------------------------------------
2680 # Tries to find if the field MEMBER exists in type AGGR, after including
2681 # INCLUDES, setting cache variable VAR accordingly.
2682 ac_fn_c_check_member
()
2684 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2686 $as_echo_n "checking for $2.$3... " >&6; }
2687 if eval \
${$4+:} false
; then :
2688 $as_echo_n "(cached) " >&6
2690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2691 /* end confdefs.h. */
2703 if ac_fn_c_try_compile
"$LINENO"; then :
2706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2707 /* end confdefs.h. */
2713 if (sizeof ac_aggr.$3)
2719 if ac_fn_c_try_compile
"$LINENO"; then :
2724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2730 $as_echo "$ac_res" >&6; }
2731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2733 } # ac_fn_c_check_member
2735 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2736 # -------------------------------------------
2737 # Tests whether TYPE exists after having included INCLUDES, setting cache
2738 # variable VAR accordingly.
2739 ac_fn_c_check_type
()
2741 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2743 $as_echo_n "checking for $2... " >&6; }
2744 if eval \
${$3+:} false
; then :
2745 $as_echo_n "(cached) " >&6
2748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2749 /* end confdefs.h. */
2760 if ac_fn_c_try_compile
"$LINENO"; then :
2761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2762 /* end confdefs.h. */
2773 if ac_fn_c_try_compile
"$LINENO"; then :
2778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2784 $as_echo "$ac_res" >&6; }
2785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2787 } # ac_fn_c_check_type
2788 cat >config.log
<<_ACEOF
2789 This file contains any messages produced by compilers while
2790 running configure, to aid debugging if configure makes a mistake.
2792 It was created by Wine $as_me 1.7.32, which was
2793 generated by GNU Autoconf 2.69. Invocation command line was
2805 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2806 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2807 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2808 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2809 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2811 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2812 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2814 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2815 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2816 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2817 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2818 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2819 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2820 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir
=.
2829 $as_echo "PATH: $as_dir"
2845 # Keep a trace of the command line.
2846 # Strip out --no-create and --no-recursion so they do not pile up.
2847 # Strip out --silent because we don't want to record it for future runs.
2848 # Also quote any args containing shell meta-characters.
2849 # Make two passes to allow for proper duplicate-argument suppression.
2853 ac_must_keep_next
=false
2859 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2860 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2861 |
-silent |
--silent |
--silen |
--sile |
--sil)
2864 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2867 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2869 as_fn_append ac_configure_args1
" '$ac_arg'"
2870 if test $ac_must_keep_next = true
; then
2871 ac_must_keep_next
=false
# Got value, back to normal.
2874 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2875 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2876 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2877 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2878 case "$ac_configure_args0 " in
2879 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2882 -* ) ac_must_keep_next
=true
;;
2885 as_fn_append ac_configure_args
" '$ac_arg'"
2890 { ac_configure_args0
=; unset ac_configure_args0
;}
2891 { ac_configure_args1
=; unset ac_configure_args1
;}
2893 # When interrupted or exit'd, cleanup temporary files, and complete
2894 # config.log. We remove comments because anyway the quotes in there
2895 # would cause problems or look ugly.
2896 # WARNING: Use '\'' to represent an apostrophe within the trap.
2897 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2898 trap 'exit_status=$?
2899 # Save into config.log some information that might help in debugging.
2903 $as_echo "## ---------------- ##
2904 ## Cache variables. ##
2905 ## ---------------- ##"
2907 # The following way of writing the cache mishandles newlines in values,
2909 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2910 eval ac_val=\$$ac_var
2914 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2915 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2918 _ | IFS | as_nl) ;; #(
2919 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2920 *) { eval $ac_var=; unset $ac_var;} ;;
2925 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2926 *${as_nl}ac_space=\ *)
2928 "s/'\''/'\''\\\\'\'''\''/g;
2929 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2932 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2939 $as_echo "## ----------------- ##
2940 ## Output variables. ##
2941 ## ----------------- ##"
2943 for ac_var in $ac_subst_vars
2945 eval ac_val=\$$ac_var
2947 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2949 $as_echo "$ac_var='\''$ac_val'\''"
2953 if test -n "$ac_subst_files"; then
2954 $as_echo "## ------------------- ##
2955 ## File substitutions. ##
2956 ## ------------------- ##"
2958 for ac_var
in $ac_subst_files
2960 eval ac_val
=\$
$ac_var
2962 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2964 $as_echo "$ac_var='\''$ac_val'\''"
2969 if test -s confdefs.h; then
2970 $as_echo "## ----------- ##
2977 test "$ac_signal" != 0 &&
2978 $as_echo "$as_me: caught signal $ac_signal"
2979 $as_echo "$as_me: exit $exit_status"
2981 rm -f core *.core core.conftest.* &&
2982 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2985 for ac_signal
in 1 2 13 15; do
2986 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2990 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2991 rm -f -r conftest
* confdefs.h
2993 $as_echo "/* confdefs.h */" > confdefs.h
2995 # Predefined preprocessor variables.
2997 cat >>confdefs.h
<<_ACEOF
2998 #define PACKAGE_NAME "$PACKAGE_NAME"
3001 cat >>confdefs.h
<<_ACEOF
3002 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3005 cat >>confdefs.h
<<_ACEOF
3006 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3009 cat >>confdefs.h
<<_ACEOF
3010 #define PACKAGE_STRING "$PACKAGE_STRING"
3013 cat >>confdefs.h
<<_ACEOF
3014 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3017 cat >>confdefs.h
<<_ACEOF
3018 #define PACKAGE_URL "$PACKAGE_URL"
3022 # Let the site file select an alternate cache file if it wants to.
3023 # Prefer an explicitly selected file to automatically selected ones.
3026 if test -n "$CONFIG_SITE"; then
3027 # We do not want a PATH search for config.site.
3028 case $CONFIG_SITE in #((
3029 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3030 */*) ac_site_file1
=$CONFIG_SITE;;
3031 *) ac_site_file1
=.
/$CONFIG_SITE;;
3033 elif test "x$prefix" != xNONE
; then
3034 ac_site_file1
=$prefix/share
/config.site
3035 ac_site_file2
=$prefix/etc
/config.site
3037 ac_site_file1
=$ac_default_prefix/share
/config.site
3038 ac_site_file2
=$ac_default_prefix/etc
/config.site
3040 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3042 test "x$ac_site_file" = xNONE
&& continue
3043 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3045 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3046 sed 's/^/| /' "$ac_site_file" >&5
3048 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3050 as_fn_error $?
"failed to load site script $ac_site_file
3051 See \`config.log' for more details" "$LINENO" 5; }
3055 if test -r "$cache_file"; then
3056 # Some versions of bash will fail to source /dev/null (special files
3057 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3058 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3060 $as_echo "$as_me: loading cache $cache_file" >&6;}
3062 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3063 *) .
"./$cache_file";;
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3068 $as_echo "$as_me: creating cache $cache_file" >&6;}
3072 # Check that the precious variables saved in the cache have kept the same
3074 ac_cache_corrupted
=false
3075 for ac_var
in $ac_precious_vars; do
3076 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3077 eval ac_new_set
=\
$ac_env_${ac_var}_set
3078 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3079 eval ac_new_val
=\
$ac_env_${ac_var}_value
3080 case $ac_old_set,$ac_new_set in
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3083 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3084 ac_cache_corrupted
=: ;;
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3087 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3088 ac_cache_corrupted
=: ;;
3091 if test "x$ac_old_val" != "x$ac_new_val"; then
3092 # differences in whitespace do not lead to failure.
3093 ac_old_val_w
=`echo x $ac_old_val`
3094 ac_new_val_w
=`echo x $ac_new_val`
3095 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3097 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3098 ac_cache_corrupted
=:
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3101 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3102 eval $ac_var=\
$ac_old_val
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3105 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3107 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3110 # Pass precious variables to config.status.
3111 if test "$ac_new_set" = set; then
3113 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3114 *) ac_arg
=$ac_var=$ac_new_val ;;
3116 case " $ac_configure_args " in
3117 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3118 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3122 if $ac_cache_corrupted; then
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3126 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3127 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3129 ## -------------------- ##
3130 ## Main body of script. ##
3131 ## -------------------- ##
3134 ac_cpp
='$CPP $CPPFLAGS'
3135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3141 ac_config_headers
="$ac_config_headers include/config.h"
3144 for ac_dir
in tools
"$srcdir"/tools
; do
3145 if test -f "$ac_dir/install-sh"; then
3147 ac_install_sh
="$ac_aux_dir/install-sh -c"
3149 elif test -f "$ac_dir/install.sh"; then
3151 ac_install_sh
="$ac_aux_dir/install.sh -c"
3153 elif test -f "$ac_dir/shtool"; then
3155 ac_install_sh
="$ac_aux_dir/shtool install -c"
3159 if test -z "$ac_aux_dir"; then
3160 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3163 # These three variables are undocumented and unsupported,
3164 # and are intended to be withdrawn in a future Autoconf release.
3165 # They can cause serious problems if a builder's source tree is in a directory
3166 # whose full name contains unusual characters.
3167 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3168 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3169 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3173 libwine_version
="1.0"
3177 # Check whether --enable-win16 was given.
3178 if test "${enable_win16+set}" = set; then :
3179 enableval
=$enable_win16;
3182 # Check whether --enable-win64 was given.
3183 if test "${enable_win64+set}" = set; then :
3184 enableval
=$enable_win64;
3187 # Check whether --enable-tests was given.
3188 if test "${enable_tests+set}" = set; then :
3189 enableval
=$enable_tests;
3192 # Check whether --enable-maintainer-mode was given.
3193 if test "${enable_maintainer_mode+set}" = set; then :
3194 enableval
=$enable_maintainer_mode;
3199 # Check whether --with-alsa was given.
3200 if test "${with_alsa+set}" = set; then :
3201 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3205 # Check whether --with-capi was given.
3206 if test "${with_capi+set}" = set; then :
3211 # Check whether --with-cms was given.
3212 if test "${with_cms+set}" = set; then :
3217 # Check whether --with-coreaudio was given.
3218 if test "${with_coreaudio+set}" = set; then :
3219 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3223 # Check whether --with-cups was given.
3224 if test "${with_cups+set}" = set; then :
3229 # Check whether --with-curses was given.
3230 if test "${with_curses+set}" = set; then :
3231 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3235 # Check whether --with-dbus was given.
3236 if test "${with_dbus+set}" = set; then :
3241 # Check whether --with-fontconfig was given.
3242 if test "${with_fontconfig+set}" = set; then :
3243 withval
=$with_fontconfig;
3247 # Check whether --with-freetype was given.
3248 if test "${with_freetype+set}" = set; then :
3249 withval
=$with_freetype;
3253 # Check whether --with-gettext was given.
3254 if test "${with_gettext+set}" = set; then :
3255 withval
=$with_gettext;
3259 # Check whether --with-gettextpo was given.
3260 if test "${with_gettextpo+set}" = set; then :
3261 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3265 # Check whether --with-gphoto was given.
3266 if test "${with_gphoto+set}" = set; then :
3267 withval
=$with_gphoto;
3271 # Check whether --with-glu was given.
3272 if test "${with_glu+set}" = set; then :
3277 # Check whether --with-gnutls was given.
3278 if test "${with_gnutls+set}" = set; then :
3279 withval
=$with_gnutls;
3283 # Check whether --with-gsm was given.
3284 if test "${with_gsm+set}" = set; then :
3285 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3289 # Check whether --with-gstreamer was given.
3290 if test "${with_gstreamer+set}" = set; then :
3291 withval
=$with_gstreamer;
3295 # Check whether --with-hal was given.
3296 if test "${with_hal+set}" = set; then :
3301 # Check whether --with-jpeg was given.
3302 if test "${with_jpeg+set}" = set; then :
3307 # Check whether --with-ldap was given.
3308 if test "${with_ldap+set}" = set; then :
3309 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3313 # Check whether --with-mpg123 was given.
3314 if test "${with_mpg123+set}" = set; then :
3315 withval
=$with_mpg123;
3319 # Check whether --with-netapi was given.
3320 if test "${with_netapi+set}" = set; then :
3321 withval
=$with_netapi;
3325 # Check whether --with-openal was given.
3326 if test "${with_openal+set}" = set; then :
3327 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3331 # Check whether --with-opencl was given.
3332 if test "${with_opencl+set}" = set; then :
3333 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3337 # Check whether --with-opengl was given.
3338 if test "${with_opengl+set}" = set; then :
3339 withval
=$with_opengl;
3343 # Check whether --with-osmesa was given.
3344 if test "${with_osmesa+set}" = set; then :
3345 withval
=$with_osmesa;
3349 # Check whether --with-oss was given.
3350 if test "${with_oss+set}" = set; then :
3355 # Check whether --with-pcap was given.
3356 if test "${with_pcap+set}" = set; then :
3357 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3361 # Check whether --with-png was given.
3362 if test "${with_png+set}" = set; then :
3367 # Check whether --with-pthread was given.
3368 if test "${with_pthread+set}" = set; then :
3369 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3373 # Check whether --with-sane was given.
3374 if test "${with_sane+set}" = set; then :
3379 # Check whether --with-tiff was given.
3380 if test "${with_tiff+set}" = set; then :
3385 # Check whether --with-v4l was given.
3386 if test "${with_v4l+set}" = set; then :
3391 # Check whether --with-xcomposite was given.
3392 if test "${with_xcomposite+set}" = set; then :
3393 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3397 # Check whether --with-xcursor was given.
3398 if test "${with_xcursor+set}" = set; then :
3399 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3403 # Check whether --with-xinerama was given.
3404 if test "${with_xinerama+set}" = set; then :
3405 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3409 # Check whether --with-xinput was given.
3410 if test "${with_xinput+set}" = set; then :
3411 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3415 # Check whether --with-xinput2 was given.
3416 if test "${with_xinput2+set}" = set; then :
3417 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3421 # Check whether --with-xml was given.
3422 if test "${with_xml+set}" = set; then :
3427 # Check whether --with-xrandr was given.
3428 if test "${with_xrandr+set}" = set; then :
3429 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3433 # Check whether --with-xrender was given.
3434 if test "${with_xrender+set}" = set; then :
3435 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3439 # Check whether --with-xshape was given.
3440 if test "${with_xshape+set}" = set; then :
3441 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3445 # Check whether --with-xshm was given.
3446 if test "${with_xshm+set}" = set; then :
3447 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3451 # Check whether --with-xslt was given.
3452 if test "${with_xslt+set}" = set; then :
3457 # Check whether --with-xxf86vm was given.
3458 if test "${with_xxf86vm+set}" = set; then :
3459 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
3463 # Check whether --with-zlib was given.
3464 if test "${with_zlib+set}" = set; then :
3465 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3470 # Check whether --with-wine-tools was given.
3471 if test "${with_wine_tools+set}" = set; then :
3472 withval
=$with_wine_tools;
3476 # Check whether --with-wine64 was given.
3477 if test "${with_wine64+set}" = set; then :
3478 withval
=$with_wine64;
3482 # Make sure we can run config.sub.
3483 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3484 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3487 $as_echo_n "checking build system type... " >&6; }
3488 if ${ac_cv_build+:} false
; then :
3489 $as_echo_n "(cached) " >&6
3491 ac_build_alias
=$build_alias
3492 test "x$ac_build_alias" = x
&&
3493 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3494 test "x$ac_build_alias" = x
&&
3495 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3496 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3497 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3501 $as_echo "$ac_cv_build" >&6; }
3502 case $ac_cv_build in
3504 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3507 ac_save_IFS
=$IFS; IFS
='-'
3513 # Remember, the first character of IFS is used to create $*,
3514 # except with old shells:
3517 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3521 $as_echo_n "checking host system type... " >&6; }
3522 if ${ac_cv_host+:} false
; then :
3523 $as_echo_n "(cached) " >&6
3525 if test "x$host_alias" = x
; then
3526 ac_cv_host
=$ac_cv_build
3528 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3529 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3534 $as_echo "$ac_cv_host" >&6; }
3537 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3540 ac_save_IFS
=$IFS; IFS
='-'
3546 # Remember, the first character of IFS is used to create $*,
3547 # except with old shells:
3550 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3556 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3557 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3558 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3564 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3566 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3567 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3568 $as_echo_n "(cached) " >&6
3570 cat >conftest.
make <<\_ACEOF
3573 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3575 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3576 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3578 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3580 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3584 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3586 $as_echo "yes" >&6; }
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3591 SET_MAKE
="MAKE=${MAKE-make}"
3595 ac_cpp
='$CPP $CPPFLAGS'
3596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3599 if test -n "$ac_tool_prefix"; then
3600 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3601 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3603 $as_echo_n "checking for $ac_word... " >&6; }
3604 if ${ac_cv_prog_CC+:} false
; then :
3605 $as_echo_n "(cached) " >&6
3607 if test -n "$CC"; then
3608 ac_cv_prog_CC
="$CC" # Let the user override the test.
3610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3614 test -z "$as_dir" && as_dir
=.
3615 for ac_exec_ext
in '' $ac_executable_extensions; do
3616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3617 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 if test -n "$CC"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3630 $as_echo "$CC" >&6; }
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633 $as_echo "no" >&6; }
3638 if test -z "$ac_cv_prog_CC"; then
3640 # Extract the first word of "gcc", so it can be a program name with args.
3641 set dummy gcc
; ac_word
=$2
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3643 $as_echo_n "checking for $ac_word... " >&6; }
3644 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3645 $as_echo_n "(cached) " >&6
3647 if test -n "$ac_ct_CC"; then
3648 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3654 test -z "$as_dir" && as_dir
=.
3655 for ac_exec_ext
in '' $ac_executable_extensions; do
3656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3657 ac_cv_prog_ac_ct_CC
="gcc"
3658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3667 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3668 if test -n "$ac_ct_CC"; then
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3670 $as_echo "$ac_ct_CC" >&6; }
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3673 $as_echo "no" >&6; }
3676 if test "x$ac_ct_CC" = x
; then
3679 case $cross_compiling:$ac_tool_warned in
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3683 ac_tool_warned
=yes ;;
3691 if test -z "$CC"; then
3692 if test -n "$ac_tool_prefix"; then
3693 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3694 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3696 $as_echo_n "checking for $ac_word... " >&6; }
3697 if ${ac_cv_prog_CC+:} false
; then :
3698 $as_echo_n "(cached) " >&6
3700 if test -n "$CC"; then
3701 ac_cv_prog_CC
="$CC" # Let the user override the test.
3703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3707 test -z "$as_dir" && as_dir
=.
3708 for ac_exec_ext
in '' $ac_executable_extensions; do
3709 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3710 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 if test -n "$CC"; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3723 $as_echo "$CC" >&6; }
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3732 if test -z "$CC"; then
3733 # Extract the first word of "cc", so it can be a program name with args.
3734 set dummy cc
; ac_word
=$2
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3736 $as_echo_n "checking for $ac_word... " >&6; }
3737 if ${ac_cv_prog_CC+:} false
; then :
3738 $as_echo_n "(cached) " >&6
3740 if test -n "$CC"; then
3741 ac_cv_prog_CC
="$CC" # Let the user override the test.
3744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3748 test -z "$as_dir" && as_dir
=.
3749 for ac_exec_ext
in '' $ac_executable_extensions; do
3750 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3751 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3752 ac_prog_rejected
=yes
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763 if test $ac_prog_rejected = yes; then
3764 # We found a bogon in the path, so make sure we never use it.
3765 set dummy
$ac_cv_prog_CC
3767 if test $# != 0; then
3768 # We chose a different compiler from the bogus one.
3769 # However, it has the same basename, so the bogon will be chosen
3770 # first if we set CC to just the basename; use the full file name.
3772 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3778 if test -n "$CC"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3780 $as_echo "$CC" >&6; }
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3788 if test -z "$CC"; then
3789 if test -n "$ac_tool_prefix"; then
3790 for ac_prog
in cl.exe
3792 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3793 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3795 $as_echo_n "checking for $ac_word... " >&6; }
3796 if ${ac_cv_prog_CC+:} false
; then :
3797 $as_echo_n "(cached) " >&6
3799 if test -n "$CC"; then
3800 ac_cv_prog_CC
="$CC" # Let the user override the test.
3802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3806 test -z "$as_dir" && as_dir
=.
3807 for ac_exec_ext
in '' $ac_executable_extensions; do
3808 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3809 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 if test -n "$CC"; then
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3822 $as_echo "$CC" >&6; }
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3825 $as_echo "no" >&6; }
3829 test -n "$CC" && break
3832 if test -z "$CC"; then
3834 for ac_prog
in cl.exe
3836 # Extract the first word of "$ac_prog", so it can be a program name with args.
3837 set dummy
$ac_prog; ac_word
=$2
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3839 $as_echo_n "checking for $ac_word... " >&6; }
3840 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3841 $as_echo_n "(cached) " >&6
3843 if test -n "$ac_ct_CC"; then
3844 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3850 test -z "$as_dir" && as_dir
=.
3851 for ac_exec_ext
in '' $ac_executable_extensions; do
3852 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3853 ac_cv_prog_ac_ct_CC
="$ac_prog"
3854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3863 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3864 if test -n "$ac_ct_CC"; then
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3866 $as_echo "$ac_ct_CC" >&6; }
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3869 $as_echo "no" >&6; }
3873 test -n "$ac_ct_CC" && break
3876 if test "x$ac_ct_CC" = x
; then
3879 case $cross_compiling:$ac_tool_warned in
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3883 ac_tool_warned
=yes ;;
3892 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3894 as_fn_error $?
"no acceptable C compiler found in \$PATH
3895 See \`config.log' for more details" "$LINENO" 5; }
3897 # Provide some information about the compiler.
3898 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3901 for ac_option
in --version -v -V -qversion; do
3902 { { ac_try
="$ac_compiler $ac_option >&5"
3904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3905 *) ac_try_echo=$ac_try;;
3907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3908 $as_echo "$ac_try_echo"; } >&5
3909 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3911 if test -s conftest.err; then
3913 ... rest of stderr output deleted ...
3914 10q' conftest.err >conftest.er1
3915 cat conftest.er1 >&5
3917 rm -f conftest.er1 conftest.err
3918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3919 test $ac_status = 0; }
3922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3933 ac_clean_files_save=$ac_clean_files
3934 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3935 # Try to create an executable without -o first, disregard a.out.
3936 # It will help us diagnose broken compilers, and finding out an intuition
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3939 $as_echo_n "checking whether the C compiler works... " >&6; }
3940 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3942 # The possible output files:
3943 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3946 for ac_file in $ac_files
3949 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3950 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3955 if { { ac_try="$ac_link_default"
3957 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3958 *) ac_try_echo
=$ac_try;;
3960 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3961 $as_echo "$ac_try_echo"; } >&5
3962 (eval "$ac_link_default") 2>&5
3964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3965 test $ac_status = 0; }; then :
3966 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3967 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3968 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3969 # so that the user can short-circuit this test for compilers unknown to
3971 for ac_file
in $ac_files ''
3973 test -f "$ac_file" ||
continue
3975 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3978 # We found the default executable, but exeext='' is most
3982 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3984 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3986 # We set ac_cv_exeext here because the later test for it is not
3987 # safe: cross compilers may not add the suffix if given an `-o'
3988 # argument, so we may need to know it at that point already.
3989 # Even if this section looks crufty: it has the advantage of
3996 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4001 if test -z "$ac_file"; then :
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003 $as_echo "no" >&6; }
4004 $as_echo "$as_me: failed program was:" >&5
4005 sed 's/^/| /' conftest.
$ac_ext >&5
4007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4009 as_fn_error
77 "C compiler cannot create executables
4010 See \`config.log' for more details" "$LINENO" 5; }
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4013 $as_echo "yes" >&6; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4016 $as_echo_n "checking for C compiler default output file name... " >&6; }
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4018 $as_echo "$ac_file" >&6; }
4019 ac_exeext
=$ac_cv_exeext
4021 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4022 ac_clean_files
=$ac_clean_files_save
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4024 $as_echo_n "checking for suffix of executables... " >&6; }
4025 if { { ac_try
="$ac_link"
4027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
4032 (eval "$ac_link") 2>&5
4034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035 test $ac_status = 0; }; then :
4036 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4037 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4038 # work properly (i.e., refer to `conftest.exe'), while it won't with
4040 for ac_file
in conftest.exe conftest conftest.
*; do
4041 test -f "$ac_file" ||
continue
4043 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4044 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4050 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4052 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4053 See \`config.log' for more details" "$LINENO" 5; }
4055 rm -f conftest conftest
$ac_cv_exeext
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4057 $as_echo "$ac_cv_exeext" >&6; }
4059 rm -f conftest.
$ac_ext
4060 EXEEXT
=$ac_cv_exeext
4062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4063 /* end confdefs.h. */
4068 FILE *f = fopen ("conftest.out", "w");
4069 return ferror (f) || fclose (f) != 0;
4075 ac_clean_files
="$ac_clean_files conftest.out"
4076 # Check that the compiler produces executables we can run. If not, either
4077 # the compiler is broken, or we cross compile.
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4079 $as_echo_n "checking whether we are cross compiling... " >&6; }
4080 if test "$cross_compiling" != yes; then
4081 { { ac_try
="$ac_link"
4083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_link") 2>&5
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }
4092 if { ac_try='./conftest$ac_cv_exeext'
4093 { { case "(($ac_try" in
4094 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4095 *) ac_try_echo
=$ac_try;;
4097 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_try") 2>&5
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; }; then
4105 if test "$cross_compiling" = maybe
; then
4108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4110 as_fn_error $?
"cannot run C compiled programs.
4111 If you meant to cross compile, use \`--host'.
4112 See \`config.log' for more details" "$LINENO" 5; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4117 $as_echo "$cross_compiling" >&6; }
4119 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4120 ac_clean_files
=$ac_clean_files_save
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4122 $as_echo_n "checking for suffix of object files... " >&6; }
4123 if ${ac_cv_objext+:} false
; then :
4124 $as_echo_n "(cached) " >&6
4126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h. */
4137 rm -f conftest.o conftest.obj
4138 if { { ac_try
="$ac_compile"
4140 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4141 *) ac_try_echo=$ac_try;;
4143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4144 $as_echo "$ac_try_echo"; } >&5
4145 (eval "$ac_compile") 2>&5
4147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4148 test $ac_status = 0; }; then :
4149 for ac_file in conftest.o conftest.obj conftest.*; do
4150 test -f "$ac_file" || continue;
4152 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4153 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4158 $as_echo "$as_me: failed program was:" >&5
4159 sed 's/^/| /' conftest.$ac_ext >&5
4161 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4163 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4164 See \
`config.log' for more details" "$LINENO" 5; }
4166 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4169 $as_echo "$ac_cv_objext" >&6; }
4170 OBJEXT=$ac_cv_objext
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4173 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4174 if ${ac_cv_c_compiler_gnu+:} false; then :
4175 $as_echo_n "(cached) " >&6
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4191 if ac_fn_c_try_compile "$LINENO"; then :
4196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4197 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4201 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4202 if test $ac_compiler_gnu = yes; then
4207 ac_test_CFLAGS=${CFLAGS+set}
4208 ac_save_CFLAGS=$CFLAGS
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4210 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4211 if ${ac_cv_prog_cc_g+:} false; then :
4212 $as_echo_n "(cached) " >&6
4214 ac_save_c_werror_flag=$ac_c_werror_flag
4215 ac_c_werror_flag=yes
4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4229 if ac_fn_c_try_compile "$LINENO"; then :
4233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234 /* end confdefs.h. */
4244 if ac_fn_c_try_compile "$LINENO"; then :
4247 ac_c_werror_flag=$ac_save_c_werror_flag
4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4250 /* end confdefs.h. */
4260 if ac_fn_c_try_compile "$LINENO"; then :
4263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 ac_c_werror_flag=$ac_save_c_werror_flag
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4271 $as_echo "$ac_cv_prog_cc_g" >&6; }
4272 if test "$ac_test_CFLAGS" = set; then
4273 CFLAGS=$ac_save_CFLAGS
4274 elif test $ac_cv_prog_cc_g = yes; then
4275 if test "$GCC" = yes; then
4281 if test "$GCC" = yes; then
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4288 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4289 if ${ac_cv_prog_cc_c89+:} false; then :
4290 $as_echo_n "(cached) " >&6
4292 ac_cv_prog_cc_c89=no
4294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4295 /* end confdefs.h. */
4299 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4300 struct buf { int x; };
4301 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4302 static char *e (p, i)
4308 static char *f (char * (*g) (char **, int), char **p, ...)
4313 s = g (p, va_arg (v,int));
4318 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4319 function prototypes and stuff, but not '\xHH' hex character constants.
4320 These don't provoke an error unfortunately, instead are silently treated
4321 as 'x'. The following induces an error, until -std is added to get
4322 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4323 array size at least. It's necessary to write '\x00'==0 to get something
4324 that's true only with -std. */
4325 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4327 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4328 inside strings and character constants. */
4330 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4332 int test (int i, double x);
4333 struct s1 {int (*f) (int a);};
4334 struct s2 {int (*f) (double a);};
4335 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4341 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4346 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4347 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4349 CC="$ac_save_CC $ac_arg"
4350 if ac_fn_c_try_compile "$LINENO"; then :
4351 ac_cv_prog_cc_c89=$ac_arg
4353 rm -f core conftest.err conftest.$ac_objext
4354 test "x$ac_cv_prog_cc_c89" != "xno" && break
4356 rm -f conftest.$ac_ext
4361 case "x$ac_cv_prog_cc_c89" in
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4364 $as_echo "none needed" >&6; } ;;
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4367 $as_echo "unsupported" >&6; } ;;
4369 CC="$CC $ac_cv_prog_cc_c89"
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4371 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4373 if test "x$ac_cv_prog_cc_c89" != xno; then :
4378 ac_cpp='$CPP $CPPFLAGS'
4379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4384 ac_cpp='$CXXCPP $CPPFLAGS'
4385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4388 if test -z "$CXX"; then
4389 if test -n "$CCC"; then
4392 if test -n "$ac_tool_prefix"; then
4393 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4395 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4396 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398 $as_echo_n "checking for $ac_word... " >&6; }
4399 if ${ac_cv_prog_CXX+:} false; then :
4400 $as_echo_n "(cached) " >&6
4402 if test -n "$CXX"; then
4403 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4409 test -z "$as_dir" && as_dir=.
4410 for ac_exec_ext in '' $ac_executable_extensions; do
4411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4412 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4423 if test -n "$CXX"; then
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4425 $as_echo "$CXX" >&6; }
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4428 $as_echo "no" >&6; }
4432 test -n "$CXX" && break
4435 if test -z "$CXX"; then
4437 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4439 # Extract the first word of "$ac_prog", so it can be a program name with args.
4440 set dummy $ac_prog; ac_word=$2
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4442 $as_echo_n "checking for $ac_word... " >&6; }
4443 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4444 $as_echo_n "(cached) " >&6
4446 if test -n "$ac_ct_CXX"; then
4447 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453 test -z "$as_dir" && as_dir=.
4454 for ac_exec_ext in '' $ac_executable_extensions; do
4455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4456 ac_cv_prog_ac_ct_CXX="$ac_prog"
4457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4466 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4467 if test -n "$ac_ct_CXX"; then
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4469 $as_echo "$ac_ct_CXX" >&6; }
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4472 $as_echo "no" >&6; }
4476 test -n "$ac_ct_CXX" && break
4479 if test "x$ac_ct_CXX" = x; then
4482 case $cross_compiling:$ac_tool_warned in
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4486 ac_tool_warned=yes ;;
4494 # Provide some information about the compiler.
4495 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4498 for ac_option in --version -v -V -qversion; do
4499 { { ac_try="$ac_compiler $ac_option >&5"
4501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4502 *) ac_try_echo
=$ac_try;;
4504 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4505 $as_echo "$ac_try_echo"; } >&5
4506 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4508 if test -s conftest.err
; then
4510 ... rest of stderr output deleted ...
4511 10q' conftest.err
>conftest.er1
4512 cat conftest.er1
>&5
4514 rm -f conftest.er1 conftest.err
4515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4516 test $ac_status = 0; }
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4520 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4521 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4522 $as_echo_n "(cached) " >&6
4524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4538 if ac_fn_cxx_try_compile
"$LINENO"; then :
4543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4544 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4548 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4549 if test $ac_compiler_gnu = yes; then
4554 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4555 ac_save_CXXFLAGS
=$CXXFLAGS
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4557 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4558 if ${ac_cv_prog_cxx_g+:} false
; then :
4559 $as_echo_n "(cached) " >&6
4561 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4562 ac_cxx_werror_flag
=yes
4565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4576 if ac_fn_cxx_try_compile
"$LINENO"; then :
4577 ac_cv_prog_cxx_g
=yes
4580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4591 if ac_fn_cxx_try_compile
"$LINENO"; then :
4594 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4607 if ac_fn_cxx_try_compile
"$LINENO"; then :
4608 ac_cv_prog_cxx_g
=yes
4610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4615 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4618 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4619 if test "$ac_test_CXXFLAGS" = set; then
4620 CXXFLAGS
=$ac_save_CXXFLAGS
4621 elif test $ac_cv_prog_cxx_g = yes; then
4622 if test "$GXX" = yes; then
4628 if test "$GXX" = yes; then
4635 ac_cpp
='$CPP $CPPFLAGS'
4636 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4637 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4638 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4640 if test -n "$ac_tool_prefix"; then
4641 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4642 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4644 $as_echo_n "checking for $ac_word... " >&6; }
4645 if ${ac_cv_prog_CPPBIN+:} false
; then :
4646 $as_echo_n "(cached) " >&6
4648 if test -n "$CPPBIN"; then
4649 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4655 test -z "$as_dir" && as_dir
=.
4656 for ac_exec_ext
in '' $ac_executable_extensions; do
4657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4658 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4668 CPPBIN
=$ac_cv_prog_CPPBIN
4669 if test -n "$CPPBIN"; then
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4671 $as_echo "$CPPBIN" >&6; }
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674 $as_echo "no" >&6; }
4679 if test -z "$ac_cv_prog_CPPBIN"; then
4680 ac_ct_CPPBIN
=$CPPBIN
4681 # Extract the first word of "cpp", so it can be a program name with args.
4682 set dummy cpp
; ac_word
=$2
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4684 $as_echo_n "checking for $ac_word... " >&6; }
4685 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4686 $as_echo_n "(cached) " >&6
4688 if test -n "$ac_ct_CPPBIN"; then
4689 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4695 test -z "$as_dir" && as_dir
=.
4696 for ac_exec_ext
in '' $ac_executable_extensions; do
4697 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4698 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4708 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4709 if test -n "$ac_ct_CPPBIN"; then
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4711 $as_echo "$ac_ct_CPPBIN" >&6; }
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4714 $as_echo "no" >&6; }
4717 if test "x$ac_ct_CPPBIN" = x
; then
4720 case $cross_compiling:$ac_tool_warned in
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4724 ac_tool_warned
=yes ;;
4726 CPPBIN
=$ac_ct_CPPBIN
4729 CPPBIN
="$ac_cv_prog_CPPBIN"
4733 cat >>confdefs.h
<<_ACEOF
4734 #define EXEEXT "$ac_exeext"
4740 if test "x$enable_win64" = "xyes"
4745 notice_platform
="64-bit "
4752 notice_platform
="32-bit "
4755 enable_win16
=${enable_win16:-yes}
4757 with_fontconfig
=${with_fontconfig:-no}
4760 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4765 $as_echo_n "checking whether $CC works... " >&6; }
4767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4778 if ac_fn_c_try_link
"$LINENO"; then :
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4780 $as_echo "yes" >&6; }
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 $as_echo "no" >&6; }
4784 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4786 rm -f core conftest.err conftest.
$ac_objext \
4787 conftest
$ac_exeext conftest.
$ac_ext
4789 notice_platform
="32-bit "
4792 enable_win16
=${enable_win16:-yes}
4794 if test "x${GCC}" = "xyes"
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4797 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4804 void func(__builtin_ms_va_list *args);
4809 if ac_fn_c_try_compile
"$LINENO"; then :
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4811 $as_echo "yes" >&6; }
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4814 $as_echo "no" >&6; }
4815 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4825 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4827 /* end confdefs.h. */
4828 int ac_test(int i) { return i; }
4832 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4837 if ac_fn_c_try_link
"$LINENO"; then :
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4839 $as_echo "yes" >&6; }
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4842 $as_echo "no" >&6; }
4843 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4845 rm -f core conftest.err conftest.
$ac_objext \
4846 conftest
$ac_exeext conftest.
$ac_ext
4847 CFLAGS
="$CFLAGS -marm"
4851 *-mingw32*|
*-cygwin*)
4852 enable_win16
=${enable_win16:-no}
4853 CFLAGS
="$CFLAGS -D_WIN32"
4856 enable_win16
=${enable_win16:-yes}
4860 enable_win16
=${enable_win16:-no}
4861 enable_win64
=${enable_win64:-no}
4863 enable_winetest
=${enable_winetest:-$enable_tests}
4865 if test -n "$with_wine64"
4867 if test "x$enable_win64" = "xyes"
4869 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4870 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4872 enable_fonts
=${enable_fonts:-no}
4873 enable_server
=${enable_server:-no}
4874 elif test "x$enable_win64" = "xyes"
4876 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4880 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4881 if ${wine_cv_toolsdir+:} false
; then :
4882 $as_echo_n "(cached) " >&6
4884 wine_cv_toolsdir
="$with_wine_tools"
4885 if test -z "$with_wine_tools"; then
4886 if test "$cross_compiling" = "yes"; then
4887 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4888 elif test -n "$with_wine64"; then
4889 wine_cv_toolsdir
="$with_wine64"
4892 if test -z "$wine_cv_toolsdir"; then
4893 wine_makedep
=tools
/makedep
4894 wine_cv_toolsdir
="\$(top_builddir)"
4895 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4896 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4897 case "$wine_cv_toolsdir" in
4899 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4901 enable_tools
=${enable_tools:-no}
4902 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4904 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4908 $as_echo "$wine_cv_toolsdir" >&6; }
4909 TOOLSDIR
=$wine_cv_toolsdir
4911 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4913 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4919 # Extract the first word of "$ac_prog", so it can be a program name with args.
4920 set dummy
$ac_prog; ac_word
=$2
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4922 $as_echo_n "checking for $ac_word... " >&6; }
4923 if ${ac_cv_prog_FLEX+:} false
; then :
4924 $as_echo_n "(cached) " >&6
4926 if test -n "$FLEX"; then
4927 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4933 test -z "$as_dir" && as_dir
=.
4934 for ac_exec_ext
in '' $ac_executable_extensions; do
4935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4936 ac_cv_prog_FLEX
="$ac_prog"
4937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4946 FLEX
=$ac_cv_prog_FLEX
4947 if test -n "$FLEX"; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4949 $as_echo "$FLEX" >&6; }
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4956 test -n "$FLEX" && break
4958 test -n "$FLEX" || FLEX
="none"
4960 if test "$FLEX" = "none"
4962 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4965 $as_echo_n "checking whether flex is recent enough... " >&6; }
4966 cat >conftest.l
<<EOF
4968 #include "prediluvian.h"
4972 if $FLEX -t conftest.l
>/dev
/null
2>&5
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4975 $as_echo "yes" >&6; }
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 $as_echo "no" >&6; }
4979 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4982 for ac_prog
in bison
4984 # Extract the first word of "$ac_prog", so it can be a program name with args.
4985 set dummy
$ac_prog; ac_word
=$2
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 $as_echo_n "checking for $ac_word... " >&6; }
4988 if ${ac_cv_prog_BISON+:} false
; then :
4989 $as_echo_n "(cached) " >&6
4991 if test -n "$BISON"; then
4992 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4998 test -z "$as_dir" && as_dir
=.
4999 for ac_exec_ext
in '' $ac_executable_extensions; do
5000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5001 ac_cv_prog_BISON
="$ac_prog"
5002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 BISON
=$ac_cv_prog_BISON
5012 if test -n "$BISON"; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5014 $as_echo "$BISON" >&6; }
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5021 test -n "$BISON" && break
5023 test -n "$BISON" || BISON
="none"
5025 if test "$BISON" = "none"
5027 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5030 if test -n "$ac_tool_prefix"; then
5031 for ac_prog
in ar gar
5033 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5034 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5036 $as_echo_n "checking for $ac_word... " >&6; }
5037 if ${ac_cv_prog_AR+:} false
; then :
5038 $as_echo_n "(cached) " >&6
5040 if test -n "$AR"; then
5041 ac_cv_prog_AR
="$AR" # Let the user override the test.
5043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5047 test -z "$as_dir" && as_dir
=.
5048 for ac_exec_ext
in '' $ac_executable_extensions; do
5049 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5050 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 if test -n "$AR"; then
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5063 $as_echo "$AR" >&6; }
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5066 $as_echo "no" >&6; }
5070 test -n "$AR" && break
5073 if test -z "$AR"; then
5075 for ac_prog
in ar gar
5077 # Extract the first word of "$ac_prog", so it can be a program name with args.
5078 set dummy
$ac_prog; ac_word
=$2
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 $as_echo_n "checking for $ac_word... " >&6; }
5081 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5082 $as_echo_n "(cached) " >&6
5084 if test -n "$ac_ct_AR"; then
5085 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5091 test -z "$as_dir" && as_dir
=.
5092 for ac_exec_ext
in '' $ac_executable_extensions; do
5093 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5094 ac_cv_prog_ac_ct_AR
="$ac_prog"
5095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5104 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5105 if test -n "$ac_ct_AR"; then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5107 $as_echo "$ac_ct_AR" >&6; }
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5114 test -n "$ac_ct_AR" && break
5117 if test "x$ac_ct_AR" = x
; then
5120 case $cross_compiling:$ac_tool_warned in
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5124 ac_tool_warned
=yes ;;
5130 if test -n "$ac_tool_prefix"; then
5131 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5132 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_STRIP+:} false
; then :
5136 $as_echo_n "(cached) " >&6
5138 if test -n "$STRIP"; then
5139 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5145 test -z "$as_dir" && as_dir
=.
5146 for ac_exec_ext
in '' $ac_executable_extensions; do
5147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 STRIP
=$ac_cv_prog_STRIP
5159 if test -n "$STRIP"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5161 $as_echo "$STRIP" >&6; }
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5169 if test -z "$ac_cv_prog_STRIP"; then
5171 # Extract the first word of "strip", so it can be a program name with args.
5172 set dummy strip
; ac_word
=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5176 $as_echo_n "(cached) " >&6
5178 if test -n "$ac_ct_STRIP"; then
5179 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5185 test -z "$as_dir" && as_dir
=.
5186 for ac_exec_ext
in '' $ac_executable_extensions; do
5187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5188 ac_cv_prog_ac_ct_STRIP
="strip"
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5199 if test -n "$ac_ct_STRIP"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5201 $as_echo "$ac_ct_STRIP" >&6; }
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5207 if test "x$ac_ct_STRIP" = x
; then
5210 case $cross_compiling:$ac_tool_warned in
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5214 ac_tool_warned
=yes ;;
5219 STRIP
="$ac_cv_prog_STRIP"
5224 if test -n "$ac_tool_prefix"; then
5225 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5226 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if ${ac_cv_prog_RANLIB+:} false
; then :
5230 $as_echo_n "(cached) " >&6
5232 if test -n "$RANLIB"; then
5233 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5239 test -z "$as_dir" && as_dir
=.
5240 for ac_exec_ext
in '' $ac_executable_extensions; do
5241 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5242 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 RANLIB
=$ac_cv_prog_RANLIB
5253 if test -n "$RANLIB"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5255 $as_echo "$RANLIB" >&6; }
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5263 if test -z "$ac_cv_prog_RANLIB"; then
5264 ac_ct_RANLIB
=$RANLIB
5265 # Extract the first word of "ranlib", so it can be a program name with args.
5266 set dummy ranlib
; ac_word
=$2
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5268 $as_echo_n "checking for $ac_word... " >&6; }
5269 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5270 $as_echo_n "(cached) " >&6
5272 if test -n "$ac_ct_RANLIB"; then
5273 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5279 test -z "$as_dir" && as_dir
=.
5280 for ac_exec_ext
in '' $ac_executable_extensions; do
5281 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5282 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5292 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5293 if test -n "$ac_ct_RANLIB"; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5295 $as_echo "$ac_ct_RANLIB" >&6; }
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5298 $as_echo "no" >&6; }
5301 if test "x$ac_ct_RANLIB" = x
; then
5304 case $cross_compiling:$ac_tool_warned in
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5308 ac_tool_warned
=yes ;;
5310 RANLIB
=$ac_ct_RANLIB
5313 RANLIB
="$ac_cv_prog_RANLIB"
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5317 $as_echo_n "checking whether ln -s works... " >&6; }
5319 if test "$LN_S" = "ln -s"; then
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5321 $as_echo "yes" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5324 $as_echo "no, using $LN_S" >&6; }
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5328 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5329 if ${ac_cv_path_GREP+:} false
; then :
5330 $as_echo_n "(cached) " >&6
5332 if test -z "$GREP"; then
5333 ac_path_GREP_found
=false
5334 # Loop through the user's path and test for each of PROGNAME-LIST
5335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5336 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5339 test -z "$as_dir" && as_dir
=.
5340 for ac_prog
in grep ggrep
; do
5341 for ac_exec_ext
in '' $ac_executable_extensions; do
5342 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5343 as_fn_executable_p
"$ac_path_GREP" ||
continue
5344 # Check for GNU ac_path_GREP and select it if it is found.
5345 # Check for GNU $ac_path_GREP
5346 case `"$ac_path_GREP" --version 2>&1` in
5348 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5351 $as_echo_n 0123456789 >"conftest.in"
5354 cat "conftest.in" "conftest.in" >"conftest.tmp"
5355 mv "conftest.tmp" "conftest.in"
5356 cp "conftest.in" "conftest.nl"
5357 $as_echo 'GREP' >> "conftest.nl"
5358 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5359 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5360 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5361 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5362 # Best one so far, save it but keep looking for a better one
5363 ac_cv_path_GREP
="$ac_path_GREP"
5364 ac_path_GREP_max
=$ac_count
5366 # 10*(2^10) chars as input seems more than enough
5367 test $ac_count -gt 10 && break
5369 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5372 $ac_path_GREP_found && break 3
5377 if test -z "$ac_cv_path_GREP"; then
5378 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5381 ac_cv_path_GREP
=$GREP
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5386 $as_echo "$ac_cv_path_GREP" >&6; }
5387 GREP
="$ac_cv_path_GREP"
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5391 $as_echo_n "checking for egrep... " >&6; }
5392 if ${ac_cv_path_EGREP+:} false
; then :
5393 $as_echo_n "(cached) " >&6
5395 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5396 then ac_cv_path_EGREP
="$GREP -E"
5398 if test -z "$EGREP"; then
5399 ac_path_EGREP_found
=false
5400 # Loop through the user's path and test for each of PROGNAME-LIST
5401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5402 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5405 test -z "$as_dir" && as_dir
=.
5406 for ac_prog
in egrep; do
5407 for ac_exec_ext
in '' $ac_executable_extensions; do
5408 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5409 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5410 # Check for GNU ac_path_EGREP and select it if it is found.
5411 # Check for GNU $ac_path_EGREP
5412 case `"$ac_path_EGREP" --version 2>&1` in
5414 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5417 $as_echo_n 0123456789 >"conftest.in"
5420 cat "conftest.in" "conftest.in" >"conftest.tmp"
5421 mv "conftest.tmp" "conftest.in"
5422 cp "conftest.in" "conftest.nl"
5423 $as_echo 'EGREP' >> "conftest.nl"
5424 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5425 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5426 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5427 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5428 # Best one so far, save it but keep looking for a better one
5429 ac_cv_path_EGREP
="$ac_path_EGREP"
5430 ac_path_EGREP_max
=$ac_count
5432 # 10*(2^10) chars as input seems more than enough
5433 test $ac_count -gt 10 && break
5435 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5438 $ac_path_EGREP_found && break 3
5443 if test -z "$ac_cv_path_EGREP"; then
5444 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5447 ac_cv_path_EGREP
=$EGREP
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5453 $as_echo "$ac_cv_path_EGREP" >&6; }
5454 EGREP
="$ac_cv_path_EGREP"
5457 # Extract the first word of "ldconfig", so it can be a program name with args.
5458 set dummy ldconfig
; ac_word
=$2
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5460 $as_echo_n "checking for $ac_word... " >&6; }
5461 if ${ac_cv_path_LDCONFIG+:} false
; then :
5462 $as_echo_n "(cached) " >&6
5466 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5470 for as_dir
in /sbin
/usr
/sbin
$PATH
5473 test -z "$as_dir" && as_dir
=.
5474 for ac_exec_ext
in '' $ac_executable_extensions; do
5475 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5484 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5488 LDCONFIG
=$ac_cv_path_LDCONFIG
5489 if test -n "$LDCONFIG"; then
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5491 $as_echo "$LDCONFIG" >&6; }
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5494 $as_echo "no" >&6; }
5498 for ac_prog
in msgfmt
5500 # Extract the first word of "$ac_prog", so it can be a program name with args.
5501 set dummy
$ac_prog; ac_word
=$2
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503 $as_echo_n "checking for $ac_word... " >&6; }
5504 if ${ac_cv_prog_MSGFMT+:} false
; then :
5505 $as_echo_n "(cached) " >&6
5507 if test -n "$MSGFMT"; then
5508 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5514 test -z "$as_dir" && as_dir
=.
5515 for ac_exec_ext
in '' $ac_executable_extensions; do
5516 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5517 ac_cv_prog_MSGFMT
="$ac_prog"
5518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 MSGFMT
=$ac_cv_prog_MSGFMT
5528 if test -n "$MSGFMT"; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5530 $as_echo "$MSGFMT" >&6; }
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533 $as_echo "no" >&6; }
5537 test -n "$MSGFMT" && break
5539 test -n "$MSGFMT" || MSGFMT
="false"
5541 if ${ac_tool_prefix+:} false
; then :
5542 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5543 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545 $as_echo_n "checking for $ac_word... " >&6; }
5546 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5547 $as_echo_n "(cached) " >&6
5549 if test -n "$PKG_CONFIG"; then
5550 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5556 test -z "$as_dir" && as_dir
=.
5557 for ac_exec_ext
in '' $ac_executable_extensions; do
5558 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5559 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5569 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5570 if test -n "$PKG_CONFIG"; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5572 $as_echo "$PKG_CONFIG" >&6; }
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5575 $as_echo "no" >&6; }
5580 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5581 if test "x$cross_compiling" = xyes
; then :
5584 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5585 # Extract the first word of "pkg-config", so it can be a program name with args.
5586 set dummy pkg-config
; ac_word
=$2
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5588 $as_echo_n "checking for $ac_word... " >&6; }
5589 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5590 $as_echo_n "(cached) " >&6
5592 if test -n "$PKG_CONFIG"; then
5593 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5599 test -z "$as_dir" && as_dir
=.
5600 for ac_exec_ext
in '' $ac_executable_extensions; do
5601 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5602 ac_cv_prog_PKG_CONFIG
="pkg-config"
5603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5612 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5613 if test -n "$PKG_CONFIG"; then
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5615 $as_echo "$PKG_CONFIG" >&6; }
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5618 $as_echo "no" >&6; }
5624 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5627 if test "x$enable_maintainer_mode" != "xyes"
5634 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5635 for ac_prog
in fontforge
5637 # Extract the first word of "$ac_prog", so it can be a program name with args.
5638 set dummy
$ac_prog; ac_word
=$2
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5640 $as_echo_n "checking for $ac_word... " >&6; }
5641 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5642 $as_echo_n "(cached) " >&6
5644 if test -n "$FONTFORGE"; then
5645 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5651 test -z "$as_dir" && as_dir
=.
5652 for ac_exec_ext
in '' $ac_executable_extensions; do
5653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5654 ac_cv_prog_FONTFORGE
="$ac_prog"
5655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5664 FONTFORGE
=$ac_cv_prog_FONTFORGE
5665 if test -n "$FONTFORGE"; then
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5667 $as_echo "$FONTFORGE" >&6; }
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5670 $as_echo "no" >&6; }
5674 test -n "$FONTFORGE" && break
5676 test -n "$FONTFORGE" || FONTFORGE
="false"
5680 # Extract the first word of "$ac_prog", so it can be a program name with args.
5681 set dummy
$ac_prog; ac_word
=$2
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5683 $as_echo_n "checking for $ac_word... " >&6; }
5684 if ${ac_cv_prog_RSVG+:} false
; then :
5685 $as_echo_n "(cached) " >&6
5687 if test -n "$RSVG"; then
5688 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5694 test -z "$as_dir" && as_dir
=.
5695 for ac_exec_ext
in '' $ac_executable_extensions; do
5696 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5697 ac_cv_prog_RSVG
="$ac_prog"
5698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5707 RSVG
=$ac_cv_prog_RSVG
5708 if test -n "$RSVG"; then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5710 $as_echo "$RSVG" >&6; }
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5713 $as_echo "no" >&6; }
5717 test -n "$RSVG" && break
5719 test -n "$RSVG" || RSVG
="false"
5721 for ac_prog
in convert
5723 # Extract the first word of "$ac_prog", so it can be a program name with args.
5724 set dummy
$ac_prog; ac_word
=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5726 $as_echo_n "checking for $ac_word... " >&6; }
5727 if ${ac_cv_prog_CONVERT+:} false
; then :
5728 $as_echo_n "(cached) " >&6
5730 if test -n "$CONVERT"; then
5731 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5737 test -z "$as_dir" && as_dir
=.
5738 for ac_exec_ext
in '' $ac_executable_extensions; do
5739 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5740 ac_cv_prog_CONVERT
="$ac_prog"
5741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 CONVERT
=$ac_cv_prog_CONVERT
5751 if test -n "$CONVERT"; then
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5753 $as_echo "$CONVERT" >&6; }
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5760 test -n "$CONVERT" && break
5762 test -n "$CONVERT" || CONVERT
="false"
5764 for ac_prog
in icotool
5766 # Extract the first word of "$ac_prog", so it can be a program name with args.
5767 set dummy
$ac_prog; ac_word
=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5769 $as_echo_n "checking for $ac_word... " >&6; }
5770 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5771 $as_echo_n "(cached) " >&6
5773 if test -n "$ICOTOOL"; then
5774 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5780 test -z "$as_dir" && as_dir
=.
5781 for ac_exec_ext
in '' $ac_executable_extensions; do
5782 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5783 ac_cv_prog_ICOTOOL
="$ac_prog"
5784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5793 ICOTOOL
=$ac_cv_prog_ICOTOOL
5794 if test -n "$ICOTOOL"; then
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5796 $as_echo "$ICOTOOL" >&6; }
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5799 $as_echo "no" >&6; }
5803 test -n "$ICOTOOL" && break
5805 test -n "$ICOTOOL" || ICOTOOL
="false"
5807 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5808 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5810 if test "$CONVERT" = false
5812 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5815 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5816 convert_version
=`convert --version | head -n1`
5817 if test "x$convert_version" != "x"
5819 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5820 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5821 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5826 if test "$CONVERT" = false
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5829 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5830 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5833 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5837 if test "$ICOTOOL" = false
5839 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5842 $as_echo_n "checking for recent enough icotool... " >&6; }
5843 icotool_version
=`icotool --version | head -n1`
5844 if test "x$icotool_version" != "x"
5846 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5847 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5848 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5851 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5854 if test "$ICOTOOL" = false
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5857 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5858 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5861 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5867 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5870 test "x$with_gettext" != xno || MSGFMT
=false
5871 if test "$MSGFMT" != "false"
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5874 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5875 cat >conftest.po
<<EOF
5881 if $MSGFMT -o /dev
/null conftest.po
2>&5
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5884 $as_echo "yes" >&6; }
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5891 if test "$MSGFMT" = false
; then :
5892 case "x$with_gettext" in
5893 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5895 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5896 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5902 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5903 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5904 $as_echo_n "(cached) " >&6
5906 ac_check_lib_save_LIBS
=$LIBS
5908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5909 /* end confdefs.h. */
5911 /* Override any GCC internal prototype to avoid an error.
5912 Use char because int might match the return type of a GCC
5913 builtin and then its argument prototype would still apply. */
5917 char i386_set_ldt ();
5921 return i386_set_ldt ();
5926 if ac_fn_c_try_link
"$LINENO"; then :
5927 ac_cv_lib_i386_i386_set_ldt
=yes
5929 ac_cv_lib_i386_i386_set_ldt
=no
5931 rm -f core conftest.err conftest.
$ac_objext \
5932 conftest
$ac_exeext conftest.
$ac_ext
5933 LIBS
=$ac_check_lib_save_LIBS
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5936 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5937 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5938 cat >>confdefs.h
<<_ACEOF
5939 #define HAVE_LIBI386 1
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5947 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5948 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5949 $as_echo_n "(cached) " >&6
5951 ac_check_lib_save_LIBS
=$LIBS
5952 LIBS
="-lossaudio $LIBS"
5953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5954 /* end confdefs.h. */
5956 /* Override any GCC internal prototype to avoid an error.
5957 Use char because int might match the return type of a GCC
5958 builtin and then its argument prototype would still apply. */
5966 return _oss_ioctl ();
5971 if ac_fn_c_try_link
"$LINENO"; then :
5972 ac_cv_lib_ossaudio__oss_ioctl
=yes
5974 ac_cv_lib_ossaudio__oss_ioctl
=no
5976 rm -f core conftest.err conftest.
$ac_objext \
5977 conftest
$ac_exeext conftest.
$ac_ext
5978 LIBS
=$ac_check_lib_save_LIBS
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5981 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5982 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5983 cat >>confdefs.h
<<_ACEOF
5984 #define HAVE_LIBOSSAUDIO 1
5987 LIBS
="-lossaudio $LIBS"
5996 # Check whether --enable-largefile was given.
5997 if test "${enable_largefile+set}" = set; then :
5998 enableval
=$enable_largefile;
6001 if test "$enable_largefile" != no
; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6004 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6005 if ${ac_cv_sys_largefile_CC+:} false
; then :
6006 $as_echo_n "(cached) " >&6
6008 ac_cv_sys_largefile_CC
=no
6009 if test "$GCC" != yes; then
6012 # IRIX 6.2 and later do not support large files by default,
6013 # so use the C compiler's -n32 option if that helps.
6014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6015 /* end confdefs.h. */
6016 #include <sys/types.h>
6017 /* Check that off_t can represent 2**63 - 1 correctly.
6018 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6019 since some C++ compilers masquerading as C compilers
6020 incorrectly reject 9223372036854775807. */
6021 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6022 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6023 && LARGE_OFF_T % 2147483647 == 1)
6033 if ac_fn_c_try_compile
"$LINENO"; then :
6036 rm -f core conftest.err conftest.
$ac_objext
6038 if ac_fn_c_try_compile
"$LINENO"; then :
6039 ac_cv_sys_largefile_CC
=' -n32'; break
6041 rm -f core conftest.err conftest.
$ac_objext
6045 rm -f conftest.
$ac_ext
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6049 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6050 if test "$ac_cv_sys_largefile_CC" != no
; then
6051 CC
=$CC$ac_cv_sys_largefile_CC
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6055 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6056 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6057 $as_echo_n "(cached) " >&6
6060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6061 /* end confdefs.h. */
6062 #include <sys/types.h>
6063 /* Check that off_t can represent 2**63 - 1 correctly.
6064 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6065 since some C++ compilers masquerading as C compilers
6066 incorrectly reject 9223372036854775807. */
6067 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6068 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6069 && LARGE_OFF_T % 2147483647 == 1)
6079 if ac_fn_c_try_compile
"$LINENO"; then :
6080 ac_cv_sys_file_offset_bits
=no
; break
6082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6084 /* end confdefs.h. */
6085 #define _FILE_OFFSET_BITS 64
6086 #include <sys/types.h>
6087 /* Check that off_t can represent 2**63 - 1 correctly.
6088 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6089 since some C++ compilers masquerading as C compilers
6090 incorrectly reject 9223372036854775807. */
6091 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6092 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6093 && LARGE_OFF_T % 2147483647 == 1)
6103 if ac_fn_c_try_compile
"$LINENO"; then :
6104 ac_cv_sys_file_offset_bits
=64; break
6106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6107 ac_cv_sys_file_offset_bits
=unknown
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6112 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6113 case $ac_cv_sys_file_offset_bits in #(
6116 cat >>confdefs.h
<<_ACEOF
6117 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6122 if test $ac_cv_sys_file_offset_bits = unknown
; then
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6124 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6125 if ${ac_cv_sys_large_files+:} false
; then :
6126 $as_echo_n "(cached) " >&6
6129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6130 /* end confdefs.h. */
6131 #include <sys/types.h>
6132 /* Check that off_t can represent 2**63 - 1 correctly.
6133 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6134 since some C++ compilers masquerading as C compilers
6135 incorrectly reject 9223372036854775807. */
6136 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6137 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6138 && LARGE_OFF_T % 2147483647 == 1)
6148 if ac_fn_c_try_compile
"$LINENO"; then :
6149 ac_cv_sys_large_files
=no
; break
6151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6153 /* end confdefs.h. */
6154 #define _LARGE_FILES 1
6155 #include <sys/types.h>
6156 /* Check that off_t can represent 2**63 - 1 correctly.
6157 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6158 since some C++ compilers masquerading as C compilers
6159 incorrectly reject 9223372036854775807. */
6160 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6161 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6162 && LARGE_OFF_T % 2147483647 == 1)
6172 if ac_fn_c_try_compile
"$LINENO"; then :
6173 ac_cv_sys_large_files
=1; break
6175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6176 ac_cv_sys_large_files
=unknown
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6181 $as_echo "$ac_cv_sys_large_files" >&6; }
6182 case $ac_cv_sys_large_files in #(
6185 cat >>confdefs.h
<<_ACEOF
6186 #define _LARGE_FILES $ac_cv_sys_large_files
6198 ac_cpp
='$CPP $CPPFLAGS'
6199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6203 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6204 # On Suns, sometimes $CPP names a directory.
6205 if test -n "$CPP" && test -d "$CPP"; then
6208 if test -z "$CPP"; then
6209 if ${ac_cv_prog_CPP+:} false
; then :
6210 $as_echo_n "(cached) " >&6
6212 # Double quotes because CPP needs to be expanded
6213 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6216 for ac_c_preproc_warn_flag
in '' yes
6218 # Use a header file that comes with gcc, so configuring glibc
6219 # with a fresh cross-compiler works.
6220 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6221 # <limits.h> exists even on freestanding compilers.
6222 # On the NeXT, cc -E runs the code through the compiler's parser,
6223 # not just through cpp. "Syntax error" is here to catch this case.
6224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6225 /* end confdefs.h. */
6227 # include <limits.h>
6229 # include <assert.h>
6233 if ac_fn_c_try_cpp
"$LINENO"; then :
6236 # Broken: fails on valid input.
6239 rm -f conftest.err conftest.i conftest.
$ac_ext
6241 # OK, works on sane cases. Now check whether nonexistent headers
6242 # can be detected and how.
6243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6244 /* end confdefs.h. */
6245 #include <ac_nonexistent.h>
6247 if ac_fn_c_try_cpp
"$LINENO"; then :
6248 # Broken: success on invalid input.
6251 # Passes both tests.
6255 rm -f conftest.err conftest.i conftest.
$ac_ext
6258 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6259 rm -f conftest.i conftest.err conftest.
$ac_ext
6260 if $ac_preproc_ok; then :
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6273 $as_echo "$CPP" >&6; }
6275 for ac_c_preproc_warn_flag
in '' yes
6277 # Use a header file that comes with gcc, so configuring glibc
6278 # with a fresh cross-compiler works.
6279 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6280 # <limits.h> exists even on freestanding compilers.
6281 # On the NeXT, cc -E runs the code through the compiler's parser,
6282 # not just through cpp. "Syntax error" is here to catch this case.
6283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6284 /* end confdefs.h. */
6286 # include <limits.h>
6288 # include <assert.h>
6292 if ac_fn_c_try_cpp
"$LINENO"; then :
6295 # Broken: fails on valid input.
6298 rm -f conftest.err conftest.i conftest.
$ac_ext
6300 # OK, works on sane cases. Now check whether nonexistent headers
6301 # can be detected and how.
6302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6303 /* end confdefs.h. */
6304 #include <ac_nonexistent.h>
6306 if ac_fn_c_try_cpp
"$LINENO"; then :
6307 # Broken: success on invalid input.
6310 # Passes both tests.
6314 rm -f conftest.err conftest.i conftest.
$ac_ext
6317 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6318 rm -f conftest.i conftest.err conftest.
$ac_ext
6319 if $ac_preproc_ok; then :
6322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6324 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6325 See \`config.log' for more details" "$LINENO" 5; }
6329 ac_cpp
='$CPP $CPPFLAGS'
6330 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6331 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6332 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6336 $as_echo_n "checking for ANSI C header files... " >&6; }
6337 if ${ac_cv_header_stdc+:} false
; then :
6338 $as_echo_n "(cached) " >&6
6340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6355 if ac_fn_c_try_compile
"$LINENO"; then :
6356 ac_cv_header_stdc
=yes
6358 ac_cv_header_stdc
=no
6360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6362 if test $ac_cv_header_stdc = yes; then
6363 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6370 $EGREP "memchr" >/dev
/null
2>&1; then :
6373 ac_cv_header_stdc
=no
6379 if test $ac_cv_header_stdc = yes; then
6380 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6382 /* end confdefs.h. */
6386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6387 $EGREP "free" >/dev
/null
2>&1; then :
6390 ac_cv_header_stdc
=no
6396 if test $ac_cv_header_stdc = yes; then
6397 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6398 if test "$cross_compiling" = yes; then :
6401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6402 /* end confdefs.h. */
6405 #if ((' ' & 0x0FF) == 0x020)
6406 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6407 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6409 # define ISLOWER(c) \
6410 (('a' <= (c) && (c) <= 'i') \
6411 || ('j' <= (c) && (c) <= 'r') \
6412 || ('s' <= (c) && (c) <= 'z'))
6413 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6416 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6421 for (i = 0; i < 256; i++)
6422 if (XOR (islower (i), ISLOWER (i))
6423 || toupper (i) != TOUPPER (i))
6428 if ac_fn_c_try_run
"$LINENO"; then :
6431 ac_cv_header_stdc
=no
6433 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6434 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6440 $as_echo "$ac_cv_header_stdc" >&6; }
6441 if test $ac_cv_header_stdc = yes; then
6443 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6447 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6448 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6449 inttypes.h stdint.h unistd.h
6451 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6452 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6454 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6455 cat >>confdefs.h
<<_ACEOF
6456 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6466 ApplicationServices
/ApplicationServices.h \
6467 AudioToolbox
/AudioConverter.h \
6468 AudioUnit
/AudioUnit.h \
6469 AudioUnit
/AudioComponent.h \
6472 CoreAudio
/CoreAudio.h \
6473 CoreServices
/CoreServices.h \
6474 DiskArbitration
/DiskArbitration.h \
6476 IOKit
/hid
/IOHIDLib.h \
6479 QuickTime
/ImageCompression.h \
6480 Security
/Security.h \
6531 netinet
/in_systm.h \
6593 valgrind
/memcheck.h \
6594 valgrind
/valgrind.h \
6598 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6599 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6600 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6601 cat >>confdefs.h
<<_ACEOF
6602 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6610 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6611 if ${ac_cv_header_stat_broken+:} false
; then :
6612 $as_echo_n "(cached) " >&6
6614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6615 /* end confdefs.h. */
6616 #include <sys/types.h>
6617 #include <sys/stat.h>
6619 #if defined S_ISBLK && defined S_IFDIR
6620 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6623 #if defined S_ISBLK && defined S_IFCHR
6624 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6627 #if defined S_ISLNK && defined S_IFREG
6628 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6631 #if defined S_ISSOCK && defined S_IFREG
6632 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6636 if ac_fn_c_try_compile
"$LINENO"; then :
6637 ac_cv_header_stat_broken
=no
6639 ac_cv_header_stat_broken
=yes
6641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6644 $as_echo "$ac_cv_header_stat_broken" >&6; }
6645 if test $ac_cv_header_stat_broken = yes; then
6647 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6653 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6655 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6656 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6657 #ifdef HAVE_SYS_PARAM_H
6658 # include <sys/param.h>
6661 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6662 cat >>confdefs.h
<<_ACEOF
6663 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6678 netinet
/if_ether.h \
6679 netinet
/if_inarp.h \
6688 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6689 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6690 #ifdef HAVE_SYS_SOCKET_H
6691 # include <sys/socket.h>
6693 #ifdef HAVE_SYS_SOCKETVAR_H
6694 # include <sys/socketvar.h>
6696 #ifdef HAVE_NET_ROUTE_H
6697 # include <net/route.h>
6699 #ifdef HAVE_NETINET_IN_H
6700 # include <netinet/in.h>
6702 #ifdef HAVE_NETINET_IN_SYSTM_H
6703 # include <netinet/in_systm.h>
6705 #ifdef HAVE_NET_IF_H
6706 # include <net/if.h>
6708 #ifdef HAVE_NETINET_IP_H
6709 # include <netinet/ip.h>
6712 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6713 cat >>confdefs.h
<<_ACEOF
6714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6722 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6724 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6725 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6729 #ifdef HAVE_SYS_SOCKET_H
6730 # include <sys/socket.h>
6732 #ifdef HAVE_SYS_SOCKETVAR_H
6733 # include <sys/socketvar.h>
6735 #ifdef HAVE_SYS_TIMEOUT_H
6736 # include <sys/timeout.h>
6738 #ifdef HAVE_NETINET_IN_H
6739 # include <netinet/in.h>
6741 #ifdef HAVE_NETINET_IN_SYSTM_H
6742 # include <netinet/in_systm.h>
6744 #ifdef HAVE_NETINET_IP_H
6745 # include <netinet/ip.h>
6747 #ifdef HAVE_NETINET_IP_VAR_H
6748 # include <netinet/ip_var.h>
6750 #ifdef HAVE_NETINET_IP_ICMP_H
6751 # include <netinet/ip_icmp.h>
6753 #ifdef HAVE_NETINET_UDP_H
6754 # include <netinet/udp.h>
6756 #ifdef HAVE_NETINET_TCP_H
6757 # include <netinet/tcp.h>
6759 #ifdef HAVE_NETINET_TCP_TIMER_H
6760 #include <netinet/tcp_timer.h>
6763 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6764 cat >>confdefs.h
<<_ACEOF
6765 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6773 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6775 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6776 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6777 #ifdef HAVE_ASM_TYPES_H
6778 # include <asm/types.h>
6780 #ifdef HAVE_SYS_SOCKET_H
6781 # include <sys/socket.h>
6783 #ifdef HAVE_LINUX_TYPES_H
6784 # include <linux/types.h>
6787 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6788 cat >>confdefs.h
<<_ACEOF
6789 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6797 for ac_header
in mach-o
/dyld_images.h
6799 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6800 # include <stdbool.h>
6802 #ifdef HAVE_STDINT_H
6803 # include <stdint.h>
6806 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6807 cat >>confdefs.h
<<_ACEOF
6808 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6816 for ac_header
in resolv.h
6818 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6819 #ifdef HAVE_SYS_SOCKET_H
6820 # include <sys/socket.h>
6822 #ifdef HAVE_NETINET_IN_H
6823 # include <netinet/in.h>
6825 #ifdef HAVE_ARPA_NAMESER_H
6826 # include <arpa/nameser.h>
6829 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6830 cat >>confdefs.h
<<_ACEOF
6831 #define HAVE_RESOLV_H 1
6839 for ac_header
in ifaddrs.h
6841 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6843 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6844 cat >>confdefs.h
<<_ACEOF
6845 #define HAVE_IFADDRS_H 1
6853 for ac_header
in sys
/ucontext.h
6855 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6857 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6858 cat >>confdefs.h
<<_ACEOF
6859 #define HAVE_SYS_UCONTEXT_H 1
6867 for ac_header
in sys
/thr.h
6869 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6870 #ifdef HAVE_SYS_UCONTEXT_H
6871 #include <sys/ucontext.h>
6874 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6875 cat >>confdefs.h
<<_ACEOF
6876 #define HAVE_SYS_THR_H 1
6884 for ac_header
in pthread_np.h
6886 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6887 #include <pthread.h>
6890 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6891 cat >>confdefs.h
<<_ACEOF
6892 #define HAVE_PTHREAD_NP_H 1
6900 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6902 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6903 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6904 #include <sys/time.h>
6906 #include <sys/types.h>
6907 #ifdef HAVE_ASM_TYPES_H
6908 #include <asm/types.h>
6911 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6912 cat >>confdefs.h
<<_ACEOF
6913 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6921 for ac_header
in libprocstat.h
6923 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6924 #include <sys/param.h>
6926 #ifdef HAVE_SYS_QUEUE_H
6927 #include <sys/queue.h>
6929 #ifdef HAVE_SYS_SOCKET_H
6930 #include <sys/socket.h>
6933 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6934 cat >>confdefs.h
<<_ACEOF
6935 #define HAVE_LIBPROCSTAT_H 1
6944 dlldir
="\${libdir}/wine"
6948 DLLFLAGS
="-D_REENTRANT"
6957 STATIC_IMPLIBEXT
="def.a"
6958 # Extract the first word of "ldd", so it can be a program name with args.
6959 set dummy ldd
; ac_word
=$2
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961 $as_echo_n "checking for $ac_word... " >&6; }
6962 if ${ac_cv_path_LDD+:} false
; then :
6963 $as_echo_n "(cached) " >&6
6967 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6971 as_dummy
="/sbin:/usr/sbin:$PATH"
6972 for as_dir
in $as_dummy
6975 test -z "$as_dir" && as_dir
=.
6976 for ac_exec_ext
in '' $ac_executable_extensions; do
6977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6978 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6991 if test -n "$LDD"; then
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6993 $as_echo "$LDD" >&6; }
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6996 $as_echo "no" >&6; }
7000 if test -n "$ac_tool_prefix"; then
7001 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7002 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004 $as_echo_n "checking for $ac_word... " >&6; }
7005 if ${ac_cv_prog_READELF+:} false
; then :
7006 $as_echo_n "(cached) " >&6
7008 if test -n "$READELF"; then
7009 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7015 test -z "$as_dir" && as_dir
=.
7016 for ac_exec_ext
in '' $ac_executable_extensions; do
7017 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7018 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7028 READELF
=$ac_cv_prog_READELF
7029 if test -n "$READELF"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7031 $as_echo "$READELF" >&6; }
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7039 if test -z "$ac_cv_prog_READELF"; then
7040 ac_ct_READELF
=$READELF
7041 # Extract the first word of "readelf", so it can be a program name with args.
7042 set dummy readelf
; ac_word
=$2
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7044 $as_echo_n "checking for $ac_word... " >&6; }
7045 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7046 $as_echo_n "(cached) " >&6
7048 if test -n "$ac_ct_READELF"; then
7049 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7055 test -z "$as_dir" && as_dir
=.
7056 for ac_exec_ext
in '' $ac_executable_extensions; do
7057 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7058 ac_cv_prog_ac_ct_READELF
="readelf"
7059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7068 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7069 if test -n "$ac_ct_READELF"; then
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7071 $as_echo "$ac_ct_READELF" >&6; }
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7074 $as_echo "no" >&6; }
7077 if test "x$ac_ct_READELF" = x
; then
7080 case $cross_compiling:$ac_tool_warned in
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7084 ac_tool_warned
=yes ;;
7086 READELF
=$ac_ct_READELF
7089 READELF
="$ac_cv_prog_READELF"
7092 wine_rules_file
=conf$
$rules.
make
7093 rm -f $wine_rules_file
7095 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7096 ALL_TEST_RESOURCES
=""
7099 wine_fn_append_file
()
7101 as_fn_append
$1 " \\$as_nl $2"
7104 wine_fn_ignore_file
()
7107 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7108 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7109 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7113 wine_fn_append_rule
()
7115 $as_echo "$1" >>$wine_rules_file
7120 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7123 wine_fn_depend_rules
()
7125 wine_fn_append_rule \
7126 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7127 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7128 depend: $ac_dir/depend
7129 .PHONY: $ac_dir/depend
7130 $ac_dir/depend: \$(MAKEDEP) dummy
7131 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7134 wine_fn_pot_rules
()
7136 test "x$with_gettextpo" = xyes ||
return
7138 if wine_fn_has_flag mc
7140 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7141 wine_fn_append_rule \
7142 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7143 @cd $ac_dir && \$(MAKE) msg.pot
7144 $ac_dir/msg.pot: tools/wmc include"
7146 if wine_fn_has_flag po
7148 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7149 wine_fn_append_rule \
7150 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7151 @cd $ac_dir && \$(MAKE) rsrc.pot
7152 $ac_dir/rsrc.pot: tools/wrc include"
7156 wine_fn_all_rules
()
7158 wine_fn_depend_rules
7159 wine_fn_append_rule \
7162 $ac_dir: $ac_dir/Makefile dummy
7163 @cd $ac_dir && \$(MAKE)"
7166 wine_fn_install_rules
()
7168 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7170 wine_fn_append_rule \
7171 ".PHONY: $ac_dir/install $ac_dir/uninstall
7172 $ac_dir/install:: $ac_dir
7173 @cd $ac_dir && \$(MAKE) install
7174 $ac_dir/uninstall:: $ac_dir/Makefile
7175 @cd $ac_dir && \$(MAKE) uninstall
7176 install:: $ac_dir/install
7177 __uninstall__: $ac_dir/uninstall"
7179 if wine_fn_has_flag install-lib
7181 wine_fn_append_rule \
7182 ".PHONY: $ac_dir/install-lib
7183 $ac_dir/install-lib:: $ac_dir
7184 @cd $ac_dir && \$(MAKE) install-lib
7185 install-lib:: $ac_dir/install-lib"
7188 if wine_fn_has_flag install-dev
7190 wine_fn_append_rule \
7191 ".PHONY: $ac_dir/install-dev
7192 $ac_dir/install-dev:: $ac_dir
7193 @cd $ac_dir && \$(MAKE) install-dev
7194 install-dev:: $ac_dir/install-dev"
7198 wine_fn_clean_rules
()
7201 ac_extraclean
="$ac_dir/Makefile"
7202 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7204 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7207 if wine_fn_has_flag clean
7209 wine_fn_append_rule \
7210 "__clean__: $ac_dir/clean
7211 .PHONY: $ac_dir/clean
7212 $ac_dir/clean: $ac_dir/Makefile
7213 @cd $ac_dir && \$(MAKE) clean
7214 \$(RM) $ac_extraclean"
7216 wine_fn_append_rule \
7217 "__clean__: $ac_dir/clean
7218 .PHONY: $ac_dir/clean
7219 $ac_dir/clean: dummy
7220 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7224 wine_fn_disabled_rules
()
7227 ac_extraclean
="$ac_dir/Makefile"
7228 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7230 wine_fn_append_rule \
7231 "__clean__: $ac_dir/clean
7232 .PHONY: $ac_dir/clean
7233 $ac_dir/clean: dummy
7234 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7237 wine_fn_config_makefile
()
7243 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7244 wine_fn_disabled_rules
; return
7247 wine_fn_install_rules
7251 wine_fn_config_lib
()
7255 ac_dir
=dlls
/$ac_name
7258 if test "x$enable_tools" = xno
; then :
7261 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7266 wine_fn_append_rule \
7267 ".PHONY: $ac_dir/install $ac_dir/uninstall
7268 $ac_dir/install:: $ac_dir
7269 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7271 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7272 install install-dev:: $ac_dir/install
7273 __uninstall__: $ac_dir/uninstall
7274 __builddeps__: $ac_dir
7278 wine_fn_config_dll
()
7281 ac_dir
=dlls
/$ac_name
7284 ac_implib
=${4:-$ac_name}
7285 ac_file
=$ac_dir/lib
$ac_implib
7290 if test "x$enable_tools" = xno
; then :
7293 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7296 *16) ac_implibflags
=" -m16" ;;
7298 *) ac_dll
=$ac_dll.dll
;;
7302 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7303 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7304 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7305 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7307 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7308 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7310 wine_fn_depend_rules
7311 wine_fn_clean_rules
$ac_clean
7313 wine_fn_disabled_rules
$ac_clean
7318 wine_fn_clean_rules
$ac_clean
7319 wine_fn_append_rule \
7320 "$ac_dir: __builddeps__
7321 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7322 @cd $ac_dir && \$(MAKE) \$@
7323 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7324 install install-lib:: $ac_dir/install-lib
7325 __uninstall__: $ac_dir/uninstall"
7326 if test -n "$DLLEXT"
7328 wine_fn_append_rule \
7329 "$ac_dir/install-lib:: $ac_dir
7330 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7331 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7333 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7335 wine_fn_append_rule \
7336 "$ac_dir/install-lib:: $ac_dir
7337 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7339 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7345 if wine_fn_has_flag staticimplib
7347 wine_fn_append_rule \
7348 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7349 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7350 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7351 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7352 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7353 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7354 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7355 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7356 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7358 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7359 install install-dev:: $ac_dir/install-dev
7360 __uninstall__: $ac_dir/uninstall"
7362 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7364 wine_fn_append_rule \
7365 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7366 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7368 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7371 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7373 wine_fn_append_rule \
7374 "__builddeps__: $ac_file.cross.a
7375 $ac_file.cross.a: $ac_dir/Makefile dummy
7376 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7379 elif wine_fn_has_flag implib
7381 wine_fn_append_rule \
7382 "__builddeps__: $ac_file.$IMPLIBEXT
7383 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7384 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7385 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7386 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7387 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7388 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7389 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7391 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7392 install install-dev:: $ac_dir/install-dev
7393 __uninstall__: $ac_dir/uninstall"
7394 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7396 wine_fn_append_rule \
7397 "__builddeps__: $ac_file.cross.a
7398 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7399 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7402 if test "$ac_name" != "$ac_implib"
7404 wine_fn_append_rule \
7405 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7406 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7407 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7409 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7410 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7411 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7413 wine_fn_append_rule \
7414 "__builddeps__: dlls/lib$ac_implib.cross.a
7415 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7416 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7418 \$(RM) dlls/lib$ac_implib.cross.a"
7419 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7425 wine_fn_config_program
()
7428 ac_dir
=programs
/$ac_name
7435 *) ac_program
=$ac_program.exe
;;
7439 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7440 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7441 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7442 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7444 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7445 wine_fn_disabled_rules
$ac_clean; return
7449 wine_fn_clean_rules
$ac_clean
7450 wine_fn_append_rule
"$ac_dir: __builddeps__"
7453 wine_fn_has_flag
install ||
return
7454 wine_fn_append_rule \
7455 ".PHONY: $ac_dir/install $ac_dir/uninstall
7456 install install-lib:: $ac_dir/install
7457 __uninstall__: $ac_dir/uninstall"
7459 if test -n "$DLLEXT"
7461 wine_fn_append_rule \
7462 "$ac_dir/install:: $ac_dir
7463 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7464 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7466 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7468 if test -z "$with_wine64" && wine_fn_has_flag installbin
7470 wine_fn_append_rule \
7471 "$ac_dir/install:: __tooldeps__
7472 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7474 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7477 wine_fn_append_rule \
7478 "$ac_dir/install:: $ac_dir
7479 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7481 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7484 if test -z "$with_wine64" && wine_fn_has_flag manpage
7486 wine_fn_append_rule \
7487 "$ac_dir/install:: $ac_dir
7488 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7490 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7494 wine_fn_config_test
()
7501 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7502 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7504 if test "x$enable_tests" = xno
; then :
7505 wine_fn_disabled_rules
$ac_clean; return
7508 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7510 wine_fn_clean_rules
$ac_clean
7512 wine_fn_append_rule \
7513 "$ac_dir: programs/winetest/Makefile __builddeps__
7514 programs/winetest: $ac_dir
7515 check test: $ac_dir/test
7516 .PHONY: $ac_dir/test
7518 @cd $ac_dir && \$(MAKE) test
7520 \$(RM) $ac_dir/*.ok"
7522 if test -n "$CROSSTARGET"
7524 wine_fn_append_rule \
7525 "crosstest: $ac_dir/crosstest
7526 .PHONY: $ac_dir/crosstest
7527 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7528 @cd $ac_dir && \$(MAKE) crosstest"
7532 wine_fn_config_tool
()
7536 if test "x$enable_tools" = xno
; then :
7541 wine_fn_install_rules
7544 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7545 wine_fn_append_rule
"$ac_dir: libs/port"
7547 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7551 wine_fn_config_symlink
()
7554 if test "x$1" = "x-d"
7560 wine_fn_append_rule \
7562 @./config.status \$@
7565 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7566 test -n "$ac_linkdir" ||
return
7567 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7571 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7572 loader_programs
="$wine_binary wine-installed"
7573 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7578 install install-lib:: wine-installed
7579 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7582 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7588 if test -n "$ac_tool_prefix"; then
7589 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7590 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7592 $as_echo_n "checking for $ac_word... " >&6; }
7593 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7594 $as_echo_n "(cached) " >&6
7596 if test -n "$DLLTOOL"; then
7597 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7603 test -z "$as_dir" && as_dir
=.
7604 for ac_exec_ext
in '' $ac_executable_extensions; do
7605 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7606 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7616 DLLTOOL
=$ac_cv_prog_DLLTOOL
7617 if test -n "$DLLTOOL"; then
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7619 $as_echo "$DLLTOOL" >&6; }
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7622 $as_echo "no" >&6; }
7627 if test -z "$ac_cv_prog_DLLTOOL"; then
7628 ac_ct_DLLTOOL
=$DLLTOOL
7629 # Extract the first word of "dlltool", so it can be a program name with args.
7630 set dummy dlltool
; ac_word
=$2
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7632 $as_echo_n "checking for $ac_word... " >&6; }
7633 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7634 $as_echo_n "(cached) " >&6
7636 if test -n "$ac_ct_DLLTOOL"; then
7637 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7643 test -z "$as_dir" && as_dir
=.
7644 for ac_exec_ext
in '' $ac_executable_extensions; do
7645 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7646 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7656 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7657 if test -n "$ac_ct_DLLTOOL"; then
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7659 $as_echo "$ac_ct_DLLTOOL" >&6; }
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7662 $as_echo "no" >&6; }
7665 if test "x$ac_ct_DLLTOOL" = x
; then
7668 case $cross_compiling:$ac_tool_warned in
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7672 ac_tool_warned
=yes ;;
7674 DLLTOOL
=$ac_ct_DLLTOOL
7677 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7683 STATIC_IMPLIBEXT
="a"
7684 enable_iphlpapi
=${enable_iphlpapi:-no}
7685 enable_kernel32
=${enable_kernel32:-no}
7686 enable_msvcrt
=${enable_msvcrt:-no}
7687 enable_ntdll
=${enable_ntdll:-no}
7688 enable_ws2_32
=${enable_ws2_32:-no}
7689 enable_loader
=${enable_loader:-no}
7690 enable_server
=${enable_server:-no}
7691 with_x
=${with_x:-no}
7692 with_pthread
=${with_pthread:-no}
7698 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7702 libwine_targets
="libwine.dll libwine.a"
7704 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7706 all: libwine.dll libwine.a
7708 libwine.a: \$(srcdir)/wine.def
7709 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7711 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7712 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7714 install install-lib:: libwine.dll
7715 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7717 install install-dev:: libwine.a
7718 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7721 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7728 DLLFLAGS
="$DLLFLAGS -fPIC"
7729 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7730 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7731 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7732 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7734 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7736 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7738 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7740 CORESERVICES_LIBS
="-framework CoreServices"
7742 APPKIT_LIBS
="-framework AppKit"
7744 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7746 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7747 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7748 $as_echo_n "(cached) " >&6
7750 ac_wine_try_cflags_saved
=$CFLAGS
7751 CFLAGS
="$CFLAGS -Wl,-no_pie"
7752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7753 /* end confdefs.h. */
7754 int main(int argc, char **argv) { return 0; }
7756 if ac_fn_c_try_link
"$LINENO"; then :
7757 ac_cv_cflags__Wl__no_pie
=yes
7759 ac_cv_cflags__Wl__no_pie
=no
7761 rm -f core conftest.err conftest.
$ac_objext \
7762 conftest
$ac_exeext conftest.
$ac_ext
7763 CFLAGS
=$ac_wine_try_cflags_saved
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7766 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7767 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7768 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7770 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7772 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7775 if test "$ac_cv_header_Security_Security_h" = "yes"
7777 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7779 ac_save_LIBS
="$LIBS"
7780 LIBS
="$LIBS $SECURITY_LIBS"
7781 for ac_func
in SSLCopyPeerCertificates
7783 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7784 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7785 cat >>confdefs.h
<<_ACEOF
7786 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7792 LIBS
="$ac_save_LIBS"
7793 with_gnutls
=${with_gnutls:-no}
7795 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7797 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7799 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7802 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7805 ac_save_LIBS
="$LIBS"
7806 LIBS
="$LIBS $COREAUDIO_LIBS"
7807 for ac_func
in AUGraphAddNode
7809 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7810 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7811 cat >>confdefs.h
<<_ACEOF
7812 #define HAVE_AUGRAPHADDNODE 1
7818 LIBS
="$ac_save_LIBS"
7820 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7822 OPENAL_LIBS
="-framework OpenAL"
7825 cat >>confdefs.h
<<_ACEOF
7826 #define HAVE_OPENAL 1
7829 ac_cv_lib_openal
=yes
7831 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7833 OPENCL_LIBS
="-framework OpenCL"
7835 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7837 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7839 ac_save_LIBS
="$LIBS"
7840 LIBS
="$LIBS $IOKIT_LIBS"
7841 for ac_func
in IOHIDManagerCreate
7843 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7844 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7845 cat >>confdefs.h
<<_ACEOF
7846 #define HAVE_IOHIDMANAGERCREATE 1
7852 LIBS
="$ac_save_LIBS"
7854 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7856 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7858 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7860 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7862 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7864 CARBON_LIBS
="-framework Carbon"
7868 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7870 ac_save_LIBS
="$LIBS"
7871 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7872 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7873 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7874 enable_winemac_drv
=${enable_winemac_drv:-yes}
7877 LIBS
="$ac_save_LIBS"
7880 if test "x$enable_win16" = "xyes"
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7883 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7884 if test "$cross_compiling" = yes; then :
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7886 $as_echo "cross-compiling, assuming yes" >&6; }
7888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h. */
7892 "good:\tnop;nop\n\t"
7893 ".globl _testfunc\n"
7894 "_testfunc:\tcallw good");
7895 extern void testfunc();
7899 unsigned short *p = (unsigned short *)testfunc;
7900 return p[0] != 0xe866 || p[1] != 0xfffa
7905 if ac_fn_c_try_run
"$LINENO"; then :
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7907 $as_echo "yes" >&6; }
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7910 $as_echo "no" >&6; }
7911 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
7913 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7914 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7919 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7921 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7925 libwine.$libwine_version.dylib: \$(OBJS)
7926 \$(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 \$@
7928 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7929 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7931 libwine.dylib: libwine.$libwine_soversion.dylib
7932 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7934 install install-lib:: libwine.$libwine_version.dylib
7935 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7936 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7938 install install-dev::
7939 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7942 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7946 as_fn_append LOADER_RULES
"
7947 $wine_binary: main.o wine_info.plist
7948 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7950 wine-installed: main.o wine_info.plist
7951 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7956 DLLFLAGS
="$DLLFLAGS -fPIC"
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7961 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7962 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7963 $as_echo_n "(cached) " >&6
7965 ac_wine_try_cflags_saved
=$CFLAGS
7966 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7968 /* end confdefs.h. */
7969 int main(int argc, char **argv) { return 0; }
7971 if ac_fn_c_try_link
"$LINENO"; then :
7972 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7974 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7976 rm -f core conftest.err conftest.
$ac_objext \
7977 conftest
$ac_exeext conftest.
$ac_ext
7978 CFLAGS
=$ac_wine_try_cflags_saved
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7981 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7982 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7983 LDEXECFLAGS
="-Wl,--export-dynamic"
7985 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7987 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7988 if eval \
${$as_ac_var+:} false
; then :
7989 $as_echo_n "(cached) " >&6
7991 ac_wine_try_cflags_saved
=$CFLAGS
7992 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7994 /* end confdefs.h. */
7995 int main(int argc, char **argv) { return 0; }
7997 if ac_fn_c_try_link
"$LINENO"; then :
7998 eval "$as_ac_var=yes"
8000 eval "$as_ac_var=no"
8002 rm -f core conftest.err conftest.
$ac_objext \
8003 conftest
$ac_exeext conftest.
$ac_ext
8004 CFLAGS
=$ac_wine_try_cflags_saved
8006 eval ac_res
=\$
$as_ac_var
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8008 $as_echo "$ac_res" >&6; }
8009 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8010 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8011 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8013 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8015 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8016 if eval \
${$as_ac_var+:} false
; then :
8017 $as_echo_n "(cached) " >&6
8019 ac_wine_try_cflags_saved
=$CFLAGS
8020 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8022 /* end confdefs.h. */
8023 int main(int argc, char **argv) { return 0; }
8025 if ac_fn_c_try_link
"$LINENO"; then :
8026 eval "$as_ac_var=yes"
8028 eval "$as_ac_var=no"
8030 rm -f core conftest.err conftest.
$ac_objext \
8031 conftest
$ac_exeext conftest.
$ac_ext
8032 CFLAGS
=$ac_wine_try_cflags_saved
8034 eval ac_res
=\$
$as_ac_var
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8036 $as_echo "$ac_res" >&6; }
8037 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8038 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8039 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8044 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8045 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8046 $as_echo_n "(cached) " >&6
8048 ac_wine_try_cflags_saved
=$CFLAGS
8049 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8051 /* end confdefs.h. */
8052 int main(int argc, char **argv) { return 0; }
8054 if ac_fn_c_try_link
"$LINENO"; then :
8055 ac_cv_cflags__Wl___enable_new_dtags
=yes
8057 ac_cv_cflags__Wl___enable_new_dtags
=no
8059 rm -f core conftest.err conftest.
$ac_objext \
8060 conftest
$ac_exeext conftest.
$ac_ext
8061 CFLAGS
=$ac_wine_try_cflags_saved
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8064 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8065 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8066 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8070 *i
[3456789]86* | x86_64
)
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8072 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8073 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8074 $as_echo_n "(cached) " >&6
8076 ac_wine_try_cflags_saved
=$CFLAGS
8077 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8079 /* end confdefs.h. */
8080 int main(int argc, char **argv) { return 0; }
8082 if ac_fn_c_try_link
"$LINENO"; then :
8083 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8085 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8087 rm -f core conftest.err conftest.
$ac_objext \
8088 conftest
$ac_exeext conftest.
$ac_ext
8089 CFLAGS
=$ac_wine_try_cflags_saved
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8092 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8093 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8094 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8099 libwine_targets
="libwine.so"
8101 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8105 libwine.so: \$(OBJS)
8106 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8108 install install-lib:: libwine.so
8109 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8112 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8116 as_fn_append LOADER_RULES
"
8117 $wine_binary: main.o
8118 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8120 wine-installed: main.o
8121 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8126 DLLFLAGS
="$DLLFLAGS -fPIC"
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8129 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8130 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8131 $as_echo_n "(cached) " >&6
8133 ac_wine_try_cflags_saved
=$CFLAGS
8134 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8136 /* end confdefs.h. */
8139 if ac_fn_c_try_link
"$LINENO"; then :
8140 ac_cv_c_dll_gnuelf
="yes"
8142 ac_cv_c_dll_gnuelf
="no"
8144 rm -f core conftest.err conftest.
$ac_objext \
8145 conftest
$ac_exeext conftest.
$ac_ext
8146 CFLAGS
=$ac_wine_try_cflags_saved
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8149 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8150 if test "$ac_cv_c_dll_gnuelf" = "yes"
8152 LDSHARED
="\$(CC) -shared"
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8154 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8155 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8156 $as_echo_n "(cached) " >&6
8158 ac_wine_try_cflags_saved
=$CFLAGS
8159 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8161 /* end confdefs.h. */
8162 int main(int argc, char **argv) { return 0; }
8164 if ac_fn_c_try_link
"$LINENO"; then :
8165 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8167 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8169 rm -f core conftest.err conftest.
$ac_objext \
8170 conftest
$ac_exeext conftest.
$ac_ext
8171 CFLAGS
=$ac_wine_try_cflags_saved
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8174 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8175 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8176 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8179 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8180 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8181 $as_echo_n "(cached) " >&6
8183 ac_wine_try_cflags_saved
=$CFLAGS
8184 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h. */
8187 int main(int argc, char **argv) { return 0; }
8189 if ac_fn_c_try_link
"$LINENO"; then :
8190 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8192 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8194 rm -f core conftest.err conftest.
$ac_objext \
8195 conftest
$ac_exeext conftest.
$ac_ext
8196 CFLAGS
=$ac_wine_try_cflags_saved
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8199 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8200 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8201 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8205 echo '{ global: *; };' >conftest.map
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8207 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8208 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8209 $as_echo_n "(cached) " >&6
8211 ac_wine_try_cflags_saved
=$CFLAGS
8212 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8214 /* end confdefs.h. */
8215 int main(int argc, char **argv) { return 0; }
8217 if ac_fn_c_try_link
"$LINENO"; then :
8218 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8220 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8222 rm -f core conftest.err conftest.
$ac_objext \
8223 conftest
$ac_exeext conftest.
$ac_ext
8224 CFLAGS
=$ac_wine_try_cflags_saved
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8227 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8228 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8229 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8234 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8235 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8236 $as_echo_n "(cached) " >&6
8238 ac_wine_try_cflags_saved
=$CFLAGS
8239 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8241 /* end confdefs.h. */
8242 int main(int argc, char **argv) { return 0; }
8244 if ac_fn_c_try_link
"$LINENO"; then :
8245 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8247 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8249 rm -f core conftest.err conftest.
$ac_objext \
8250 conftest
$ac_exeext conftest.
$ac_ext
8251 CFLAGS
=$ac_wine_try_cflags_saved
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8254 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8255 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8256 LDEXECFLAGS
="-Wl,--export-dynamic"
8259 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8261 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8262 if eval \
${$as_ac_var+:} false
; then :
8263 $as_echo_n "(cached) " >&6
8265 ac_wine_try_cflags_saved
=$CFLAGS
8266 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8268 /* end confdefs.h. */
8269 int main(int argc, char **argv) { return 0; }
8271 if ac_fn_c_try_link
"$LINENO"; then :
8272 eval "$as_ac_var=yes"
8274 eval "$as_ac_var=no"
8276 rm -f core conftest.err conftest.
$ac_objext \
8277 conftest
$ac_exeext conftest.
$ac_ext
8278 CFLAGS
=$ac_wine_try_cflags_saved
8280 eval ac_res
=\$
$as_ac_var
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8282 $as_echo "$ac_res" >&6; }
8283 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8284 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8285 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8287 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8289 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8290 if eval \
${$as_ac_var+:} false
; then :
8291 $as_echo_n "(cached) " >&6
8293 ac_wine_try_cflags_saved
=$CFLAGS
8294 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8296 /* end confdefs.h. */
8297 int main(int argc, char **argv) { return 0; }
8299 if ac_fn_c_try_link
"$LINENO"; then :
8300 eval "$as_ac_var=yes"
8302 eval "$as_ac_var=no"
8304 rm -f core conftest.err conftest.
$ac_objext \
8305 conftest
$ac_exeext conftest.
$ac_ext
8306 CFLAGS
=$ac_wine_try_cflags_saved
8308 eval ac_res
=\$
$as_ac_var
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8310 $as_echo "$ac_res" >&6; }
8311 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8312 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8313 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8318 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8319 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8320 $as_echo_n "(cached) " >&6
8322 ac_wine_try_cflags_saved
=$CFLAGS
8323 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8325 /* end confdefs.h. */
8326 int main(int argc, char **argv) { return 0; }
8328 if ac_fn_c_try_link
"$LINENO"; then :
8329 ac_cv_cflags__Wl___enable_new_dtags
=yes
8331 ac_cv_cflags__Wl___enable_new_dtags
=no
8333 rm -f core conftest.err conftest.
$ac_objext \
8334 conftest
$ac_exeext conftest.
$ac_ext
8335 CFLAGS
=$ac_wine_try_cflags_saved
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8338 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8339 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8340 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8344 *i
[3456789]86* | x86_64
)
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8346 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8347 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8348 $as_echo_n "(cached) " >&6
8350 ac_wine_try_cflags_saved
=$CFLAGS
8351 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8353 /* end confdefs.h. */
8354 int main(int argc, char **argv) { return 0; }
8356 if ac_fn_c_try_link
"$LINENO"; then :
8357 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8359 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8361 rm -f core conftest.err conftest.
$ac_objext \
8362 conftest
$ac_exeext conftest.
$ac_ext
8363 CFLAGS
=$ac_wine_try_cflags_saved
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8366 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8367 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8369 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8370 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8374 # Extract the first word of "prelink", so it can be a program name with args.
8375 set dummy prelink
; ac_word
=$2
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8377 $as_echo_n "checking for $ac_word... " >&6; }
8378 if ${ac_cv_path_PRELINK+:} false
; then :
8379 $as_echo_n "(cached) " >&6
8383 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8387 for as_dir
in /sbin
/usr
/sbin
$PATH
8390 test -z "$as_dir" && as_dir
=.
8391 for ac_exec_ext
in '' $ac_executable_extensions; do
8392 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8393 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8401 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8405 PRELINK
=$ac_cv_path_PRELINK
8406 if test -n "$PRELINK"; then
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8408 $as_echo "$PRELINK" >&6; }
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8411 $as_echo "no" >&6; }
8415 if test "x$PRELINK" = xfalse
8417 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8424 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8425 if ${ac_cv_c_dll_unixware+:} false
; then :
8426 $as_echo_n "(cached) " >&6
8428 ac_wine_try_cflags_saved
=$CFLAGS
8429 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8431 /* end confdefs.h. */
8434 if ac_fn_c_try_link
"$LINENO"; then :
8435 ac_cv_c_dll_unixware
="yes"
8437 ac_cv_c_dll_unixware
="no"
8439 rm -f core conftest.err conftest.
$ac_objext \
8440 conftest
$ac_exeext conftest.
$ac_ext
8441 CFLAGS
=$ac_wine_try_cflags_saved
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8444 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8445 if test "$ac_cv_c_dll_unixware" = "yes"
8447 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8450 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8452 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8456 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8457 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8459 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8460 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8462 libwine.so: libwine.so.$libwine_soversion
8463 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8465 install install-lib:: libwine.so.$libwine_version
8466 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8467 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8469 install install-dev::
8470 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8473 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8477 as_fn_append LOADER_RULES
"
8478 $wine_binary: main.o
8479 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8481 wine-installed: main.o
8482 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8487 as_fn_append LIBWINE_RULES
"
8488 EXTRA_TARGETS = $libwine_targets
8491 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8492 enable_winemac_drv
=${enable_winemac_drv:-no}
8496 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8500 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
8503 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 " ;;
8505 ac_prefix_list
="" ;;
8507 for ac_prog
in $ac_prefix_list
8509 # Extract the first word of "$ac_prog", so it can be a program name with args.
8510 set dummy
$ac_prog; ac_word
=$2
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8512 $as_echo_n "checking for $ac_word... " >&6; }
8513 if ${ac_cv_prog_CROSSCC+:} false
; then :
8514 $as_echo_n "(cached) " >&6
8516 if test -n "$CROSSCC"; then
8517 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8523 test -z "$as_dir" && as_dir
=.
8524 for ac_exec_ext
in '' $ac_executable_extensions; do
8525 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8526 ac_cv_prog_CROSSCC
="$ac_prog"
8527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8536 CROSSCC
=$ac_cv_prog_CROSSCC
8537 if test -n "$CROSSCC"; then
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8539 $as_echo "$CROSSCC" >&6; }
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8542 $as_echo "no" >&6; }
8546 test -n "$CROSSCC" && break
8548 test -n "$CROSSCC" || CROSSCC
="false"
8550 if test "$CROSSCC" != "false"
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8555 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8567 if ac_fn_c_try_compile
"$LINENO"; then :
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8569 $as_echo "yes" >&6; }
8575 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8581 $as_echo "no" >&6; }
8583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8589 if test "$ac_cv_header_pthread_h" = "yes"
8591 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8592 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8596 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8597 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8598 $as_echo_n "(cached) " >&6
8600 ac_check_lib_save_LIBS
=$LIBS
8601 LIBS
="-lpthread $LIBS"
8602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8603 /* end confdefs.h. */
8605 /* Override any GCC internal prototype to avoid an error.
8606 Use char because int might match the return type of a GCC
8607 builtin and then its argument prototype would still apply. */
8611 char pthread_create ();
8615 return pthread_create ();
8620 if ac_fn_c_try_link
"$LINENO"; then :
8621 ac_cv_lib_pthread_pthread_create
=yes
8623 ac_cv_lib_pthread_pthread_create
=no
8625 rm -f core conftest.err conftest.
$ac_objext \
8626 conftest
$ac_exeext conftest.
$ac_ext
8627 LIBS
=$ac_check_lib_save_LIBS
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8630 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8631 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8632 PTHREAD_LIBS
="-lpthread"
8639 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8640 case "x$with_pthread" in
8642 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8643 Wine cannot support threads without libpthread.
8644 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8650 $as_echo_n "checking for X... " >&6; }
8653 # Check whether --with-x was given.
8654 if test "${with_x+set}" = set; then :
8658 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8659 if test "x$with_x" = xno
; then
8660 # The user explicitly disabled X.
8663 case $x_includes,$x_libraries in #(
8664 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8665 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8666 $as_echo_n "(cached) " >&6
8668 # One or both of the vars are not set, and there is no cached value.
8669 ac_x_includes
=no ac_x_libraries
=no
8670 rm -f -r conftest.dir
8671 if mkdir conftest.dir
; then
8673 cat >Imakefile
<<'_ACEOF'
8675 @echo incroot='${INCROOT}'
8677 @echo usrlibdir='${USRLIBDIR}'
8679 @echo libdir='${LIBDIR}'
8681 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8682 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8683 for ac_var
in incroot usrlibdir libdir
; do
8684 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8686 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8687 for ac_extension
in a so sl dylib la dll
; do
8688 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8689 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8690 ac_im_usrlibdir
=$ac_im_libdir; break
8693 # Screen out bogus values from the imake configuration. They are
8694 # bogus both because they are the default anyway, and because
8695 # using them would break gcc on systems where it needs fixed includes.
8696 case $ac_im_incroot in
8697 /usr
/include
) ac_x_includes
= ;;
8698 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8700 case $ac_im_usrlibdir in
8701 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8702 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8706 rm -f -r conftest.dir
8709 # Standard set of common directories for X headers.
8710 # Check X11 before X11Rn because it is often a symlink to the current release.
8724 /usr/local/X11/include
8725 /usr/local/X11R7/include
8726 /usr/local/X11R6/include
8727 /usr/local/X11R5/include
8728 /usr/local/X11R4/include
8730 /usr/local/include/X11
8731 /usr/local/include/X11R7
8732 /usr/local/include/X11R6
8733 /usr/local/include/X11R5
8734 /usr/local/include/X11R4
8738 /usr/XFree86/include/X11
8742 /usr/unsupported/include
8744 /usr/local/x11r5/include
8745 /usr/lpp/Xamples/include
8747 /usr/openwin/include
8748 /usr/openwin/share/include'
8750 if test "$ac_x_includes" = no
; then
8751 # Guess where to find include files, by looking for Xlib.h.
8752 # First, try using that file with no special directory specified.
8753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8754 /* end confdefs.h. */
8755 #include <X11/Xlib.h>
8757 if ac_fn_c_try_cpp
"$LINENO"; then :
8758 # We can compile using X headers with no special include directory.
8761 for ac_dir
in $ac_x_header_dirs; do
8762 if test -r "$ac_dir/X11/Xlib.h"; then
8763 ac_x_includes
=$ac_dir
8768 rm -f conftest.err conftest.i conftest.
$ac_ext
8769 fi # $ac_x_includes = no
8771 if test "$ac_x_libraries" = no
; then
8772 # Check for the libraries.
8773 # See if we find them without any special options.
8774 # Don't add to $LIBS permanently.
8777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8778 /* end confdefs.h. */
8779 #include <X11/Xlib.h>
8788 if ac_fn_c_try_link
"$LINENO"; then :
8790 # We can link X programs with no special library path.
8794 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8796 # Don't even attempt the hair of trying to link an X program!
8797 for ac_extension
in a so sl dylib la dll
; do
8798 if test -r "$ac_dir/libX11.$ac_extension"; then
8799 ac_x_libraries
=$ac_dir
8805 rm -f core conftest.err conftest.
$ac_objext \
8806 conftest
$ac_exeext conftest.
$ac_ext
8807 fi # $ac_x_libraries = no
8809 case $ac_x_includes,$ac_x_libraries in #(
8811 # Didn't find X, or a directory has "'" in its name.
8812 ac_cv_have_x
="have_x=no";; #(
8814 # Record where we found X for the cache.
8815 ac_cv_have_x
="have_x=yes\
8816 ac_x_includes='$ac_x_includes'\
8817 ac_x_libraries='$ac_x_libraries'"
8823 eval "$ac_cv_have_x"
8826 if test "$have_x" != yes; then
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8828 $as_echo "$have_x" >&6; }
8831 # If each of the values was on the command line, it overrides each guess.
8832 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8833 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8834 # Update the cache value to reflect the command line values.
8835 ac_cv_have_x
="have_x=yes\
8836 ac_x_includes='$x_includes'\
8837 ac_x_libraries='$x_libraries'"
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8839 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8842 if test "$no_x" = yes; then
8843 # Not all programs may use this symbol, but it does not hurt to define it.
8845 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8847 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8849 if test -n "$x_includes"; then
8850 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8853 # It would also be nice to do this for all -L options, not just this one.
8854 if test -n "$x_libraries"; then
8855 X_LIBS
="$X_LIBS -L$x_libraries"
8856 # For Solaris; some versions of Sun CC require a space after -R and
8857 # others require no space. Words are not sufficient . . . .
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8859 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8860 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8861 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8862 ac_c_werror_flag
=yes
8863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8864 /* end confdefs.h. */
8874 if ac_fn_c_try_link
"$LINENO"; then :
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8876 $as_echo "no" >&6; }
8877 X_LIBS
="$X_LIBS -R$x_libraries"
8879 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8891 if ac_fn_c_try_link
"$LINENO"; then :
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8893 $as_echo "yes" >&6; }
8894 X_LIBS
="$X_LIBS -R $x_libraries"
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8897 $as_echo "neither works" >&6; }
8899 rm -f core conftest.err conftest.
$ac_objext \
8900 conftest
$ac_exeext conftest.
$ac_ext
8902 rm -f core conftest.err conftest.
$ac_objext \
8903 conftest
$ac_exeext conftest.
$ac_ext
8904 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8908 # Check for system-dependent libraries X programs must link with.
8909 # Do this before checking for the system-independent R6 libraries
8910 # (-lICE), since we may need -lsocket or whatever for X linking.
8912 if test "$ISC" = yes; then
8913 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8915 # Martyn Johnson says this is needed for Ultrix, if the X
8916 # libraries were built with DECnet support. And Karl Berry says
8917 # the Alpha needs dnet_stub (dnet does not exist).
8918 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8920 /* end confdefs.h. */
8922 /* Override any GCC internal prototype to avoid an error.
8923 Use char because int might match the return type of a GCC
8924 builtin and then its argument prototype would still apply. */
8928 char XOpenDisplay ();
8932 return XOpenDisplay ();
8937 if ac_fn_c_try_link
"$LINENO"; then :
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8941 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8942 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8943 $as_echo_n "(cached) " >&6
8945 ac_check_lib_save_LIBS
=$LIBS
8947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8948 /* end confdefs.h. */
8950 /* Override any GCC internal prototype to avoid an error.
8951 Use char because int might match the return type of a GCC
8952 builtin and then its argument prototype would still apply. */
8960 return dnet_ntoa ();
8965 if ac_fn_c_try_link
"$LINENO"; then :
8966 ac_cv_lib_dnet_dnet_ntoa
=yes
8968 ac_cv_lib_dnet_dnet_ntoa
=no
8970 rm -f core conftest.err conftest.
$ac_objext \
8971 conftest
$ac_exeext conftest.
$ac_ext
8972 LIBS
=$ac_check_lib_save_LIBS
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8975 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8976 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8977 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8980 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8982 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8983 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8984 $as_echo_n "(cached) " >&6
8986 ac_check_lib_save_LIBS
=$LIBS
8987 LIBS
="-ldnet_stub $LIBS"
8988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8989 /* end confdefs.h. */
8991 /* Override any GCC internal prototype to avoid an error.
8992 Use char because int might match the return type of a GCC
8993 builtin and then its argument prototype would still apply. */
9001 return dnet_ntoa ();
9006 if ac_fn_c_try_link
"$LINENO"; then :
9007 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9009 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9011 rm -f core conftest.err conftest.
$ac_objext \
9012 conftest
$ac_exeext conftest.
$ac_ext
9013 LIBS
=$ac_check_lib_save_LIBS
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9016 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9017 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9018 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9023 rm -f core conftest.err conftest.
$ac_objext \
9024 conftest
$ac_exeext conftest.
$ac_ext
9025 LIBS
="$ac_xsave_LIBS"
9027 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9028 # to get the SysV transport functions.
9029 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9031 # The nsl library prevents programs from opening the X display
9032 # on Irix 5.2, according to T.E. Dickey.
9033 # The functions gethostbyname, getservbyname, and inet_addr are
9034 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9035 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9036 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9040 if test $ac_cv_func_gethostbyname = no
; then
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9042 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9043 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9044 $as_echo_n "(cached) " >&6
9046 ac_check_lib_save_LIBS
=$LIBS
9048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9051 /* Override any GCC internal prototype to avoid an error.
9052 Use char because int might match the return type of a GCC
9053 builtin and then its argument prototype would still apply. */
9057 char gethostbyname ();
9061 return gethostbyname ();
9066 if ac_fn_c_try_link
"$LINENO"; then :
9067 ac_cv_lib_nsl_gethostbyname
=yes
9069 ac_cv_lib_nsl_gethostbyname
=no
9071 rm -f core conftest.err conftest.
$ac_objext \
9072 conftest
$ac_exeext conftest.
$ac_ext
9073 LIBS
=$ac_check_lib_save_LIBS
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9076 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9077 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9078 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9081 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9083 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9084 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9085 $as_echo_n "(cached) " >&6
9087 ac_check_lib_save_LIBS
=$LIBS
9089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9090 /* end confdefs.h. */
9092 /* Override any GCC internal prototype to avoid an error.
9093 Use char because int might match the return type of a GCC
9094 builtin and then its argument prototype would still apply. */
9098 char gethostbyname ();
9102 return gethostbyname ();
9107 if ac_fn_c_try_link
"$LINENO"; then :
9108 ac_cv_lib_bsd_gethostbyname
=yes
9110 ac_cv_lib_bsd_gethostbyname
=no
9112 rm -f core conftest.err conftest.
$ac_objext \
9113 conftest
$ac_exeext conftest.
$ac_ext
9114 LIBS
=$ac_check_lib_save_LIBS
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9117 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9118 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9119 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9125 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9126 # socket/setsockopt and other routines are undefined under SCO ODT
9127 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9128 # on later versions), says Simon Leinen: it contains gethostby*
9129 # variants that don't use the name server (or something). -lsocket
9130 # must be given before -lnsl if both are needed. We assume that
9131 # if connect needs -lnsl, so does gethostbyname.
9132 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9133 if test "x$ac_cv_func_connect" = xyes
; then :
9137 if test $ac_cv_func_connect = no
; then
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9139 $as_echo_n "checking for connect in -lsocket... " >&6; }
9140 if ${ac_cv_lib_socket_connect+:} false
; then :
9141 $as_echo_n "(cached) " >&6
9143 ac_check_lib_save_LIBS
=$LIBS
9144 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9148 /* Override any GCC internal prototype to avoid an error.
9149 Use char because int might match the return type of a GCC
9150 builtin and then its argument prototype would still apply. */
9163 if ac_fn_c_try_link
"$LINENO"; then :
9164 ac_cv_lib_socket_connect
=yes
9166 ac_cv_lib_socket_connect
=no
9168 rm -f core conftest.err conftest.
$ac_objext \
9169 conftest
$ac_exeext conftest.
$ac_ext
9170 LIBS
=$ac_check_lib_save_LIBS
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9173 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9174 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9175 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9180 # Guillermo Gomez says -lposix is necessary on A/UX.
9181 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9182 if test "x$ac_cv_func_remove" = xyes
; then :
9186 if test $ac_cv_func_remove = no
; then
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9188 $as_echo_n "checking for remove in -lposix... " >&6; }
9189 if ${ac_cv_lib_posix_remove+:} false
; then :
9190 $as_echo_n "(cached) " >&6
9192 ac_check_lib_save_LIBS
=$LIBS
9193 LIBS
="-lposix $LIBS"
9194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9195 /* end confdefs.h. */
9197 /* Override any GCC internal prototype to avoid an error.
9198 Use char because int might match the return type of a GCC
9199 builtin and then its argument prototype would still apply. */
9212 if ac_fn_c_try_link
"$LINENO"; then :
9213 ac_cv_lib_posix_remove
=yes
9215 ac_cv_lib_posix_remove
=no
9217 rm -f core conftest.err conftest.
$ac_objext \
9218 conftest
$ac_exeext conftest.
$ac_ext
9219 LIBS
=$ac_check_lib_save_LIBS
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9222 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9223 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9224 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9229 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9230 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9231 if test "x$ac_cv_func_shmat" = xyes
; then :
9235 if test $ac_cv_func_shmat = no
; then
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9237 $as_echo_n "checking for shmat in -lipc... " >&6; }
9238 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9239 $as_echo_n "(cached) " >&6
9241 ac_check_lib_save_LIBS
=$LIBS
9243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9244 /* end confdefs.h. */
9246 /* Override any GCC internal prototype to avoid an error.
9247 Use char because int might match the return type of a GCC
9248 builtin and then its argument prototype would still apply. */
9261 if ac_fn_c_try_link
"$LINENO"; then :
9262 ac_cv_lib_ipc_shmat
=yes
9264 ac_cv_lib_ipc_shmat
=no
9266 rm -f core conftest.err conftest.
$ac_objext \
9267 conftest
$ac_exeext conftest.
$ac_ext
9268 LIBS
=$ac_check_lib_save_LIBS
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9271 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9272 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9273 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9279 # Check for libraries that X11R6 Xt/Xaw programs need.
9280 ac_save_LDFLAGS
=$LDFLAGS
9281 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9282 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9283 # check for ICE first), but we must link in the order -lSM -lICE or
9284 # we get undefined symbols. So assume we have SM if we have ICE.
9285 # These have to be linked with before -lX11, unlike the other
9286 # libraries we check for below, so use a different variable.
9287 # John Interrante, Karl Berry
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9289 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9290 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9291 $as_echo_n "(cached) " >&6
9293 ac_check_lib_save_LIBS
=$LIBS
9294 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9296 /* end confdefs.h. */
9298 /* Override any GCC internal prototype to avoid an error.
9299 Use char because int might match the return type of a GCC
9300 builtin and then its argument prototype would still apply. */
9304 char IceConnectionNumber ();
9308 return IceConnectionNumber ();
9313 if ac_fn_c_try_link
"$LINENO"; then :
9314 ac_cv_lib_ICE_IceConnectionNumber
=yes
9316 ac_cv_lib_ICE_IceConnectionNumber
=no
9318 rm -f core conftest.err conftest.
$ac_objext \
9319 conftest
$ac_exeext conftest.
$ac_ext
9320 LIBS
=$ac_check_lib_save_LIBS
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9323 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9324 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9325 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9328 LDFLAGS
=$ac_save_LDFLAGS
9333 if test "$have_x" = "yes"
9335 ac_save_CPPFLAGS
="$CPPFLAGS"
9336 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9339 $as_echo_n "checking for -lX11... " >&6; }
9340 if ${ac_cv_lib_soname_X11+:} false
; then :
9341 $as_echo_n "(cached) " >&6
9343 ac_check_soname_save_LIBS
=$LIBS
9344 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9348 /* Override any GCC internal prototype to avoid an error.
9349 Use char because int might match the return type of a GCC
9350 builtin and then its argument prototype would still apply. */
9354 char XCreateWindow ();
9358 return XCreateWindow ();
9363 if ac_fn_c_try_link
"$LINENO"; then :
9365 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9366 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'` ;;
9367 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9368 if ${ac_cv_lib_soname_X11:+false} :; then :
9369 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9373 rm -f core conftest.err conftest.
$ac_objext \
9374 conftest
$ac_exeext conftest.
$ac_ext
9375 LIBS
=$ac_check_soname_save_LIBS
9377 if ${ac_cv_lib_soname_X11:+false} :; then :
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9379 $as_echo "not found" >&6; }
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9383 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9385 cat >>confdefs.h
<<_ACEOF
9386 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9392 $as_echo_n "checking for -lXext... " >&6; }
9393 if ${ac_cv_lib_soname_Xext+:} false
; then :
9394 $as_echo_n "(cached) " >&6
9396 ac_check_soname_save_LIBS
=$LIBS
9397 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h. */
9401 /* Override any GCC internal prototype to avoid an error.
9402 Use char because int might match the return type of a GCC
9403 builtin and then its argument prototype would still apply. */
9407 char XextCreateExtension ();
9411 return XextCreateExtension ();
9416 if ac_fn_c_try_link
"$LINENO"; then :
9418 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9419 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'` ;;
9420 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9421 if ${ac_cv_lib_soname_Xext:+false} :; then :
9422 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9426 rm -f core conftest.err conftest.
$ac_objext \
9427 conftest
$ac_exeext conftest.
$ac_ext
9428 LIBS
=$ac_check_soname_save_LIBS
9430 if ${ac_cv_lib_soname_Xext:+false} :; then :
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9432 $as_echo "not found" >&6; }
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9436 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9438 cat >>confdefs.h
<<_ACEOF
9439 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9442 X_LIBS
="$X_LIBS -lXext"
9444 X_LIBS
="$X_LIBS -lX11"
9446 for ac_header
in X11
/Xlib.h \
9449 X11
/Xcursor
/Xcursor.h \
9450 X11
/extensions
/shape.h \
9451 X11
/extensions
/XInput.h \
9452 X11
/extensions
/XInput2.h \
9453 X11
/extensions
/XShm.h \
9454 X11
/extensions
/Xcomposite.h \
9455 X11
/extensions
/Xinerama.h \
9456 X11
/extensions
/Xrandr.h \
9457 X11
/extensions
/Xrender.h \
9458 X11
/extensions
/xf86vmode.h \
9459 X11
/extensions
/xf86vmproto.h
9461 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9462 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9463 # include <X11/Xlib.h>
9465 #ifdef HAVE_X11_XUTIL_H
9466 # include <X11/Xutil.h>
9469 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9470 cat >>confdefs.h
<<_ACEOF
9471 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9479 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9482 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9483 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9484 $as_echo_n "(cached) " >&6
9486 ac_check_lib_save_LIBS
=$LIBS
9487 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9491 /* Override any GCC internal prototype to avoid an error.
9492 Use char because int might match the return type of a GCC
9493 builtin and then its argument prototype would still apply. */
9497 char XkbQueryExtension ();
9501 return XkbQueryExtension ();
9506 if ac_fn_c_try_link
"$LINENO"; then :
9507 ac_cv_lib_X11_XkbQueryExtension
=yes
9509 ac_cv_lib_X11_XkbQueryExtension
=no
9511 rm -f core conftest.err conftest.
$ac_objext \
9512 conftest
$ac_exeext conftest.
$ac_ext
9513 LIBS
=$ac_check_lib_save_LIBS
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9516 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9517 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9519 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9525 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9528 $as_echo_n "checking for -lXcursor... " >&6; }
9529 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9530 $as_echo_n "(cached) " >&6
9532 ac_check_soname_save_LIBS
=$LIBS
9533 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9537 /* Override any GCC internal prototype to avoid an error.
9538 Use char because int might match the return type of a GCC
9539 builtin and then its argument prototype would still apply. */
9543 char XcursorImageLoadCursor ();
9547 return XcursorImageLoadCursor ();
9552 if ac_fn_c_try_link
"$LINENO"; then :
9554 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9555 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'` ;;
9556 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9557 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9558 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9562 rm -f core conftest.err conftest.
$ac_objext \
9563 conftest
$ac_exeext conftest.
$ac_ext
9564 LIBS
=$ac_check_soname_save_LIBS
9566 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9568 $as_echo "not found" >&6; }
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9572 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9574 cat >>confdefs.h
<<_ACEOF
9575 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9581 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9582 case "x$with_xcursor" in
9583 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9585 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9586 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9590 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9593 $as_echo_n "checking for -lXi... " >&6; }
9594 if ${ac_cv_lib_soname_Xi+:} false
; then :
9595 $as_echo_n "(cached) " >&6
9597 ac_check_soname_save_LIBS
=$LIBS
9598 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9602 /* Override any GCC internal prototype to avoid an error.
9603 Use char because int might match the return type of a GCC
9604 builtin and then its argument prototype would still apply. */
9608 char XOpenDevice ();
9612 return XOpenDevice ();
9617 if ac_fn_c_try_link
"$LINENO"; then :
9619 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9620 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'` ;;
9621 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9622 if ${ac_cv_lib_soname_Xi:+false} :; then :
9623 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9627 rm -f core conftest.err conftest.
$ac_objext \
9628 conftest
$ac_exeext conftest.
$ac_ext
9629 LIBS
=$ac_check_soname_save_LIBS
9631 if ${ac_cv_lib_soname_Xi:+false} :; then :
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9633 $as_echo "not found" >&6; }
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9637 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9639 cat >>confdefs.h
<<_ACEOF
9640 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9646 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9647 case "x$with_xinput" in
9648 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9650 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9651 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9655 if test "x$ac_cv_lib_soname_Xi" != x
9657 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9658 case "x$with_xinput2" in
9659 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9661 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9662 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9667 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9670 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9671 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9672 $as_echo_n "(cached) " >&6
9674 ac_check_lib_save_LIBS
=$LIBS
9675 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9677 /* end confdefs.h. */
9679 /* Override any GCC internal prototype to avoid an error.
9680 Use char because int might match the return type of a GCC
9681 builtin and then its argument prototype would still apply. */
9685 char XShmQueryExtension ();
9689 return XShmQueryExtension ();
9694 if ac_fn_c_try_link
"$LINENO"; then :
9695 ac_cv_lib_Xext_XShmQueryExtension
=yes
9697 ac_cv_lib_Xext_XShmQueryExtension
=no
9699 rm -f core conftest.err conftest.
$ac_objext \
9700 conftest
$ac_exeext conftest.
$ac_ext
9701 LIBS
=$ac_check_lib_save_LIBS
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9704 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9705 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9707 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9712 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9713 case "x$with_xshm" in
9714 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9716 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9717 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9721 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9724 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9725 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9726 $as_echo_n "(cached) " >&6
9728 ac_check_lib_save_LIBS
=$LIBS
9729 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9731 /* end confdefs.h. */
9733 /* Override any GCC internal prototype to avoid an error.
9734 Use char because int might match the return type of a GCC
9735 builtin and then its argument prototype would still apply. */
9739 char XShapeQueryExtension ();
9743 return XShapeQueryExtension ();
9748 if ac_fn_c_try_link
"$LINENO"; then :
9749 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9751 ac_cv_lib_Xext_XShapeQueryExtension
=no
9753 rm -f core conftest.err conftest.
$ac_objext \
9754 conftest
$ac_exeext conftest.
$ac_ext
9755 LIBS
=$ac_check_lib_save_LIBS
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9758 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9759 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9761 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9766 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9767 case "x$with_xshape" in
9768 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9770 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9771 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9775 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9778 $as_echo_n "checking for -lXxf86vm... " >&6; }
9779 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9780 $as_echo_n "(cached) " >&6
9782 ac_check_soname_save_LIBS
=$LIBS
9783 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9785 /* end confdefs.h. */
9787 /* Override any GCC internal prototype to avoid an error.
9788 Use char because int might match the return type of a GCC
9789 builtin and then its argument prototype would still apply. */
9793 char XF86VidModeQueryExtension ();
9797 return XF86VidModeQueryExtension ();
9802 if ac_fn_c_try_link
"$LINENO"; then :
9804 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9805 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'` ;;
9806 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9807 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9808 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9812 rm -f core conftest.err conftest.
$ac_objext \
9813 conftest
$ac_exeext conftest.
$ac_ext
9814 LIBS
=$ac_check_soname_save_LIBS
9816 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9818 $as_echo "not found" >&6; }
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9822 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9824 cat >>confdefs.h
<<_ACEOF
9825 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9831 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9832 case "x$with_xxf86vm" in
9833 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9835 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9836 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9840 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9843 $as_echo_n "checking for -lXrender... " >&6; }
9844 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9845 $as_echo_n "(cached) " >&6
9847 ac_check_soname_save_LIBS
=$LIBS
9848 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9850 /* end confdefs.h. */
9852 /* Override any GCC internal prototype to avoid an error.
9853 Use char because int might match the return type of a GCC
9854 builtin and then its argument prototype would still apply. */
9858 char XRenderQueryExtension ();
9862 return XRenderQueryExtension ();
9867 if ac_fn_c_try_link
"$LINENO"; then :
9869 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9870 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'` ;;
9871 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9872 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9873 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9877 rm -f core conftest.err conftest.
$ac_objext \
9878 conftest
$ac_exeext conftest.
$ac_ext
9879 LIBS
=$ac_check_soname_save_LIBS
9881 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9883 $as_echo "not found" >&6; }
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9887 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9889 cat >>confdefs.h
<<_ACEOF
9890 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9894 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9895 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9896 $as_echo_n "(cached) " >&6
9898 ac_check_lib_save_LIBS
=$LIBS
9899 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9901 /* end confdefs.h. */
9903 /* Override any GCC internal prototype to avoid an error.
9904 Use char because int might match the return type of a GCC
9905 builtin and then its argument prototype would still apply. */
9909 char XRenderSetPictureTransform ();
9913 return XRenderSetPictureTransform ();
9918 if ac_fn_c_try_link
"$LINENO"; then :
9919 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9921 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9923 rm -f core conftest.err conftest.
$ac_objext \
9924 conftest
$ac_exeext conftest.
$ac_ext
9925 LIBS
=$ac_check_lib_save_LIBS
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9928 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9929 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9931 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9936 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9937 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9938 $as_echo_n "(cached) " >&6
9940 ac_check_lib_save_LIBS
=$LIBS
9941 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9945 /* Override any GCC internal prototype to avoid an error.
9946 Use char because int might match the return type of a GCC
9947 builtin and then its argument prototype would still apply. */
9951 char XRenderCreateLinearGradient ();
9955 return XRenderCreateLinearGradient ();
9960 if ac_fn_c_try_link
"$LINENO"; then :
9961 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9963 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9965 rm -f core conftest.err conftest.
$ac_objext \
9966 conftest
$ac_exeext conftest.
$ac_ext
9967 LIBS
=$ac_check_lib_save_LIBS
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9970 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9971 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9973 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9980 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9981 case "x$with_xrender" in
9982 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9984 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9985 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9989 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9992 /* end confdefs.h. */
9993 #include <X11/Xlib.h>
9994 #include <X11/extensions/Xrandr.h>
9998 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10003 if ac_fn_c_try_compile
"$LINENO"; then :
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10005 $as_echo_n "checking for -lXrandr... " >&6; }
10006 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10007 $as_echo_n "(cached) " >&6
10009 ac_check_soname_save_LIBS
=$LIBS
10010 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10012 /* end confdefs.h. */
10014 /* Override any GCC internal prototype to avoid an error.
10015 Use char because int might match the return type of a GCC
10016 builtin and then its argument prototype would still apply. */
10020 char XRRQueryExtension ();
10024 return XRRQueryExtension ();
10029 if ac_fn_c_try_link
"$LINENO"; then :
10031 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10032 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'` ;;
10033 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10034 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10035 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10039 rm -f core conftest.err conftest.
$ac_objext \
10040 conftest
$ac_exeext conftest.
$ac_ext
10041 LIBS
=$ac_check_soname_save_LIBS
10043 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10045 $as_echo "not found" >&6; }
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10049 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10051 cat >>confdefs.h
<<_ACEOF
10052 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10056 /* end confdefs.h. */
10057 #include <X11/Xlib.h>
10058 #include <X11/extensions/Xrandr.h>
10062 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10067 if ac_fn_c_try_compile
"$LINENO"; then :
10069 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10077 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10078 case "x$with_xrandr" in
10079 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10081 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10082 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10086 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10090 #include <X11/Xlib.h>
10091 #include <X11/extensions/Xinerama.h>
10095 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10100 if ac_fn_c_try_compile
"$LINENO"; then :
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10102 $as_echo_n "checking for -lXinerama... " >&6; }
10103 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10104 $as_echo_n "(cached) " >&6
10106 ac_check_soname_save_LIBS
=$LIBS
10107 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10109 /* end confdefs.h. */
10111 /* Override any GCC internal prototype to avoid an error.
10112 Use char because int might match the return type of a GCC
10113 builtin and then its argument prototype would still apply. */
10117 char XineramaQueryScreens ();
10121 return XineramaQueryScreens ();
10126 if ac_fn_c_try_link
"$LINENO"; then :
10128 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10129 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'` ;;
10130 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10131 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10132 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10136 rm -f core conftest.err conftest.
$ac_objext \
10137 conftest
$ac_exeext conftest.
$ac_ext
10138 LIBS
=$ac_check_soname_save_LIBS
10140 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10142 $as_echo "not found" >&6; }
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10146 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10148 cat >>confdefs.h
<<_ACEOF
10149 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10157 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10158 case "x$with_xinerama" in
10159 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10161 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10162 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10166 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10169 $as_echo_n "checking for -lXcomposite... " >&6; }
10170 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10171 $as_echo_n "(cached) " >&6
10173 ac_check_soname_save_LIBS
=$LIBS
10174 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10176 /* end confdefs.h. */
10178 /* Override any GCC internal prototype to avoid an error.
10179 Use char because int might match the return type of a GCC
10180 builtin and then its argument prototype would still apply. */
10184 char XCompositeRedirectWindow ();
10188 return XCompositeRedirectWindow ();
10193 if ac_fn_c_try_link
"$LINENO"; then :
10195 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10196 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'` ;;
10197 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10198 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10199 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10203 rm -f core conftest.err conftest.
$ac_objext \
10204 conftest
$ac_exeext conftest.
$ac_ext
10205 LIBS
=$ac_check_soname_save_LIBS
10207 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10209 $as_echo "not found" >&6; }
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10213 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10215 cat >>confdefs.h
<<_ACEOF
10216 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10222 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10223 case "x$with_xcomposite" in
10224 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10226 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10227 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10231 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10232 #include <X11/Xlib.h>
10235 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10237 cat >>confdefs.h
<<_ACEOF
10238 #define HAVE_XICCALLBACK_CALLBACK 1
10243 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10244 #include <X11/Xlib.h>
10247 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10249 cat >>confdefs.h
<<_ACEOF
10250 #define HAVE_XEVENT_XCOOKIE 1
10259 if test "x$with_opengl" != "xno"
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10262 $as_echo_n "checking for -lGL... " >&6; }
10263 if ${ac_cv_lib_soname_GL+:} false
; then :
10264 $as_echo_n "(cached) " >&6
10266 ac_check_soname_save_LIBS
=$LIBS
10267 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10269 /* end confdefs.h. */
10271 /* Override any GCC internal prototype to avoid an error.
10272 Use char because int might match the return type of a GCC
10273 builtin and then its argument prototype would still apply. */
10277 char glXCreateContext ();
10281 return glXCreateContext ();
10286 if ac_fn_c_try_link
"$LINENO"; then :
10288 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10289 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'` ;;
10290 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10291 if ${ac_cv_lib_soname_GL:+false} :; then :
10292 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10296 rm -f core conftest.err conftest.
$ac_objext \
10297 conftest
$ac_exeext conftest.
$ac_ext
10298 LIBS
=$ac_check_soname_save_LIBS
10300 if ${ac_cv_lib_soname_GL:+false} :; then :
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10302 $as_echo "not found" >&6; }
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10304 $as_echo_n "checking for -lGL... " >&6; }
10305 if ${ac_cv_lib_soname_GL+:} false
; then :
10306 $as_echo_n "(cached) " >&6
10308 ac_check_soname_save_LIBS
=$LIBS
10309 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"
10310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10313 /* Override any GCC internal prototype to avoid an error.
10314 Use char because int might match the return type of a GCC
10315 builtin and then its argument prototype would still apply. */
10319 char glXCreateContext ();
10323 return glXCreateContext ();
10328 if ac_fn_c_try_link
"$LINENO"; then :
10330 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10331 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'` ;;
10332 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10333 if ${ac_cv_lib_soname_GL:+false} :; then :
10334 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10338 rm -f core conftest.err conftest.
$ac_objext \
10339 conftest
$ac_exeext conftest.
$ac_ext
10340 LIBS
=$ac_check_soname_save_LIBS
10342 if ${ac_cv_lib_soname_GL:+false} :; then :
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10344 $as_echo "not found" >&6; }
10345 if test -f /usr
/X11R
6/lib
/libGL.a
10347 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10348 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10350 opengl_msg
="No OpenGL library found on this system."
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10354 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10356 cat >>confdefs.h
<<_ACEOF
10357 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10360 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"
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10364 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10366 cat >>confdefs.h
<<_ACEOF
10367 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10372 if test "x$with_glu" != "xno"
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10375 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10376 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10377 $as_echo_n "(cached) " >&6
10379 ac_check_lib_save_LIBS
=$LIBS
10380 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10382 /* end confdefs.h. */
10384 /* Override any GCC internal prototype to avoid an error.
10385 Use char because int might match the return type of a GCC
10386 builtin and then its argument prototype would still apply. */
10394 return gluLookAt ();
10399 if ac_fn_c_try_link
"$LINENO"; then :
10400 ac_cv_lib_GLU_gluLookAt
=yes
10402 ac_cv_lib_GLU_gluLookAt
=no
10404 rm -f core conftest.err conftest.
$ac_objext \
10405 conftest
$ac_exeext conftest.
$ac_ext
10406 LIBS
=$ac_check_lib_save_LIBS
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10409 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10410 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10414 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10415 case "x$with_glu" in
10416 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10418 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10419 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10424 if test "x$with_osmesa" != "xno"
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10427 $as_echo_n "checking for -lOSMesa... " >&6; }
10428 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10429 $as_echo_n "(cached) " >&6
10431 ac_check_soname_save_LIBS
=$LIBS
10432 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10434 /* end confdefs.h. */
10436 /* Override any GCC internal prototype to avoid an error.
10437 Use char because int might match the return type of a GCC
10438 builtin and then its argument prototype would still apply. */
10451 if ac_fn_c_try_link
"$LINENO"; then :
10453 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10454 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'` ;;
10455 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10456 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10457 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10461 rm -f core conftest.err conftest.
$ac_objext \
10462 conftest
$ac_exeext conftest.
$ac_ext
10463 LIBS
=$ac_check_soname_save_LIBS
10465 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10467 $as_echo "not found" >&6; }
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10471 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10473 cat >>confdefs.h
<<_ACEOF
10474 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10479 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10480 case "x$with_osmesa" in
10481 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10483 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10484 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10489 if test -n "$opengl_msg"; then :
10490 case "x$with_opengl" in
10491 x
) as_fn_append wine_warnings
"|$opengl_msg
10492 OpenGL and Direct3D won't be supported." ;;
10494 *) as_fn_error $?
"$opengl_msg
10495 OpenGL and Direct3D won't be supported.
10496 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10500 CPPFLAGS
="$ac_save_CPPFLAGS"
10504 enable_winex11_drv
=${enable_winex11_drv:-no}
10506 if test "x$X_LIBS" = "x"; then :
10509 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10510 without X support, which probably isn't what you want. You will need
10511 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10512 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10516 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10518 if test "$ac_cv_header_CL_cl_h" = "yes"
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10521 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10522 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10523 $as_echo_n "(cached) " >&6
10525 ac_check_lib_save_LIBS
=$LIBS
10526 LIBS
="-lOpenCL $LIBS"
10527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10528 /* end confdefs.h. */
10530 /* Override any GCC internal prototype to avoid an error.
10531 Use char because int might match the return type of a GCC
10532 builtin and then its argument prototype would still apply. */
10536 char clGetPlatformInfo ();
10540 return clGetPlatformInfo ();
10545 if ac_fn_c_try_link
"$LINENO"; then :
10546 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10548 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10550 rm -f core conftest.err conftest.
$ac_objext \
10551 conftest
$ac_exeext conftest.
$ac_ext
10552 LIBS
=$ac_check_lib_save_LIBS
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10555 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10556 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10557 OPENCL_LIBS
="-lOpenCL"
10562 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10563 case "x$with_opencl" in
10564 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10566 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10567 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10570 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10572 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10575 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10576 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10577 $as_echo_n "(cached) " >&6
10579 ac_check_lib_save_LIBS
=$LIBS
10580 LIBS
="-lpcap $LIBS"
10581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10582 /* end confdefs.h. */
10584 /* Override any GCC internal prototype to avoid an error.
10585 Use char because int might match the return type of a GCC
10586 builtin and then its argument prototype would still apply. */
10590 char pcap_create ();
10594 return pcap_create ();
10599 if ac_fn_c_try_link
"$LINENO"; then :
10600 ac_cv_lib_pcap_pcap_create
=yes
10602 ac_cv_lib_pcap_pcap_create
=no
10604 rm -f core conftest.err conftest.
$ac_objext \
10605 conftest
$ac_exeext conftest.
$ac_ext
10606 LIBS
=$ac_check_lib_save_LIBS
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10609 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10610 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10616 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10617 case "x$with_pcap" in
10618 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10620 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10621 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10624 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10627 if test "x$with_xml" != "xno"
10629 if ${XML2_CFLAGS:+false} :; then :
10630 if ${PKG_CONFIG+:} false
; then :
10631 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10634 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10635 if ${XML2_LIBS:+false} :; then :
10636 if ${PKG_CONFIG+:} false
; then :
10637 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10640 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10641 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10642 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10643 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10644 ac_save_CPPFLAGS
=$CPPFLAGS
10645 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10646 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10648 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10649 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10650 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10651 cat >>confdefs.h
<<_ACEOF
10652 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10659 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"
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10662 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10663 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10664 $as_echo_n "(cached) " >&6
10666 ac_check_lib_save_LIBS
=$LIBS
10667 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h. */
10671 /* Override any GCC internal prototype to avoid an error.
10672 Use char because int might match the return type of a GCC
10673 builtin and then its argument prototype would still apply. */
10677 char xmlParseMemory ();
10681 return xmlParseMemory ();
10686 if ac_fn_c_try_link
"$LINENO"; then :
10687 ac_cv_lib_xml2_xmlParseMemory
=yes
10689 ac_cv_lib_xml2_xmlParseMemory
=no
10691 rm -f core conftest.err conftest.
$ac_objext \
10692 conftest
$ac_exeext conftest.
$ac_ext
10693 LIBS
=$ac_check_lib_save_LIBS
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10696 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10697 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10699 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10706 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10707 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10708 $as_echo_n "(cached) " >&6
10710 ac_check_lib_save_LIBS
=$LIBS
10711 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10715 /* Override any GCC internal prototype to avoid an error.
10716 Use char because int might match the return type of a GCC
10717 builtin and then its argument prototype would still apply. */
10721 char xmlReadMemory ();
10725 return xmlReadMemory ();
10730 if ac_fn_c_try_link
"$LINENO"; then :
10731 ac_cv_lib_xml2_xmlReadMemory
=yes
10733 ac_cv_lib_xml2_xmlReadMemory
=no
10735 rm -f core conftest.err conftest.
$ac_objext \
10736 conftest
$ac_exeext conftest.
$ac_ext
10737 LIBS
=$ac_check_lib_save_LIBS
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10740 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10741 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10743 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10748 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10749 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10750 $as_echo_n "(cached) " >&6
10752 ac_check_lib_save_LIBS
=$LIBS
10753 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h. */
10757 /* Override any GCC internal prototype to avoid an error.
10758 Use char because int might match the return type of a GCC
10759 builtin and then its argument prototype would still apply. */
10763 char xmlNewDocPI ();
10767 return xmlNewDocPI ();
10772 if ac_fn_c_try_link
"$LINENO"; then :
10773 ac_cv_lib_xml2_xmlNewDocPI
=yes
10775 ac_cv_lib_xml2_xmlNewDocPI
=no
10777 rm -f core conftest.err conftest.
$ac_objext \
10778 conftest
$ac_exeext conftest.
$ac_ext
10779 LIBS
=$ac_check_lib_save_LIBS
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10782 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10783 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10785 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10790 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10791 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10792 $as_echo_n "(cached) " >&6
10794 ac_check_lib_save_LIBS
=$LIBS
10795 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10797 /* end confdefs.h. */
10799 /* Override any GCC internal prototype to avoid an error.
10800 Use char because int might match the return type of a GCC
10801 builtin and then its argument prototype would still apply. */
10805 char xmlSchemaSetParserStructuredErrors ();
10809 return xmlSchemaSetParserStructuredErrors ();
10814 if ac_fn_c_try_link
"$LINENO"; then :
10815 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10817 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10819 rm -f core conftest.err conftest.
$ac_objext \
10820 conftest
$ac_exeext conftest.
$ac_ext
10821 LIBS
=$ac_check_lib_save_LIBS
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10824 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10825 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10827 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10832 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10833 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10834 $as_echo_n "(cached) " >&6
10836 ac_check_lib_save_LIBS
=$LIBS
10837 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10839 /* end confdefs.h. */
10841 /* Override any GCC internal prototype to avoid an error.
10842 Use char because int might match the return type of a GCC
10843 builtin and then its argument prototype would still apply. */
10847 char xmlSchemaSetValidStructuredErrors ();
10851 return xmlSchemaSetValidStructuredErrors ();
10856 if ac_fn_c_try_link
"$LINENO"; then :
10857 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10859 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10861 rm -f core conftest.err conftest.
$ac_objext \
10862 conftest
$ac_exeext conftest.
$ac_ext
10863 LIBS
=$ac_check_lib_save_LIBS
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10866 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10867 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10869 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10874 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10875 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10876 $as_echo_n "(cached) " >&6
10878 ac_check_lib_save_LIBS
=$LIBS
10879 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10881 /* end confdefs.h. */
10883 /* Override any GCC internal prototype to avoid an error.
10884 Use char because int might match the return type of a GCC
10885 builtin and then its argument prototype would still apply. */
10889 char xmlFirstElementChild ();
10893 return xmlFirstElementChild ();
10898 if ac_fn_c_try_link
"$LINENO"; then :
10899 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10901 ac_cv_lib_xml2_xmlFirstElementChild
=no
10903 rm -f core conftest.err conftest.
$ac_objext \
10904 conftest
$ac_exeext conftest.
$ac_ext
10905 LIBS
=$ac_check_lib_save_LIBS
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10908 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10909 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10911 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10915 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10917 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10919 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10927 CPPFLAGS
=$ac_save_CPPFLAGS
10928 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10929 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10932 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10933 case "x$with_xml" in
10934 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10936 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10937 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10941 if test "x$with_xslt" != "xno"
10943 if ${XSLT_CFLAGS:+false} :; then :
10944 if ${PKG_CONFIG+:} false
; then :
10945 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10948 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10949 if ${XSLT_LIBS:+false} :; then :
10950 if ${PKG_CONFIG+:} false
; then :
10951 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10954 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10955 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10956 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10957 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10958 ac_save_CPPFLAGS
=$CPPFLAGS
10959 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10960 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10962 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10963 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10964 # include <libxslt/pattern.h>
10967 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10968 cat >>confdefs.h
<<_ACEOF
10969 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10976 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10979 $as_echo_n "checking for -lxslt... " >&6; }
10980 if ${ac_cv_lib_soname_xslt+:} false
; then :
10981 $as_echo_n "(cached) " >&6
10983 ac_check_soname_save_LIBS
=$LIBS
10984 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10986 /* end confdefs.h. */
10988 /* Override any GCC internal prototype to avoid an error.
10989 Use char because int might match the return type of a GCC
10990 builtin and then its argument prototype would still apply. */
10994 char xsltCompilePattern ();
10998 return xsltCompilePattern ();
11003 if ac_fn_c_try_link
"$LINENO"; then :
11005 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11006 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'` ;;
11007 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11008 if ${ac_cv_lib_soname_xslt:+false} :; then :
11009 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11013 rm -f core conftest.err conftest.
$ac_objext \
11014 conftest
$ac_exeext conftest.
$ac_ext
11015 LIBS
=$ac_check_soname_save_LIBS
11017 if ${ac_cv_lib_soname_xslt:+false} :; then :
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11019 $as_echo "not found" >&6; }
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11023 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11025 cat >>confdefs.h
<<_ACEOF
11026 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11034 CPPFLAGS
=$ac_save_CPPFLAGS
11035 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11036 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11039 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11040 case "x$with_xslt" in
11041 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11043 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11044 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11048 if test "x$with_dbus" != "xno"
11050 if ${DBUS_CFLAGS:+false} :; then :
11051 if ${PKG_CONFIG+:} false
; then :
11052 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11056 if ${DBUS_LIBS:+false} :; then :
11057 if ${PKG_CONFIG+:} false
; then :
11058 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11063 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11064 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11065 ac_save_CPPFLAGS
=$CPPFLAGS
11066 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11067 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11068 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11070 $as_echo_n "checking for -ldbus-1... " >&6; }
11071 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11072 $as_echo_n "(cached) " >&6
11074 ac_check_soname_save_LIBS
=$LIBS
11075 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11077 /* end confdefs.h. */
11079 /* Override any GCC internal prototype to avoid an error.
11080 Use char because int might match the return type of a GCC
11081 builtin and then its argument prototype would still apply. */
11085 char dbus_connection_close ();
11089 return dbus_connection_close ();
11094 if ac_fn_c_try_link
"$LINENO"; then :
11096 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11097 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'` ;;
11098 *) 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'`
11099 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11100 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11104 rm -f core conftest.err conftest.
$ac_objext \
11105 conftest
$ac_exeext conftest.
$ac_ext
11106 LIBS
=$ac_check_soname_save_LIBS
11108 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11110 $as_echo "not found" >&6; }
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11114 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11116 cat >>confdefs.h
<<_ACEOF
11117 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11127 CPPFLAGS
=$ac_save_CPPFLAGS
11128 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11129 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11132 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11133 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11134 case "x$with_dbus" in
11135 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11137 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11138 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11142 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11144 if ${HAL_CFLAGS:+false} :; then :
11145 if ${PKG_CONFIG+:} false
; then :
11146 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11150 if ${HAL_LIBS:+false} :; then :
11151 if ${PKG_CONFIG+:} false
; then :
11152 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11156 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11157 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11158 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11159 ac_save_CPPFLAGS
=$CPPFLAGS
11160 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11161 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11162 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11164 $as_echo_n "checking for -lhal... " >&6; }
11165 if ${ac_cv_lib_soname_hal+:} false
; then :
11166 $as_echo_n "(cached) " >&6
11168 ac_check_soname_save_LIBS
=$LIBS
11169 LIBS
="-lhal $HAL_LIBS $LIBS"
11170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11171 /* end confdefs.h. */
11173 /* Override any GCC internal prototype to avoid an error.
11174 Use char because int might match the return type of a GCC
11175 builtin and then its argument prototype would still apply. */
11179 char libhal_ctx_new ();
11183 return libhal_ctx_new ();
11188 if ac_fn_c_try_link
"$LINENO"; then :
11190 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11191 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'` ;;
11192 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11193 if ${ac_cv_lib_soname_hal:+false} :; then :
11194 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11198 rm -f core conftest.err conftest.
$ac_objext \
11199 conftest
$ac_exeext conftest.
$ac_ext
11200 LIBS
=$ac_check_soname_save_LIBS
11202 if ${ac_cv_lib_soname_hal:+false} :; then :
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11204 $as_echo "not found" >&6; }
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11208 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11210 cat >>confdefs.h
<<_ACEOF
11211 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11221 CPPFLAGS
=$ac_save_CPPFLAGS
11222 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11223 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11225 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11226 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11227 case "x$with_hal" in
11228 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11230 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11231 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11236 if test "x$with_gnutls" != "xno"
11238 if ${GNUTLS_CFLAGS:+false} :; then :
11239 if ${PKG_CONFIG+:} false
; then :
11240 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11244 if ${GNUTLS_LIBS:+false} :; then :
11245 if ${PKG_CONFIG+:} false
; then :
11246 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11251 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11252 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11253 ac_save_CPPFLAGS
=$CPPFLAGS
11254 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11255 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11256 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11259 #include <gnutls/gnutls.h>
11260 #include <gnutls/crypto.h>
11264 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11269 if ac_fn_c_try_compile
"$LINENO"; then :
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11271 $as_echo_n "checking for -lgnutls... " >&6; }
11272 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11273 $as_echo_n "(cached) " >&6
11275 ac_check_soname_save_LIBS
=$LIBS
11276 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11280 /* Override any GCC internal prototype to avoid an error.
11281 Use char because int might match the return type of a GCC
11282 builtin and then its argument prototype would still apply. */
11286 char gnutls_global_init ();
11290 return gnutls_global_init ();
11295 if ac_fn_c_try_link
"$LINENO"; then :
11297 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11298 dylib
) ac_cv_lib_soname_gnutls
=`otool -L conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\\(-deb0\\)\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11299 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11300 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11301 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\\(-deb0\\)\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11305 rm -f core conftest.err conftest.
$ac_objext \
11306 conftest
$ac_exeext conftest.
$ac_ext
11307 LIBS
=$ac_check_soname_save_LIBS
11309 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11311 $as_echo "not found" >&6; }
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11315 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11317 cat >>confdefs.h
<<_ACEOF
11318 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11330 CPPFLAGS
=$ac_save_CPPFLAGS
11331 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11332 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11335 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11336 case "x$with_gnutls" in
11337 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11339 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11340 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11345 if test "$ac_cv_header_ncurses_h" = "yes"
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11348 $as_echo_n "checking for -lncurses... " >&6; }
11349 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11350 $as_echo_n "(cached) " >&6
11352 ac_check_soname_save_LIBS
=$LIBS
11353 LIBS
="-lncurses $LIBS"
11354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11355 /* end confdefs.h. */
11357 /* Override any GCC internal prototype to avoid an error.
11358 Use char because int might match the return type of a GCC
11359 builtin and then its argument prototype would still apply. */
11372 if ac_fn_c_try_link
"$LINENO"; then :
11374 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11375 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'` ;;
11376 *) 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'`
11377 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11378 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11382 rm -f core conftest.err conftest.
$ac_objext \
11383 conftest
$ac_exeext conftest.
$ac_ext
11384 LIBS
=$ac_check_soname_save_LIBS
11386 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11388 $as_echo "not found" >&6; }
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11392 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11394 cat >>confdefs.h
<<_ACEOF
11395 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11398 CURSES_LIBS
="-lncurses"
11400 elif test "$ac_cv_header_curses_h" = "yes"
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11403 $as_echo_n "checking for -lcurses... " >&6; }
11404 if ${ac_cv_lib_soname_curses+:} false
; then :
11405 $as_echo_n "(cached) " >&6
11407 ac_check_soname_save_LIBS
=$LIBS
11408 LIBS
="-lcurses $LIBS"
11409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11412 /* Override any GCC internal prototype to avoid an error.
11413 Use char because int might match the return type of a GCC
11414 builtin and then its argument prototype would still apply. */
11427 if ac_fn_c_try_link
"$LINENO"; then :
11429 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11430 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'` ;;
11431 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11432 if ${ac_cv_lib_soname_curses:+false} :; then :
11433 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11437 rm -f core conftest.err conftest.
$ac_objext \
11438 conftest
$ac_exeext conftest.
$ac_ext
11439 LIBS
=$ac_check_soname_save_LIBS
11441 if ${ac_cv_lib_soname_curses:+false} :; then :
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11443 $as_echo "not found" >&6; }
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11447 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11449 cat >>confdefs.h
<<_ACEOF
11450 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11453 CURSES_LIBS
="-lcurses"
11456 ac_save_LIBS
="$LIBS"
11457 LIBS
="$LIBS $CURSES_LIBS"
11458 for ac_func
in mousemask
11460 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11461 if test "x$ac_cv_func_mousemask" = xyes
; then :
11462 cat >>confdefs.h
<<_ACEOF
11463 #define HAVE_MOUSEMASK 1
11469 LIBS
="$ac_save_LIBS"
11470 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11471 case "x$with_curses" in
11472 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11474 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11475 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11479 if test "x$with_sane" != "xno"
11481 if ${SANE_CFLAGS:+false} :; then :
11482 if ${PKG_CONFIG+:} false
; then :
11483 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11486 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11487 if ${SANE_LIBS:+false} :; then :
11488 if ${PKG_CONFIG+:} false
; then :
11489 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11492 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11494 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11495 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11496 ac_save_CPPFLAGS
=$CPPFLAGS
11497 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11498 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11499 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11501 $as_echo_n "checking for -lsane... " >&6; }
11502 if ${ac_cv_lib_soname_sane+:} false
; then :
11503 $as_echo_n "(cached) " >&6
11505 ac_check_soname_save_LIBS
=$LIBS
11506 LIBS
="-lsane $SANE_LIBS $LIBS"
11507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11510 /* Override any GCC internal prototype to avoid an error.
11511 Use char because int might match the return type of a GCC
11512 builtin and then its argument prototype would still apply. */
11520 return sane_init ();
11525 if ac_fn_c_try_link
"$LINENO"; then :
11527 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11528 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'` ;;
11529 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11530 if ${ac_cv_lib_soname_sane:+false} :; then :
11531 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11535 rm -f core conftest.err conftest.
$ac_objext \
11536 conftest
$ac_exeext conftest.
$ac_ext
11537 LIBS
=$ac_check_soname_save_LIBS
11539 if ${ac_cv_lib_soname_sane:+false} :; then :
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11541 $as_echo "not found" >&6; }
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11545 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11547 cat >>confdefs.h
<<_ACEOF
11548 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11558 CPPFLAGS
=$ac_save_CPPFLAGS
11559 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11560 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11563 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11564 case "x$with_sane" in
11565 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11567 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11568 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11572 if test "x$with_v4l" != "xno"
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11575 $as_echo_n "checking for -lv4l1... " >&6; }
11576 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11577 $as_echo_n "(cached) " >&6
11579 ac_check_soname_save_LIBS
=$LIBS
11580 LIBS
="-lv4l1 $LIBS"
11581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11582 /* end confdefs.h. */
11584 /* Override any GCC internal prototype to avoid an error.
11585 Use char because int might match the return type of a GCC
11586 builtin and then its argument prototype would still apply. */
11594 return v4l1_open ();
11599 if ac_fn_c_try_link
"$LINENO"; then :
11601 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11602 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'` ;;
11603 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11604 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11605 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11609 rm -f core conftest.err conftest.
$ac_objext \
11610 conftest
$ac_exeext conftest.
$ac_ext
11611 LIBS
=$ac_check_soname_save_LIBS
11613 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11615 $as_echo "not found" >&6; }
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11619 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11621 cat >>confdefs.h
<<_ACEOF
11622 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11628 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11629 case "x$with_v4l" in
11630 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11632 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11633 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11637 if test "x$with_gphoto" != "xno"
11639 if ${GPHOTO2_CFLAGS:+false} :; then :
11640 if ${PKG_CONFIG+:} false
; then :
11641 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11644 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11645 if ${GPHOTO2_LIBS:+false} :; then :
11646 if ${PKG_CONFIG+:} false
; then :
11647 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11650 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11651 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11652 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11653 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11654 ac_save_CPPFLAGS
=$CPPFLAGS
11655 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11656 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11657 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11659 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11660 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11661 $as_echo_n "(cached) " >&6
11663 ac_check_lib_save_LIBS
=$LIBS
11664 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11666 /* end confdefs.h. */
11668 /* Override any GCC internal prototype to avoid an error.
11669 Use char because int might match the return type of a GCC
11670 builtin and then its argument prototype would still apply. */
11674 char gp_camera_new ();
11678 return gp_camera_new ();
11683 if ac_fn_c_try_link
"$LINENO"; then :
11684 ac_cv_lib_gphoto2_gp_camera_new
=yes
11686 ac_cv_lib_gphoto2_gp_camera_new
=no
11688 rm -f core conftest.err conftest.
$ac_objext \
11689 conftest
$ac_exeext conftest.
$ac_ext
11690 LIBS
=$ac_check_lib_save_LIBS
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11693 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11694 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11696 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11699 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11703 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11707 CPPFLAGS
=$ac_save_CPPFLAGS
11708 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11709 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11711 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11712 if ${PKG_CONFIG+:} false
; then :
11713 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11716 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11717 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11718 if ${PKG_CONFIG+:} false
; then :
11719 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11722 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11723 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11724 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11725 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11726 ac_save_CPPFLAGS
=$CPPFLAGS
11727 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11728 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11729 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11731 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11732 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11733 $as_echo_n "(cached) " >&6
11735 ac_check_lib_save_LIBS
=$LIBS
11736 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11738 /* end confdefs.h. */
11740 /* Override any GCC internal prototype to avoid an error.
11741 Use char because int might match the return type of a GCC
11742 builtin and then its argument prototype would still apply. */
11746 char gp_port_info_list_new ();
11750 return gp_port_info_list_new ();
11755 if ac_fn_c_try_link
"$LINENO"; then :
11756 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11758 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11760 rm -f core conftest.err conftest.
$ac_objext \
11761 conftest
$ac_exeext conftest.
$ac_ext
11762 LIBS
=$ac_check_lib_save_LIBS
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11765 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11766 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11768 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11771 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11775 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11779 CPPFLAGS
=$ac_save_CPPFLAGS
11780 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11781 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11784 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11785 case "x$with_gphoto" in
11786 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11788 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11789 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11792 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11793 case "x$with_gphoto" in
11794 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11796 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11797 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11802 if test "$ac_cv_header_resolv_h" = "yes"
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11805 $as_echo_n "checking for resolver library... " >&6; }
11806 if ${ac_cv_have_resolv+:} false
; then :
11807 $as_echo_n "(cached) " >&6
11809 ac_save_LIBS
="$LIBS"
11810 for lib
in '' -lresolv
11812 LIBS
="$lib $ac_save_LIBS"
11813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11815 #ifdef HAVE_NETINET_IN_H
11816 #include <netinet/in.h>
11818 #include <resolv.h>
11822 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11827 if ac_fn_c_try_link
"$LINENO"; then :
11828 ac_cv_have_resolv
=${lib:-"none required"}
11830 ac_cv_have_resolv
="not found"
11832 rm -f core conftest.err conftest.
$ac_objext \
11833 conftest
$ac_exeext conftest.
$ac_ext
11834 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11836 LIBS
="$ac_save_LIBS"
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11839 $as_echo "$ac_cv_have_resolv" >&6; }
11841 case "$ac_cv_have_resolv" in
11845 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11848 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11850 RESOLV_LIBS
=$ac_cv_have_resolv
11855 if test "x$with_lcms2" != "xno"
11857 if ${LCMS2_CFLAGS:+false} :; then :
11858 if ${PKG_CONFIG+:} false
; then :
11859 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11863 if ${LCMS2_LIBS:+false} :; then :
11864 if ${PKG_CONFIG+:} false
; then :
11865 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11869 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11870 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11871 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11872 ac_save_CPPFLAGS
=$CPPFLAGS
11873 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11874 for ac_header
in lcms2.h
11876 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11877 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11878 cat >>confdefs.h
<<_ACEOF
11879 #define HAVE_LCMS2_H 1
11886 if test "$ac_cv_header_lcms2_h" = "yes"
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11889 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11890 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11891 $as_echo_n "(cached) " >&6
11893 ac_check_lib_save_LIBS
=$LIBS
11894 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11898 /* Override any GCC internal prototype to avoid an error.
11899 Use char because int might match the return type of a GCC
11900 builtin and then its argument prototype would still apply. */
11904 char cmsOpenProfileFromFile ();
11908 return cmsOpenProfileFromFile ();
11913 if ac_fn_c_try_link
"$LINENO"; then :
11914 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11916 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11918 rm -f core conftest.err conftest.
$ac_objext \
11919 conftest
$ac_exeext conftest.
$ac_ext
11920 LIBS
=$ac_check_lib_save_LIBS
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11923 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11924 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11926 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11936 CPPFLAGS
=$ac_save_CPPFLAGS
11937 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11938 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11941 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11942 case "x$with_cms" in
11943 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11945 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11946 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11950 if test "x$with_freetype" != "xno"
11952 if ${FREETYPE_CFLAGS:+false} :; then :
11953 if ${PKG_CONFIG+:} false
; then :
11954 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11957 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11958 if ${FREETYPE_LIBS:+false} :; then :
11959 if ${PKG_CONFIG+:} false
; then :
11960 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11963 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11964 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11965 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11966 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11967 ac_save_CPPFLAGS
=$CPPFLAGS
11968 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11969 for ac_header
in ft2build.h
11971 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11972 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11973 cat >>confdefs.h
<<_ACEOF
11974 #define HAVE_FT2BUILD_H 1
11981 if test "$ac_cv_header_ft2build_h" = "yes"
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11984 $as_echo_n "checking for -lfreetype... " >&6; }
11985 if ${ac_cv_lib_soname_freetype+:} false
; then :
11986 $as_echo_n "(cached) " >&6
11988 ac_check_soname_save_LIBS
=$LIBS
11989 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11991 /* end confdefs.h. */
11993 /* Override any GCC internal prototype to avoid an error.
11994 Use char because int might match the return type of a GCC
11995 builtin and then its argument prototype would still apply. */
11999 char FT_Init_FreeType ();
12003 return FT_Init_FreeType ();
12008 if ac_fn_c_try_link
"$LINENO"; then :
12010 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12011 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'` ;;
12012 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12013 if ${ac_cv_lib_soname_freetype:+false} :; then :
12014 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12018 rm -f core conftest.err conftest.
$ac_objext \
12019 conftest
$ac_exeext conftest.
$ac_ext
12020 LIBS
=$ac_check_soname_save_LIBS
12022 if ${ac_cv_lib_soname_freetype:+false} :; then :
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12024 $as_echo "not found" >&6; }
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12028 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12030 cat >>confdefs.h
<<_ACEOF
12031 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12035 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12037 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12038 #include FT_MODULE_H
12040 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12042 cat >>confdefs.h
<<_ACEOF
12043 #define HAVE_FT_TRUETYPEENGINETYPE 1
12054 CPPFLAGS
=$ac_save_CPPFLAGS
12055 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12056 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12059 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12060 case "x$with_freetype" in
12062 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12063 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12066 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12069 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12070 if ${ac_cv_c_ppdev+:} false
; then :
12071 $as_echo_n "(cached) " >&6
12073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12075 #ifdef HAVE_SYS_IOCTL_H
12076 # include <sys/ioctl.h>
12078 #include <linux/ppdev.h>
12082 ioctl (1,PPCLAIM,0)
12087 if ac_fn_c_try_compile
"$LINENO"; then :
12088 ac_cv_c_ppdev
="yes"
12092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12095 $as_echo "$ac_cv_c_ppdev" >&6; }
12096 if test "$ac_cv_c_ppdev" = "yes"
12099 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12103 ac_wine_check_funcs_save_LIBS
="$LIBS"
12104 LIBS
="$LIBS $PTHREAD_LIBS"
12106 pthread_attr_get_np \
12107 pthread_getattr_np \
12108 pthread_getthreadid_np \
12109 pthread_get_stackaddr_np \
12110 pthread_get_stacksize_np
12112 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12113 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12114 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12115 cat >>confdefs.h
<<_ACEOF
12116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12122 LIBS
="$ac_wine_check_funcs_save_LIBS"
12124 if test "$ac_cv_header_zlib_h" = "yes"
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12127 $as_echo_n "checking for inflate in -lz... " >&6; }
12128 if ${ac_cv_lib_z_inflate+:} false
; then :
12129 $as_echo_n "(cached) " >&6
12131 ac_check_lib_save_LIBS
=$LIBS
12133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12136 /* Override any GCC internal prototype to avoid an error.
12137 Use char because int might match the return type of a GCC
12138 builtin and then its argument prototype would still apply. */
12151 if ac_fn_c_try_link
"$LINENO"; then :
12152 ac_cv_lib_z_inflate
=yes
12154 ac_cv_lib_z_inflate
=no
12156 rm -f core conftest.err conftest.
$ac_objext \
12157 conftest
$ac_exeext conftest.
$ac_ext
12158 LIBS
=$ac_check_lib_save_LIBS
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12161 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12162 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12164 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12171 if test "x$Z_LIBS" = "x"; then :
12172 case "x$with_zlib" in
12173 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12175 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12176 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12180 if test "x$enable_tools" != xno
12182 if test "$ac_cv_header_gettext_po_h" = "yes"
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12185 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12186 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12187 $as_echo_n "(cached) " >&6
12189 ac_check_lib_save_LIBS
=$LIBS
12190 LIBS
="-lgettextpo $LIBS"
12191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12192 /* end confdefs.h. */
12194 /* Override any GCC internal prototype to avoid an error.
12195 Use char because int might match the return type of a GCC
12196 builtin and then its argument prototype would still apply. */
12200 char po_message_msgctxt ();
12204 return po_message_msgctxt ();
12209 if ac_fn_c_try_link
"$LINENO"; then :
12210 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12212 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12214 rm -f core conftest.err conftest.
$ac_objext \
12215 conftest
$ac_exeext conftest.
$ac_ext
12216 LIBS
=$ac_check_lib_save_LIBS
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12219 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12220 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12222 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12224 GETTEXTPO_LIBS
="-lgettextpo"
12229 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12230 case "x$with_gettextpo" in
12231 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12233 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12234 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12239 if test "x$with_gstreamer" != "xno"
12241 if ${GSTREAMER_CFLAGS:+false} :; then :
12242 if ${PKG_CONFIG+:} false
; then :
12243 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12247 if ${GSTREAMER_LIBS:+false} :; then :
12248 if ${PKG_CONFIG+:} false
; then :
12249 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12254 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12255 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12256 ac_save_CPPFLAGS
=$CPPFLAGS
12257 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12259 for i
in $GSTREAMER_CFLAGS
12262 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12265 GSTREAMER_CFLAGS
=$ac_gst_incl
12266 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12267 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12268 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12269 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12270 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12272 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h. */
12275 #include <gst/app/gstappsink.h>
12279 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12284 if ac_fn_c_try_compile
"$LINENO"; then :
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12286 $as_echo "yes" >&6; }
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12288 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12289 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12290 $as_echo_n "(cached) " >&6
12292 ac_check_lib_save_LIBS
=$LIBS
12293 LIBS
="-lgstreamer-0.10 $LIBS"
12294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12295 /* end confdefs.h. */
12297 /* Override any GCC internal prototype to avoid an error.
12298 Use char because int might match the return type of a GCC
12299 builtin and then its argument prototype would still apply. */
12303 char gst_pad_get_caps_reffed ();
12307 return gst_pad_get_caps_reffed ();
12312 if ac_fn_c_try_link
"$LINENO"; then :
12313 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12315 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12317 rm -f core conftest.err conftest.
$ac_objext \
12318 conftest
$ac_exeext conftest.
$ac_ext
12319 LIBS
=$ac_check_lib_save_LIBS
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12322 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12323 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12325 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12326 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12327 $as_echo_n "(cached) " >&6
12329 ac_check_lib_save_LIBS
=$LIBS
12330 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12332 /* end confdefs.h. */
12334 /* Override any GCC internal prototype to avoid an error.
12335 Use char because int might match the return type of a GCC
12336 builtin and then its argument prototype would still apply. */
12340 char gst_app_buffer_new ();
12344 return gst_app_buffer_new ();
12349 if ac_fn_c_try_link
"$LINENO"; then :
12350 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12352 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12354 rm -f core conftest.err conftest.
$ac_objext \
12355 conftest
$ac_exeext conftest.
$ac_ext
12356 LIBS
=$ac_check_lib_save_LIBS
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12359 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12360 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12368 $as_echo "no" >&6; }
12370 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12375 GSTREAMER_CFLAGS
=""
12379 CPPFLAGS
=$ac_save_CPPFLAGS
12380 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12381 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12384 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12385 case "x$with_gstreamer" in
12386 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12388 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12389 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12392 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12396 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12399 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12400 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12401 $as_echo_n "(cached) " >&6
12403 ac_check_lib_save_LIBS
=$LIBS
12404 LIBS
="-lasound $LIBS"
12405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12408 /* Override any GCC internal prototype to avoid an error.
12409 Use char because int might match the return type of a GCC
12410 builtin and then its argument prototype would still apply. */
12414 char snd_pcm_hw_params_get_access_mask ();
12418 return snd_pcm_hw_params_get_access_mask ();
12423 if ac_fn_c_try_link
"$LINENO"; then :
12424 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12426 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12428 rm -f core conftest.err conftest.
$ac_objext \
12429 conftest
$ac_exeext conftest.
$ac_ext
12430 LIBS
=$ac_check_lib_save_LIBS
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12433 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12434 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12436 /* end confdefs.h. */
12437 #ifdef HAVE_ALSA_ASOUNDLIB_H
12438 #include <alsa/asoundlib.h>
12439 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12440 #include <sys/asoundlib.h>
12445 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12450 if ac_fn_c_try_compile
"$LINENO"; then :
12451 ALSA_LIBS
="-lasound"
12453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12458 if test "x$with_oss" != xno
12460 ac_save_CPPFLAGS
="$CPPFLAGS"
12461 if test -f /etc
/oss.conf
12465 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12466 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12467 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12468 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12469 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12471 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12473 cat >>confdefs.h
<<_ACEOF
12474 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12477 OSS4_CFLAGS
="$ac_oss_incl"
12484 CPPFLAGS
="$ac_save_CPPFLAGS"
12485 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12487 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12491 if test "x$with_capi" != "xno"
12493 if ${CAPI20_CFLAGS:+false} :; then :
12494 if ${PKG_CONFIG+:} false
; then :
12495 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12499 if ${CAPI20_LIBS:+false} :; then :
12500 if ${PKG_CONFIG+:} false
; then :
12501 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12506 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12507 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12508 ac_save_CPPFLAGS
=$CPPFLAGS
12509 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12510 for ac_header
in capi20.h linux
/capi.h
12512 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12513 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12515 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12516 cat >>confdefs.h
<<_ACEOF
12517 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12524 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12527 $as_echo_n "checking for -lcapi20... " >&6; }
12528 if ${ac_cv_lib_soname_capi20+:} false
; then :
12529 $as_echo_n "(cached) " >&6
12531 ac_check_soname_save_LIBS
=$LIBS
12532 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h. */
12536 /* Override any GCC internal prototype to avoid an error.
12537 Use char because int might match the return type of a GCC
12538 builtin and then its argument prototype would still apply. */
12542 char capi20_register ();
12546 return capi20_register ();
12551 if ac_fn_c_try_link
"$LINENO"; then :
12553 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12554 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'` ;;
12555 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12556 if ${ac_cv_lib_soname_capi20:+false} :; then :
12557 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12561 rm -f core conftest.err conftest.
$ac_objext \
12562 conftest
$ac_exeext conftest.
$ac_ext
12563 LIBS
=$ac_check_soname_save_LIBS
12565 if ${ac_cv_lib_soname_capi20:+false} :; then :
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12567 $as_echo "not found" >&6; }
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12571 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12573 cat >>confdefs.h
<<_ACEOF
12574 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12580 CPPFLAGS
=$ac_save_CPPFLAGS
12581 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12582 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12585 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12586 case "x$with_capi" in
12587 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12589 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12590 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12596 if test "x$with_cups" != "xno"
12598 ac_save_CPPFLAGS
="$CPPFLAGS"
12599 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12600 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12601 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12602 for ac_header
in cups
/cups.h
12604 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12605 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12606 cat >>confdefs.h
<<_ACEOF
12607 #define HAVE_CUPS_CUPS_H 1
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12610 $as_echo_n "checking for -lcups... " >&6; }
12611 if ${ac_cv_lib_soname_cups+:} false
; then :
12612 $as_echo_n "(cached) " >&6
12614 ac_check_soname_save_LIBS
=$LIBS
12615 LIBS
="-lcups $ac_cups_libs $LIBS"
12616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12619 /* Override any GCC internal prototype to avoid an error.
12620 Use char because int might match the return type of a GCC
12621 builtin and then its argument prototype would still apply. */
12625 char cupsGetDefault ();
12629 return cupsGetDefault ();
12634 if ac_fn_c_try_link
"$LINENO"; then :
12636 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12637 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'` ;;
12638 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12639 if ${ac_cv_lib_soname_cups:+false} :; then :
12640 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12644 rm -f core conftest.err conftest.
$ac_objext \
12645 conftest
$ac_exeext conftest.
$ac_ext
12646 LIBS
=$ac_check_soname_save_LIBS
12648 if ${ac_cv_lib_soname_cups:+false} :; then :
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12650 $as_echo "not found" >&6; }
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12654 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12656 cat >>confdefs.h
<<_ACEOF
12657 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12660 CUPS_CFLAGS
="$ac_cups_cflags"
12666 CPPFLAGS
="$ac_save_CPPFLAGS"
12668 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12669 case "x$with_cups" in
12670 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12672 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12673 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12677 if test "x$with_fontconfig" != "xno"
12679 if ${FONTCONFIG_CFLAGS:+false} :; then :
12680 if ${PKG_CONFIG+:} false
; then :
12681 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12684 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12685 if ${FONTCONFIG_LIBS:+false} :; then :
12686 if ${PKG_CONFIG+:} false
; then :
12687 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12690 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12692 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12693 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12694 ac_save_CPPFLAGS
=$CPPFLAGS
12695 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12696 for ac_header
in fontconfig
/fontconfig.h
12698 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12699 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12700 cat >>confdefs.h
<<_ACEOF
12701 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12708 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12711 $as_echo_n "checking for -lfontconfig... " >&6; }
12712 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12713 $as_echo_n "(cached) " >&6
12715 ac_check_soname_save_LIBS
=$LIBS
12716 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h. */
12720 /* Override any GCC internal prototype to avoid an error.
12721 Use char because int might match the return type of a GCC
12722 builtin and then its argument prototype would still apply. */
12735 if ac_fn_c_try_link
"$LINENO"; then :
12737 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12738 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'` ;;
12739 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12740 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12741 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12745 rm -f core conftest.err conftest.
$ac_objext \
12746 conftest
$ac_exeext conftest.
$ac_ext
12747 LIBS
=$ac_check_soname_save_LIBS
12749 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12751 $as_echo "not found" >&6; }
12752 FONTCONFIG_CFLAGS
=""
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12755 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12757 cat >>confdefs.h
<<_ACEOF
12758 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12764 FONTCONFIG_CFLAGS
=""
12766 CPPFLAGS
=$ac_save_CPPFLAGS
12767 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12768 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12771 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12772 case "x$with_fontconfig" in
12773 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12775 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12776 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12780 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12783 $as_echo_n "checking for -lgsm... " >&6; }
12784 if ${ac_cv_lib_soname_gsm+:} false
; then :
12785 $as_echo_n "(cached) " >&6
12787 ac_check_soname_save_LIBS
=$LIBS
12789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12792 /* Override any GCC internal prototype to avoid an error.
12793 Use char because int might match the return type of a GCC
12794 builtin and then its argument prototype would still apply. */
12798 char gsm_create ();
12802 return gsm_create ();
12807 if ac_fn_c_try_link
"$LINENO"; then :
12809 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12810 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'` ;;
12811 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12812 if ${ac_cv_lib_soname_gsm:+false} :; then :
12813 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12817 rm -f core conftest.err conftest.
$ac_objext \
12818 conftest
$ac_exeext conftest.
$ac_ext
12819 LIBS
=$ac_check_soname_save_LIBS
12821 if ${ac_cv_lib_soname_gsm:+false} :; then :
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12823 $as_echo "not found" >&6; }
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12827 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12829 cat >>confdefs.h
<<_ACEOF
12830 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12836 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12837 case "x$with_gsm" in
12838 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12840 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12841 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12845 if test "x$with_jpeg" != "xno"
12847 if ${JPEG_CFLAGS:+false} :; then :
12848 if ${PKG_CONFIG+:} false
; then :
12849 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12853 if ${JPEG_LIBS:+false} :; then :
12854 if ${PKG_CONFIG+:} false
; then :
12855 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12860 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12861 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12862 ac_save_CPPFLAGS
=$CPPFLAGS
12863 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12864 for ac_header
in jpeglib.h
12866 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12867 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12868 cat >>confdefs.h
<<_ACEOF
12869 #define HAVE_JPEGLIB_H 1
12876 if test "$ac_cv_header_jpeglib_h" = "yes"
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12879 $as_echo_n "checking for -ljpeg... " >&6; }
12880 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12881 $as_echo_n "(cached) " >&6
12883 ac_check_soname_save_LIBS
=$LIBS
12884 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12886 /* end confdefs.h. */
12888 /* Override any GCC internal prototype to avoid an error.
12889 Use char because int might match the return type of a GCC
12890 builtin and then its argument prototype would still apply. */
12894 char jpeg_start_decompress ();
12898 return jpeg_start_decompress ();
12903 if ac_fn_c_try_link
"$LINENO"; then :
12905 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12906 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'` ;;
12907 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12908 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12909 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12913 rm -f core conftest.err conftest.
$ac_objext \
12914 conftest
$ac_exeext conftest.
$ac_ext
12915 LIBS
=$ac_check_soname_save_LIBS
12917 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12919 $as_echo "not found" >&6; }
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12923 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12925 cat >>confdefs.h
<<_ACEOF
12926 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12934 CPPFLAGS
=$ac_save_CPPFLAGS
12935 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12936 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12939 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12940 case "x$with_jpeg" in
12941 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12943 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12944 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12948 if test "x$with_png" != "xno"
12950 if ${PNG_CFLAGS:+false} :; then :
12951 if ${PKG_CONFIG+:} false
; then :
12952 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12955 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12956 if ${PNG_LIBS:+false} :; then :
12957 if ${PKG_CONFIG+:} false
; then :
12958 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12961 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12963 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12964 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12965 ac_save_CPPFLAGS
=$CPPFLAGS
12966 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12967 for ac_header
in png.h
12969 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12970 if test "x$ac_cv_header_png_h" = xyes
; then :
12971 cat >>confdefs.h
<<_ACEOF
12972 #define HAVE_PNG_H 1
12979 if test "$ac_cv_header_png_h" = "yes"
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12982 $as_echo_n "checking for -lpng... " >&6; }
12983 if ${ac_cv_lib_soname_png+:} false
; then :
12984 $as_echo_n "(cached) " >&6
12986 ac_check_soname_save_LIBS
=$LIBS
12987 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12989 /* end confdefs.h. */
12991 /* Override any GCC internal prototype to avoid an error.
12992 Use char because int might match the return type of a GCC
12993 builtin and then its argument prototype would still apply. */
12997 char png_create_read_struct ();
13001 return png_create_read_struct ();
13006 if ac_fn_c_try_link
"$LINENO"; then :
13008 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13009 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'` ;;
13010 *) 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'`
13011 if ${ac_cv_lib_soname_png:+false} :; then :
13012 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13016 rm -f core conftest.err conftest.
$ac_objext \
13017 conftest
$ac_exeext conftest.
$ac_ext
13018 LIBS
=$ac_check_soname_save_LIBS
13020 if ${ac_cv_lib_soname_png:+false} :; then :
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13022 $as_echo "not found" >&6; }
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13026 $as_echo "$ac_cv_lib_soname_png" >&6; }
13028 cat >>confdefs.h
<<_ACEOF
13029 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13033 /* end confdefs.h. */
13038 typeof(png_set_expand_gray_1_2_4_to_8) *p
13043 if ac_fn_c_try_compile
"$LINENO"; then :
13045 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13053 CPPFLAGS
=$ac_save_CPPFLAGS
13054 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13055 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13058 if test "x$ac_cv_lib_soname_png" = "x"; then :
13059 case "x$with_png" in
13060 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13062 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13063 This is an error since --with-png was requested." "$LINENO" 5 ;;
13067 if test "x$with_tiff" != "xno"
13069 if ${TIFF_CFLAGS:+false} :; then :
13070 if ${PKG_CONFIG+:} false
; then :
13071 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13075 if ${TIFF_LIBS:+false} :; then :
13076 if ${PKG_CONFIG+:} false
; then :
13077 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13082 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13083 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13084 ac_save_CPPFLAGS
=$CPPFLAGS
13085 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13086 for ac_header
in tiffio.h
13088 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13089 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13090 cat >>confdefs.h
<<_ACEOF
13091 #define HAVE_TIFFIO_H 1
13098 if test "$ac_cv_header_tiffio_h" = "yes"
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13101 $as_echo_n "checking for -ltiff... " >&6; }
13102 if ${ac_cv_lib_soname_tiff+:} false
; then :
13103 $as_echo_n "(cached) " >&6
13105 ac_check_soname_save_LIBS
=$LIBS
13106 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13108 /* end confdefs.h. */
13110 /* Override any GCC internal prototype to avoid an error.
13111 Use char because int might match the return type of a GCC
13112 builtin and then its argument prototype would still apply. */
13116 char TIFFClientOpen ();
13120 return TIFFClientOpen ();
13125 if ac_fn_c_try_link
"$LINENO"; then :
13127 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13128 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'` ;;
13129 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13130 if ${ac_cv_lib_soname_tiff:+false} :; then :
13131 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13135 rm -f core conftest.err conftest.
$ac_objext \
13136 conftest
$ac_exeext conftest.
$ac_ext
13137 LIBS
=$ac_check_soname_save_LIBS
13139 if ${ac_cv_lib_soname_tiff:+false} :; then :
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13141 $as_echo "not found" >&6; }
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13145 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13147 cat >>confdefs.h
<<_ACEOF
13148 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13154 CPPFLAGS
=$ac_save_CPPFLAGS
13155 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13156 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13159 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13160 case "x$with_tiff" in
13161 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13163 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13164 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13168 if test "x$with_mpg123" != "xno"
13170 if ${MPG123_CFLAGS:+false} :; then :
13171 if ${PKG_CONFIG+:} false
; then :
13172 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13176 if ${MPG123_LIBS:+false} :; then :
13177 if ${PKG_CONFIG+:} false
; then :
13178 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13182 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13183 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13184 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13185 ac_save_CPPFLAGS
=$CPPFLAGS
13186 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13187 for ac_header
in mpg123.h
13189 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13190 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13191 cat >>confdefs.h
<<_ACEOF
13192 #define HAVE_MPG123_H 1
13199 if test "$ac_cv_header_mpg123_h" = "yes"
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13202 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13203 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13204 $as_echo_n "(cached) " >&6
13206 ac_check_lib_save_LIBS
=$LIBS
13207 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13209 /* end confdefs.h. */
13211 /* Override any GCC internal prototype to avoid an error.
13212 Use char because int might match the return type of a GCC
13213 builtin and then its argument prototype would still apply. */
13217 char mpg123_feed ();
13221 return mpg123_feed ();
13226 if ac_fn_c_try_link
"$LINENO"; then :
13227 ac_cv_lib_mpg123_mpg123_feed
=yes
13229 ac_cv_lib_mpg123_mpg123_feed
=no
13231 rm -f core conftest.err conftest.
$ac_objext \
13232 conftest
$ac_exeext conftest.
$ac_ext
13233 LIBS
=$ac_check_lib_save_LIBS
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13236 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13237 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13247 CPPFLAGS
=$ac_save_CPPFLAGS
13248 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13249 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13252 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13253 case "x$with_mpg123" in
13254 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13256 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13257 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13260 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}
13262 if test "$ac_cv_header_AL_al_h" = "yes"
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13265 $as_echo_n "checking for -lopenal... " >&6; }
13266 if ${ac_cv_lib_soname_openal+:} false
; then :
13267 $as_echo_n "(cached) " >&6
13269 ac_check_soname_save_LIBS
=$LIBS
13270 LIBS
="-lopenal $LIBS"
13271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13272 /* end confdefs.h. */
13274 /* Override any GCC internal prototype to avoid an error.
13275 Use char because int might match the return type of a GCC
13276 builtin and then its argument prototype would still apply. */
13280 char alGetSource3i ();
13284 return alGetSource3i ();
13289 if ac_fn_c_try_link
"$LINENO"; then :
13291 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13292 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'` ;;
13293 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13294 if ${ac_cv_lib_soname_openal:+false} :; then :
13295 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13299 rm -f core conftest.err conftest.
$ac_objext \
13300 conftest
$ac_exeext conftest.
$ac_ext
13301 LIBS
=$ac_check_soname_save_LIBS
13303 if ${ac_cv_lib_soname_openal:+false} :; then :
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13305 $as_echo "not found" >&6; }
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13309 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13311 cat >>confdefs.h
<<_ACEOF
13312 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13315 OPENAL_LIBS
="-lopenal"
13317 ac_cv_lib_openal
=yes
13319 cat >>confdefs.h
<<_ACEOF
13320 #define HAVE_OPENAL 1
13325 if test "x$ac_cv_lib_openal" != xyes
; then :
13326 case "x$with_openal" in
13327 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13329 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13330 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13333 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13335 if test "$ac_cv_header_kstat_h" = "yes"
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13338 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13339 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13340 $as_echo_n "(cached) " >&6
13342 ac_check_lib_save_LIBS
=$LIBS
13343 LIBS
="-lkstat $LIBS"
13344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13345 /* end confdefs.h. */
13347 /* Override any GCC internal prototype to avoid an error.
13348 Use char because int might match the return type of a GCC
13349 builtin and then its argument prototype would still apply. */
13353 char kstat_open ();
13357 return kstat_open ();
13362 if ac_fn_c_try_link
"$LINENO"; then :
13363 ac_cv_lib_kstat_kstat_open
=yes
13365 ac_cv_lib_kstat_kstat_open
=no
13367 rm -f core conftest.err conftest.
$ac_objext \
13368 conftest
$ac_exeext conftest.
$ac_ext
13369 LIBS
=$ac_check_lib_save_LIBS
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13372 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13373 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13375 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13377 KSTAT_LIBS
="-lkstat"
13383 if test "$ac_cv_header_libprocstat_h" = "yes"
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13386 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13387 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13388 $as_echo_n "(cached) " >&6
13390 ac_check_lib_save_LIBS
=$LIBS
13391 LIBS
="-lprocstat $LIBS"
13392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13393 /* end confdefs.h. */
13395 /* Override any GCC internal prototype to avoid an error.
13396 Use char because int might match the return type of a GCC
13397 builtin and then its argument prototype would still apply. */
13401 char procstat_open_sysctl ();
13405 return procstat_open_sysctl ();
13410 if ac_fn_c_try_link
"$LINENO"; then :
13411 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13413 ac_cv_lib_procstat_procstat_open_sysctl
=no
13415 rm -f core conftest.err conftest.
$ac_objext \
13416 conftest
$ac_exeext conftest.
$ac_ext
13417 LIBS
=$ac_check_lib_save_LIBS
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13420 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13421 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13423 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13425 PROCSTAT_LIBS
="-lprocstat"
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13432 $as_echo_n "checking for -lodbc... " >&6; }
13433 if ${ac_cv_lib_soname_odbc+:} false
; then :
13434 $as_echo_n "(cached) " >&6
13436 ac_check_soname_save_LIBS
=$LIBS
13437 LIBS
="-lodbc $LIBS"
13438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13439 /* end confdefs.h. */
13441 /* Override any GCC internal prototype to avoid an error.
13442 Use char because int might match the return type of a GCC
13443 builtin and then its argument prototype would still apply. */
13447 char SQLConnect ();
13451 return SQLConnect ();
13456 if ac_fn_c_try_link
"$LINENO"; then :
13458 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13459 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'` ;;
13460 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13461 if ${ac_cv_lib_soname_odbc:+false} :; then :
13462 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13466 rm -f core conftest.err conftest.
$ac_objext \
13467 conftest
$ac_exeext conftest.
$ac_ext
13468 LIBS
=$ac_check_soname_save_LIBS
13470 if ${ac_cv_lib_soname_odbc:+false} :; then :
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13472 $as_echo "not found" >&6; }
13473 cat >>confdefs.h
<<_ACEOF
13474 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13479 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13481 cat >>confdefs.h
<<_ACEOF
13482 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13488 if test "x$with_netapi" != "xno"
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13491 $as_echo_n "checking for -lnetapi... " >&6; }
13492 if ${ac_cv_lib_soname_netapi+:} false
; then :
13493 $as_echo_n "(cached) " >&6
13495 ac_check_soname_save_LIBS
=$LIBS
13496 LIBS
="-lnetapi $LIBS"
13497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13498 /* end confdefs.h. */
13500 /* Override any GCC internal prototype to avoid an error.
13501 Use char because int might match the return type of a GCC
13502 builtin and then its argument prototype would still apply. */
13506 char libnetapi_init ();
13510 return libnetapi_init ();
13515 if ac_fn_c_try_link
"$LINENO"; then :
13517 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13518 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'` ;;
13519 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13520 if ${ac_cv_lib_soname_netapi:+false} :; then :
13521 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13525 rm -f core conftest.err conftest.
$ac_objext \
13526 conftest
$ac_exeext conftest.
$ac_ext
13527 LIBS
=$ac_check_soname_save_LIBS
13529 if ${ac_cv_lib_soname_netapi:+false} :; then :
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13531 $as_echo "not found" >&6; }
13532 cat >>confdefs.h
<<_ACEOF
13533 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13538 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13540 cat >>confdefs.h
<<_ACEOF
13541 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13548 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13549 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13550 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13551 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13553 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13554 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13555 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13557 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13563 if test "x${GCC}" = "xyes"
13565 EXTRACFLAGS
="-Wall -pipe"
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13568 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13569 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13570 $as_echo_n "(cached) " >&6
13572 if test "$cross_compiling" = yes; then :
13573 ac_cv_c_gcc_strength_bug
="yes"
13575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13576 /* end confdefs.h. */
13577 int L[4] = {0,1,2,3};
13581 static int Array[3];
13582 unsigned int B = 3;
13584 for(i=0; i<B; i++) Array[i] = i - 3;
13585 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13587 return (Array[1] != -2 || L[2] != 3)
13592 if ac_fn_c_try_run
"$LINENO"; then :
13593 ac_cv_c_gcc_strength_bug
="no"
13595 ac_cv_c_gcc_strength_bug
="yes"
13597 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13598 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13603 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13604 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13606 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13610 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13611 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13612 $as_echo_n "(cached) " >&6
13614 ac_wine_try_cflags_saved
=$CFLAGS
13615 CFLAGS
="$CFLAGS -fno-builtin"
13616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13617 /* end confdefs.h. */
13618 int main(int argc, char **argv) { return 0; }
13620 if ac_fn_c_try_link
"$LINENO"; then :
13621 ac_cv_cflags__fno_builtin
=yes
13623 ac_cv_cflags__fno_builtin
=no
13625 rm -f core conftest.err conftest.
$ac_objext \
13626 conftest
$ac_exeext conftest.
$ac_ext
13627 CFLAGS
=$ac_wine_try_cflags_saved
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13630 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13631 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13632 BUILTINFLAG
="-fno-builtin"
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13636 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13637 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13638 $as_echo_n "(cached) " >&6
13640 ac_wine_try_cflags_saved
=$CFLAGS
13641 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13643 /* end confdefs.h. */
13644 int main(int argc, char **argv) { return 0; }
13646 if ac_fn_c_try_link
"$LINENO"; then :
13647 ac_cv_cflags__fno_strict_aliasing
=yes
13649 ac_cv_cflags__fno_strict_aliasing
=no
13651 rm -f core conftest.err conftest.
$ac_objext \
13652 conftest
$ac_exeext conftest.
$ac_ext
13653 CFLAGS
=$ac_wine_try_cflags_saved
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13656 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13657 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13658 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13660 saved_CFLAGS
=$CFLAGS
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13662 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13663 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13664 $as_echo_n "(cached) " >&6
13666 ac_wine_try_cflags_saved
=$CFLAGS
13667 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13669 /* end confdefs.h. */
13670 int main(int argc, char **argv) { return 0; }
13672 if ac_fn_c_try_link
"$LINENO"; then :
13673 ac_cv_cflags__Werror_unknown_warning_option
=yes
13675 ac_cv_cflags__Werror_unknown_warning_option
=no
13677 rm -f core conftest.err conftest.
$ac_objext \
13678 conftest
$ac_exeext conftest.
$ac_ext
13679 CFLAGS
=$ac_wine_try_cflags_saved
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13682 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13683 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13684 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13687 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13688 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13689 $as_echo_n "(cached) " >&6
13691 ac_wine_try_cflags_saved
=$CFLAGS
13692 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13694 /* end confdefs.h. */
13695 int main(int argc, char **argv) { return 0; }
13697 if ac_fn_c_try_link
"$LINENO"; then :
13698 ac_cv_cflags__Wdeclaration_after_statement
=yes
13700 ac_cv_cflags__Wdeclaration_after_statement
=no
13702 rm -f core conftest.err conftest.
$ac_objext \
13703 conftest
$ac_exeext conftest.
$ac_ext
13704 CFLAGS
=$ac_wine_try_cflags_saved
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13707 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13708 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13709 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13712 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13713 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13714 $as_echo_n "(cached) " >&6
13716 ac_wine_try_cflags_saved
=$CFLAGS
13717 CFLAGS
="$CFLAGS -Wempty-body"
13718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13719 /* end confdefs.h. */
13720 int main(int argc, char **argv) { return 0; }
13722 if ac_fn_c_try_link
"$LINENO"; then :
13723 ac_cv_cflags__Wempty_body
=yes
13725 ac_cv_cflags__Wempty_body
=no
13727 rm -f core conftest.err conftest.
$ac_objext \
13728 conftest
$ac_exeext conftest.
$ac_ext
13729 CFLAGS
=$ac_wine_try_cflags_saved
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13732 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13733 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13734 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13737 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13738 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13739 $as_echo_n "(cached) " >&6
13741 ac_wine_try_cflags_saved
=$CFLAGS
13742 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13745 int main(int argc, char **argv) { return 0; }
13747 if ac_fn_c_try_link
"$LINENO"; then :
13748 ac_cv_cflags__Wignored_qualifiers
=yes
13750 ac_cv_cflags__Wignored_qualifiers
=no
13752 rm -f core conftest.err conftest.
$ac_objext \
13753 conftest
$ac_exeext conftest.
$ac_ext
13754 CFLAGS
=$ac_wine_try_cflags_saved
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13757 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13758 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13759 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13762 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13763 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13764 $as_echo_n "(cached) " >&6
13766 ac_wine_try_cflags_saved
=$CFLAGS
13767 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13769 /* end confdefs.h. */
13770 int main(int argc, char **argv) { return 0; }
13772 if ac_fn_c_try_link
"$LINENO"; then :
13773 ac_cv_cflags__Wstrict_prototypes
=yes
13775 ac_cv_cflags__Wstrict_prototypes
=no
13777 rm -f core conftest.err conftest.
$ac_objext \
13778 conftest
$ac_exeext conftest.
$ac_ext
13779 CFLAGS
=$ac_wine_try_cflags_saved
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13782 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13783 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13784 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13787 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13788 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13789 $as_echo_n "(cached) " >&6
13791 ac_wine_try_cflags_saved
=$CFLAGS
13792 CFLAGS
="$CFLAGS -Wtype-limits"
13793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13794 /* end confdefs.h. */
13795 int main(int argc, char **argv) { return 0; }
13797 if ac_fn_c_try_link
"$LINENO"; then :
13798 ac_cv_cflags__Wtype_limits
=yes
13800 ac_cv_cflags__Wtype_limits
=no
13802 rm -f core conftest.err conftest.
$ac_objext \
13803 conftest
$ac_exeext conftest.
$ac_ext
13804 CFLAGS
=$ac_wine_try_cflags_saved
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13807 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13808 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13809 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13812 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13813 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13814 $as_echo_n "(cached) " >&6
13816 ac_wine_try_cflags_saved
=$CFLAGS
13817 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13819 /* end confdefs.h. */
13820 int main(int argc, char **argv) { return 0; }
13822 if ac_fn_c_try_link
"$LINENO"; then :
13823 ac_cv_cflags__Wunused_but_set_parameter
=yes
13825 ac_cv_cflags__Wunused_but_set_parameter
=no
13827 rm -f core conftest.err conftest.
$ac_objext \
13828 conftest
$ac_exeext conftest.
$ac_ext
13829 CFLAGS
=$ac_wine_try_cflags_saved
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13832 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13833 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13834 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13837 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13838 if ${ac_cv_cflags__Wvla+:} false
; then :
13839 $as_echo_n "(cached) " >&6
13841 ac_wine_try_cflags_saved
=$CFLAGS
13842 CFLAGS
="$CFLAGS -Wvla"
13843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13845 int main(int argc, char **argv) { return 0; }
13847 if ac_fn_c_try_link
"$LINENO"; then :
13848 ac_cv_cflags__Wvla
=yes
13850 ac_cv_cflags__Wvla
=no
13852 rm -f core conftest.err conftest.
$ac_objext \
13853 conftest
$ac_exeext conftest.
$ac_ext
13854 CFLAGS
=$ac_wine_try_cflags_saved
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13857 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13858 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13859 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13862 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13863 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13864 $as_echo_n "(cached) " >&6
13866 ac_wine_try_cflags_saved
=$CFLAGS
13867 CFLAGS
="$CFLAGS -Wwrite-strings"
13868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13870 int main(int argc, char **argv) { return 0; }
13872 if ac_fn_c_try_link
"$LINENO"; then :
13873 ac_cv_cflags__Wwrite_strings
=yes
13875 ac_cv_cflags__Wwrite_strings
=no
13877 rm -f core conftest.err conftest.
$ac_objext \
13878 conftest
$ac_exeext conftest.
$ac_ext
13879 CFLAGS
=$ac_wine_try_cflags_saved
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13882 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13883 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13884 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13888 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13889 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13890 $as_echo_n "(cached) " >&6
13892 ac_wine_try_cflags_saved
=$CFLAGS
13893 CFLAGS
="$CFLAGS -Wpointer-arith"
13894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13895 /* end confdefs.h. */
13896 int main(int argc, char **argv) { return 0; }
13898 if ac_fn_c_try_link
"$LINENO"; then :
13899 ac_cv_cflags__Wpointer_arith
=yes
13901 ac_cv_cflags__Wpointer_arith
=no
13903 rm -f core conftest.err conftest.
$ac_objext \
13904 conftest
$ac_exeext conftest.
$ac_ext
13905 CFLAGS
=$ac_wine_try_cflags_saved
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13908 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13909 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13910 saved_string_h_CFLAGS
=$CFLAGS
13911 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13913 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13914 if ${ac_cv_c_string_h_warnings+:} false
; then :
13915 $as_echo_n "(cached) " >&6
13917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13919 #include <string.h>
13928 if ac_fn_c_try_compile
"$LINENO"; then :
13929 ac_cv_c_string_h_warnings
=no
13931 ac_cv_c_string_h_warnings
=yes
13933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13936 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13937 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13938 CFLAGS
=$saved_string_h_CFLAGS
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13942 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13943 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13944 $as_echo_n "(cached) " >&6
13946 ac_wine_try_cflags_saved
=$CFLAGS
13947 CFLAGS
="$CFLAGS -Wlogical-op"
13948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13950 int main(int argc, char **argv) { return 0; }
13952 if ac_fn_c_try_link
"$LINENO"; then :
13953 ac_cv_cflags__Wlogical_op
=yes
13955 ac_cv_cflags__Wlogical_op
=no
13957 rm -f core conftest.err conftest.
$ac_objext \
13958 conftest
$ac_exeext conftest.
$ac_ext
13959 CFLAGS
=$ac_wine_try_cflags_saved
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13962 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13963 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13964 saved_string_h_CFLAGS
=$CFLAGS
13965 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13967 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13968 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13969 $as_echo_n "(cached) " >&6
13971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13972 /* end confdefs.h. */
13973 #include <string.h>
13974 char*f(const char *h,char n) {return strchr(h,n);}
13983 if ac_fn_c_try_compile
"$LINENO"; then :
13984 ac_cv_c_logicalop_noisy
=no
13986 ac_cv_c_logicalop_noisy
=yes
13988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13991 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13992 CFLAGS
=$saved_string_h_CFLAGS
13993 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13996 CFLAGS
=$saved_CFLAGS
13998 for ac_flag
in $CFLAGS; do
14000 -g) case $host_os in
14001 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14002 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14003 if ${ac_cv_cflags__gstabsp+:} false
; then :
14004 $as_echo_n "(cached) " >&6
14006 ac_wine_try_cflags_saved
=$CFLAGS
14007 CFLAGS
="$CFLAGS -gstabs+"
14008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14009 /* end confdefs.h. */
14010 int main(int argc, char **argv) { return 0; }
14012 if ac_fn_c_try_link
"$LINENO"; then :
14013 ac_cv_cflags__gstabsp
=yes
14015 ac_cv_cflags__gstabsp
=no
14017 rm -f core conftest.err conftest.
$ac_objext \
14018 conftest
$ac_exeext conftest.
$ac_ext
14019 CFLAGS
=$ac_wine_try_cflags_saved
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14022 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14023 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14024 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14026 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14027 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14028 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14029 $as_echo_n "(cached) " >&6
14031 ac_wine_try_cflags_saved
=$CFLAGS
14032 CFLAGS
="$CFLAGS -gdwarf-2"
14033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14035 int main(int argc, char **argv) { return 0; }
14037 if ac_fn_c_try_link
"$LINENO"; then :
14038 ac_cv_cflags__gdwarf_2
=yes
14040 ac_cv_cflags__gdwarf_2
=no
14042 rm -f core conftest.err conftest.
$ac_objext \
14043 conftest
$ac_exeext conftest.
$ac_ext
14044 CFLAGS
=$ac_wine_try_cflags_saved
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14047 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14048 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14049 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14052 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14053 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14054 $as_echo_n "(cached) " >&6
14056 ac_wine_try_cflags_saved
=$CFLAGS
14057 CFLAGS
="$CFLAGS -gstrict-dwarf"
14058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14060 int main(int argc, char **argv) { return 0; }
14062 if ac_fn_c_try_link
"$LINENO"; then :
14063 ac_cv_cflags__gstrict_dwarf
=yes
14065 ac_cv_cflags__gstrict_dwarf
=no
14067 rm -f core conftest.err conftest.
$ac_objext \
14068 conftest
$ac_exeext conftest.
$ac_ext
14069 CFLAGS
=$ac_wine_try_cflags_saved
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14072 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14073 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14074 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14081 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14082 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14083 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14084 $as_echo_n "(cached) " >&6
14086 ac_wine_try_cflags_saved
=$CFLAGS
14087 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14089 /* end confdefs.h. */
14090 int main(int argc, char **argv) { return 0; }
14092 if ac_fn_c_try_link
"$LINENO"; then :
14093 ac_cv_cflags__fno_omit_frame_pointer
=yes
14095 ac_cv_cflags__fno_omit_frame_pointer
=no
14097 rm -f core conftest.err conftest.
$ac_objext \
14098 conftest
$ac_exeext conftest.
$ac_ext
14099 CFLAGS
=$ac_wine_try_cflags_saved
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14102 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14103 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14104 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14109 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14110 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14111 if ${ac_cv_cflags__Wno_format+:} false
; then :
14112 $as_echo_n "(cached) " >&6
14114 ac_wine_try_cflags_saved
=$CFLAGS
14115 CFLAGS
="$CFLAGS -Wno-format"
14116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14117 /* end confdefs.h. */
14118 int main(int argc, char **argv) { return 0; }
14120 if ac_fn_c_try_link
"$LINENO"; then :
14121 ac_cv_cflags__Wno_format
=yes
14123 ac_cv_cflags__Wno_format
=no
14125 rm -f core conftest.err conftest.
$ac_objext \
14126 conftest
$ac_exeext conftest.
$ac_ext
14127 CFLAGS
=$ac_wine_try_cflags_saved
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14130 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14131 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14132 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14136 if test "x$enable_maintainer_mode" = "xyes"
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14139 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14140 if ${ac_cv_cflags__Werror+:} false
; then :
14141 $as_echo_n "(cached) " >&6
14143 ac_wine_try_cflags_saved
=$CFLAGS
14144 CFLAGS
="$CFLAGS -Werror"
14145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14147 int main(int argc, char **argv) { return 0; }
14149 if ac_fn_c_try_link
"$LINENO"; then :
14150 ac_cv_cflags__Werror
=yes
14152 ac_cv_cflags__Werror
=no
14154 rm -f core conftest.err conftest.
$ac_objext \
14155 conftest
$ac_exeext conftest.
$ac_ext
14156 CFLAGS
=$ac_wine_try_cflags_saved
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14159 $as_echo "$ac_cv_cflags__Werror" >&6; }
14160 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14161 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14165 saved_CFLAGS
="$CFLAGS"
14166 CFLAGS
="$CFLAGS -Werror"
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14168 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14169 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14170 $as_echo_n "(cached) " >&6
14172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14173 /* end confdefs.h. */
14174 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14183 if ac_fn_c_try_compile
"$LINENO"; then :
14184 ac_cv_have_ms_hook_prologue
="yes"
14186 ac_cv_have_ms_hook_prologue
="no"
14188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14191 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14192 CFLAGS
="$saved_CFLAGS"
14193 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14196 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14199 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14206 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14207 if ${ac_cv_c_fortify_enabled+:} false
; then :
14208 $as_echo_n "(cached) " >&6
14210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14211 /* end confdefs.h. */
14212 #include <string.h>
14216 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14217 #error Fortify enabled
14223 if ac_fn_c_try_compile
"$LINENO"; then :
14224 ac_cv_c_fortify_enabled
=no
14226 ac_cv_c_fortify_enabled
=yes
14228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14231 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14232 if test "$ac_cv_c_fortify_enabled" = yes
14234 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14239 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14240 if ${ac_cv_c_extern_prefix+:} false
; then :
14241 $as_echo_n "(cached) " >&6
14243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14245 extern int ac_test;
14249 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14254 if ac_fn_c_try_link
"$LINENO"; then :
14255 ac_cv_c_extern_prefix
="yes"
14257 ac_cv_c_extern_prefix
="no"
14259 rm -f core conftest.err conftest.
$ac_objext \
14260 conftest
$ac_exeext conftest.
$ac_ext
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14263 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14268 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14269 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14270 $as_echo_n "(cached) " >&6
14272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14273 /* end confdefs.h. */
14275 #define __stdcall __attribute__((__stdcall__))
14277 int __stdcall ac_test(int i) { return i; }
14281 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14286 if ac_fn_c_try_link
"$LINENO"; then :
14287 ac_cv_c_stdcall_suffix
="yes"
14289 ac_cv_c_stdcall_suffix
="no"
14291 rm -f core conftest.err conftest.
$ac_objext \
14292 conftest
$ac_exeext conftest.
$ac_ext
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14295 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14296 *) ac_cv_c_stdcall_suffix
="no" ;;
14300 if test "$ac_cv_c_extern_prefix" = "yes"
14302 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14304 asm_name_prefix
="_"
14306 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14312 if test "$ac_cv_c_stdcall_suffix" = "yes"
14314 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14317 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14323 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14324 if ${ac_cv_asm_func_def+:} false
; then :
14325 $as_echo_n "(cached) " >&6
14327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14328 /* end confdefs.h. */
14333 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14338 if ac_fn_c_try_link
"$LINENO"; then :
14339 ac_cv_asm_func_def
=".def"
14341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14347 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14352 if ac_fn_c_try_link
"$LINENO"; then :
14353 ac_cv_asm_func_def
=".type @function"
14355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14356 /* end confdefs.h. */
14361 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14366 if ac_fn_c_try_link
"$LINENO"; then :
14367 ac_cv_asm_func_def
=".type 2"
14369 ac_cv_asm_func_def
="unknown"
14371 rm -f core conftest.err conftest.
$ac_objext \
14372 conftest
$ac_exeext conftest.
$ac_ext
14374 rm -f core conftest.err conftest.
$ac_objext \
14375 conftest
$ac_exeext conftest.
$ac_ext
14377 rm -f core conftest.err conftest.
$ac_objext \
14378 conftest
$ac_exeext conftest.
$ac_ext
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14381 $as_echo "$ac_cv_asm_func_def" >&6; }
14384 case "$ac_cv_asm_func_def" in
14386 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14388 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14390 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14392 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14394 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14396 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14398 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14400 asm_func_header
="" ;;
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14404 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14405 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14406 $as_echo_n "(cached) " >&6
14408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14410 asm(".text\n\t.long 0");
14419 if ac_fn_c_try_compile
"$LINENO"; then :
14420 ac_cv_c_asm_outside_funcs
="yes"
14422 ac_cv_c_asm_outside_funcs
="no"
14424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14427 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14430 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14431 if ${ac_cv_c_dot_previous+:} false
; then :
14432 $as_echo_n "(cached) " >&6
14434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14435 /* end confdefs.h. */
14440 asm(".text\nac_test:\t.long 0\n\t.previous");
14445 if ac_fn_c_try_link
"$LINENO"; then :
14446 ac_cv_c_dot_previous
="yes"
14448 ac_cv_c_dot_previous
="no"
14450 rm -f core conftest.err conftest.
$ac_objext \
14451 conftest
$ac_exeext conftest.
$ac_ext
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14454 $as_echo "$ac_cv_c_dot_previous" >&6; }
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14457 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14458 if ${ac_cv_c_cfi_support+:} false
; then :
14459 $as_echo_n "(cached) " >&6
14461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14462 /* end confdefs.h. */
14463 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14472 if ac_fn_c_try_compile
"$LINENO"; then :
14473 ac_cv_c_cfi_support
="yes"
14475 ac_cv_c_cfi_support
="no"
14477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14480 $as_echo "$ac_cv_c_cfi_support" >&6; }
14482 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14483 asm_func_trailer
=""
14484 if test "$ac_cv_c_dot_previous" = "yes"
14486 asm_func_trailer
="\\n\\t.previous"
14488 if test "$ac_cv_c_cfi_support" = "yes"
14490 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14491 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14493 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14495 UNWINDFLAGS
=-fasynchronous-unwind-tables
14498 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14502 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14505 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14507 cat >>confdefs.h
<<_ACEOF
14508 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14512 cat >>confdefs.h
<<_ACEOF
14513 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14518 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14521 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14526 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14533 *i
[3456789]86*|x86_64
*)
14534 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14535 loader_programs
="$loader_programs $wine_binary-preloader"
14536 as_fn_append LOADER_RULES
"
14537 $wine_binary-preloader: preloader.o
14538 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14540 install install-lib:: $wine_binary-preloader
14541 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14544 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14546 preloader_EXTRADEFS = $BUILTINFLAG
14551 as_fn_append LOADER_RULES
"
14552 PROGRAMS = $loader_programs
14556 ac_save_CFLAGS
="$CFLAGS"
14557 CFLAGS
="$CFLAGS $BUILTINFLAG"
14634 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14635 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14636 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14637 cat >>confdefs.h
<<_ACEOF
14638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14644 CFLAGS
="$ac_save_CFLAGS"
14646 if test "$ac_cv_func_dlopen" = no
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14649 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14650 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14651 $as_echo_n "(cached) " >&6
14653 ac_check_lib_save_LIBS
=$LIBS
14655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14658 /* Override any GCC internal prototype to avoid an error.
14659 Use char because int might match the return type of a GCC
14660 builtin and then its argument prototype would still apply. */
14673 if ac_fn_c_try_link
"$LINENO"; then :
14674 ac_cv_lib_dl_dlopen
=yes
14676 ac_cv_lib_dl_dlopen
=no
14678 rm -f core conftest.err conftest.
$ac_objext \
14679 conftest
$ac_exeext conftest.
$ac_ext
14680 LIBS
=$ac_check_lib_save_LIBS
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14683 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14684 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14685 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14691 ac_wine_check_funcs_save_LIBS
="$LIBS"
14692 LIBS
="$LIBS $DL_LIBS"
14693 for ac_func
in dladdr
14695 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14696 if test "x$ac_cv_func_dladdr" = xyes
; then :
14697 cat >>confdefs.h
<<_ACEOF
14698 #define HAVE_DLADDR 1
14704 LIBS
="$ac_wine_check_funcs_save_LIBS"
14706 if test "$ac_cv_func_poll" = no
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14709 $as_echo_n "checking for poll in -lpoll... " >&6; }
14710 if ${ac_cv_lib_poll_poll+:} false
; then :
14711 $as_echo_n "(cached) " >&6
14713 ac_check_lib_save_LIBS
=$LIBS
14714 LIBS
="-lpoll $LIBS"
14715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14716 /* end confdefs.h. */
14718 /* Override any GCC internal prototype to avoid an error.
14719 Use char because int might match the return type of a GCC
14720 builtin and then its argument prototype would still apply. */
14733 if ac_fn_c_try_link
"$LINENO"; then :
14734 ac_cv_lib_poll_poll
=yes
14736 ac_cv_lib_poll_poll
=no
14738 rm -f core conftest.err conftest.
$ac_objext \
14739 conftest
$ac_exeext conftest.
$ac_ext
14740 LIBS
=$ac_check_lib_save_LIBS
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14743 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14744 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14745 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14753 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14754 if ${ac_cv_search_gethostbyname+:} false
; then :
14755 $as_echo_n "(cached) " >&6
14757 ac_func_search_save_LIBS
=$LIBS
14758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14759 /* end confdefs.h. */
14761 /* Override any GCC internal prototype to avoid an error.
14762 Use char because int might match the return type of a GCC
14763 builtin and then its argument prototype would still apply. */
14767 char gethostbyname ();
14771 return gethostbyname ();
14776 for ac_lib
in '' nsl
; do
14777 if test -z "$ac_lib"; then
14778 ac_res
="none required"
14781 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14783 if ac_fn_c_try_link
"$LINENO"; then :
14784 ac_cv_search_gethostbyname
=$ac_res
14786 rm -f core conftest.err conftest.
$ac_objext \
14788 if ${ac_cv_search_gethostbyname+:} false
; then :
14792 if ${ac_cv_search_gethostbyname+:} false
; then :
14795 ac_cv_search_gethostbyname
=no
14797 rm conftest.
$ac_ext
14798 LIBS
=$ac_func_search_save_LIBS
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14801 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14802 ac_res
=$ac_cv_search_gethostbyname
14803 if test "$ac_res" != no
; then :
14804 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14810 $as_echo_n "checking for library containing connect... " >&6; }
14811 if ${ac_cv_search_connect+:} false
; then :
14812 $as_echo_n "(cached) " >&6
14814 ac_func_search_save_LIBS
=$LIBS
14815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14818 /* Override any GCC internal prototype to avoid an error.
14819 Use char because int might match the return type of a GCC
14820 builtin and then its argument prototype would still apply. */
14833 for ac_lib
in '' socket
; do
14834 if test -z "$ac_lib"; then
14835 ac_res
="none required"
14838 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14840 if ac_fn_c_try_link
"$LINENO"; then :
14841 ac_cv_search_connect
=$ac_res
14843 rm -f core conftest.err conftest.
$ac_objext \
14845 if ${ac_cv_search_connect+:} false
; then :
14849 if ${ac_cv_search_connect+:} false
; then :
14852 ac_cv_search_connect
=no
14854 rm conftest.
$ac_ext
14855 LIBS
=$ac_func_search_save_LIBS
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14858 $as_echo "$ac_cv_search_connect" >&6; }
14859 ac_res
=$ac_cv_search_connect
14860 if test "$ac_res" != no
; then :
14861 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14867 $as_echo_n "checking for library containing inet_aton... " >&6; }
14868 if ${ac_cv_search_inet_aton+:} false
; then :
14869 $as_echo_n "(cached) " >&6
14871 ac_func_search_save_LIBS
=$LIBS
14872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14873 /* end confdefs.h. */
14875 /* Override any GCC internal prototype to avoid an error.
14876 Use char because int might match the return type of a GCC
14877 builtin and then its argument prototype would still apply. */
14885 return inet_aton ();
14890 for ac_lib
in '' resolv
; do
14891 if test -z "$ac_lib"; then
14892 ac_res
="none required"
14895 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14897 if ac_fn_c_try_link
"$LINENO"; then :
14898 ac_cv_search_inet_aton
=$ac_res
14900 rm -f core conftest.err conftest.
$ac_objext \
14902 if ${ac_cv_search_inet_aton+:} false
; then :
14906 if ${ac_cv_search_inet_aton+:} false
; then :
14909 ac_cv_search_inet_aton
=no
14911 rm conftest.
$ac_ext
14912 LIBS
=$ac_func_search_save_LIBS
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14915 $as_echo "$ac_cv_search_inet_aton" >&6; }
14916 ac_res
=$ac_cv_search_inet_aton
14917 if test "$ac_res" != no
; then :
14918 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14938 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14939 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14940 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14941 cat >>confdefs.h
<<_ACEOF
14942 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14951 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14952 if ${ac_cv_search_clock_gettime+:} false
; then :
14953 $as_echo_n "(cached) " >&6
14955 ac_func_search_save_LIBS
=$LIBS
14956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14957 /* end confdefs.h. */
14959 /* Override any GCC internal prototype to avoid an error.
14960 Use char because int might match the return type of a GCC
14961 builtin and then its argument prototype would still apply. */
14965 char clock_gettime ();
14969 return clock_gettime ();
14974 for ac_lib
in '' rt
; do
14975 if test -z "$ac_lib"; then
14976 ac_res
="none required"
14979 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14981 if ac_fn_c_try_link
"$LINENO"; then :
14982 ac_cv_search_clock_gettime
=$ac_res
14984 rm -f core conftest.err conftest.
$ac_objext \
14986 if ${ac_cv_search_clock_gettime+:} false
; then :
14990 if ${ac_cv_search_clock_gettime+:} false
; then :
14993 ac_cv_search_clock_gettime
=no
14995 rm conftest.
$ac_ext
14996 LIBS
=$ac_func_search_save_LIBS
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14999 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15000 ac_res
=$ac_cv_search_clock_gettime
15001 if test "$ac_res" != no
; then :
15002 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15004 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15006 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15014 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15016 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15018 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15020 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15021 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15022 $as_echo_n "(cached) " >&6
15024 ac_check_lib_save_LIBS
=$LIBS
15025 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15029 /* Override any GCC internal prototype to avoid an error.
15030 Use char because int might match the return type of a GCC
15031 builtin and then its argument prototype would still apply. */
15035 char ldap_initialize ();
15039 return ldap_initialize ();
15044 if ac_fn_c_try_link
"$LINENO"; then :
15045 ac_cv_lib_ldap_r_ldap_initialize
=yes
15047 ac_cv_lib_ldap_r_ldap_initialize
=no
15049 rm -f core conftest.err conftest.
$ac_objext \
15050 conftest
$ac_exeext conftest.
$ac_ext
15051 LIBS
=$ac_check_lib_save_LIBS
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15054 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15055 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15057 $as_echo_n "checking for ber_init in -llber... " >&6; }
15058 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15059 $as_echo_n "(cached) " >&6
15061 ac_check_lib_save_LIBS
=$LIBS
15062 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15064 /* end confdefs.h. */
15066 /* Override any GCC internal prototype to avoid an error.
15067 Use char because int might match the return type of a GCC
15068 builtin and then its argument prototype would still apply. */
15076 return ber_init ();
15081 if ac_fn_c_try_link
"$LINENO"; then :
15082 ac_cv_lib_lber_ber_init
=yes
15084 ac_cv_lib_lber_ber_init
=no
15086 rm -f core conftest.err conftest.
$ac_objext \
15087 conftest
$ac_exeext conftest.
$ac_ext
15088 LIBS
=$ac_check_lib_save_LIBS
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15091 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15092 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15094 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15096 LDAP_LIBS
="-lldap_r -llber"
15103 ac_wine_check_funcs_save_LIBS
="$LIBS"
15104 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15106 ldap_count_references \
15107 ldap_first_reference \
15108 ldap_next_reference \
15109 ldap_parse_reference \
15110 ldap_parse_sort_control \
15111 ldap_parse_sortresponse_control \
15112 ldap_parse_vlv_control \
15113 ldap_parse_vlvresponse_control
15115 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15116 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15117 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15118 cat >>confdefs.h
<<_ACEOF
15119 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15125 LIBS
="$ac_wine_check_funcs_save_LIBS"
15127 if test "x$LDAP_LIBS" = "x"; then :
15128 case "x$with_ldap" in
15129 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15131 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15132 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15137 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15138 if ${wine_cv_one_arg_mkdir+:} false
; then :
15139 $as_echo_n "(cached) " >&6
15141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15142 /* end confdefs.h. */
15143 #include <sys/stat.h>
15152 if ac_fn_c_try_compile
"$LINENO"; then :
15153 wine_cv_one_arg_mkdir
=yes
15155 wine_cv_one_arg_mkdir
=no
15157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15160 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15161 if test "$wine_cv_one_arg_mkdir" = "yes"
15164 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15169 $as_echo_n "checking for sched_setaffinity... " >&6; }
15170 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15171 $as_echo_n "(cached) " >&6
15173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15174 /* end confdefs.h. */
15175 #define _GNU_SOURCE
15180 sched_setaffinity(0, 0, 0);
15185 if ac_fn_c_try_link
"$LINENO"; then :
15186 wine_cv_have_sched_setaffinity
=yes
15188 wine_cv_have_sched_setaffinity
=no
15190 rm -f core conftest.err conftest.
$ac_objext \
15191 conftest
$ac_exeext conftest.
$ac_ext
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15194 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15195 if test "$wine_cv_have_sched_setaffinity" = "yes"
15198 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15203 $as_echo_n "checking for fallocate... " >&6; }
15204 if ${wine_cv_have_fallocate+:} false
; then :
15205 $as_echo_n "(cached) " >&6
15207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15208 /* end confdefs.h. */
15209 #define _GNU_SOURCE
15214 fallocate(-1, 0, 0, 0);
15219 if ac_fn_c_try_link
"$LINENO"; then :
15220 wine_cv_have_fallocate
=yes
15222 wine_cv_have_fallocate
=no
15224 rm -f core conftest.err conftest.
$ac_objext \
15225 conftest
$ac_exeext conftest.
$ac_ext
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15228 $as_echo "$wine_cv_have_fallocate" >&6; }
15229 if test "$wine_cv_have_fallocate" = "yes"
15232 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15238 $as_echo_n "checking for inline... " >&6; }
15239 if ${ac_cv_c_inline+:} false
; then :
15240 $as_echo_n "(cached) " >&6
15243 for ac_kw
in inline __inline__ __inline
; do
15244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15245 /* end confdefs.h. */
15246 #ifndef __cplusplus
15248 static $ac_kw foo_t static_foo () {return 0; }
15249 $ac_kw foo_t foo () {return 0; }
15253 if ac_fn_c_try_compile
"$LINENO"; then :
15254 ac_cv_c_inline
=$ac_kw
15256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15257 test "$ac_cv_c_inline" != no
&& break
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15262 $as_echo "$ac_cv_c_inline" >&6; }
15264 case $ac_cv_c_inline in
15267 case $ac_cv_c_inline in
15269 *) ac_val
=$ac_cv_c_inline;;
15271 cat >>confdefs.h
<<_ACEOF
15272 #ifndef __cplusplus
15273 #define inline $ac_val
15279 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15280 if test "x$ac_cv_type_mode_t" = xyes
; then :
15282 cat >>confdefs.h
<<_ACEOF
15283 #define HAVE_MODE_T 1
15288 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15289 if test "x$ac_cv_type_off_t" = xyes
; then :
15291 cat >>confdefs.h
<<_ACEOF
15292 #define HAVE_OFF_T 1
15297 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15298 if test "x$ac_cv_type_pid_t" = xyes
; then :
15300 cat >>confdefs.h
<<_ACEOF
15301 #define HAVE_PID_T 1
15306 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15307 if test "x$ac_cv_type_size_t" = xyes
; then :
15309 cat >>confdefs.h
<<_ACEOF
15310 #define HAVE_SIZE_T 1
15315 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15316 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15318 cat >>confdefs.h
<<_ACEOF
15319 #define HAVE_SSIZE_T 1
15324 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15325 if test "x$ac_cv_type_long_long" = xyes
; then :
15327 cat >>confdefs.h
<<_ACEOF
15328 #define HAVE_LONG_LONG 1
15333 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15334 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15336 cat >>confdefs.h
<<_ACEOF
15337 #define HAVE_FSBLKCNT_T 1
15342 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15343 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15345 cat >>confdefs.h
<<_ACEOF
15346 #define HAVE_FSFILCNT_T 1
15352 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15353 #include <signal.h>
15355 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15357 cat >>confdefs.h
<<_ACEOF
15358 #define HAVE_SIGSET_T 1
15364 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15366 if test "x$ac_cv_type_request_sense" = xyes
; then :
15368 cat >>confdefs.h
<<_ACEOF
15369 #define HAVE_REQUEST_SENSE 1
15376 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15377 #ifdef HAVE_SYS_SOCKET_H
15378 #include <sys/socket.h>
15380 #ifdef HAVE_SYS_SOCKETVAR_H
15381 #include <sys/socketvar.h>
15383 #ifdef HAVE_NET_ROUTE_H
15384 #include <net/route.h>
15386 #ifdef HAVE_NETINET_IN_H
15387 #include <netinet/in.h>
15389 #ifdef HAVE_NETINET_IN_SYSTM_H
15390 #include <netinet/in_systm.h>
15392 #ifdef HAVE_NETINET_IP_H
15393 #include <netinet/ip.h>
15395 #ifdef HAVE_NETINET_IN_PCB_H
15396 #include <netinet/in_pcb.h>
15399 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15401 cat >>confdefs.h
<<_ACEOF
15402 #define HAVE_STRUCT_XINPGEN 1
15409 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15412 #ifdef HAVE_SYS_LINK_H
15413 #include <sys/link.h>
15416 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15418 cat >>confdefs.h
<<_ACEOF
15419 #define HAVE_STRUCT_R_DEBUG 1
15424 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15427 #ifdef HAVE_SYS_LINK_H
15428 #include <sys/link.h>
15431 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15433 cat >>confdefs.h
<<_ACEOF
15434 #define HAVE_STRUCT_LINK_MAP 1
15441 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15442 #include <linux/input.h>
15445 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15447 cat >>confdefs.h
<<_ACEOF
15448 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15456 $as_echo_n "checking for sigaddset... " >&6; }
15457 if ${wine_cv_have_sigaddset+:} false
; then :
15458 $as_echo_n "(cached) " >&6
15460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15461 /* end confdefs.h. */
15462 #include <signal.h>
15466 sigset_t set; sigaddset(&set,SIGTERM);
15471 if ac_fn_c_try_link
"$LINENO"; then :
15472 wine_cv_have_sigaddset
=yes
15474 wine_cv_have_sigaddset
=no
15476 rm -f core conftest.err conftest.
$ac_objext \
15477 conftest
$ac_exeext conftest.
$ac_ext
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15480 $as_echo "$wine_cv_have_sigaddset" >&6; }
15481 if test "$wine_cv_have_sigaddset" = "yes"
15484 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15490 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15491 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15492 $as_echo_n "(cached) " >&6
15494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15495 /* end confdefs.h. */
15503 struct hostent *result;
15510 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15511 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15517 if ac_fn_c_try_link
"$LINENO"; then :
15518 wine_cv_linux_gethostbyname_r_6
=yes
15520 wine_cv_linux_gethostbyname_r_6
=no
15523 rm -f core conftest.err conftest.
$ac_objext \
15524 conftest
$ac_exeext conftest.
$ac_ext
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15528 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15529 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15532 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15536 if test "$ac_cv_header_linux_joystick_h" = "yes"
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15539 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15540 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15541 $as_echo_n "(cached) " >&6
15543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15544 /* end confdefs.h. */
15546 #include <sys/ioctl.h>
15547 #include <sys/types.h>
15548 #include <linux/joystick.h>
15550 struct js_event blub;
15551 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15552 #error "no 2.2 header"
15563 if ac_fn_c_try_compile
"$LINENO"; then :
15564 wine_cv_linux_joystick_22_api
=yes
15566 wine_cv_linux_joystick_22_api
=no
15568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15572 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15573 if test "$wine_cv_linux_joystick_22_api" = "yes"
15576 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15582 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15583 #ifdef HAVE_SYS_PARAM_H
15584 # include <sys/param.h>
15586 #ifdef HAVE_SYS_MOUNT_H
15587 # include <sys/mount.h>
15589 #ifdef HAVE_SYS_VFS_H
15590 # include <sys/vfs.h>
15592 #ifdef HAVE_SYS_STATFS_H
15593 # include <sys/statfs.h>
15596 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15598 cat >>confdefs.h
<<_ACEOF
15599 #define HAVE_STRUCT_STATFS_F_BFREE 1
15604 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15605 #ifdef HAVE_SYS_PARAM_H
15606 # include <sys/param.h>
15608 #ifdef HAVE_SYS_MOUNT_H
15609 # include <sys/mount.h>
15611 #ifdef HAVE_SYS_VFS_H
15612 # include <sys/vfs.h>
15614 #ifdef HAVE_SYS_STATFS_H
15615 # include <sys/statfs.h>
15618 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15620 cat >>confdefs.h
<<_ACEOF
15621 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15626 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15627 #ifdef HAVE_SYS_PARAM_H
15628 # include <sys/param.h>
15630 #ifdef HAVE_SYS_MOUNT_H
15631 # include <sys/mount.h>
15633 #ifdef HAVE_SYS_VFS_H
15634 # include <sys/vfs.h>
15636 #ifdef HAVE_SYS_STATFS_H
15637 # include <sys/statfs.h>
15640 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15642 cat >>confdefs.h
<<_ACEOF
15643 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15648 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15649 #ifdef HAVE_SYS_PARAM_H
15650 # include <sys/param.h>
15652 #ifdef HAVE_SYS_MOUNT_H
15653 # include <sys/mount.h>
15655 #ifdef HAVE_SYS_VFS_H
15656 # include <sys/vfs.h>
15658 #ifdef HAVE_SYS_STATFS_H
15659 # include <sys/statfs.h>
15662 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15664 cat >>confdefs.h
<<_ACEOF
15665 #define HAVE_STRUCT_STATFS_F_FFREE 1
15670 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15671 #ifdef HAVE_SYS_PARAM_H
15672 # include <sys/param.h>
15674 #ifdef HAVE_SYS_MOUNT_H
15675 # include <sys/mount.h>
15677 #ifdef HAVE_SYS_VFS_H
15678 # include <sys/vfs.h>
15680 #ifdef HAVE_SYS_STATFS_H
15681 # include <sys/statfs.h>
15684 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15686 cat >>confdefs.h
<<_ACEOF
15687 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15692 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15693 #ifdef HAVE_SYS_PARAM_H
15694 # include <sys/param.h>
15696 #ifdef HAVE_SYS_MOUNT_H
15697 # include <sys/mount.h>
15699 #ifdef HAVE_SYS_VFS_H
15700 # include <sys/vfs.h>
15702 #ifdef HAVE_SYS_STATFS_H
15703 # include <sys/statfs.h>
15706 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15708 cat >>confdefs.h
<<_ACEOF
15709 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15716 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15717 #include <sys/statvfs.h>
15720 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15722 cat >>confdefs.h
<<_ACEOF
15723 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15730 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15731 #include <dirent.h>
15734 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15736 cat >>confdefs.h
<<_ACEOF
15737 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15744 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15745 #ifdef HAVE_SYS_SOCKET_H
15746 # include <sys/socket.h>
15748 #ifdef HAVE_SYS_UN_H
15749 # include <sys/un.h>
15752 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15754 cat >>confdefs.h
<<_ACEOF
15755 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15760 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15761 #ifdef HAVE_SYS_SOCKET_H
15762 # include <sys/socket.h>
15764 #ifdef HAVE_SYS_UN_H
15765 # include <sys/un.h>
15768 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15770 cat >>confdefs.h
<<_ACEOF
15771 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15776 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15777 #ifdef HAVE_SYS_SOCKET_H
15778 # include <sys/socket.h>
15780 #ifdef HAVE_SYS_UN_H
15781 # include <sys/un.h>
15784 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15786 cat >>confdefs.h
<<_ACEOF
15787 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15794 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15795 #ifdef HAVE_SCSI_SG_H
15796 #include <scsi/sg.h>
15799 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15801 cat >>confdefs.h
<<_ACEOF
15802 #define HAVE_SCSIREQ_T_CMD 1
15807 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>
15808 #ifdef HAVE_SCSI_SG_H
15809 #include <scsi/sg.h>
15812 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15814 cat >>confdefs.h
<<_ACEOF
15815 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15822 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15824 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15826 cat >>confdefs.h
<<_ACEOF
15827 #define HAVE_SIGINFO_T_SI_FD 1
15834 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15835 #ifdef HAVE_SYS_MTIO_H
15836 #include <sys/mtio.h>
15839 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15841 cat >>confdefs.h
<<_ACEOF
15842 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15847 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15848 #ifdef HAVE_SYS_MTIO_H
15849 #include <sys/mtio.h>
15852 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15854 cat >>confdefs.h
<<_ACEOF
15855 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15860 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15861 #ifdef HAVE_SYS_MTIO_H
15862 #include <sys/mtio.h>
15865 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15867 cat >>confdefs.h
<<_ACEOF
15868 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15875 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15876 #include <getopt.h>
15879 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15881 cat >>confdefs.h
<<_ACEOF
15882 #define HAVE_STRUCT_OPTION_NAME 1
15889 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15890 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15892 cat >>confdefs.h
<<_ACEOF
15893 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15898 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15899 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15901 cat >>confdefs.h
<<_ACEOF
15902 #define HAVE_STRUCT_STAT_ST_MTIM 1
15907 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15908 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15910 cat >>confdefs.h
<<_ACEOF
15911 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15916 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15917 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15919 cat >>confdefs.h
<<_ACEOF
15920 #define HAVE_STRUCT_STAT_ST_CTIM 1
15925 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15926 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15928 cat >>confdefs.h
<<_ACEOF
15929 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15934 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15935 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15937 cat >>confdefs.h
<<_ACEOF
15938 #define HAVE_STRUCT_STAT_ST_ATIM 1
15943 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15944 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15946 cat >>confdefs.h
<<_ACEOF
15947 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15952 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15953 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15955 cat >>confdefs.h
<<_ACEOF
15956 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15961 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15962 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15964 cat >>confdefs.h
<<_ACEOF
15965 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15970 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15971 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15973 cat >>confdefs.h
<<_ACEOF
15974 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15979 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15980 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15982 cat >>confdefs.h
<<_ACEOF
15983 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15988 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15989 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15991 cat >>confdefs.h
<<_ACEOF
15992 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15999 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
16000 #include <sys/types.h>
16002 #ifdef HAVE_NETINET_IN_H
16003 #include <netinet/in.h>
16006 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16008 cat >>confdefs.h
<<_ACEOF
16009 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16016 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16017 #include <resolv.h>
16020 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16022 cat >>confdefs.h
<<_ACEOF
16023 #define HAVE_STRUCT___RES_STATE 1
16030 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
16031 #include <resolv.h>
16034 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16036 cat >>confdefs.h
<<_ACEOF
16037 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16044 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16045 #include <sys/types.h>
16047 #ifdef HAVE_NETINET_IN_H
16048 # include <netinet/in.h>
16050 #ifdef HAVE_ARPA_NAMESER_H
16051 # include <arpa/nameser.h>
16054 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16056 cat >>confdefs.h
<<_ACEOF
16057 #define HAVE_NS_MSG__MSG_PTR 1
16064 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16065 #include <sys/types.h>
16067 #ifdef HAVE_NETINET_IP_H
16068 #include <netinet/ip.h>
16070 #ifdef HAVE_NETINET_IP_ICMP_H
16071 #include <netinet/ip_icmp.h>
16073 #ifdef HAVE_NETINET_ICMP_VAR_H
16074 #include <netinet/icmp_var.h>
16077 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16079 cat >>confdefs.h
<<_ACEOF
16080 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16087 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16088 #include <sys/types.h>
16090 #ifdef HAVE_ALIAS_H
16093 #ifdef HAVE_SYS_SOCKET_H
16094 #include <sys/socket.h>
16096 #ifdef HAVE_SYS_SOCKETVAR_H
16097 #include <sys/socketvar.h>
16099 #ifdef HAVE_SYS_TIMEOUT_H
16100 #include <sys/timeout.h>
16102 #ifdef HAVE_NETINET_IN_H
16103 #include <netinet/in.h>
16105 #ifdef HAVE_NETINET_IN_SYSTM_H
16106 #include <netinet/in_systm.h>
16108 #ifdef HAVE_NETINET_IP_H
16109 #include <netinet/ip.h>
16111 #ifdef HAVE_NETINET_IP_VAR_H
16112 #include <netinet/ip_var.h>
16114 #ifdef HAVE_NETINET_IP_ICMP_H
16115 #include <netinet/ip_icmp.h>
16117 #ifdef HAVE_NETINET_ICMP_VAR_H
16118 #include <netinet/icmp_var.h>
16121 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16123 cat >>confdefs.h
<<_ACEOF
16124 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16131 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16132 #include <sys/types.h>
16134 #ifdef HAVE_SYS_SOCKETVAR_H
16135 #include <sys/socketvar.h>
16137 #ifdef HAVE_NETINET_IN_H
16138 #include <netinet/in.h>
16140 #ifdef HAVE_NETINET_IP_VAR_H
16141 #include <netinet/ip_var.h>
16144 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16146 cat >>confdefs.h
<<_ACEOF
16147 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16154 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
16155 #include <netinet/ip_var.h>
16158 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16160 cat >>confdefs.h
<<_ACEOF
16161 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16168 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16169 #include <sys/types.h>
16171 #ifdef HAVE_SYS_SOCKETVAR_H
16172 #include <sys/socketvar.h>
16174 #ifdef HAVE_NETINET_IN_H
16175 #include <netinet/in.h>
16177 #ifdef HAVE_NETINET_TCP_H
16178 #include <netinet/tcp.h>
16180 #ifdef HAVE_NETINET_TCP_VAR_H
16181 #include <netinet/tcp_var.h>
16184 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16186 cat >>confdefs.h
<<_ACEOF
16187 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16194 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
16195 #include <netinet/tcp_var.h>
16198 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16200 cat >>confdefs.h
<<_ACEOF
16201 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16208 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16209 #include <sys/types.h>
16211 #ifdef HAVE_NETINET_IN_H
16212 #include <netinet/in.h>
16214 #ifdef HAVE_NETINET_IP_VAR_H
16215 #include <netinet/ip_var.h>
16217 #ifdef HAVE_NETINET_UDP_H
16218 #include <netinet/udp.h>
16220 #ifdef HAVE_NETINET_UDP_VAR_H
16221 #include <netinet/udp_var.h>
16224 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16226 cat >>confdefs.h
<<_ACEOF
16227 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16234 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16235 #include <sys/types.h>
16237 #ifdef HAVE_NET_IF_H
16238 # include <net/if.h>
16241 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16243 cat >>confdefs.h
<<_ACEOF
16244 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16252 $as_echo_n "checking for timezone variable... " >&6; }
16253 if ${ac_cv_have_timezone+:} false
; then :
16254 $as_echo_n "(cached) " >&6
16256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16257 /* end confdefs.h. */
16267 if ac_fn_c_try_link
"$LINENO"; then :
16268 ac_cv_have_timezone
="yes"
16270 ac_cv_have_timezone
="no"
16272 rm -f core conftest.err conftest.
$ac_objext \
16273 conftest
$ac_exeext conftest.
$ac_ext
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16276 $as_echo "$ac_cv_have_timezone" >&6; }
16277 if test "$ac_cv_have_timezone" = "yes"
16280 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16284 $as_echo_n "checking for daylight variable... " >&6; }
16285 if ${ac_cv_have_daylight+:} false
; then :
16286 $as_echo_n "(cached) " >&6
16288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h. */
16299 if ac_fn_c_try_link
"$LINENO"; then :
16300 ac_cv_have_daylight
="yes"
16302 ac_cv_have_daylight
="no"
16304 rm -f core conftest.err conftest.
$ac_objext \
16305 conftest
$ac_exeext conftest.
$ac_ext
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16308 $as_echo "$ac_cv_have_daylight" >&6; }
16309 if test "$ac_cv_have_daylight" = "yes"
16312 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16316 ac_save_LIBS
="$LIBS"
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16319 $as_echo_n "checking for isfinite... " >&6; }
16320 if ${ac_cv_have_isfinite+:} false
; then :
16321 $as_echo_n "(cached) " >&6
16323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16324 /* end confdefs.h. */
16325 #define _GNU_SOURCE
16330 float f = 0.0; return isfinite(f)
16335 if ac_fn_c_try_link
"$LINENO"; then :
16336 ac_cv_have_isfinite
="yes"
16338 ac_cv_have_isfinite
="no"
16340 rm -f core conftest.err conftest.
$ac_objext \
16341 conftest
$ac_exeext conftest.
$ac_ext
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16344 $as_echo "$ac_cv_have_isfinite" >&6; }
16345 if test "$ac_cv_have_isfinite" = "yes"
16348 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16353 $as_echo_n "checking for isinf... " >&6; }
16354 if ${ac_cv_have_isinf+:} false
; then :
16355 $as_echo_n "(cached) " >&6
16357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16358 /* end confdefs.h. */
16363 float f = 0.0; return isinf(f)
16368 if ac_fn_c_try_link
"$LINENO"; then :
16369 ac_cv_have_isinf
="yes"
16371 ac_cv_have_isinf
="no"
16373 rm -f core conftest.err conftest.
$ac_objext \
16374 conftest
$ac_exeext conftest.
$ac_ext
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16377 $as_echo "$ac_cv_have_isinf" >&6; }
16378 if test "$ac_cv_have_isinf" = "yes"
16381 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16386 $as_echo_n "checking for isnan... " >&6; }
16387 if ${ac_cv_have_isnan+:} false
; then :
16388 $as_echo_n "(cached) " >&6
16390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16391 /* end confdefs.h. */
16396 float f = 0.0; return isnan(f)
16401 if ac_fn_c_try_link
"$LINENO"; then :
16402 ac_cv_have_isnan
="yes"
16404 ac_cv_have_isnan
="no"
16406 rm -f core conftest.err conftest.
$ac_objext \
16407 conftest
$ac_exeext conftest.
$ac_ext
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16410 $as_echo "$ac_cv_have_isnan" >&6; }
16411 if test "$ac_cv_have_isnan" = "yes"
16414 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16441 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16442 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16443 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16444 cat >>confdefs.h
<<_ACEOF
16445 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16451 LIBS
="$ac_save_LIBS"
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16454 $as_echo_n "checking for __builtin_clz... " >&6; }
16455 if ${ac_cv_have___builtin_clz+:} false
; then :
16456 $as_echo_n "(cached) " >&6
16458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16464 return __builtin_clz(1)
16469 if ac_fn_c_try_link
"$LINENO"; then :
16470 ac_cv_have___builtin_clz
="yes"
16472 ac_cv_have___builtin_clz
="no"
16474 rm -f core conftest.err conftest.
$ac_objext \
16475 conftest
$ac_exeext conftest.
$ac_ext
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16478 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16479 if test "$ac_cv_have___builtin_clz" = "yes"
16482 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16488 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16489 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16490 if ${ac_cv_cpp_def___i386__+:} false
; then :
16491 $as_echo_n "(cached) " >&6
16493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16500 $EGREP "yes" >/dev
/null
2>&1; then :
16501 ac_cv_cpp_def___i386__
=yes
16503 ac_cv_cpp_def___i386__
=no
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16509 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16510 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16511 CFLAGS
="$CFLAGS -D__i386__"
16512 LINTFLAGS
="$LINTFLAGS -D__i386__"
16514 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16515 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16516 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16517 $as_echo_n "(cached) " >&6
16519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h. */
16525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16526 $EGREP "yes" >/dev
/null
2>&1; then :
16527 ac_cv_cpp_def___x86_64__
=yes
16529 ac_cv_cpp_def___x86_64__
=no
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16535 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16536 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16537 CFLAGS
="$CFLAGS -D__x86_64__"
16538 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16540 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16541 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16542 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16543 $as_echo_n "(cached) " >&6
16545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16546 /* end confdefs.h. */
16547 #ifndef __sparc64__
16551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16552 $EGREP "yes" >/dev
/null
2>&1; then :
16553 ac_cv_cpp_def___sparc64__
=yes
16555 ac_cv_cpp_def___sparc64__
=no
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16561 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16562 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16563 CFLAGS
="$CFLAGS -D__sparc64__"
16564 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16566 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16567 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16568 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16569 $as_echo_n "(cached) " >&6
16571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16578 $EGREP "yes" >/dev
/null
2>&1; then :
16579 ac_cv_cpp_def___sparc__
=yes
16581 ac_cv_cpp_def___sparc__
=no
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16587 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16588 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16589 CFLAGS
="$CFLAGS -D__sparc__"
16590 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16592 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16593 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16594 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16595 $as_echo_n "(cached) " >&6
16597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16598 /* end confdefs.h. */
16599 #ifndef __powerpc64__
16603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16604 $EGREP "yes" >/dev
/null
2>&1; then :
16605 ac_cv_cpp_def___powerpc64__
=yes
16607 ac_cv_cpp_def___powerpc64__
=no
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16613 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16614 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16615 CFLAGS
="$CFLAGS -D__powerpc64__"
16616 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16618 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16619 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16620 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16621 $as_echo_n "(cached) " >&6
16623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16624 /* end confdefs.h. */
16625 #ifndef __powerpc__
16629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16630 $EGREP "yes" >/dev
/null
2>&1; then :
16631 ac_cv_cpp_def___powerpc__
=yes
16633 ac_cv_cpp_def___powerpc__
=no
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16639 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16640 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16641 CFLAGS
="$CFLAGS -D__powerpc__"
16642 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16644 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16645 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16646 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16647 $as_echo_n "(cached) " >&6
16649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16650 /* end confdefs.h. */
16651 #ifndef __aarch64__
16655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16656 $EGREP "yes" >/dev
/null
2>&1; then :
16657 ac_cv_cpp_def___aarch64__
=yes
16659 ac_cv_cpp_def___aarch64__
=no
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16665 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16666 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16667 CFLAGS
="$CFLAGS -D__aarch64__"
16668 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16670 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16671 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16672 if ${ac_cv_cpp_def___arm__+:} false
; then :
16673 $as_echo_n "(cached) " >&6
16675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16676 /* end confdefs.h. */
16681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16682 $EGREP "yes" >/dev
/null
2>&1; then :
16683 ac_cv_cpp_def___arm__
=yes
16685 ac_cv_cpp_def___arm__
=no
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16691 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16692 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16693 CFLAGS
="$CFLAGS -D__arm__"
16694 LINTFLAGS
="$LINTFLAGS -D__arm__"
16698 case $host_vendor in
16699 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16700 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16701 if ${ac_cv_cpp_def___sun__+:} false
; then :
16702 $as_echo_n "(cached) " >&6
16704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16705 /* end confdefs.h. */
16710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16711 $EGREP "yes" >/dev
/null
2>&1; then :
16712 ac_cv_cpp_def___sun__
=yes
16714 ac_cv_cpp_def___sun__
=no
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16720 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16721 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16722 CFLAGS
="$CFLAGS -D__sun__"
16723 LINTFLAGS
="$LINTFLAGS -D__sun__"
16731 ac_config_commands
="$ac_config_commands include/stamp-h"
16733 $as_echo_n "creating Makefile rules..." >&6
16735 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16736 SOCKET_LIBS = $SOCKET_LIBS
16737 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16738 IOKIT_LIBS = $IOKIT_LIBS
16739 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16740 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16741 CORESERVICES_LIBS = $CORESERVICES_LIBS
16742 APPKIT_LIBS = $APPKIT_LIBS
16743 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16744 SECURITY_LIBS = $SECURITY_LIBS
16745 COREAUDIO_LIBS = $COREAUDIO_LIBS
16746 OPENAL_LIBS = $OPENAL_LIBS
16747 OPENCL_LIBS = $OPENCL_LIBS
16748 QUICKTIME_LIBS = $QUICKTIME_LIBS
16749 CARBON_LIBS = $CARBON_LIBS
16750 PTHREAD_LIBS = $PTHREAD_LIBS
16751 X_CFLAGS = $X_CFLAGS
16752 X_PRE_LIBS = $X_PRE_LIBS
16754 X_EXTRA_LIBS = $X_EXTRA_LIBS
16755 XML2_CFLAGS = $XML2_CFLAGS
16756 XML2_LIBS = $XML2_LIBS
16757 XSLT_CFLAGS = $XSLT_CFLAGS
16758 XSLT_LIBS = $XSLT_LIBS
16759 DBUS_CFLAGS = $DBUS_CFLAGS
16760 DBUS_LIBS = $DBUS_LIBS
16761 HAL_CFLAGS = $HAL_CFLAGS
16762 HAL_LIBS = $HAL_LIBS
16763 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16764 GNUTLS_LIBS = $GNUTLS_LIBS
16765 SANE_CFLAGS = $SANE_CFLAGS
16766 SANE_LIBS = $SANE_LIBS
16767 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16768 GPHOTO2_LIBS = $GPHOTO2_LIBS
16769 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16770 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16771 RESOLV_LIBS = $RESOLV_LIBS
16772 LCMS2_CFLAGS = $LCMS2_CFLAGS
16773 LCMS2_LIBS = $LCMS2_LIBS
16774 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16775 FREETYPE_LIBS = $FREETYPE_LIBS
16777 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16778 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16779 GSTREAMER_LIBS = $GSTREAMER_LIBS
16780 ALSA_LIBS = $ALSA_LIBS
16781 OSS4_CFLAGS = $OSS4_CFLAGS
16782 CAPI20_CFLAGS = $CAPI20_CFLAGS
16783 CAPI20_LIBS = $CAPI20_LIBS
16784 CUPS_CFLAGS = $CUPS_CFLAGS
16785 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16786 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16787 JPEG_CFLAGS = $JPEG_CFLAGS
16788 JPEG_LIBS = $JPEG_LIBS
16789 PNG_CFLAGS = $PNG_CFLAGS
16790 PNG_LIBS = $PNG_LIBS
16791 TIFF_CFLAGS = $TIFF_CFLAGS
16792 TIFF_LIBS = $TIFF_LIBS
16793 MPG123_CFLAGS = $MPG123_CFLAGS
16794 MPG123_LIBS = $MPG123_LIBS
16795 KSTAT_LIBS = $KSTAT_LIBS
16796 PROCSTAT_LIBS = $PROCSTAT_LIBS
16798 POLL_LIBS = $POLL_LIBS
16800 LDAP_LIBS = $LDAP_LIBS
16805 wine_fn_append_rule
"
16806 # Rules automatically generated by configure
16808 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16813 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16814 @./config.status Make.tmp Makefile"
16816 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16817 .gitignore: config.status
16818 @./config.status .gitignore"
16820 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16821 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16823 if test "x$enable_fonts" != xno
; then
16824 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16825 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16826 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16827 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16828 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16830 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16831 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16832 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16833 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16834 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16835 wine_fn_config_symlink wine
16836 if test "x$enable_win64" != xno
; then
16837 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16838 wine_fn_config_symlink wine64
16841 wine_fn_config_dll acledit enable_acledit
16842 wine_fn_config_dll aclui enable_aclui implib
16843 wine_fn_config_dll activeds enable_activeds implib
16844 wine_fn_config_dll actxprxy enable_actxprxy clean
16845 wine_fn_config_lib adsiid
16846 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16847 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16848 wine_fn_config_dll advpack enable_advpack implib
16849 wine_fn_config_test dlls
/advpack
/tests advpack_test
16850 wine_fn_config_dll amstream enable_amstream clean
16851 wine_fn_config_test dlls
/amstream
/tests amstream_test
16852 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16853 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16854 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16855 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16856 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16857 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16858 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16859 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16860 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16861 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16862 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16863 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16864 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16865 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16866 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16867 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16868 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16869 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16870 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16871 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16872 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16873 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16874 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16875 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16876 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16877 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16878 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16879 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16880 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16881 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16882 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16883 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16884 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16885 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16886 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16887 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16888 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16889 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16890 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16891 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16892 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16893 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16894 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16895 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16896 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16897 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16898 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16899 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16900 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16901 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16902 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16903 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16904 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16905 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16906 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16907 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16908 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16909 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16910 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16911 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16912 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16913 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16914 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16915 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16916 wine_fn_config_dll apphelp enable_apphelp
16917 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16918 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16919 wine_fn_config_dll atl enable_atl clean
,implib
16920 wine_fn_config_test dlls
/atl
/tests atl_test
16921 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16922 wine_fn_config_test dlls
/atl100
/tests atl100_test
16923 wine_fn_config_dll atl110 enable_atl110 clean
16924 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16925 wine_fn_config_test dlls
/atl80
/tests atl80_test
16926 wine_fn_config_dll atl90 enable_atl90 clean
16927 wine_fn_config_dll authz enable_authz
16928 wine_fn_config_dll avicap32 enable_avicap32 implib
16929 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16930 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16931 wine_fn_config_dll avifile.dll16 enable_win16
16932 wine_fn_config_dll avrt enable_avrt implib
16933 wine_fn_config_dll bcrypt enable_bcrypt
16934 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16935 wine_fn_config_dll browseui enable_browseui clean
,po
16936 wine_fn_config_test dlls
/browseui
/tests browseui_test
16937 wine_fn_config_dll cabinet enable_cabinet implib
16938 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16939 wine_fn_config_dll capi2032 enable_capi2032 implib
16940 wine_fn_config_dll cards enable_cards implib
16941 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16942 wine_fn_config_dll clusapi enable_clusapi implib
16943 wine_fn_config_dll combase enable_combase
16944 wine_fn_config_dll comcat enable_comcat
16945 wine_fn_config_test dlls
/comcat
/tests comcat_test
16946 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16947 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16948 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16949 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16950 wine_fn_config_dll
comm.drv16 enable_win16
16951 wine_fn_config_dll commdlg.dll16 enable_win16
16952 wine_fn_config_dll compobj.dll16 enable_win16
16953 wine_fn_config_dll compstui enable_compstui implib
16954 wine_fn_config_dll comsvcs enable_comsvcs implib
16955 wine_fn_config_dll credui enable_credui implib
,po
16956 wine_fn_config_test dlls
/credui
/tests credui_test
16957 wine_fn_config_dll crtdll enable_crtdll implib
16958 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16959 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16960 wine_fn_config_dll cryptdlg enable_cryptdlg po
16961 wine_fn_config_dll cryptdll enable_cryptdll implib
16962 wine_fn_config_dll cryptext enable_cryptext
16963 wine_fn_config_dll cryptnet enable_cryptnet implib
16964 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16965 wine_fn_config_dll cryptui enable_cryptui implib
,po
16966 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16967 wine_fn_config_dll ctapi32 enable_ctapi32
16968 wine_fn_config_dll ctl3d.dll16 enable_win16
16969 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16970 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16971 wine_fn_config_dll d2d1 enable_d2d1 implib
16972 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16973 wine_fn_config_dll d3d10 enable_d3d10 implib
16974 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16975 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16976 wine_fn_config_dll d3d10core enable_d3d10core implib
16977 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16978 wine_fn_config_dll d3d11 enable_d3d11
16979 wine_fn_config_dll d3d8 enable_d3d8 implib
16980 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16981 wine_fn_config_dll d3d9 enable_d3d9 implib
16982 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16983 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16984 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16985 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16986 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16987 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16988 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16989 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16990 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16991 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16992 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16993 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16994 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16995 wine_fn_config_dll d3dim enable_d3dim implib
16996 wine_fn_config_dll d3drm enable_d3drm implib
16997 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16998 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16999 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17000 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17001 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17002 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17003 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17004 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17005 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17006 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17007 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17008 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17009 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17010 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17011 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17012 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17013 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17014 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17015 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17016 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17017 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17018 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17019 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17020 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17021 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17022 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17023 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17024 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17025 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17026 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17027 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17028 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17029 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17030 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17031 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17032 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17033 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17034 wine_fn_config_dll dbgeng enable_dbgeng implib
17035 wine_fn_config_dll dbghelp enable_dbghelp implib
17036 wine_fn_config_dll dciman32 enable_dciman32 implib
17037 wine_fn_config_dll ddeml.dll16 enable_win16
17038 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17039 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17040 wine_fn_config_dll ddrawex enable_ddrawex clean
17041 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17042 wine_fn_config_dll devenum enable_devenum clean
,po
17043 wine_fn_config_test dlls
/devenum
/tests devenum_test
17044 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17045 wine_fn_config_dll difxapi enable_difxapi
17046 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17047 wine_fn_config_test dlls
/dinput
/tests dinput_test
17048 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17049 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17050 wine_fn_config_dll dispdib.dll16 enable_win16
17051 wine_fn_config_dll dispex enable_dispex clean
17052 wine_fn_config_test dlls
/dispex
/tests dispex_test
17053 wine_fn_config_dll display.drv16 enable_win16
17054 wine_fn_config_dll dmband enable_dmband clean
17055 wine_fn_config_test dlls
/dmband
/tests dmband_test
17056 wine_fn_config_dll dmcompos enable_dmcompos clean
17057 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17058 wine_fn_config_dll dmime enable_dmime clean
17059 wine_fn_config_test dlls
/dmime
/tests dmime_test
17060 wine_fn_config_dll dmloader enable_dmloader clean
17061 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17062 wine_fn_config_dll dmscript enable_dmscript clean
17063 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17064 wine_fn_config_dll dmstyle enable_dmstyle clean
17065 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17066 wine_fn_config_dll dmsynth enable_dmsynth clean
17067 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17068 wine_fn_config_dll dmusic enable_dmusic clean
17069 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17070 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17071 wine_fn_config_dll dnsapi enable_dnsapi implib
17072 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17073 wine_fn_config_dll dplay enable_dplay implib
17074 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17075 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17076 wine_fn_config_dll dpnaddr enable_dpnaddr
17077 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17078 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17079 wine_fn_config_dll dpnhpast enable_dpnhpast
17080 wine_fn_config_dll dpnlobby enable_dpnlobby
17081 wine_fn_config_dll dpvoice enable_dpvoice clean
17082 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17083 wine_fn_config_dll dpwsockx enable_dpwsockx
17084 wine_fn_config_dll drmclien enable_drmclien
17085 wine_fn_config_dll dsound enable_dsound clean
,implib
17086 wine_fn_config_test dlls
/dsound
/tests dsound_test
17087 wine_fn_config_dll dssenh enable_dssenh
17088 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17089 wine_fn_config_dll dswave enable_dswave clean
17090 wine_fn_config_test dlls
/dswave
/tests dswave_test
17091 wine_fn_config_dll dwmapi enable_dwmapi implib
17092 wine_fn_config_dll dwrite enable_dwrite implib
17093 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17094 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17095 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17096 wine_fn_config_lib dxerr8
17097 wine_fn_config_lib dxerr9
17098 wine_fn_config_dll dxgi enable_dxgi implib
17099 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17100 wine_fn_config_lib dxguid
17101 wine_fn_config_dll dxva2 enable_dxva2
17102 wine_fn_config_dll explorerframe enable_explorerframe clean
17103 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17104 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17105 wine_fn_config_dll faultrep enable_faultrep implib
17106 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17107 wine_fn_config_dll fltlib enable_fltlib
17108 wine_fn_config_dll fntcache enable_fntcache
17109 wine_fn_config_dll fontsub enable_fontsub
17110 wine_fn_config_dll fusion enable_fusion
17111 wine_fn_config_test dlls
/fusion
/tests fusion_test
17112 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17113 wine_fn_config_dll gameux enable_gameux clean
17114 wine_fn_config_test dlls
/gameux
/tests gameux_test
17115 wine_fn_config_dll gdi.exe16 enable_win16
17116 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17117 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17118 wine_fn_config_dll gdiplus enable_gdiplus implib
17119 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17120 wine_fn_config_dll glu32 enable_glu32 implib
17121 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17122 wine_fn_config_dll gpkcsp enable_gpkcsp
17123 wine_fn_config_dll hal enable_hal
17124 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17125 wine_fn_config_dll hid enable_hid implib
17126 wine_fn_config_dll hlink enable_hlink clean
,implib
17127 wine_fn_config_test dlls
/hlink
/tests hlink_test
17128 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17129 wine_fn_config_dll httpapi enable_httpapi
17130 wine_fn_config_dll iccvid enable_iccvid po
17131 wine_fn_config_dll icmp enable_icmp
17132 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17133 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17134 wine_fn_config_dll ifsmgr.vxd enable_win16
17135 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17136 wine_fn_config_dll imagehlp enable_imagehlp implib
17137 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17138 wine_fn_config_dll imm.dll16 enable_win16
17139 wine_fn_config_dll imm32 enable_imm32 implib
17140 wine_fn_config_test dlls
/imm32
/tests imm32_test
17141 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17142 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17143 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17144 wine_fn_config_dll inetmib1 enable_inetmib1
17145 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17146 wine_fn_config_dll infosoft enable_infosoft clean
17147 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17148 wine_fn_config_dll initpki enable_initpki
17149 wine_fn_config_dll inkobj enable_inkobj
17150 wine_fn_config_dll inseng enable_inseng clean
17151 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17152 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17153 wine_fn_config_dll itircl enable_itircl
17154 wine_fn_config_dll itss enable_itss clean
17155 wine_fn_config_test dlls
/itss
/tests itss_test
17156 wine_fn_config_dll joy.cpl enable_joy_cpl po
17157 wine_fn_config_dll jscript enable_jscript clean
,po
17158 wine_fn_config_test dlls
/jscript
/tests jscript_test
17159 wine_fn_config_dll jsproxy enable_jsproxy implib
17160 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17161 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17162 wine_fn_config_dll keyboard.drv16 enable_win16
17163 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17164 wine_fn_config_dll ksuser enable_ksuser
17165 wine_fn_config_dll ktmw32 enable_ktmw32
17166 wine_fn_config_dll loadperf enable_loadperf implib
17167 wine_fn_config_dll localspl enable_localspl po
17168 wine_fn_config_test dlls
/localspl
/tests localspl_test
17169 wine_fn_config_dll localui enable_localui po
17170 wine_fn_config_test dlls
/localui
/tests localui_test
17171 wine_fn_config_dll lz32 enable_lz32 implib
17172 wine_fn_config_test dlls
/lz32
/tests lz32_test
17173 wine_fn_config_dll lzexpand.dll16 enable_win16
17174 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17175 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17176 wine_fn_config_dll mapistub enable_mapistub
17177 wine_fn_config_dll mciavi32 enable_mciavi32
17178 wine_fn_config_dll mcicda enable_mcicda
17179 wine_fn_config_dll mciqtz32 enable_mciqtz32
17180 wine_fn_config_dll mciseq enable_mciseq
17181 wine_fn_config_dll mciwave enable_mciwave
17182 wine_fn_config_dll mfplat enable_mfplat
17183 wine_fn_config_dll mgmtapi enable_mgmtapi
17184 wine_fn_config_dll midimap enable_midimap
17185 wine_fn_config_dll mlang enable_mlang clean
,implib
17186 wine_fn_config_test dlls
/mlang
/tests mlang_test
17187 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17188 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17189 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17190 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17191 wine_fn_config_dll mmdevldr.vxd enable_win16
17192 wine_fn_config_dll mmsystem.dll16 enable_win16
17193 wine_fn_config_dll monodebg.vxd enable_win16
17194 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17195 wine_fn_config_dll mouse.drv16 enable_win16
17196 wine_fn_config_dll mpr enable_mpr implib
,po
17197 wine_fn_config_test dlls
/mpr
/tests mpr_test
17198 wine_fn_config_dll mprapi enable_mprapi implib
17199 wine_fn_config_dll msacm.dll16 enable_win16
17200 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17201 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17202 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17203 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17204 wine_fn_config_dll msasn1 enable_msasn1 implib
17205 wine_fn_config_dll mscat32 enable_mscat32
17206 wine_fn_config_dll mscms enable_mscms implib
17207 wine_fn_config_test dlls
/mscms
/tests mscms_test
17208 wine_fn_config_dll mscoree enable_mscoree clean
17209 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17210 wine_fn_config_dll msctf enable_msctf clean
17211 wine_fn_config_test dlls
/msctf
/tests msctf_test
17212 wine_fn_config_dll msdaps enable_msdaps clean
17213 wine_fn_config_dll msdmo enable_msdmo implib
17214 wine_fn_config_dll msftedit enable_msftedit
17215 wine_fn_config_dll msg711.acm enable_msg711_acm
17216 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17217 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17218 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17219 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17220 wine_fn_config_dll msi enable_msi clean
,implib
,po
17221 wine_fn_config_test dlls
/msi
/tests msi_test
17222 wine_fn_config_dll msident enable_msident clean
17223 wine_fn_config_dll msimg32 enable_msimg32 implib
17224 wine_fn_config_dll msimsg enable_msimsg
17225 wine_fn_config_dll msimtf enable_msimtf clean
17226 wine_fn_config_dll msisip enable_msisip
17227 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17228 wine_fn_config_dll msls31 enable_msls31
17229 wine_fn_config_dll msnet32 enable_msnet32
17230 wine_fn_config_dll mspatcha enable_mspatcha
17231 wine_fn_config_dll msrle32 enable_msrle32 po
17232 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17233 wine_fn_config_dll mssign32 enable_mssign32
17234 wine_fn_config_dll mssip32 enable_mssip32
17235 wine_fn_config_dll mstask enable_mstask clean
17236 wine_fn_config_test dlls
/mstask
/tests mstask_test
17237 wine_fn_config_dll msvcirt enable_msvcirt
17238 wine_fn_config_dll msvcm80 enable_msvcm80
17239 wine_fn_config_dll msvcm90 enable_msvcm90
17240 wine_fn_config_dll msvcp100 enable_msvcp100
17241 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17242 wine_fn_config_dll msvcp110 enable_msvcp110
17243 wine_fn_config_dll msvcp120 enable_msvcp120
17244 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17245 wine_fn_config_dll msvcp60 enable_msvcp60
17246 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17247 wine_fn_config_dll msvcp70 enable_msvcp70
17248 wine_fn_config_dll msvcp71 enable_msvcp71
17249 wine_fn_config_dll msvcp80 enable_msvcp80
17250 wine_fn_config_dll msvcp90 enable_msvcp90
17251 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17252 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17253 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17254 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17255 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17256 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17257 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17258 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17259 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17260 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17261 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17262 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17263 wine_fn_config_dll msvcrt enable_msvcrt implib
17264 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17265 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17266 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17267 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17268 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17269 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17270 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17271 wine_fn_config_dll msvidc32 enable_msvidc32 po
17272 wine_fn_config_dll msvideo.dll16 enable_win16
17273 wine_fn_config_dll mswsock enable_mswsock implib
17274 wine_fn_config_dll msxml enable_msxml clean
17275 wine_fn_config_dll msxml2 enable_msxml2 clean
17276 wine_fn_config_dll msxml3 enable_msxml3 clean
17277 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17278 wine_fn_config_dll msxml4 enable_msxml4 clean
17279 wine_fn_config_dll msxml6 enable_msxml6 clean
17280 wine_fn_config_dll nddeapi enable_nddeapi implib
17281 wine_fn_config_dll ndis.sys enable_ndis_sys
17282 wine_fn_config_dll netapi32 enable_netapi32 implib
17283 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17284 wine_fn_config_dll netcfgx enable_netcfgx clean
17285 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17286 wine_fn_config_dll netprofm enable_netprofm clean
17287 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17288 wine_fn_config_dll newdev enable_newdev implib
17289 wine_fn_config_dll normaliz enable_normaliz implib
17290 wine_fn_config_dll npmshtml enable_npmshtml
17291 wine_fn_config_dll npptools enable_npptools
17292 wine_fn_config_dll ntdll enable_ntdll implib
17293 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17294 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17295 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17296 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17297 wine_fn_config_dll ntprint enable_ntprint
17298 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17299 wine_fn_config_dll objsel enable_objsel clean
17300 wine_fn_config_dll odbc32 enable_odbc32 implib
17301 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17302 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17303 wine_fn_config_dll odbccu32 enable_odbccu32
17304 wine_fn_config_dll ole2.dll16 enable_win16
17305 wine_fn_config_dll ole2conv.dll16 enable_win16
17306 wine_fn_config_dll ole2disp.dll16 enable_win16
17307 wine_fn_config_dll ole2nls.dll16 enable_win16
17308 wine_fn_config_dll ole2prox.dll16 enable_win16
17309 wine_fn_config_dll ole2thk.dll16 enable_win16
17310 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17311 wine_fn_config_test dlls
/ole32
/tests ole32_test
17312 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17313 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17314 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17315 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17316 wine_fn_config_dll olecli.dll16 enable_win16
17317 wine_fn_config_dll olecli32 enable_olecli32 implib
17318 wine_fn_config_dll oledb32 enable_oledb32 clean
17319 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17320 wine_fn_config_dll oledlg enable_oledlg implib
,po
17321 wine_fn_config_dll olepro32 enable_olepro32 implib
17322 wine_fn_config_dll olesvr.dll16 enable_win16
17323 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17324 wine_fn_config_dll olethk32 enable_olethk32
17325 wine_fn_config_dll openal32 enable_openal32
17326 wine_fn_config_dll opencl enable_opencl
17327 wine_fn_config_dll opengl32 enable_opengl32 implib
17328 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17329 wine_fn_config_dll packager enable_packager clean
17330 wine_fn_config_test dlls
/packager
/tests packager_test
17331 wine_fn_config_dll pdh enable_pdh implib
17332 wine_fn_config_test dlls
/pdh
/tests pdh_test
17333 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17334 wine_fn_config_dll pidgen enable_pidgen
17335 wine_fn_config_dll powrprof enable_powrprof implib
17336 wine_fn_config_dll printui enable_printui
17337 wine_fn_config_dll prntvpt enable_prntvpt
17338 wine_fn_config_dll propsys enable_propsys clean
,implib
17339 wine_fn_config_test dlls
/propsys
/tests propsys_test
17340 wine_fn_config_dll psapi enable_psapi implib
17341 wine_fn_config_test dlls
/psapi
/tests psapi_test
17342 wine_fn_config_dll pstorec enable_pstorec clean
17343 wine_fn_config_dll qcap enable_qcap
17344 wine_fn_config_test dlls
/qcap
/tests qcap_test
17345 wine_fn_config_dll qedit enable_qedit clean
17346 wine_fn_config_test dlls
/qedit
/tests qedit_test
17347 wine_fn_config_dll qmgr enable_qmgr clean
17348 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17349 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17350 wine_fn_config_dll quartz enable_quartz clean
,implib
17351 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17352 wine_fn_config_dll query enable_query
17353 wine_fn_config_dll rasapi16.dll16 enable_win16
17354 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17355 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17356 wine_fn_config_dll rasdlg enable_rasdlg implib
17357 wine_fn_config_dll regapi enable_regapi
17358 wine_fn_config_dll resutils enable_resutils implib
17359 wine_fn_config_dll riched20 enable_riched20 implib
17360 wine_fn_config_test dlls
/riched20
/tests riched20_test
17361 wine_fn_config_dll riched32 enable_riched32
17362 wine_fn_config_test dlls
/riched32
/tests riched32_test
17363 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17364 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17365 wine_fn_config_dll rsabase enable_rsabase
17366 wine_fn_config_dll rsaenh enable_rsaenh implib
17367 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17368 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17369 wine_fn_config_dll rtutils enable_rtutils implib
17370 wine_fn_config_dll samlib enable_samlib
17371 wine_fn_config_dll sane.ds enable_sane_ds po
17372 wine_fn_config_dll scarddlg enable_scarddlg
17373 wine_fn_config_dll sccbase enable_sccbase
17374 wine_fn_config_dll schannel enable_schannel
17375 wine_fn_config_test dlls
/schannel
/tests schannel_test
17376 wine_fn_config_dll schedsvc enable_schedsvc clean
17377 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17378 wine_fn_config_dll scrrun enable_scrrun clean
17379 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17380 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17381 wine_fn_config_dll secur32 enable_secur32 implib
17382 wine_fn_config_test dlls
/secur32
/tests secur32_test
17383 wine_fn_config_dll security enable_security
17384 wine_fn_config_dll sensapi enable_sensapi implib
17385 wine_fn_config_dll serialui enable_serialui implib
,po
17386 wine_fn_config_test dlls
/serialui
/tests serialui_test
17387 wine_fn_config_dll setupapi enable_setupapi implib
,po
17388 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17389 wine_fn_config_dll setupx.dll16 enable_win16
17390 wine_fn_config_dll sfc enable_sfc implib
17391 wine_fn_config_dll sfc_os enable_sfc_os implib
17392 wine_fn_config_dll shdoclc enable_shdoclc po
17393 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17394 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17395 wine_fn_config_dll shell.dll16 enable_win16
17396 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17397 wine_fn_config_test dlls
/shell32
/tests shell32_test
17398 wine_fn_config_dll shfolder enable_shfolder implib
17399 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17400 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17401 wine_fn_config_dll slbcsp enable_slbcsp
17402 wine_fn_config_dll slc enable_slc implib
17403 wine_fn_config_dll snmpapi enable_snmpapi implib
17404 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17405 wine_fn_config_dll softpub enable_softpub
17406 wine_fn_config_dll sound.drv16 enable_win16
17407 wine_fn_config_dll spoolss enable_spoolss implib
17408 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17409 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17410 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17411 wine_fn_config_dll sti enable_sti clean
,implib
17412 wine_fn_config_test dlls
/sti
/tests sti_test
17413 wine_fn_config_dll storage.dll16 enable_win16
17414 wine_fn_config_dll stress.dll16 enable_win16
17415 wine_fn_config_lib strmbase
17416 wine_fn_config_lib strmiids
17417 wine_fn_config_dll svrapi enable_svrapi
17418 wine_fn_config_dll sxs enable_sxs implib
17419 wine_fn_config_test dlls
/sxs
/tests sxs_test
17420 wine_fn_config_dll system.drv16 enable_win16
17421 wine_fn_config_dll t2embed enable_t2embed
17422 wine_fn_config_dll tapi32 enable_tapi32 implib
17423 wine_fn_config_dll taskschd enable_taskschd clean
17424 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17425 wine_fn_config_dll toolhelp.dll16 enable_win16
17426 wine_fn_config_dll traffic enable_traffic
17427 wine_fn_config_dll twain.dll16 enable_win16
17428 wine_fn_config_dll twain_32 enable_twain_32
17429 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17430 wine_fn_config_dll typelib.dll16 enable_win16
17431 wine_fn_config_dll unicows enable_unicows implib
17432 wine_fn_config_dll updspapi enable_updspapi
17433 wine_fn_config_dll url enable_url implib
17434 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17435 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17436 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17437 wine_fn_config_dll user.exe16 enable_win16
17438 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17439 wine_fn_config_test dlls
/user32
/tests user32_test
17440 wine_fn_config_dll userenv enable_userenv implib
17441 wine_fn_config_test dlls
/userenv
/tests userenv_test
17442 wine_fn_config_dll usp10 enable_usp10 implib
17443 wine_fn_config_test dlls
/usp10
/tests usp10_test
17444 wine_fn_config_lib uuid
17445 wine_fn_config_dll uxtheme enable_uxtheme implib
17446 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17447 wine_fn_config_dll vbscript enable_vbscript clean
17448 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17449 wine_fn_config_dll vcomp enable_vcomp
17450 wine_fn_config_dll vcomp100 enable_vcomp100
17451 wine_fn_config_dll vcomp90 enable_vcomp90
17452 wine_fn_config_dll vdhcp.vxd enable_win16
17453 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17454 wine_fn_config_dll ver.dll16 enable_win16
17455 wine_fn_config_dll version enable_version implib
17456 wine_fn_config_test dlls
/version
/tests version_test
17457 wine_fn_config_dll vmm.vxd enable_win16
17458 wine_fn_config_dll vnbt.vxd enable_win16
17459 wine_fn_config_dll vnetbios.vxd enable_win16
17460 wine_fn_config_dll vssapi enable_vssapi
17461 wine_fn_config_dll vtdapi.vxd enable_win16
17462 wine_fn_config_dll vwin32.vxd enable_win16
17463 wine_fn_config_dll w32skrnl enable_win16
17464 wine_fn_config_dll w32sys.dll16 enable_win16
17465 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17466 wine_fn_config_dll wbemprox enable_wbemprox clean
17467 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17468 wine_fn_config_dll webservices enable_webservices implib
17469 wine_fn_config_dll wer enable_wer implib
17470 wine_fn_config_test dlls
/wer
/tests wer_test
17471 wine_fn_config_dll wevtapi enable_wevtapi
17472 wine_fn_config_dll wiaservc enable_wiaservc clean
17473 wine_fn_config_dll win32s16.dll16 enable_win16
17474 wine_fn_config_dll win87em.dll16 enable_win16
17475 wine_fn_config_dll winaspi.dll16 enable_win16
17476 wine_fn_config_dll windebug.dll16 enable_win16
17477 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17478 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17479 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17480 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17481 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17482 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17483 wine_fn_config_lib winecrt0
17484 wine_fn_config_dll wined3d enable_wined3d implib
17485 wine_fn_config_dll winegstreamer enable_winegstreamer
17486 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17487 wine_fn_config_dll winemac.drv enable_winemac_drv
17488 wine_fn_config_dll winemapi enable_winemapi
17489 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17490 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17491 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17492 wine_fn_config_dll wineps16.drv16 enable_win16
17493 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17494 wine_fn_config_dll winex11.drv enable_winex11_drv
17495 wine_fn_config_dll wing.dll16 enable_win16
17496 wine_fn_config_dll wing32 enable_wing32
17497 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17498 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17499 wine_fn_config_dll wininet enable_wininet implib
,po
17500 wine_fn_config_test dlls
/wininet
/tests wininet_test
17501 wine_fn_config_dll winmm enable_winmm implib
,po
17502 wine_fn_config_test dlls
/winmm
/tests winmm_test
17503 wine_fn_config_dll winnls.dll16 enable_win16
17504 wine_fn_config_dll winnls32 enable_winnls32 implib
17505 wine_fn_config_dll winscard enable_winscard implib
17506 wine_fn_config_dll winsock.dll16 enable_win16
17507 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17508 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17509 wine_fn_config_dll winsta enable_winsta
17510 wine_fn_config_dll wintab.dll16 enable_win16
17511 wine_fn_config_dll wintab32 enable_wintab32 implib
17512 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17513 wine_fn_config_dll wintrust enable_wintrust implib
17514 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17515 wine_fn_config_dll wlanapi enable_wlanapi
17516 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17517 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17518 wine_fn_config_dll wmi enable_wmi
17519 wine_fn_config_dll wmiutils enable_wmiutils clean
17520 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17521 wine_fn_config_dll wmp enable_wmp clean
17522 wine_fn_config_test dlls
/wmp
/tests wmp_test
17523 wine_fn_config_dll wmvcore enable_wmvcore
17524 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17525 wine_fn_config_dll wow32 enable_win16 implib
17526 wine_fn_config_dll wpcap enable_wpcap
17527 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17528 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17529 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17530 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17531 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17532 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17533 wine_fn_config_dll wsock32 enable_wsock32 implib
17534 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17535 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17536 wine_fn_config_dll wuapi enable_wuapi clean
17537 wine_fn_config_dll wuaueng enable_wuaueng
17538 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17539 wine_fn_config_dll xinput1_1 enable_xinput1_1
17540 wine_fn_config_dll xinput1_2 enable_xinput1_2
17541 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17542 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17543 wine_fn_config_dll xinput1_4 enable_xinput1_4
17544 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17545 wine_fn_config_dll xmllite enable_xmllite implib
17546 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17547 wine_fn_config_dll xolehlp enable_xolehlp
17548 wine_fn_config_dll xpsprint enable_xpsprint
17549 wine_fn_config_dll xpssvcs enable_xpssvcs
17550 wine_fn_config_makefile documentation enable_documentation clean
17551 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17552 wine_fn_config_makefile include enable_include clean
,install-dev
17553 wine_fn_config_makefile libs
/port enable_libs_port
17554 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17555 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17556 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17557 wine_fn_config_program arp enable_arp
install
17558 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17559 wine_fn_config_program attrib enable_attrib
install,po
17560 wine_fn_config_program cabarc enable_cabarc
install
17561 wine_fn_config_program cacls enable_cacls
install
17562 wine_fn_config_program
clock enable_clock
install,po
17563 wine_fn_config_program cmd enable_cmd
install,po
17564 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17565 wine_fn_config_program conhost enable_conhost
install
17566 wine_fn_config_program control enable_control
install
17567 wine_fn_config_program cscript enable_cscript clean
,install
17568 wine_fn_config_program dpnsvr enable_dpnsvr
install
17569 wine_fn_config_program dxdiag enable_dxdiag
install,po
17570 wine_fn_config_program eject enable_eject
install
17571 wine_fn_config_program
expand enable_expand
install
17572 wine_fn_config_program explorer enable_explorer
install,po
17573 wine_fn_config_program extrac32 enable_extrac32
install
17574 wine_fn_config_program findstr enable_findstr
install
17575 wine_fn_config_program hh enable_hh
install
17576 wine_fn_config_program hostname enable_hostname
install,po
17577 wine_fn_config_program icinfo enable_icinfo
install
17578 wine_fn_config_program iexplore enable_iexplore
install
17579 wine_fn_config_program ipconfig enable_ipconfig
install,po
17580 wine_fn_config_program lodctr enable_lodctr
install
17581 wine_fn_config_program mofcomp enable_mofcomp
install
17582 wine_fn_config_program mshta enable_mshta
install
17583 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17584 wine_fn_config_program net enable_net
install,po
17585 wine_fn_config_program netsh enable_netsh
install
17586 wine_fn_config_program netstat enable_netstat
install,po
17587 wine_fn_config_program ngen enable_ngen
install
17588 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17589 wine_fn_config_program oleview enable_oleview
install,po
17590 wine_fn_config_program
ping enable_ping
install
17591 wine_fn_config_program plugplay enable_plugplay
install
17592 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17593 wine_fn_config_program progman enable_progman
install,po
17594 wine_fn_config_program reg enable_reg
install,po
17595 wine_fn_config_test programs
/reg
/tests reg.exe_test
17596 wine_fn_config_program regasm enable_regasm
install
17597 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17598 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17599 wine_fn_config_program regsvcs enable_regsvcs
install
17600 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17601 wine_fn_config_program rpcss enable_rpcss clean
,install
17602 wine_fn_config_program rundll.exe16 enable_win16
install
17603 wine_fn_config_program rundll32 enable_rundll32
install
17604 wine_fn_config_program sc enable_sc
install
17605 wine_fn_config_program schtasks enable_schtasks
install
17606 wine_fn_config_program sdbinst enable_sdbinst
install
17607 wine_fn_config_program secedit enable_secedit
install
17608 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17609 wine_fn_config_program services enable_services clean
,install
17610 wine_fn_config_test programs
/services
/tests services.exe_test
17611 wine_fn_config_program spoolsv enable_spoolsv
install
17612 wine_fn_config_program start enable_start
install,po
17613 wine_fn_config_program svchost enable_svchost
install
17614 wine_fn_config_program systeminfo enable_systeminfo
install
17615 wine_fn_config_program taskkill enable_taskkill
install,po
17616 wine_fn_config_program tasklist enable_tasklist
install
17617 wine_fn_config_program taskmgr enable_taskmgr
install,po
17618 wine_fn_config_program termsv enable_termsv
install
17619 wine_fn_config_program uninstaller enable_uninstaller
install,po
17620 wine_fn_config_program unlodctr enable_unlodctr
install
17621 wine_fn_config_program view enable_view
install,po
17622 wine_fn_config_program wevtutil enable_wevtutil
install
17623 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17624 wine_fn_config_program winebrowser enable_winebrowser
install
17625 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17626 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17627 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17628 wine_fn_config_program winedevice enable_winedevice
install
17629 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17630 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17631 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17632 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17633 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17634 wine_fn_config_program winetest enable_winetest clean
17635 wine_fn_config_program winevdm enable_win16
install
17636 wine_fn_config_program winhelp.exe16 enable_win16
install
17637 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17638 wine_fn_config_program winoldap.mod16 enable_win16
install
17639 wine_fn_config_program winver enable_winver
install
17640 wine_fn_config_program wmic enable_wmic
install,po
17641 wine_fn_config_program wordpad enable_wordpad
install,po
17642 wine_fn_config_program
write enable_write
install,po
17643 wine_fn_config_program wscript enable_wscript clean
,install
17644 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17645 wine_fn_config_program wusa enable_wusa
install
17646 wine_fn_config_program xcopy enable_xcopy
install,po
17647 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17648 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17649 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17650 wine_fn_config_tool tools
/sfnt2fon clean
17651 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17652 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17653 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17654 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17655 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17656 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17708 wine_fn_ignore_file
".gitignore"
17709 wine_fn_ignore_file
"Makefile"
17710 wine_fn_ignore_file
"TAGS"
17711 wine_fn_ignore_file
"tags"
17712 wine_fn_ignore_file
"autom4te.cache"
17713 wine_fn_ignore_file
"config.cache"
17714 wine_fn_ignore_file
"config.log"
17715 wine_fn_ignore_file
"config.status"
17716 wine_fn_ignore_file
"configure.lineno"
17717 wine_fn_ignore_file
"include/config.h"
17718 wine_fn_ignore_file
"include/stamp-h"
17719 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17721 if test "x$enable_tools" != xno
17723 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17724 ac_config_commands
="$ac_config_commands tools/makedep"
17728 ac_config_commands
="$ac_config_commands Makefile"
17731 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17735 if test "x$enable_maintainer_mode" = xyes
17737 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17738 autoconf --warnings=all
17739 include/config.h.in: include/stamp-h.in
17740 include/stamp-h.in: configure.ac aclocal.m4
17741 autoheader --warnings=all
17742 @echo timestamp > \$@"
17745 if test "x$with_gettextpo" = xyes
17747 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17748 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17749 \$(LINGUAS:%=po/%.po): po/wine.pot
17750 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17751 po/wine.pot: \$(ALL_POT_FILES)
17752 msgcat -o \$@ \$(ALL_POT_FILES)"
17755 if test "$MSGFMT" != false
17757 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17759 \$(RM) \$(LINGUAS:%=po/%.mo)"
17762 test "$srcdir" = . || posrc
="$srcdir/po"
17765 wine_fn_ignore_file
"po/$i.mo"
17766 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17767 \$(MSGFMT) -o \$@ $posrc/$i.po"
17773 if test "x$enable_tools" != xno
17775 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17776 @./config.status tools/makedep
17777 Makefile: tools/makedep$ac_exeext
17779 \$(RM) tools/makedep$ac_exeext"
17781 wine_fn_append_rule
"\$(MAKEDEP):
17782 @echo \"You need to run make in $TOOLSDIR first\" && false"
17785 if test -n "$with_wine64"
17787 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17788 fonts server tools:
17789 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17790 $with_wine64/loader/wine:
17791 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17792 $with_wine64/loader/wine-preloader:
17793 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17795 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17797 as_fn_append LOADER_RULES
"
17798 install install-lib:: wine.inf install-man-pages
17799 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17800 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17803 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17807 if test "$srcdir" = .
17809 ac_config_commands
="$ac_config_commands .gitignore"
17813 $as_echo " done" >&6
17814 cat >confcache
<<\_ACEOF
17815 # This file is a shell script that caches the results of configure
17816 # tests run on this system so they can be shared between configure
17817 # scripts and configure runs, see configure's option --config-cache.
17818 # It is not useful on other systems. If it contains results you don't
17819 # want to keep, you may remove or edit it.
17821 # config.status only pays attention to the cache file if you give it
17822 # the --recheck option to rerun configure.
17824 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17825 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17826 # following values.
17830 # The following way of writing the cache mishandles newlines in values,
17831 # but we know of no workaround that is simple, portable, and efficient.
17832 # So, we kill variables containing newlines.
17833 # Ultrix sh set writes to stderr and can't be redirected directly,
17834 # and sets the high bit in the cache file unless we assign to the vars.
17836 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17837 eval ac_val
=\$
$ac_var
17841 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17842 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17845 _ | IFS | as_nl
) ;; #(
17846 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17847 *) { eval $ac_var=; unset $ac_var;} ;;
17853 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17854 *${as_nl}ac_space
=\
*)
17855 # `set' does not quote correctly, so add quotes: double-quote
17856 # substitution turns \\\\ into \\, and sed turns \\ into \.
17859 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17862 # `set' quotes correctly as required by POSIX, so do not add quotes.
17863 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17872 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17874 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17876 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17877 if test -w "$cache_file"; then
17878 if test "x$cache_file" != "x/dev/null"; then
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17880 $as_echo "$as_me: updating cache $cache_file" >&6;}
17881 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17882 cat confcache
>"$cache_file"
17884 case $cache_file in #(
17886 mv -f confcache
"$cache_file"$$
&&
17887 mv -f "$cache_file"$$
"$cache_file" ;; #(
17889 mv -f confcache
"$cache_file" ;;
17894 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17895 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17900 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17901 # Let make expand exec_prefix.
17902 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17904 DEFS
=-DHAVE_CONFIG_H
17909 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17910 # 1. Remove the extension, and $U if already installed.
17911 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17912 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17913 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17914 # will be set to the directory where LIBOBJS objects are built.
17915 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17916 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17918 LIBOBJS
=$ac_libobjs
17920 LTLIBOBJS
=$ac_ltlibobjs
17924 : "${CONFIG_STATUS=./config.status}"
17926 ac_clean_files_save
=$ac_clean_files
17927 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17929 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17931 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17933 # Generated by $as_me.
17934 # Run this file to recreate the current configuration.
17935 # Compiler output produced by configure, useful for debugging
17936 # configure, is in config.log if it exists.
17939 ac_cs_recheck=false
17942 SHELL=\${CONFIG_SHELL-$SHELL}
17945 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17946 ## -------------------- ##
17947 ## M4sh Initialization. ##
17948 ## -------------------- ##
17950 # Be more Bourne compatible
17951 DUALCASE
=1; export DUALCASE
# for MKS sh
17952 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17955 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17956 # is contrary to our usage. Disable this feature.
17957 alias -g '${1+"$@"}'='"$@"'
17958 setopt NO_GLOB_SUBST
17960 case `(set -o) 2>/dev/null` in #(
17972 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17973 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17974 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17975 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17976 # Prefer a ksh shell builtin over an external printf program on Solaris,
17977 # but without wasting forks for bash or zsh.
17978 if test -z "$BASH_VERSION$ZSH_VERSION" \
17979 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17980 as_echo='print
-r --'
17981 as_echo_n='print
-rn --'
17982 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17983 as_echo='printf %s
\n'
17984 as_echo_n='printf %s
'
17986 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17987 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17988 as_echo_n='/usr
/ucb
/echo -n'
17990 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17991 as_echo_n_body='eval
17995 expr "X$arg" : "X\\(.*\\)$as_nl";
17996 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17998 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18000 export as_echo_n_body
18001 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18003 export as_echo_body
18004 as_echo='sh
-c $as_echo_body as_echo
'
18007 # The user is always right.
18008 if test "${PATH_SEPARATOR+set}" != set; then
18010 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18011 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18018 # We need space, tab and new line, in precisely that order. Quoting is
18019 # there to prevent editors from complaining about space-tab.
18020 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18021 # splitting by setting IFS to empty value.)
18024 # Find who we are. Look in the path if we contain no directory separator.
18027 *[\\/]* ) as_myself=$0 ;;
18028 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18029 for as_dir in $PATH
18032 test -z "$as_dir" && as_dir=.
18033 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18039 # We did not find ourselves, most probably we were run as `sh COMMAND'
18040 # in which case we are not to be found in the path.
18041 if test "x$as_myself" = x
; then
18044 if test ! -f "$as_myself"; then
18045 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18049 # Unset variables that we do not need and which cause bugs (e.g. in
18050 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18051 # suppresses any "Segmentation fault" message there. '((' could
18052 # trigger a bug in pdksh 5.2.14.
18053 for as_var
in BASH_ENV ENV MAIL MAILPATH
18054 do eval test x\
${$as_var+set} = xset \
18055 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18068 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18071 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18072 # ----------------------------------------
18073 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18074 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18075 # script with STATUS, using 1 if that was 0.
18078 as_status
=$1; test $as_status -eq 0 && as_status
=1
18080 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18081 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18083 $as_echo "$as_me: error: $2" >&2
18084 as_fn_exit
$as_status
18088 # as_fn_set_status STATUS
18089 # -----------------------
18090 # Set $? to STATUS, without forking.
18091 as_fn_set_status
()
18094 } # as_fn_set_status
18096 # as_fn_exit STATUS
18097 # -----------------
18098 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18102 as_fn_set_status
$1
18108 # Portably unset VAR.
18111 { eval $1=; unset $1;}
18113 as_unset
=as_fn_unset
18114 # as_fn_append VAR VALUE
18115 # ----------------------
18116 # Append the text in VALUE to the end of the definition contained in VAR. Take
18117 # advantage of any shell optimizations that allow amortized linear growth over
18118 # repeated appends, instead of the typical quadratic growth present in naive
18120 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18121 eval 'as_fn_append ()
18132 # as_fn_arith ARG...
18133 # ------------------
18134 # Perform arithmetic evaluation on the ARGs, and store the result in the
18135 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18136 # must be portable across $(()) and expr.
18137 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18138 eval 'as_fn_arith ()
18145 as_val
=`expr "$@" || test $? -eq 1`
18150 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18151 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18157 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18158 as_basename
=basename
18163 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18169 as_me
=`$as_basename -- "$0" ||
18170 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18171 X"$0" : 'X\(//\)$' \| \
18172 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18174 sed '/^.*\/\([^/][^/]*\)\/*$/{
18188 # Avoid depending upon Character Ranges.
18189 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18190 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18191 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18192 as_cr_digits
='0123456789'
18193 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18195 ECHO_C
= ECHO_N
= ECHO_T
=
18196 case `echo -n x` in #(((((
18198 case `echo 'xy\c'` in
18199 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18201 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18208 rm -f conf$$ conf$$.exe conf$$.
file
18209 if test -d conf$$.dir
; then
18210 rm -f conf$$.dir
/conf$$.
file
18213 mkdir conf$$.dir
2>/dev
/null
18215 if (echo >conf$$.
file) 2>/dev
/null
; then
18216 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18218 # ... but there are two gotchas:
18219 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18220 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18221 # In both cases, we have to default to `cp -pR'.
18222 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18224 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18232 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18233 rmdir conf$$.dir
2>/dev
/null
18238 # Create "$as_dir" as a directory, including parents if necessary.
18243 -*) as_dir
=.
/$as_dir;;
18245 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18249 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18250 *) as_qdir
=$as_dir;;
18252 as_dirs
="'$as_qdir' $as_dirs"
18253 as_dir
=`$as_dirname -- "$as_dir" ||
18254 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18255 X"$as_dir" : 'X\(//\)[^/]' \| \
18256 X"$as_dir" : 'X\(//\)$' \| \
18257 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18258 $as_echo X"$as_dir" |
18259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18263 /^X\(\/\/\)[^/].*/{
18276 test -d "$as_dir" && break
18278 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18279 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18283 if mkdir
-p .
2>/dev
/null
; then
18284 as_mkdir_p
='mkdir -p "$as_dir"'
18286 test -d .
/-p && rmdir .
/-p
18291 # as_fn_executable_p FILE
18292 # -----------------------
18293 # Test if FILE is an executable regular file.
18294 as_fn_executable_p
()
18296 test -f "$1" && test -x "$1"
18297 } # as_fn_executable_p
18298 as_test_x
='test -x'
18299 as_executable_p
=as_fn_executable_p
18301 # Sed expression to map a string onto a valid CPP name.
18302 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18304 # Sed expression to map a string onto a valid variable name.
18305 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18309 ## ----------------------------------- ##
18310 ## Main body of $CONFIG_STATUS script. ##
18311 ## ----------------------------------- ##
18313 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18316 # Save the log message, to keep $0 and so on meaningful, and to
18317 # report actual input values of CONFIG_FILES etc. instead of their
18318 # values after options handling.
18320 This file was extended by Wine $as_me 1.7.32, which was
18321 generated by GNU Autoconf 2.69. Invocation command line was
18323 CONFIG_FILES = $CONFIG_FILES
18324 CONFIG_HEADERS = $CONFIG_HEADERS
18325 CONFIG_LINKS = $CONFIG_LINKS
18326 CONFIG_COMMANDS = $CONFIG_COMMANDS
18329 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18334 case $ac_config_files in *"
18335 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18338 case $ac_config_headers in *"
18339 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18344 # Files that config.status was made for.
18345 config_files="$ac_config_files"
18346 config_headers="$ac_config_headers"
18347 config_links="$ac_config_links"
18348 config_commands="$ac_config_commands"
18352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18354 \`$as_me' instantiates files and other configuration actions
18355 from templates according to the current configuration. Unless the files
18356 and actions are specified as TAGs, all are instantiated by default.
18358 Usage: $0 [OPTION]... [TAG]...
18360 -h, --help print this help, then exit
18361 -V, --version print version number and configuration settings, then exit
18362 --config print configuration, then exit
18363 -q, --quiet, --silent
18364 do not print progress messages
18365 -d, --debug don't remove temporary files
18366 --recheck update $as_me by reconfiguring in the same conditions
18367 --file=FILE[:TEMPLATE]
18368 instantiate the configuration file FILE
18369 --header=FILE[:TEMPLATE]
18370 instantiate the configuration header FILE
18372 Configuration files:
18375 Configuration headers:
18378 Configuration links:
18381 Configuration commands:
18384 Report bugs to <wine-devel@winehq.org>.
18385 Wine home page: <http://www.winehq.org>."
18388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18389 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18391 Wine config.status 1.7.32
18392 configured by $0, generated by GNU Autoconf 2.69,
18393 with options \\"\$ac_cs_config\\"
18395 Copyright (C) 2012 Free Software Foundation, Inc.
18396 This config.status script is free software; the Free Software Foundation
18397 gives unlimited permission to copy, distribute and modify it."
18401 test -n "\$AWK" || AWK=awk
18404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18405 # The default lists apply if the user does not specify any file.
18411 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18412 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18416 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18428 # Handling of the options.
18429 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18431 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18432 $as_echo "$ac_cs_version"; exit ;;
18433 --config |
--confi |
--conf |
--con |
--co |
--c )
18434 $as_echo "$ac_cs_config"; exit ;;
18435 --debug |
--debu |
--deb |
--de |
--d |
-d )
18437 --file |
--fil |
--fi |
--f )
18440 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18441 '') as_fn_error $?
"missing file argument" ;;
18443 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18444 ac_need_defaults
=false
;;
18445 --header |
--heade |
--head |
--hea )
18448 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18450 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18451 ac_need_defaults
=false
;;
18453 # Conflict between --help and --header
18454 as_fn_error $?
"ambiguous option: \`$1'
18455 Try \`$0 --help' for more information.";;
18456 --help |
--hel |
-h )
18457 $as_echo "$ac_cs_usage"; exit ;;
18458 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18459 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18462 # This is an error.
18463 -*) as_fn_error $?
"unrecognized option: \`$1'
18464 Try \`$0 --help' for more information." ;;
18466 *) as_fn_append ac_config_targets
" $1"
18467 ac_need_defaults
=false
;;
18473 ac_configure_extra_args
=
18475 if $ac_cs_silent; then
18477 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18482 if \$ac_cs_recheck; then
18483 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18485 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18486 CONFIG_SHELL='$SHELL'
18487 export CONFIG_SHELL
18492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18496 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18497 ## Running $as_me. ##
18503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18507 wine_fn_output_makedep ()
18509 as_dir=tools; as_fn_mkdir_p
18510 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18512 wine_fn_output_makefile ()
18514 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18515 `cat $wine_rules_file`
18517 as_fn_error $? "could not create Makefile" "$LINENO" 5
18519 wine_fn_output_gitignore ()
18521 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18524 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18531 # Handling of arguments.
18532 for ac_config_target
in $ac_config_targets
18534 case $ac_config_target in
18535 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18536 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18537 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18538 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18539 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18540 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18541 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18542 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18543 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18544 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18545 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18546 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18547 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18548 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18550 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18555 # If the user did not use the arguments to specify the items to instantiate,
18556 # then the envvar interface is used. Set only those that are not.
18557 # We use the long form for the default assignment because of an extremely
18558 # bizarre bug on SunOS 4.1.3.
18559 if $ac_need_defaults; then
18560 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18561 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18562 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18563 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18566 # Have a temporary directory for convenience. Make it in the build tree
18567 # simply because there is no reason against having it here, and in addition,
18568 # creating and moving files from /tmp can sometimes cause problems.
18569 # Hook for its removal unless debugging.
18570 # Note that there is a small window in which the directory will not be cleaned:
18571 # after its creation but before its name has been assigned to `$tmp'.
18575 trap 'exit_status=$?
18576 : "${ac_tmp:=$tmp}"
18577 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18579 trap 'as_fn_exit 1' 1 2 13 15
18581 # Create a (secure) tmp directory for tmp files.
18584 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18588 tmp
=.
/conf$$
-$RANDOM
18589 (umask 077 && mkdir
"$tmp")
18590 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18593 # Set up the scripts for CONFIG_FILES section.
18594 # No need to generate them if there are no CONFIG_FILES.
18595 # This happens for instance with `./config.status config.h'.
18596 if test -n "$CONFIG_FILES"; then
18599 ac_cr
=`echo X | tr X '\015'`
18600 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18601 # But we know of no other shell where ac_cr would be empty at this
18602 # point, so we can use a bashism as a fallback.
18603 if test "x$ac_cr" = x
; then
18604 eval ac_cr
=\$
\'\\r
\'
18606 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18607 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18610 ac_cs_awk_cr
=$ac_cr
18613 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18618 echo "cat >conf$$subs.awk <<_ACEOF" &&
18619 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18621 } >conf$$subs.sh ||
18622 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18623 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18625 for ac_last_try in false false false false false :; do
18626 . ./conf$$subs.sh ||
18627 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18629 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18630 if test $ac_delim_n = $ac_delim_num; then
18632 elif $ac_last_try; then
18633 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18635 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18638 rm -f conf$$subs.sh
18640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18641 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18645 s/^/S["/; s
/!.
*/"]=/
18655 s/\(.\{148\}\)..*/\1/
18657 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18662 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18669 s/\(.\{148\}\)..*/\1/
18671 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18675 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18680 ' <conf$$subs.awk | sed '
18685 ' >>$CONFIG_STATUS || ac_write_fail=1
18686 rm -f conf$$subs.awk
18687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18689 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18690 for (key in S) S_is_set[key] = 1
18696 nfields = split(line, field, "@
")
18698 len = length(field[1])
18699 for (i = 2; i < nfields; i++) {
18701 keylen = length(key)
18702 if (S_is_set[key]) {
18704 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18705 len += length(value) + length(field[++i])
18716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18717 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18718 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18721 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18722 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18725 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18726 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18727 # trailing colons and then remove the whole line if VPATH becomes empty
18728 # (actually we leave an empty line to preserve line numbers).
18729 if test "x
$srcdir" = x.; then
18730 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18749 fi # test -n "$CONFIG_FILES"
18751 # Set up the scripts for CONFIG_HEADERS section.
18752 # No need to generate them if there are no CONFIG_HEADERS.
18753 # This happens for instance with `./config.status Makefile'.
18754 if test -n "$CONFIG_HEADERS"; then
18755 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18759 # Transform confdefs.h into an awk script `defines.awk', embedded as
18760 # here-document in config.status, that substitutes the proper values into
18761 # config.h.in to produce config.h.
18763 # Create a delimiter string that does not exist in confdefs.h, to ease
18764 # handling of long lines.
18766 for ac_last_try in false false :; do
18767 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18768 if test -z "$ac_tt"; then
18770 elif $ac_last_try; then
18771 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18773 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18777 # For the awk script, D is an array of macro values keyed by name,
18778 # likewise P contains macro parameters if any. Preserve backslash
18779 # newline sequences.
18781 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18783 s/.\{148\}/&'"$ac_delim"'/g
18786 s/^[ ]*#[ ]*define[ ][ ]*/ /
18793 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18795 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18799 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18800 D["\
1"]=" \
3\\\\\\n
"\\/p
18802 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18807 s/.\{148\}/&'"$ac_delim"'/g
18812 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18815 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18817 ' <confdefs.h | sed '
18818 s/'"$ac_delim"'/"\\\
18819 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18822 for (key in D) D_is_set[key] = 1
18825 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18827 split(line, arg, " ")
18828 if (arg[1] == "#") {
18832 defundef
= substr
(arg
[1], 2)
18835 split(mac1
, mac2
, "(") #)
18837 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18838 if (D_is_set
[macro
]) {
18839 # Preserve the white space surrounding the "#".
18840 print prefix
"define", macro P
[macro
] D
[macro
]
18843 # Replace #undef with comments. This is necessary, for example,
18844 # in the case of _POSIX_SOURCE, which is predefined and required
18845 # on some systems where configure will not decide to define it.
18846 if (defundef
== "undef") {
18847 print
"/*", prefix defundef
, macro
, "*/"
18855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18856 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18857 fi # test -n "$CONFIG_HEADERS"
18860 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18865 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18867 case $ac_mode$ac_tag in
18869 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18870 :[FH
]-) ac_tag
=-:-;;
18871 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18888 -) ac_f
="$ac_tmp/stdin";;
18889 *) # Look for the file first in the build tree, then in the source tree
18890 # (if the path is not absolute). The absolute path cannot be DOS-style,
18891 # because $ac_f cannot contain `:'.
18895 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18897 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18899 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18900 as_fn_append ac_file_inputs
" '$ac_f'"
18903 # Let's still pretend it is `configure' which instantiates (i.e., don't
18904 # use $as_me), people would be surprised to read:
18905 # /* config.h. Generated by config.status. */
18906 configure_input
='Generated from '`
18907 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18909 if test x
"$ac_file" != x-
; then
18910 configure_input
="$ac_file. $configure_input"
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18912 $as_echo "$as_me: creating $ac_file" >&6;}
18914 # Neutralize special characters interpreted by sed in replacement strings.
18915 case $configure_input in #(
18916 *\
&* |
*\|
* |
*\\* )
18917 ac_sed_conf_input
=`$as_echo "$configure_input" |
18918 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18919 *) ac_sed_conf_input
=$configure_input;;
18923 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18924 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18929 ac_dir
=`$as_dirname -- "$ac_file" ||
18930 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18931 X"$ac_file" : 'X\(//\)[^/]' \| \
18932 X"$ac_file" : 'X\(//\)$' \| \
18933 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18934 $as_echo X"$ac_file" |
18935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18939 /^X\(\/\/\)[^/].*/{
18952 as_dir
="$ac_dir"; as_fn_mkdir_p
18956 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18958 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18959 # A ".." for each directory in $ac_dir_suffix.
18960 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18961 case $ac_top_builddir_sub in
18962 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18963 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18966 ac_abs_top_builddir
=$ac_pwd
18967 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18968 # for backward compatibility:
18969 ac_top_builddir
=$ac_top_build_prefix
18972 .
) # We are building in place.
18974 ac_top_srcdir
=$ac_top_builddir_sub
18975 ac_abs_top_srcdir
=$ac_pwd ;;
18976 [\\/]* | ?
:[\\/]* ) # Absolute name.
18977 ac_srcdir
=$srcdir$ac_dir_suffix;
18978 ac_top_srcdir
=$srcdir
18979 ac_abs_top_srcdir
=$srcdir ;;
18980 *) # Relative name.
18981 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18982 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18983 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18985 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18997 # If the template does not know about datarootdir, expand it.
18998 # FIXME: This hack should be removed a few years after 2.60.
18999 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19010 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19011 *datarootdir
*) ac_datarootdir_seen
=yes;;
19012 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19014 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19017 ac_datarootdir_hack='
19018 s&@datadir@&$datadir&g
19019 s&@docdir@&$docdir&g
19020 s&@infodir@&$infodir&g
19021 s&@localedir@&$localedir&g
19022 s&@mandir@&$mandir&g
19023 s&\\\${datarootdir}&$datarootdir&g' ;;
19027 # Neutralize VPATH when `$srcdir' = `.'.
19028 # Shell code in configure.ac might set extrasub.
19029 # FIXME: do we really want to maintain this feature?
19030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19031 ac_sed_extra="$ac_vpsub
19034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19036 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19037 s|@configure_input@|
$ac_sed_conf_input|
;t t
19038 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19039 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19040 s
&@srcdir@
&$ac_srcdir&;t t
19041 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19042 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19043 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19044 s
&@builddir@
&$ac_builddir&;t t
19045 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19046 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19047 $ac_datarootdir_hack
19049 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19050 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19052 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19053 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19054 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19055 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19057 which seems to be undefined. Please make sure it is defined" >&5
19058 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19059 which seems to be undefined. Please make sure it is defined" >&2;}
19061 rm -f "$ac_tmp/stdin"
19063 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19064 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19066 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19072 if test x"$ac_file" != x-; then
19074 $as_echo "/* $configure_input */" \
19075 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19076 } >"$ac_tmp/config.h" \
19077 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19078 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19080 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19083 mv "$ac_tmp/config.h" "$ac_file" \
19084 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19087 $as_echo "/* $configure_input */" \
19088 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19089 || as_fn_error $? "could not create -" "$LINENO" 5
19097 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19100 # Prefer the file from the source tree if names are identical.
19101 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19102 ac_source=$srcdir/$ac_source
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19106 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19108 if test ! -r "$ac_source"; then
19109 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19113 # Try a relative symlink, then a hard link, then a copy.
19115 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19116 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19118 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19119 ln "$ac_source" "$ac_file" 2>/dev/null ||
19120 cp -p "$ac_source" "$ac_file" ||
19121 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19124 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19125 $as_echo "$as_me: executing $ac_file commands" >&6;}
19130 case $ac_file$ac_mode in
19131 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19132 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19133 "Makefile":C) wine_fn_output_makefile Makefile ;;
19134 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19142 ac_clean_files=$ac_clean_files_save
19144 test $ac_write_fail = 0 ||
19145 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19148 # configure is writing to config.log, and then calls config.status.
19149 # config.status does its own redirection, appending to config.log.
19150 # Unfortunately, on DOS this fails, as config.log is still kept open
19151 # by configure, so config.status won't be able to
write to it
; its
19152 # output is simply discarded. So we exec the FD to /dev/null,
19153 # effectively closing config.log, so it can be properly (re)opened and
19154 # appended to by config.status. When coming back to configure, we
19155 # need to make the FD available again.
19156 if test "$no_create" != yes; then
19158 ac_config_status_args
=
19159 test "$silent" = yes &&
19160 ac_config_status_args
="$ac_config_status_args --quiet"
19162 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19164 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19165 # would make configure fail if this is the last instruction.
19166 $ac_cs_success || as_fn_exit
1
19168 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19170 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19174 if test "$no_create" = "yes"
19180 if test "x$wine_notices != "x
; then
19183 for msg
in $wine_notices; do
19185 if ${msg:+false} :; then :
19188 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19189 $as_echo "$as_me: $msg" >&6;}
19194 for msg
in $wine_warnings; do
19196 if ${msg:+false} :; then :
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19201 $as_echo "$as_me: WARNING: $msg" >&2;}
19207 $as_me: Finished. Do '${ac_make}' to compile Wine.