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
1198 enable_photometadatahandler
1280 enable_windowscodecs
1281 enable_windowscodecsext
1283 enable_winecoreaudio_drv
1285 enable_winegstreamer
1286 enable_winejoystick_drv
1292 enable_wineqtdecoder
1329 enable_documentation
1337 enable_aspnet_regiis
1370 enable_presentationfontcache
1383 enable_servicemodelreg
1404 enable_winemenubuilder
1406 enable_winemsibuilder
1420 ac_precious_vars
='build_alias
1469 # Initialize some variables set by options.
1471 ac_init_version
=false
1472 ac_unrecognized_opts
=
1473 ac_unrecognized_sep
=
1474 # The variables have the same names as the options, with
1475 # dashes changed to underlines.
1476 cache_file
=/dev
/null
1483 program_transform_name
=s
,x
,x
,
1491 # Installation directory options.
1492 # These are left unexpanded so users can "make install exec_prefix=/foo"
1493 # and all the variables that are supposed to be based on exec_prefix
1494 # by default will actually change.
1495 # Use braces instead of parens because sh, perl, etc. also accept them.
1496 # (The list follows the same order as the GNU Coding Standards.)
1497 bindir
='${exec_prefix}/bin'
1498 sbindir
='${exec_prefix}/sbin'
1499 libexecdir
='${exec_prefix}/libexec'
1500 datarootdir
='${prefix}/share'
1501 datadir
='${datarootdir}'
1502 sysconfdir
='${prefix}/etc'
1503 sharedstatedir
='${prefix}/com'
1504 localstatedir
='${prefix}/var'
1505 includedir
='${prefix}/include'
1506 oldincludedir
='/usr/include'
1507 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1508 infodir
='${datarootdir}/info'
1513 libdir
='${exec_prefix}/lib'
1514 localedir
='${datarootdir}/locale'
1515 mandir
='${datarootdir}/man'
1521 # If the previous option needs an argument, assign it.
1522 if test -n "$ac_prev"; then
1523 eval $ac_prev=\
$ac_option
1529 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1534 # Accept the important Cygnus configure options, so we can diagnose typos.
1536 case $ac_dashdash$ac_option in
1540 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1542 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1543 bindir
=$ac_optarg ;;
1545 -build |
--build |
--buil |
--bui |
--bu)
1546 ac_prev
=build_alias
;;
1547 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1548 build_alias
=$ac_optarg ;;
1550 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1551 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1552 ac_prev
=cache_file
;;
1553 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1554 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1555 cache_file
=$ac_optarg ;;
1557 --config-cache |
-C)
1558 cache_file
=config.cache
;;
1560 -datadir |
--datadir |
--datadi |
--datad)
1562 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1563 datadir
=$ac_optarg ;;
1565 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1566 |
--dataroo |
--dataro |
--datar)
1567 ac_prev
=datarootdir
;;
1568 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1569 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1570 datarootdir
=$ac_optarg ;;
1572 -disable-* |
--disable-*)
1573 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1574 # Reject names that are not valid shell variable names.
1575 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1576 as_fn_error $?
"invalid feature name: $ac_useropt"
1577 ac_useropt_orig
=$ac_useropt
1578 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1579 case $ac_user_opts in
1581 "enable_
$ac_useropt"
1583 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1584 ac_unrecognized_sep
=', ';;
1586 eval enable_
$ac_useropt=no
;;
1588 -docdir |
--docdir |
--docdi |
--doc |
--do)
1590 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1591 docdir
=$ac_optarg ;;
1593 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1595 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1596 dvidir
=$ac_optarg ;;
1598 -enable-* |
--enable-*)
1599 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1600 # Reject names that are not valid shell variable names.
1601 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1602 as_fn_error $?
"invalid feature name: $ac_useropt"
1603 ac_useropt_orig
=$ac_useropt
1604 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1605 case $ac_user_opts in
1607 "enable_
$ac_useropt"
1609 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1610 ac_unrecognized_sep
=', ';;
1612 eval enable_
$ac_useropt=\
$ac_optarg ;;
1614 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1615 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1616 |
--exec |
--exe |
--ex)
1617 ac_prev
=exec_prefix
;;
1618 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1619 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1620 |
--exec=* |
--exe=* |
--ex=*)
1621 exec_prefix
=$ac_optarg ;;
1623 -gas |
--gas |
--ga |
--g)
1624 # Obsolete; use --with-gas.
1627 -help |
--help |
--hel |
--he |
-h)
1628 ac_init_help
=long
;;
1629 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1630 ac_init_help
=recursive
;;
1631 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1632 ac_init_help
=short
;;
1634 -host |
--host |
--hos |
--ho)
1635 ac_prev
=host_alias
;;
1636 -host=* |
--host=* |
--hos=* |
--ho=*)
1637 host_alias
=$ac_optarg ;;
1639 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1641 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1643 htmldir
=$ac_optarg ;;
1645 -includedir |
--includedir |
--includedi |
--included |
--include \
1646 |
--includ |
--inclu |
--incl |
--inc)
1647 ac_prev
=includedir
;;
1648 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1649 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1650 includedir
=$ac_optarg ;;
1652 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1654 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1655 infodir
=$ac_optarg ;;
1657 -libdir |
--libdir |
--libdi |
--libd)
1659 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1660 libdir
=$ac_optarg ;;
1662 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1663 |
--libexe |
--libex |
--libe)
1664 ac_prev
=libexecdir
;;
1665 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1666 |
--libexe=* |
--libex=* |
--libe=*)
1667 libexecdir
=$ac_optarg ;;
1669 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1670 ac_prev
=localedir
;;
1671 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1672 localedir
=$ac_optarg ;;
1674 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1675 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1676 ac_prev
=localstatedir
;;
1677 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1678 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1679 localstatedir
=$ac_optarg ;;
1681 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1683 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1684 mandir
=$ac_optarg ;;
1686 -nfp |
--nfp |
--nf)
1687 # Obsolete; use --without-fp.
1690 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1691 |
--no-cr |
--no-c |
-n)
1694 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1695 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1698 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1699 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1700 |
--oldin |
--oldi |
--old |
--ol |
--o)
1701 ac_prev
=oldincludedir
;;
1702 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1703 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1704 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1705 oldincludedir
=$ac_optarg ;;
1707 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1709 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1710 prefix
=$ac_optarg ;;
1712 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1713 |
--program-pre |
--program-pr |
--program-p)
1714 ac_prev
=program_prefix
;;
1715 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1716 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1717 program_prefix
=$ac_optarg ;;
1719 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1720 |
--program-suf |
--program-su |
--program-s)
1721 ac_prev
=program_suffix
;;
1722 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1723 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1724 program_suffix
=$ac_optarg ;;
1726 -program-transform-name |
--program-transform-name \
1727 |
--program-transform-nam |
--program-transform-na \
1728 |
--program-transform-n |
--program-transform- \
1729 |
--program-transform |
--program-transfor \
1730 |
--program-transfo |
--program-transf \
1731 |
--program-trans |
--program-tran \
1732 |
--progr-tra |
--program-tr |
--program-t)
1733 ac_prev
=program_transform_name
;;
1734 -program-transform-name=* |
--program-transform-name=* \
1735 |
--program-transform-nam=* |
--program-transform-na=* \
1736 |
--program-transform-n=* |
--program-transform-=* \
1737 |
--program-transform=* |
--program-transfor=* \
1738 |
--program-transfo=* |
--program-transf=* \
1739 |
--program-trans=* |
--program-tran=* \
1740 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1741 program_transform_name
=$ac_optarg ;;
1743 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1745 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1746 pdfdir
=$ac_optarg ;;
1748 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1750 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1753 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1754 |
-silent |
--silent |
--silen |
--sile |
--sil)
1757 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1759 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1761 sbindir
=$ac_optarg ;;
1763 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1764 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1765 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1767 ac_prev
=sharedstatedir
;;
1768 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1769 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1770 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1772 sharedstatedir
=$ac_optarg ;;
1774 -site |
--site |
--sit)
1776 -site=* |
--site=* |
--sit=*)
1779 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1781 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1782 srcdir
=$ac_optarg ;;
1784 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1785 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1786 ac_prev
=sysconfdir
;;
1787 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1788 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1789 sysconfdir
=$ac_optarg ;;
1791 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1792 ac_prev
=target_alias
;;
1793 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1794 target_alias
=$ac_optarg ;;
1796 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1799 -version |
--version |
--versio |
--versi |
--vers |
-V)
1800 ac_init_version
=: ;;
1803 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1804 # Reject names that are not valid shell variable names.
1805 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1806 as_fn_error $?
"invalid package name: $ac_useropt"
1807 ac_useropt_orig
=$ac_useropt
1808 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1809 case $ac_user_opts in
1813 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1814 ac_unrecognized_sep
=', ';;
1816 eval with_
$ac_useropt=\
$ac_optarg ;;
1818 -without-* |
--without-*)
1819 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1820 # Reject names that are not valid shell variable names.
1821 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1822 as_fn_error $?
"invalid package name: $ac_useropt"
1823 ac_useropt_orig
=$ac_useropt
1824 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1825 case $ac_user_opts in
1829 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1830 ac_unrecognized_sep
=', ';;
1832 eval with_
$ac_useropt=no
;;
1835 # Obsolete; use --with-x.
1838 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1839 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1840 ac_prev
=x_includes
;;
1841 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1842 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1843 x_includes
=$ac_optarg ;;
1845 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1846 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1847 ac_prev
=x_libraries
;;
1848 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1849 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1850 x_libraries
=$ac_optarg ;;
1852 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1853 Try \`$0 --help' for more information"
1857 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1858 # Reject names that are not valid shell variable names.
1859 case $ac_envvar in #(
1860 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1861 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1863 eval $ac_envvar=\
$ac_optarg
1864 export $ac_envvar ;;
1867 # FIXME: should be removed in autoconf 3.0.
1868 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1869 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1870 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1871 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1877 if test -n "$ac_prev"; then
1878 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1879 as_fn_error $?
"missing argument to $ac_option"
1882 if test -n "$ac_unrecognized_opts"; then
1883 case $enable_option_checking in
1885 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1886 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1890 # Check all directory arguments for consistency.
1891 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1892 datadir sysconfdir sharedstatedir localstatedir includedir \
1893 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1894 libdir localedir mandir
1896 eval ac_val
=\$
$ac_var
1897 # Remove trailing slashes.
1900 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1901 eval $ac_var=\
$ac_val;;
1903 # Be sure to have absolute directory names.
1905 [\\/$
]* | ?
:[\\/]* ) continue;;
1906 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1908 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1911 # There might be people who depend on the old broken behavior: `$host'
1912 # used to hold the argument of --host etc.
1913 # FIXME: To remove some day.
1916 target
=$target_alias
1918 # FIXME: To remove some day.
1919 if test "x$host_alias" != x
; then
1920 if test "x$build_alias" = x
; then
1921 cross_compiling
=maybe
1922 elif test "x$build_alias" != "x$host_alias"; then
1928 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1930 test "$silent" = yes && exec 6>/dev
/null
1933 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1934 ac_ls_di
=`ls -di .` &&
1935 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1936 as_fn_error $?
"working directory cannot be determined"
1937 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1938 as_fn_error $?
"pwd does not report name of working directory"
1941 # Find the source files, if location was not specified.
1942 if test -z "$srcdir"; then
1943 ac_srcdir_defaulted
=yes
1944 # Try the directory containing this script, then the parent directory.
1945 ac_confdir
=`$as_dirname -- "$as_myself" ||
1946 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1947 X"$as_myself" : 'X\(//\)[^/]' \| \
1948 X"$as_myself" : 'X\(//\)$' \| \
1949 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1950 $as_echo X"$as_myself" |
1951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1969 if test ! -r "$srcdir/$ac_unique_file"; then
1973 ac_srcdir_defaulted
=no
1975 if test ! -r "$srcdir/$ac_unique_file"; then
1976 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1977 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1979 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1981 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1983 # When building in place, set srcdir=.
1984 if test "$ac_abs_confdir" = "$ac_pwd"; then
1987 # Remove unnecessary trailing slashes from srcdir.
1988 # Double slashes in file names in object file debugging info
1989 # mess up M-x gdb in Emacs.
1991 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1993 for ac_var
in $ac_precious_vars; do
1994 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1995 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1996 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1997 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2001 # Report the --help message.
2003 if test "$ac_init_help" = "long"; then
2004 # Omit some internal or obsolete options to make the list less imposing.
2005 # This message is too long to be a string in the A/UX 3.1 sh.
2007 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
2009 Usage: $0 [OPTION]... [VAR=VALUE]...
2011 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2012 VAR=VALUE. See below for descriptions of some of the useful variables.
2014 Defaults for the options are specified in brackets.
2017 -h, --help display this help and exit
2018 --help=short display options specific to this package
2019 --help=recursive display the short help of all the included packages
2020 -V, --version display version information and exit
2021 -q, --quiet, --silent do not print \`checking ...' messages
2022 --cache-file=FILE cache test results in FILE [disabled]
2023 -C, --config-cache alias for \`--cache-file=config.cache'
2024 -n, --no-create do not create output files
2025 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2027 Installation directories:
2028 --prefix=PREFIX install architecture-independent files in PREFIX
2029 [$ac_default_prefix]
2030 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2033 By default, \`make install' will install all the files in
2034 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2035 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2036 for instance \`--prefix=\$HOME'.
2038 For better control, use the options below.
2040 Fine tuning of the installation directories:
2041 --bindir=DIR user executables [EPREFIX/bin]
2042 --sbindir=DIR system admin executables [EPREFIX/sbin]
2043 --libexecdir=DIR program executables [EPREFIX/libexec]
2044 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2045 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2046 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2047 --libdir=DIR object code libraries [EPREFIX/lib]
2048 --includedir=DIR C header files [PREFIX/include]
2049 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2050 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2051 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2052 --infodir=DIR info documentation [DATAROOTDIR/info]
2053 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2054 --mandir=DIR man documentation [DATAROOTDIR/man]
2055 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2056 --htmldir=DIR html documentation [DOCDIR]
2057 --dvidir=DIR dvi documentation [DOCDIR]
2058 --pdfdir=DIR pdf documentation [DOCDIR]
2059 --psdir=DIR ps documentation [DOCDIR]
2065 --x-includes=DIR X include files are
in DIR
2066 --x-libraries=DIR X library files are
in DIR
2069 --build=BUILD configure
for building on BUILD
[guessed
]
2070 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2074 if test -n "$ac_init_help"; then
2075 case $ac_init_help in
2076 short | recursive
) echo "Configuration of Wine 1.7.32:";;
2081 --disable-option-checking ignore unrecognized
--enable/--with options
2082 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2083 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2084 --disable-win16 do not include Win16 support
2085 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2087 --disable-tests do not build the regression tests
2088 --enable-maintainer-mode
2089 enable maintainer-specific build rules
2090 --disable-largefile omit support for large files
2093 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2094 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2095 --without-alsa do not use the Alsa sound support
2096 --without-capi do not use CAPI (ISDN support)
2097 --without-cms do not use CMS (color management support)
2098 --without-coreaudio do not use the CoreAudio sound support
2099 --without-cups do not use CUPS
2100 --without-curses do not use (n)curses
2101 --without-dbus do not use DBus (dynamic device support)
2102 --without-fontconfig do not use fontconfig
2103 --without-freetype do not use the FreeType library
2104 --without-gettext do not use gettext
2105 --with-gettextpo use the GetTextPO library to rebuild po files
2106 --without-gphoto do not use gphoto (Digital Camera support)
2107 --without-glu do not use the GLU library
2108 --without-gnutls do not use GnuTLS (schannel support)
2109 --without-gsm do not use libgsm (GSM 06.10 codec support)
2110 --without-gstreamer do not use GStreamer (codecs support)
2111 --without-hal do not use HAL (dynamic device support)
2112 --without-jpeg do not use JPEG
2113 --without-ldap do not use LDAP
2114 --without-mpg123 do not use the mpg123 library
2115 --without-netapi do not use the Samba NetAPI library
2116 --without-openal do not use OpenAL
2117 --without-opencl do not use OpenCL
2118 --without-opengl do not use OpenGL
2119 --without-osmesa do not use the OSMesa library
2120 --without-oss do not use the OSS sound support
2121 --without-pcap do not use the Packet Capture library
2122 --without-png do not use PNG
2123 --without-pthread do not use the pthread library
2124 --without-sane do not use SANE (scanner support)
2125 --without-tiff do not use TIFF
2126 --without-v4l do not use v4l1 (v4l support)
2127 --without-xcomposite do not use the Xcomposite extension
2128 --without-xcursor do not use the Xcursor extension
2129 --without-xinerama do not use Xinerama (multi-monitor support)
2130 --without-xinput do not use the Xinput extension
2131 --without-xinput2 do not use the Xinput 2 extension
2132 --without-xml do not use XML
2133 --without-xrandr do not use Xrandr (resolution changes)
2134 --without-xrender do not use the Xrender extension
2135 --without-xshape do not use the Xshape extension
2136 --without-xshm do not use XShm (shared memory extension)
2137 --without-xslt do not use XSLT
2138 --without-xxf86vm do not use XFree video mode extension
2139 --without-zlib do not use Zlib (data compression)
2140 --with-wine-tools=DIR use Wine tools from directory DIR
2141 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2142 --with-x use the X Window System
2144 Some influential environment variables:
2145 CC C compiler command
2146 CFLAGS C compiler flags
2147 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2148 nonstandard directory <lib dir>
2149 LIBS libraries to pass to the linker, e.g. -l<library>
2150 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2151 you have headers in a nonstandard directory <include dir>
2152 CXX C++ compiler command
2153 CXXFLAGS C++ compiler flags
2155 XMKMF Path to xmkmf, Makefile generator for X Window System
2156 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2157 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2158 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2159 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2160 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2161 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2162 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2163 HAL_LIBS Linker flags for hal, overriding pkg-config
2165 C compiler flags for gnutls, overriding pkg-config
2166 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2167 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2168 SANE_LIBS Linker flags for libsane, overriding pkg-config
2170 C compiler flags for libgphoto2, overriding pkg-config
2172 Linker flags for libgphoto2, overriding pkg-config
2174 C compiler flags for libgphoto2_port, overriding pkg-config
2176 Linker flags for libgphoto2_port, overriding pkg-config
2178 C compiler flags for lcms2, overriding pkg-config
2179 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2181 C compiler flags for freetype2, overriding pkg-config
2183 Linker flags for freetype2, overriding pkg-config
2185 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2187 Linker flags for gstreamer-app-0.10, overriding pkg-config
2189 C compiler flags for capi20, overriding pkg-config
2190 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2192 C compiler flags for fontconfig, overriding pkg-config
2194 Linker flags for fontconfig, overriding pkg-config
2195 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2196 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2197 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2198 PNG_LIBS Linker flags for libpng, overriding pkg-config
2199 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2200 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2202 C compiler flags for libmpg123, overriding pkg-config
2203 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2205 Use these variables to override the choices made by `configure' or to
help
2206 it to
find libraries and programs with nonstandard names
/locations.
2208 Report bugs to
<wine-devel@winehq.org
>.
2209 Wine home page
: <http
://www.winehq.org
>.
2214 if test "$ac_init_help" = "recursive"; then
2215 # If there are subdirs, report their specific --help.
2216 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2217 test -d "$ac_dir" ||
2218 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2223 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2225 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2226 # A ".." for each directory in $ac_dir_suffix.
2227 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2228 case $ac_top_builddir_sub in
2229 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2230 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2233 ac_abs_top_builddir
=$ac_pwd
2234 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2235 # for backward compatibility:
2236 ac_top_builddir
=$ac_top_build_prefix
2239 .
) # We are building in place.
2241 ac_top_srcdir
=$ac_top_builddir_sub
2242 ac_abs_top_srcdir
=$ac_pwd ;;
2243 [\\/]* | ?
:[\\/]* ) # Absolute name.
2244 ac_srcdir
=$srcdir$ac_dir_suffix;
2245 ac_top_srcdir
=$srcdir
2246 ac_abs_top_srcdir
=$srcdir ;;
2248 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2249 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2250 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2252 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2254 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2255 # Check for guested configure.
2256 if test -f "$ac_srcdir/configure.gnu"; then
2258 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2259 elif test -f "$ac_srcdir/configure"; then
2261 $SHELL "$ac_srcdir/configure" --help=recursive
2263 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2265 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2269 test -n "$ac_init_help" && exit $ac_status
2270 if $ac_init_version; then
2272 Wine configure
1.7.32
2273 generated by GNU Autoconf
2.69
2275 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2276 This configure
script is free software
; the Free Software Foundation
2277 gives unlimited permission to copy
, distribute and modify it.
2282 ## ------------------------ ##
2283 ## Autoconf initialization. ##
2284 ## ------------------------ ##
2286 # ac_fn_c_try_compile LINENO
2287 # --------------------------
2288 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2289 ac_fn_c_try_compile
()
2291 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2292 rm -f conftest.
$ac_objext
2293 if { { ac_try
="$ac_compile"
2295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2296 *) ac_try_echo=$ac_try;;
2298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2299 $as_echo "$ac_try_echo"; } >&5
2300 (eval "$ac_compile") 2>conftest.err
2302 if test -s conftest.err; then
2303 grep -v '^ *+' conftest.err >conftest.er1
2304 cat conftest.er1 >&5
2305 mv -f conftest.er1 conftest.err
2307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2308 test $ac_status = 0; } && {
2309 test -z "$ac_c_werror_flag" ||
2310 test ! -s conftest.err
2311 } && test -s conftest.$ac_objext; then :
2314 $as_echo "$as_me: failed program was:" >&5
2315 sed 's/^/| /' conftest.$ac_ext >&5
2319 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2320 as_fn_set_status $ac_retval
2322 } # ac_fn_c_try_compile
2324 # ac_fn_cxx_try_compile LINENO
2325 # ----------------------------
2326 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2327 ac_fn_cxx_try_compile ()
2329 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2330 rm -f conftest.$ac_objext
2331 if { { ac_try="$ac_compile"
2333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2334 *) ac_try_echo
=$ac_try;;
2336 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2337 $as_echo "$ac_try_echo"; } >&5
2338 (eval "$ac_compile") 2>conftest.err
2340 if test -s conftest.err
; then
2341 grep -v '^ *+' conftest.err
>conftest.er1
2342 cat conftest.er1
>&5
2343 mv -f conftest.er1 conftest.err
2345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2346 test $ac_status = 0; } && {
2347 test -z "$ac_cxx_werror_flag" ||
2348 test ! -s conftest.err
2349 } && test -s conftest.
$ac_objext; then :
2352 $as_echo "$as_me: failed program was:" >&5
2353 sed 's/^/| /' conftest.
$ac_ext >&5
2357 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2358 as_fn_set_status
$ac_retval
2360 } # ac_fn_cxx_try_compile
2362 # ac_fn_c_try_link LINENO
2363 # -----------------------
2364 # Try to link conftest.$ac_ext, and return whether this succeeded.
2367 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2368 rm -f conftest.
$ac_objext conftest
$ac_exeext
2369 if { { ac_try
="$ac_link"
2371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2372 *) ac_try_echo=$ac_try;;
2374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2375 $as_echo "$ac_try_echo"; } >&5
2376 (eval "$ac_link") 2>conftest.err
2378 if test -s conftest.err; then
2379 grep -v '^ *+' conftest.err >conftest.er1
2380 cat conftest.er1 >&5
2381 mv -f conftest.er1 conftest.err
2383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2384 test $ac_status = 0; } && {
2385 test -z "$ac_c_werror_flag" ||
2386 test ! -s conftest.err
2387 } && test -s conftest$ac_exeext && {
2388 test "$cross_compiling" = yes ||
2389 test -x conftest$ac_exeext
2393 $as_echo "$as_me: failed program was:" >&5
2394 sed 's/^/| /' conftest.$ac_ext >&5
2398 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2399 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2400 # interfere with the next link command; also delete a directory that is
2401 # left behind by Apple's compiler. We do this before executing the actions.
2402 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2403 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2404 as_fn_set_status $ac_retval
2406 } # ac_fn_c_try_link
2408 # ac_fn_c_try_cpp LINENO
2409 # ----------------------
2410 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2413 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2414 if { { ac_try="$ac_cpp conftest.$ac_ext"
2416 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2417 *) ac_try_echo
=$ac_try;;
2419 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2420 $as_echo "$ac_try_echo"; } >&5
2421 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2423 if test -s conftest.err
; then
2424 grep -v '^ *+' conftest.err
>conftest.er1
2425 cat conftest.er1
>&5
2426 mv -f conftest.er1 conftest.err
2428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2429 test $ac_status = 0; } > conftest.i
&& {
2430 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2431 test ! -s conftest.err
2435 $as_echo "$as_me: failed program was:" >&5
2436 sed 's/^/| /' conftest.
$ac_ext >&5
2440 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2441 as_fn_set_status
$ac_retval
2445 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2446 # -------------------------------------------------------
2447 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2448 # the include files in INCLUDES and setting the cache variable VAR
2450 ac_fn_c_check_header_mongrel
()
2452 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2453 if eval \
${$3+:} false
; then :
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2455 $as_echo_n "checking for $2... " >&6; }
2456 if eval \
${$3+:} false
; then :
2457 $as_echo_n "(cached) " >&6
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2461 $as_echo "$ac_res" >&6; }
2463 # Is the header compilable?
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2465 $as_echo_n "checking $2 usability... " >&6; }
2466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2467 /* end confdefs.h. */
2471 if ac_fn_c_try_compile
"$LINENO"; then :
2472 ac_header_compiler
=yes
2474 ac_header_compiler
=no
2476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2478 $as_echo "$ac_header_compiler" >&6; }
2480 # Is the header present?
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2482 $as_echo_n "checking $2 presence... " >&6; }
2483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2484 /* end confdefs.h. */
2487 if ac_fn_c_try_cpp
"$LINENO"; then :
2488 ac_header_preproc
=yes
2490 ac_header_preproc
=no
2492 rm -f conftest.err conftest.i conftest.
$ac_ext
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2494 $as_echo "$ac_header_preproc" >&6; }
2496 # So? What about this header?
2497 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2500 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2502 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2506 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2508 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2510 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2512 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2514 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2515 ( $as_echo "## ------------------------------------ ##
2516 ## Report this to wine-devel@winehq.org ##
2517 ## ------------------------------------ ##"
2518 ) |
sed "s/^/$as_me: WARNING: /" >&2
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2522 $as_echo_n "checking for $2... " >&6; }
2523 if eval \
${$3+:} false
; then :
2524 $as_echo_n "(cached) " >&6
2526 eval "$3=\$ac_header_compiler"
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2530 $as_echo "$ac_res" >&6; }
2532 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2534 } # ac_fn_c_check_header_mongrel
2536 # ac_fn_c_try_run LINENO
2537 # ----------------------
2538 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2539 # that executables *can* be run.
2542 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2543 if { { ac_try
="$ac_link"
2545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2546 *) ac_try_echo=$ac_try;;
2548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2549 $as_echo "$ac_try_echo"; } >&5
2550 (eval "$ac_link") 2>&5
2552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2553 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2554 { { case "(($ac_try" in
2555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2556 *) ac_try_echo
=$ac_try;;
2558 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2559 $as_echo "$ac_try_echo"; } >&5
2560 (eval "$ac_try") 2>&5
2562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2563 test $ac_status = 0; }; }; then :
2566 $as_echo "$as_me: program exited with status $ac_status" >&5
2567 $as_echo "$as_me: failed program was:" >&5
2568 sed 's/^/| /' conftest.
$ac_ext >&5
2570 ac_retval
=$ac_status
2572 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2573 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2574 as_fn_set_status
$ac_retval
2578 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2579 # -------------------------------------------------------
2580 # Tests whether HEADER exists and can be compiled using the include files in
2581 # INCLUDES, setting the cache variable VAR accordingly.
2582 ac_fn_c_check_header_compile
()
2584 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2586 $as_echo_n "checking for $2... " >&6; }
2587 if eval \
${$3+:} false
; then :
2588 $as_echo_n "(cached) " >&6
2590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2591 /* end confdefs.h. */
2595 if ac_fn_c_try_compile
"$LINENO"; then :
2600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2604 $as_echo "$ac_res" >&6; }
2605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2607 } # ac_fn_c_check_header_compile
2609 # ac_fn_c_check_func LINENO FUNC VAR
2610 # ----------------------------------
2611 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2612 ac_fn_c_check_func
()
2614 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2616 $as_echo_n "checking for $2... " >&6; }
2617 if eval \
${$3+:} false
; then :
2618 $as_echo_n "(cached) " >&6
2620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2621 /* end confdefs.h. */
2622 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2624 #define $2 innocuous_$2
2626 /* System header to define __stub macros and hopefully few prototypes,
2627 which can conflict with char $2 (); below.
2628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2629 <limits.h> exists even on freestanding compilers. */
2632 # include <limits.h>
2634 # include <assert.h>
2639 /* Override any GCC internal prototype to avoid an error.
2640 Use char because int might match the return type of a GCC
2641 builtin and then its argument prototype would still apply. */
2646 /* The GNU C library defines this for functions which it implements
2647 to always fail with ENOSYS. Some functions are actually named
2648 something starting with __ and the normal name is an alias. */
2649 #if defined __stub_$2 || defined __stub___$2
2661 if ac_fn_c_try_link
"$LINENO"; then :
2666 rm -f core conftest.err conftest.
$ac_objext \
2667 conftest
$ac_exeext conftest.
$ac_ext
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2671 $as_echo "$ac_res" >&6; }
2672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2674 } # ac_fn_c_check_func
2676 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2677 # ----------------------------------------------------
2678 # Tries to find if the field MEMBER exists in type AGGR, after including
2679 # INCLUDES, setting cache variable VAR accordingly.
2680 ac_fn_c_check_member
()
2682 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2684 $as_echo_n "checking for $2.$3... " >&6; }
2685 if eval \
${$4+:} false
; then :
2686 $as_echo_n "(cached) " >&6
2688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2689 /* end confdefs.h. */
2701 if ac_fn_c_try_compile
"$LINENO"; then :
2704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2705 /* end confdefs.h. */
2711 if (sizeof ac_aggr.$3)
2717 if ac_fn_c_try_compile
"$LINENO"; then :
2722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2728 $as_echo "$ac_res" >&6; }
2729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2731 } # ac_fn_c_check_member
2733 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2734 # -------------------------------------------
2735 # Tests whether TYPE exists after having included INCLUDES, setting cache
2736 # variable VAR accordingly.
2737 ac_fn_c_check_type
()
2739 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2741 $as_echo_n "checking for $2... " >&6; }
2742 if eval \
${$3+:} false
; then :
2743 $as_echo_n "(cached) " >&6
2746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2747 /* end confdefs.h. */
2758 if ac_fn_c_try_compile
"$LINENO"; then :
2759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2760 /* end confdefs.h. */
2771 if ac_fn_c_try_compile
"$LINENO"; then :
2776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2782 $as_echo "$ac_res" >&6; }
2783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2785 } # ac_fn_c_check_type
2786 cat >config.log
<<_ACEOF
2787 This file contains any messages produced by compilers while
2788 running configure, to aid debugging if configure makes a mistake.
2790 It was created by Wine $as_me 1.7.32, which was
2791 generated by GNU Autoconf 2.69. Invocation command line was
2803 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2804 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2805 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2806 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2807 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2809 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2810 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2812 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2813 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2814 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2815 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2816 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2817 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2818 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2826 test -z "$as_dir" && as_dir
=.
2827 $as_echo "PATH: $as_dir"
2843 # Keep a trace of the command line.
2844 # Strip out --no-create and --no-recursion so they do not pile up.
2845 # Strip out --silent because we don't want to record it for future runs.
2846 # Also quote any args containing shell meta-characters.
2847 # Make two passes to allow for proper duplicate-argument suppression.
2851 ac_must_keep_next
=false
2857 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2858 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2859 |
-silent |
--silent |
--silen |
--sile |
--sil)
2862 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2865 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2867 as_fn_append ac_configure_args1
" '$ac_arg'"
2868 if test $ac_must_keep_next = true
; then
2869 ac_must_keep_next
=false
# Got value, back to normal.
2872 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2873 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2874 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2875 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2876 case "$ac_configure_args0 " in
2877 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2880 -* ) ac_must_keep_next
=true
;;
2883 as_fn_append ac_configure_args
" '$ac_arg'"
2888 { ac_configure_args0
=; unset ac_configure_args0
;}
2889 { ac_configure_args1
=; unset ac_configure_args1
;}
2891 # When interrupted or exit'd, cleanup temporary files, and complete
2892 # config.log. We remove comments because anyway the quotes in there
2893 # would cause problems or look ugly.
2894 # WARNING: Use '\'' to represent an apostrophe within the trap.
2895 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2896 trap 'exit_status=$?
2897 # Save into config.log some information that might help in debugging.
2901 $as_echo "## ---------------- ##
2902 ## Cache variables. ##
2903 ## ---------------- ##"
2905 # The following way of writing the cache mishandles newlines in values,
2907 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2908 eval ac_val=\$$ac_var
2912 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2913 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2916 _ | IFS | as_nl) ;; #(
2917 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2918 *) { eval $ac_var=; unset $ac_var;} ;;
2923 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2924 *${as_nl}ac_space=\ *)
2926 "s/'\''/'\''\\\\'\'''\''/g;
2927 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2930 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2937 $as_echo "## ----------------- ##
2938 ## Output variables. ##
2939 ## ----------------- ##"
2941 for ac_var in $ac_subst_vars
2943 eval ac_val=\$$ac_var
2945 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2947 $as_echo "$ac_var='\''$ac_val'\''"
2951 if test -n "$ac_subst_files"; then
2952 $as_echo "## ------------------- ##
2953 ## File substitutions. ##
2954 ## ------------------- ##"
2956 for ac_var
in $ac_subst_files
2958 eval ac_val
=\$
$ac_var
2960 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2962 $as_echo "$ac_var='\''$ac_val'\''"
2967 if test -s confdefs.h; then
2968 $as_echo "## ----------- ##
2975 test "$ac_signal" != 0 &&
2976 $as_echo "$as_me: caught signal $ac_signal"
2977 $as_echo "$as_me: exit $exit_status"
2979 rm -f core *.core core.conftest.* &&
2980 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2983 for ac_signal
in 1 2 13 15; do
2984 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2988 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2989 rm -f -r conftest
* confdefs.h
2991 $as_echo "/* confdefs.h */" > confdefs.h
2993 # Predefined preprocessor variables.
2995 cat >>confdefs.h
<<_ACEOF
2996 #define PACKAGE_NAME "$PACKAGE_NAME"
2999 cat >>confdefs.h
<<_ACEOF
3000 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3003 cat >>confdefs.h
<<_ACEOF
3004 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3007 cat >>confdefs.h
<<_ACEOF
3008 #define PACKAGE_STRING "$PACKAGE_STRING"
3011 cat >>confdefs.h
<<_ACEOF
3012 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3015 cat >>confdefs.h
<<_ACEOF
3016 #define PACKAGE_URL "$PACKAGE_URL"
3020 # Let the site file select an alternate cache file if it wants to.
3021 # Prefer an explicitly selected file to automatically selected ones.
3024 if test -n "$CONFIG_SITE"; then
3025 # We do not want a PATH search for config.site.
3026 case $CONFIG_SITE in #((
3027 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3028 */*) ac_site_file1
=$CONFIG_SITE;;
3029 *) ac_site_file1
=.
/$CONFIG_SITE;;
3031 elif test "x$prefix" != xNONE
; then
3032 ac_site_file1
=$prefix/share
/config.site
3033 ac_site_file2
=$prefix/etc
/config.site
3035 ac_site_file1
=$ac_default_prefix/share
/config.site
3036 ac_site_file2
=$ac_default_prefix/etc
/config.site
3038 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3040 test "x$ac_site_file" = xNONE
&& continue
3041 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3043 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3044 sed 's/^/| /' "$ac_site_file" >&5
3046 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3048 as_fn_error $?
"failed to load site script $ac_site_file
3049 See \`config.log' for more details" "$LINENO" 5; }
3053 if test -r "$cache_file"; then
3054 # Some versions of bash will fail to source /dev/null (special files
3055 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3056 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3058 $as_echo "$as_me: loading cache $cache_file" >&6;}
3060 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3061 *) .
"./$cache_file";;
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3066 $as_echo "$as_me: creating cache $cache_file" >&6;}
3070 # Check that the precious variables saved in the cache have kept the same
3072 ac_cache_corrupted
=false
3073 for ac_var
in $ac_precious_vars; do
3074 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3075 eval ac_new_set
=\
$ac_env_${ac_var}_set
3076 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3077 eval ac_new_val
=\
$ac_env_${ac_var}_value
3078 case $ac_old_set,$ac_new_set in
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3081 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3082 ac_cache_corrupted
=: ;;
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3085 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3086 ac_cache_corrupted
=: ;;
3089 if test "x$ac_old_val" != "x$ac_new_val"; then
3090 # differences in whitespace do not lead to failure.
3091 ac_old_val_w
=`echo x $ac_old_val`
3092 ac_new_val_w
=`echo x $ac_new_val`
3093 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3095 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3096 ac_cache_corrupted
=:
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3099 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3100 eval $ac_var=\
$ac_old_val
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3103 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3105 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3108 # Pass precious variables to config.status.
3109 if test "$ac_new_set" = set; then
3111 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3112 *) ac_arg
=$ac_var=$ac_new_val ;;
3114 case " $ac_configure_args " in
3115 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3116 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3120 if $ac_cache_corrupted; then
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3124 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3125 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3127 ## -------------------- ##
3128 ## Main body of script. ##
3129 ## -------------------- ##
3132 ac_cpp
='$CPP $CPPFLAGS'
3133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3139 ac_config_headers
="$ac_config_headers include/config.h"
3142 for ac_dir
in tools
"$srcdir"/tools
; do
3143 if test -f "$ac_dir/install-sh"; then
3145 ac_install_sh
="$ac_aux_dir/install-sh -c"
3147 elif test -f "$ac_dir/install.sh"; then
3149 ac_install_sh
="$ac_aux_dir/install.sh -c"
3151 elif test -f "$ac_dir/shtool"; then
3153 ac_install_sh
="$ac_aux_dir/shtool install -c"
3157 if test -z "$ac_aux_dir"; then
3158 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3161 # These three variables are undocumented and unsupported,
3162 # and are intended to be withdrawn in a future Autoconf release.
3163 # They can cause serious problems if a builder's source tree is in a directory
3164 # whose full name contains unusual characters.
3165 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3166 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3167 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3171 libwine_version
="1.0"
3175 # Check whether --enable-win16 was given.
3176 if test "${enable_win16+set}" = set; then :
3177 enableval
=$enable_win16;
3180 # Check whether --enable-win64 was given.
3181 if test "${enable_win64+set}" = set; then :
3182 enableval
=$enable_win64;
3185 # Check whether --enable-tests was given.
3186 if test "${enable_tests+set}" = set; then :
3187 enableval
=$enable_tests;
3190 # Check whether --enable-maintainer-mode was given.
3191 if test "${enable_maintainer_mode+set}" = set; then :
3192 enableval
=$enable_maintainer_mode;
3197 # Check whether --with-alsa was given.
3198 if test "${with_alsa+set}" = set; then :
3199 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3203 # Check whether --with-capi was given.
3204 if test "${with_capi+set}" = set; then :
3209 # Check whether --with-cms was given.
3210 if test "${with_cms+set}" = set; then :
3215 # Check whether --with-coreaudio was given.
3216 if test "${with_coreaudio+set}" = set; then :
3217 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3221 # Check whether --with-cups was given.
3222 if test "${with_cups+set}" = set; then :
3227 # Check whether --with-curses was given.
3228 if test "${with_curses+set}" = set; then :
3229 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3233 # Check whether --with-dbus was given.
3234 if test "${with_dbus+set}" = set; then :
3239 # Check whether --with-fontconfig was given.
3240 if test "${with_fontconfig+set}" = set; then :
3241 withval
=$with_fontconfig;
3245 # Check whether --with-freetype was given.
3246 if test "${with_freetype+set}" = set; then :
3247 withval
=$with_freetype;
3251 # Check whether --with-gettext was given.
3252 if test "${with_gettext+set}" = set; then :
3253 withval
=$with_gettext;
3257 # Check whether --with-gettextpo was given.
3258 if test "${with_gettextpo+set}" = set; then :
3259 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3263 # Check whether --with-gphoto was given.
3264 if test "${with_gphoto+set}" = set; then :
3265 withval
=$with_gphoto;
3269 # Check whether --with-glu was given.
3270 if test "${with_glu+set}" = set; then :
3275 # Check whether --with-gnutls was given.
3276 if test "${with_gnutls+set}" = set; then :
3277 withval
=$with_gnutls;
3281 # Check whether --with-gsm was given.
3282 if test "${with_gsm+set}" = set; then :
3283 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3287 # Check whether --with-gstreamer was given.
3288 if test "${with_gstreamer+set}" = set; then :
3289 withval
=$with_gstreamer;
3293 # Check whether --with-hal was given.
3294 if test "${with_hal+set}" = set; then :
3299 # Check whether --with-jpeg was given.
3300 if test "${with_jpeg+set}" = set; then :
3305 # Check whether --with-ldap was given.
3306 if test "${with_ldap+set}" = set; then :
3307 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3311 # Check whether --with-mpg123 was given.
3312 if test "${with_mpg123+set}" = set; then :
3313 withval
=$with_mpg123;
3317 # Check whether --with-netapi was given.
3318 if test "${with_netapi+set}" = set; then :
3319 withval
=$with_netapi;
3323 # Check whether --with-openal was given.
3324 if test "${with_openal+set}" = set; then :
3325 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3329 # Check whether --with-opencl was given.
3330 if test "${with_opencl+set}" = set; then :
3331 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3335 # Check whether --with-opengl was given.
3336 if test "${with_opengl+set}" = set; then :
3337 withval
=$with_opengl;
3341 # Check whether --with-osmesa was given.
3342 if test "${with_osmesa+set}" = set; then :
3343 withval
=$with_osmesa;
3347 # Check whether --with-oss was given.
3348 if test "${with_oss+set}" = set; then :
3353 # Check whether --with-pcap was given.
3354 if test "${with_pcap+set}" = set; then :
3355 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3359 # Check whether --with-png was given.
3360 if test "${with_png+set}" = set; then :
3365 # Check whether --with-pthread was given.
3366 if test "${with_pthread+set}" = set; then :
3367 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3371 # Check whether --with-sane was given.
3372 if test "${with_sane+set}" = set; then :
3377 # Check whether --with-tiff was given.
3378 if test "${with_tiff+set}" = set; then :
3383 # Check whether --with-v4l was given.
3384 if test "${with_v4l+set}" = set; then :
3389 # Check whether --with-xcomposite was given.
3390 if test "${with_xcomposite+set}" = set; then :
3391 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3395 # Check whether --with-xcursor was given.
3396 if test "${with_xcursor+set}" = set; then :
3397 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3401 # Check whether --with-xinerama was given.
3402 if test "${with_xinerama+set}" = set; then :
3403 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3407 # Check whether --with-xinput was given.
3408 if test "${with_xinput+set}" = set; then :
3409 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3413 # Check whether --with-xinput2 was given.
3414 if test "${with_xinput2+set}" = set; then :
3415 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3419 # Check whether --with-xml was given.
3420 if test "${with_xml+set}" = set; then :
3425 # Check whether --with-xrandr was given.
3426 if test "${with_xrandr+set}" = set; then :
3427 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3431 # Check whether --with-xrender was given.
3432 if test "${with_xrender+set}" = set; then :
3433 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3437 # Check whether --with-xshape was given.
3438 if test "${with_xshape+set}" = set; then :
3439 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3443 # Check whether --with-xshm was given.
3444 if test "${with_xshm+set}" = set; then :
3445 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3449 # Check whether --with-xslt was given.
3450 if test "${with_xslt+set}" = set; then :
3455 # Check whether --with-xxf86vm was given.
3456 if test "${with_xxf86vm+set}" = set; then :
3457 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
3461 # Check whether --with-zlib was given.
3462 if test "${with_zlib+set}" = set; then :
3463 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3468 # Check whether --with-wine-tools was given.
3469 if test "${with_wine_tools+set}" = set; then :
3470 withval
=$with_wine_tools;
3474 # Check whether --with-wine64 was given.
3475 if test "${with_wine64+set}" = set; then :
3476 withval
=$with_wine64;
3480 # Make sure we can run config.sub.
3481 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3482 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3485 $as_echo_n "checking build system type... " >&6; }
3486 if ${ac_cv_build+:} false
; then :
3487 $as_echo_n "(cached) " >&6
3489 ac_build_alias
=$build_alias
3490 test "x$ac_build_alias" = x
&&
3491 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3492 test "x$ac_build_alias" = x
&&
3493 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3494 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3495 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3499 $as_echo "$ac_cv_build" >&6; }
3500 case $ac_cv_build in
3502 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3505 ac_save_IFS
=$IFS; IFS
='-'
3511 # Remember, the first character of IFS is used to create $*,
3512 # except with old shells:
3515 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3519 $as_echo_n "checking host system type... " >&6; }
3520 if ${ac_cv_host+:} false
; then :
3521 $as_echo_n "(cached) " >&6
3523 if test "x$host_alias" = x
; then
3524 ac_cv_host
=$ac_cv_build
3526 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3527 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3532 $as_echo "$ac_cv_host" >&6; }
3535 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3538 ac_save_IFS
=$IFS; IFS
='-'
3544 # Remember, the first character of IFS is used to create $*,
3545 # except with old shells:
3548 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3554 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3555 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3556 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3562 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3564 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3565 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3566 $as_echo_n "(cached) " >&6
3568 cat >conftest.
make <<\_ACEOF
3571 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3573 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3574 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3576 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3578 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3582 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3584 $as_echo "yes" >&6; }
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588 $as_echo "no" >&6; }
3589 SET_MAKE
="MAKE=${MAKE-make}"
3593 ac_cpp
='$CPP $CPPFLAGS'
3594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3597 if test -n "$ac_tool_prefix"; then
3598 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3599 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3601 $as_echo_n "checking for $ac_word... " >&6; }
3602 if ${ac_cv_prog_CC+:} false
; then :
3603 $as_echo_n "(cached) " >&6
3605 if test -n "$CC"; then
3606 ac_cv_prog_CC
="$CC" # Let the user override the test.
3608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3612 test -z "$as_dir" && as_dir
=.
3613 for ac_exec_ext
in '' $ac_executable_extensions; do
3614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3615 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3626 if test -n "$CC"; then
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3628 $as_echo "$CC" >&6; }
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631 $as_echo "no" >&6; }
3636 if test -z "$ac_cv_prog_CC"; then
3638 # Extract the first word of "gcc", so it can be a program name with args.
3639 set dummy gcc
; ac_word
=$2
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3641 $as_echo_n "checking for $ac_word... " >&6; }
3642 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3643 $as_echo_n "(cached) " >&6
3645 if test -n "$ac_ct_CC"; then
3646 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3652 test -z "$as_dir" && as_dir
=.
3653 for ac_exec_ext
in '' $ac_executable_extensions; do
3654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3655 ac_cv_prog_ac_ct_CC
="gcc"
3656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3666 if test -n "$ac_ct_CC"; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3668 $as_echo "$ac_ct_CC" >&6; }
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3671 $as_echo "no" >&6; }
3674 if test "x$ac_ct_CC" = x
; then
3677 case $cross_compiling:$ac_tool_warned in
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3681 ac_tool_warned
=yes ;;
3689 if test -z "$CC"; then
3690 if test -n "$ac_tool_prefix"; then
3691 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3692 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694 $as_echo_n "checking for $ac_word... " >&6; }
3695 if ${ac_cv_prog_CC+:} false
; then :
3696 $as_echo_n "(cached) " >&6
3698 if test -n "$CC"; then
3699 ac_cv_prog_CC
="$CC" # Let the user override the test.
3701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3705 test -z "$as_dir" && as_dir
=.
3706 for ac_exec_ext
in '' $ac_executable_extensions; do
3707 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3708 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3719 if test -n "$CC"; then
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3721 $as_echo "$CC" >&6; }
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3730 if test -z "$CC"; then
3731 # Extract the first word of "cc", so it can be a program name with args.
3732 set dummy cc
; ac_word
=$2
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3734 $as_echo_n "checking for $ac_word... " >&6; }
3735 if ${ac_cv_prog_CC+:} false
; then :
3736 $as_echo_n "(cached) " >&6
3738 if test -n "$CC"; then
3739 ac_cv_prog_CC
="$CC" # Let the user override the test.
3742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3746 test -z "$as_dir" && as_dir
=.
3747 for ac_exec_ext
in '' $ac_executable_extensions; do
3748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3749 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3750 ac_prog_rejected
=yes
3754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3761 if test $ac_prog_rejected = yes; then
3762 # We found a bogon in the path, so make sure we never use it.
3763 set dummy
$ac_cv_prog_CC
3765 if test $# != 0; then
3766 # We chose a different compiler from the bogus one.
3767 # However, it has the same basename, so the bogon will be chosen
3768 # first if we set CC to just the basename; use the full file name.
3770 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3776 if test -n "$CC"; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3778 $as_echo "$CC" >&6; }
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3781 $as_echo "no" >&6; }
3786 if test -z "$CC"; then
3787 if test -n "$ac_tool_prefix"; then
3788 for ac_prog
in cl.exe
3790 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3791 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3793 $as_echo_n "checking for $ac_word... " >&6; }
3794 if ${ac_cv_prog_CC+:} false
; then :
3795 $as_echo_n "(cached) " >&6
3797 if test -n "$CC"; then
3798 ac_cv_prog_CC
="$CC" # Let the user override the test.
3800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3804 test -z "$as_dir" && as_dir
=.
3805 for ac_exec_ext
in '' $ac_executable_extensions; do
3806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3807 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3818 if test -n "$CC"; then
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3820 $as_echo "$CC" >&6; }
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3823 $as_echo "no" >&6; }
3827 test -n "$CC" && break
3830 if test -z "$CC"; then
3832 for ac_prog
in cl.exe
3834 # Extract the first word of "$ac_prog", so it can be a program name with args.
3835 set dummy
$ac_prog; ac_word
=$2
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3837 $as_echo_n "checking for $ac_word... " >&6; }
3838 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3839 $as_echo_n "(cached) " >&6
3841 if test -n "$ac_ct_CC"; then
3842 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3848 test -z "$as_dir" && as_dir
=.
3849 for ac_exec_ext
in '' $ac_executable_extensions; do
3850 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3851 ac_cv_prog_ac_ct_CC
="$ac_prog"
3852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3862 if test -n "$ac_ct_CC"; then
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3864 $as_echo "$ac_ct_CC" >&6; }
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3867 $as_echo "no" >&6; }
3871 test -n "$ac_ct_CC" && break
3874 if test "x$ac_ct_CC" = x
; then
3877 case $cross_compiling:$ac_tool_warned in
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3881 ac_tool_warned
=yes ;;
3890 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3892 as_fn_error $?
"no acceptable C compiler found in \$PATH
3893 See \`config.log' for more details" "$LINENO" 5; }
3895 # Provide some information about the compiler.
3896 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3899 for ac_option
in --version -v -V -qversion; do
3900 { { ac_try
="$ac_compiler $ac_option >&5"
3902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3903 *) ac_try_echo=$ac_try;;
3905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3906 $as_echo "$ac_try_echo"; } >&5
3907 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3909 if test -s conftest.err; then
3911 ... rest of stderr output deleted ...
3912 10q' conftest.err >conftest.er1
3913 cat conftest.er1 >&5
3915 rm -f conftest.er1 conftest.err
3916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3917 test $ac_status = 0; }
3920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3921 /* end confdefs.h. */
3931 ac_clean_files_save=$ac_clean_files
3932 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3933 # Try to create an executable without -o first, disregard a.out.
3934 # It will help us diagnose broken compilers, and finding out an intuition
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3937 $as_echo_n "checking whether the C compiler works... " >&6; }
3938 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3940 # The possible output files:
3941 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3944 for ac_file in $ac_files
3947 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3948 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3953 if { { ac_try="$ac_link_default"
3955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3956 *) ac_try_echo
=$ac_try;;
3958 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3959 $as_echo "$ac_try_echo"; } >&5
3960 (eval "$ac_link_default") 2>&5
3962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3963 test $ac_status = 0; }; then :
3964 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3965 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3966 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3967 # so that the user can short-circuit this test for compilers unknown to
3969 for ac_file
in $ac_files ''
3971 test -f "$ac_file" ||
continue
3973 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3976 # We found the default executable, but exeext='' is most
3980 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3982 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3984 # We set ac_cv_exeext here because the later test for it is not
3985 # safe: cross compilers may not add the suffix if given an `-o'
3986 # argument, so we may need to know it at that point already.
3987 # Even if this section looks crufty: it has the advantage of
3994 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3999 if test -z "$ac_file"; then :
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4001 $as_echo "no" >&6; }
4002 $as_echo "$as_me: failed program was:" >&5
4003 sed 's/^/| /' conftest.
$ac_ext >&5
4005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4007 as_fn_error
77 "C compiler cannot create executables
4008 See \`config.log' for more details" "$LINENO" 5; }
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4011 $as_echo "yes" >&6; }
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4014 $as_echo_n "checking for C compiler default output file name... " >&6; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4016 $as_echo "$ac_file" >&6; }
4017 ac_exeext
=$ac_cv_exeext
4019 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4020 ac_clean_files
=$ac_clean_files_save
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4022 $as_echo_n "checking for suffix of executables... " >&6; }
4023 if { { ac_try
="$ac_link"
4025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4026 *) ac_try_echo=$ac_try;;
4028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4029 $as_echo "$ac_try_echo"; } >&5
4030 (eval "$ac_link") 2>&5
4032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4033 test $ac_status = 0; }; then :
4034 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4035 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4036 # work properly (i.e., refer to `conftest.exe'), while it won't with
4038 for ac_file
in conftest.exe conftest conftest.
*; do
4039 test -f "$ac_file" ||
continue
4041 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4042 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4050 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4051 See \`config.log' for more details" "$LINENO" 5; }
4053 rm -f conftest conftest
$ac_cv_exeext
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4055 $as_echo "$ac_cv_exeext" >&6; }
4057 rm -f conftest.
$ac_ext
4058 EXEEXT
=$ac_cv_exeext
4060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4061 /* end confdefs.h. */
4066 FILE *f = fopen ("conftest.out", "w");
4067 return ferror (f) || fclose (f) != 0;
4073 ac_clean_files
="$ac_clean_files conftest.out"
4074 # Check that the compiler produces executables we can run. If not, either
4075 # the compiler is broken, or we cross compile.
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4077 $as_echo_n "checking whether we are cross compiling... " >&6; }
4078 if test "$cross_compiling" != yes; then
4079 { { ac_try
="$ac_link"
4081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4082 *) ac_try_echo=$ac_try;;
4084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4085 $as_echo "$ac_try_echo"; } >&5
4086 (eval "$ac_link") 2>&5
4088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4089 test $ac_status = 0; }
4090 if { ac_try='./conftest$ac_cv_exeext'
4091 { { case "(($ac_try" in
4092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4093 *) ac_try_echo
=$ac_try;;
4095 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4096 $as_echo "$ac_try_echo"; } >&5
4097 (eval "$ac_try") 2>&5
4099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4100 test $ac_status = 0; }; }; then
4103 if test "$cross_compiling" = maybe
; then
4106 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4108 as_fn_error $?
"cannot run C compiled programs.
4109 If you meant to cross compile, use \`--host'.
4110 See \`config.log' for more details" "$LINENO" 5; }
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4115 $as_echo "$cross_compiling" >&6; }
4117 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4118 ac_clean_files
=$ac_clean_files_save
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4120 $as_echo_n "checking for suffix of object files... " >&6; }
4121 if ${ac_cv_objext+:} false
; then :
4122 $as_echo_n "(cached) " >&6
4124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4135 rm -f conftest.o conftest.obj
4136 if { { ac_try
="$ac_compile"
4138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4139 *) ac_try_echo=$ac_try;;
4141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4142 $as_echo "$ac_try_echo"; } >&5
4143 (eval "$ac_compile") 2>&5
4145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4146 test $ac_status = 0; }; then :
4147 for ac_file in conftest.o conftest.obj conftest.*; do
4148 test -f "$ac_file" || continue;
4150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4151 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4156 $as_echo "$as_me: failed program was:" >&5
4157 sed 's/^/| /' conftest.$ac_ext >&5
4159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4161 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4162 See \
`config.log' for more details" "$LINENO" 5; }
4164 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4167 $as_echo "$ac_cv_objext" >&6; }
4168 OBJEXT=$ac_cv_objext
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4171 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4172 if ${ac_cv_c_compiler_gnu+:} false; then :
4173 $as_echo_n "(cached) " >&6
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4189 if ac_fn_c_try_compile "$LINENO"; then :
4194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4195 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4199 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4200 if test $ac_compiler_gnu = yes; then
4205 ac_test_CFLAGS=${CFLAGS+set}
4206 ac_save_CFLAGS=$CFLAGS
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4208 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4209 if ${ac_cv_prog_cc_g+:} false; then :
4210 $as_echo_n "(cached) " >&6
4212 ac_save_c_werror_flag=$ac_c_werror_flag
4213 ac_c_werror_flag=yes
4216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4227 if ac_fn_c_try_compile "$LINENO"; then :
4231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4232 /* end confdefs.h. */
4242 if ac_fn_c_try_compile "$LINENO"; then :
4245 ac_c_werror_flag=$ac_save_c_werror_flag
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4258 if ac_fn_c_try_compile "$LINENO"; then :
4261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4266 ac_c_werror_flag=$ac_save_c_werror_flag
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4269 $as_echo "$ac_cv_prog_cc_g" >&6; }
4270 if test "$ac_test_CFLAGS" = set; then
4271 CFLAGS=$ac_save_CFLAGS
4272 elif test $ac_cv_prog_cc_g = yes; then
4273 if test "$GCC" = yes; then
4279 if test "$GCC" = yes; then
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4286 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4287 if ${ac_cv_prog_cc_c89+:} false; then :
4288 $as_echo_n "(cached) " >&6
4290 ac_cv_prog_cc_c89=no
4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h. */
4297 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4298 struct buf { int x; };
4299 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4300 static char *e (p, i)
4306 static char *f (char * (*g) (char **, int), char **p, ...)
4311 s = g (p, va_arg (v,int));
4316 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4317 function prototypes and stuff, but not '\xHH' hex character constants.
4318 These don't provoke an error unfortunately, instead are silently treated
4319 as 'x'. The following induces an error, until -std is added to get
4320 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4321 array size at least. It's necessary to write '\x00'==0 to get something
4322 that's true only with -std. */
4323 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4325 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4326 inside strings and character constants. */
4328 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4330 int test (int i, double x);
4331 struct s1 {int (*f) (int a);};
4332 struct s2 {int (*f) (double a);};
4333 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4339 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4344 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4345 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4347 CC="$ac_save_CC $ac_arg"
4348 if ac_fn_c_try_compile "$LINENO"; then :
4349 ac_cv_prog_cc_c89=$ac_arg
4351 rm -f core conftest.err conftest.$ac_objext
4352 test "x$ac_cv_prog_cc_c89" != "xno" && break
4354 rm -f conftest.$ac_ext
4359 case "x$ac_cv_prog_cc_c89" in
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4362 $as_echo "none needed" >&6; } ;;
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4365 $as_echo "unsupported" >&6; } ;;
4367 CC="$CC $ac_cv_prog_cc_c89"
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4369 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4371 if test "x$ac_cv_prog_cc_c89" != xno; then :
4376 ac_cpp='$CPP $CPPFLAGS'
4377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4382 ac_cpp='$CXXCPP $CPPFLAGS'
4383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4386 if test -z "$CXX"; then
4387 if test -n "$CCC"; then
4390 if test -n "$ac_tool_prefix"; then
4391 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4394 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4396 $as_echo_n "checking for $ac_word... " >&6; }
4397 if ${ac_cv_prog_CXX+:} false; then :
4398 $as_echo_n "(cached) " >&6
4400 if test -n "$CXX"; then
4401 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407 test -z "$as_dir" && as_dir=.
4408 for ac_exec_ext in '' $ac_executable_extensions; do
4409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4410 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4421 if test -n "$CXX"; then
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4423 $as_echo "$CXX" >&6; }
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4426 $as_echo "no" >&6; }
4430 test -n "$CXX" && break
4433 if test -z "$CXX"; then
4435 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4437 # Extract the first word of "$ac_prog", so it can be a program name with args.
4438 set dummy $ac_prog; ac_word=$2
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4440 $as_echo_n "checking for $ac_word... " >&6; }
4441 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4442 $as_echo_n "(cached) " >&6
4444 if test -n "$ac_ct_CXX"; then
4445 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4451 test -z "$as_dir" && as_dir=.
4452 for ac_exec_ext in '' $ac_executable_extensions; do
4453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4454 ac_cv_prog_ac_ct_CXX="$ac_prog"
4455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4464 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4465 if test -n "$ac_ct_CXX"; then
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4467 $as_echo "$ac_ct_CXX" >&6; }
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4470 $as_echo "no" >&6; }
4474 test -n "$ac_ct_CXX" && break
4477 if test "x$ac_ct_CXX" = x; then
4480 case $cross_compiling:$ac_tool_warned in
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4484 ac_tool_warned=yes ;;
4492 # Provide some information about the compiler.
4493 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4496 for ac_option in --version -v -V -qversion; do
4497 { { ac_try="$ac_compiler $ac_option >&5"
4499 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4500 *) ac_try_echo
=$ac_try;;
4502 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4503 $as_echo "$ac_try_echo"; } >&5
4504 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4506 if test -s conftest.err
; then
4508 ... rest of stderr output deleted ...
4509 10q' conftest.err
>conftest.er1
4510 cat conftest.er1
>&5
4512 rm -f conftest.er1 conftest.err
4513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4514 test $ac_status = 0; }
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4518 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4519 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4520 $as_echo_n "(cached) " >&6
4522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4536 if ac_fn_cxx_try_compile
"$LINENO"; then :
4541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4542 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4546 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4547 if test $ac_compiler_gnu = yes; then
4552 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4553 ac_save_CXXFLAGS
=$CXXFLAGS
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4555 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4556 if ${ac_cv_prog_cxx_g+:} false
; then :
4557 $as_echo_n "(cached) " >&6
4559 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4560 ac_cxx_werror_flag
=yes
4563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4574 if ac_fn_cxx_try_compile
"$LINENO"; then :
4575 ac_cv_prog_cxx_g
=yes
4578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4589 if ac_fn_cxx_try_compile
"$LINENO"; then :
4592 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4595 /* end confdefs.h. */
4605 if ac_fn_cxx_try_compile
"$LINENO"; then :
4606 ac_cv_prog_cxx_g
=yes
4608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4613 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4616 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4617 if test "$ac_test_CXXFLAGS" = set; then
4618 CXXFLAGS
=$ac_save_CXXFLAGS
4619 elif test $ac_cv_prog_cxx_g = yes; then
4620 if test "$GXX" = yes; then
4626 if test "$GXX" = yes; then
4633 ac_cpp
='$CPP $CPPFLAGS'
4634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4638 if test -n "$ac_tool_prefix"; then
4639 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4640 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4642 $as_echo_n "checking for $ac_word... " >&6; }
4643 if ${ac_cv_prog_CPPBIN+:} false
; then :
4644 $as_echo_n "(cached) " >&6
4646 if test -n "$CPPBIN"; then
4647 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4653 test -z "$as_dir" && as_dir
=.
4654 for ac_exec_ext
in '' $ac_executable_extensions; do
4655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4656 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4666 CPPBIN
=$ac_cv_prog_CPPBIN
4667 if test -n "$CPPBIN"; then
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4669 $as_echo "$CPPBIN" >&6; }
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4672 $as_echo "no" >&6; }
4677 if test -z "$ac_cv_prog_CPPBIN"; then
4678 ac_ct_CPPBIN
=$CPPBIN
4679 # Extract the first word of "cpp", so it can be a program name with args.
4680 set dummy cpp
; ac_word
=$2
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4684 $as_echo_n "(cached) " >&6
4686 if test -n "$ac_ct_CPPBIN"; then
4687 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4693 test -z "$as_dir" && as_dir
=.
4694 for ac_exec_ext
in '' $ac_executable_extensions; do
4695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4696 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4707 if test -n "$ac_ct_CPPBIN"; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4709 $as_echo "$ac_ct_CPPBIN" >&6; }
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 $as_echo "no" >&6; }
4715 if test "x$ac_ct_CPPBIN" = x
; then
4718 case $cross_compiling:$ac_tool_warned in
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4722 ac_tool_warned
=yes ;;
4724 CPPBIN
=$ac_ct_CPPBIN
4727 CPPBIN
="$ac_cv_prog_CPPBIN"
4731 cat >>confdefs.h
<<_ACEOF
4732 #define EXEEXT "$ac_exeext"
4738 if test "x$enable_win64" = "xyes"
4743 notice_platform
="64-bit "
4750 notice_platform
="32-bit "
4753 enable_win16
=${enable_win16:-yes}
4755 with_fontconfig
=${with_fontconfig:-no}
4758 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4763 $as_echo_n "checking whether $CC works... " >&6; }
4765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4776 if ac_fn_c_try_link
"$LINENO"; then :
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4778 $as_echo "yes" >&6; }
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4782 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4784 rm -f core conftest.err conftest.
$ac_objext \
4785 conftest
$ac_exeext conftest.
$ac_ext
4787 notice_platform
="32-bit "
4790 enable_win16
=${enable_win16:-yes}
4792 if test "x${GCC}" = "xyes"
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4795 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4802 void func(__builtin_ms_va_list *args);
4807 if ac_fn_c_try_compile
"$LINENO"; then :
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4809 $as_echo "yes" >&6; }
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4812 $as_echo "no" >&6; }
4813 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4823 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4825 /* end confdefs.h. */
4826 int ac_test(int i) { return i; }
4830 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4835 if ac_fn_c_try_link
"$LINENO"; then :
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4837 $as_echo "yes" >&6; }
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4840 $as_echo "no" >&6; }
4841 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4843 rm -f core conftest.err conftest.
$ac_objext \
4844 conftest
$ac_exeext conftest.
$ac_ext
4845 CFLAGS
="$CFLAGS -marm"
4849 *-mingw32*|
*-cygwin*)
4850 enable_win16
=${enable_win16:-no}
4851 CFLAGS
="$CFLAGS -D_WIN32"
4854 enable_win16
=${enable_win16:-yes}
4858 enable_win16
=${enable_win16:-no}
4859 enable_win64
=${enable_win64:-no}
4861 enable_winetest
=${enable_winetest:-$enable_tests}
4863 if test -n "$with_wine64"
4865 if test "x$enable_win64" = "xyes"
4867 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4868 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4870 enable_fonts
=${enable_fonts:-no}
4871 enable_server
=${enable_server:-no}
4872 elif test "x$enable_win64" = "xyes"
4874 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4878 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4879 if ${wine_cv_toolsdir+:} false
; then :
4880 $as_echo_n "(cached) " >&6
4882 wine_cv_toolsdir
="$with_wine_tools"
4883 if test -z "$with_wine_tools"; then
4884 if test "$cross_compiling" = "yes"; then
4885 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4886 elif test -n "$with_wine64"; then
4887 wine_cv_toolsdir
="$with_wine64"
4890 if test -z "$wine_cv_toolsdir"; then
4891 wine_makedep
=tools
/makedep
4892 wine_cv_toolsdir
="\$(top_builddir)"
4893 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4894 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4895 case "$wine_cv_toolsdir" in
4897 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4899 enable_tools
=${enable_tools:-no}
4900 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4902 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4906 $as_echo "$wine_cv_toolsdir" >&6; }
4907 TOOLSDIR
=$wine_cv_toolsdir
4909 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4911 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4917 # Extract the first word of "$ac_prog", so it can be a program name with args.
4918 set dummy
$ac_prog; ac_word
=$2
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4920 $as_echo_n "checking for $ac_word... " >&6; }
4921 if ${ac_cv_prog_FLEX+:} false
; then :
4922 $as_echo_n "(cached) " >&6
4924 if test -n "$FLEX"; then
4925 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4931 test -z "$as_dir" && as_dir
=.
4932 for ac_exec_ext
in '' $ac_executable_extensions; do
4933 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4934 ac_cv_prog_FLEX
="$ac_prog"
4935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4944 FLEX
=$ac_cv_prog_FLEX
4945 if test -n "$FLEX"; then
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4947 $as_echo "$FLEX" >&6; }
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 $as_echo "no" >&6; }
4954 test -n "$FLEX" && break
4956 test -n "$FLEX" || FLEX
="none"
4958 if test "$FLEX" = "none"
4960 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4963 $as_echo_n "checking whether flex is recent enough... " >&6; }
4964 cat >conftest.l
<<EOF
4966 #include "prediluvian.h"
4970 if $FLEX -t conftest.l
>/dev
/null
2>&5
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4973 $as_echo "yes" >&6; }
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4977 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4980 for ac_prog
in bison
4982 # Extract the first word of "$ac_prog", so it can be a program name with args.
4983 set dummy
$ac_prog; ac_word
=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if ${ac_cv_prog_BISON+:} false
; then :
4987 $as_echo_n "(cached) " >&6
4989 if test -n "$BISON"; then
4990 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4996 test -z "$as_dir" && as_dir
=.
4997 for ac_exec_ext
in '' $ac_executable_extensions; do
4998 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4999 ac_cv_prog_BISON
="$ac_prog"
5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 BISON
=$ac_cv_prog_BISON
5010 if test -n "$BISON"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5012 $as_echo "$BISON" >&6; }
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5019 test -n "$BISON" && break
5021 test -n "$BISON" || BISON
="none"
5023 if test "$BISON" = "none"
5025 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5028 if test -n "$ac_tool_prefix"; then
5029 for ac_prog
in ar gar
5031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5032 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 $as_echo_n "checking for $ac_word... " >&6; }
5035 if ${ac_cv_prog_AR+:} false
; then :
5036 $as_echo_n "(cached) " >&6
5038 if test -n "$AR"; then
5039 ac_cv_prog_AR
="$AR" # Let the user override the test.
5041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5045 test -z "$as_dir" && as_dir
=.
5046 for ac_exec_ext
in '' $ac_executable_extensions; do
5047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5048 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5059 if test -n "$AR"; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5061 $as_echo "$AR" >&6; }
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 $as_echo "no" >&6; }
5068 test -n "$AR" && break
5071 if test -z "$AR"; then
5073 for ac_prog
in ar gar
5075 # Extract the first word of "$ac_prog", so it can be a program name with args.
5076 set dummy
$ac_prog; ac_word
=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5080 $as_echo_n "(cached) " >&6
5082 if test -n "$ac_ct_AR"; then
5083 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5089 test -z "$as_dir" && as_dir
=.
5090 for ac_exec_ext
in '' $ac_executable_extensions; do
5091 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5092 ac_cv_prog_ac_ct_AR
="$ac_prog"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5102 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5103 if test -n "$ac_ct_AR"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5105 $as_echo "$ac_ct_AR" >&6; }
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5112 test -n "$ac_ct_AR" && break
5115 if test "x$ac_ct_AR" = x
; then
5118 case $cross_compiling:$ac_tool_warned in
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5122 ac_tool_warned
=yes ;;
5128 if test -n "$ac_tool_prefix"; then
5129 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5130 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if ${ac_cv_prog_STRIP+:} false
; then :
5134 $as_echo_n "(cached) " >&6
5136 if test -n "$STRIP"; then
5137 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5143 test -z "$as_dir" && as_dir
=.
5144 for ac_exec_ext
in '' $ac_executable_extensions; do
5145 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5146 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5156 STRIP
=$ac_cv_prog_STRIP
5157 if test -n "$STRIP"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5159 $as_echo "$STRIP" >&6; }
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5167 if test -z "$ac_cv_prog_STRIP"; then
5169 # Extract the first word of "strip", so it can be a program name with args.
5170 set dummy strip
; ac_word
=$2
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5172 $as_echo_n "checking for $ac_word... " >&6; }
5173 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5174 $as_echo_n "(cached) " >&6
5176 if test -n "$ac_ct_STRIP"; then
5177 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5183 test -z "$as_dir" && as_dir
=.
5184 for ac_exec_ext
in '' $ac_executable_extensions; do
5185 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5186 ac_cv_prog_ac_ct_STRIP
="strip"
5187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5196 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5197 if test -n "$ac_ct_STRIP"; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5199 $as_echo "$ac_ct_STRIP" >&6; }
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5205 if test "x$ac_ct_STRIP" = x
; then
5208 case $cross_compiling:$ac_tool_warned in
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5212 ac_tool_warned
=yes ;;
5217 STRIP
="$ac_cv_prog_STRIP"
5222 if test -n "$ac_tool_prefix"; then
5223 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5224 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226 $as_echo_n "checking for $ac_word... " >&6; }
5227 if ${ac_cv_prog_RANLIB+:} false
; then :
5228 $as_echo_n "(cached) " >&6
5230 if test -n "$RANLIB"; then
5231 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5237 test -z "$as_dir" && as_dir
=.
5238 for ac_exec_ext
in '' $ac_executable_extensions; do
5239 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5240 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 RANLIB
=$ac_cv_prog_RANLIB
5251 if test -n "$RANLIB"; then
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5253 $as_echo "$RANLIB" >&6; }
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5256 $as_echo "no" >&6; }
5261 if test -z "$ac_cv_prog_RANLIB"; then
5262 ac_ct_RANLIB
=$RANLIB
5263 # Extract the first word of "ranlib", so it can be a program name with args.
5264 set dummy ranlib
; ac_word
=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5268 $as_echo_n "(cached) " >&6
5270 if test -n "$ac_ct_RANLIB"; then
5271 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5277 test -z "$as_dir" && as_dir
=.
5278 for ac_exec_ext
in '' $ac_executable_extensions; do
5279 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5290 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5291 if test -n "$ac_ct_RANLIB"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5293 $as_echo "$ac_ct_RANLIB" >&6; }
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5299 if test "x$ac_ct_RANLIB" = x
; then
5302 case $cross_compiling:$ac_tool_warned in
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5306 ac_tool_warned
=yes ;;
5308 RANLIB
=$ac_ct_RANLIB
5311 RANLIB
="$ac_cv_prog_RANLIB"
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5315 $as_echo_n "checking whether ln -s works... " >&6; }
5317 if test "$LN_S" = "ln -s"; then
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5319 $as_echo "yes" >&6; }
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5322 $as_echo "no, using $LN_S" >&6; }
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5326 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5327 if ${ac_cv_path_GREP+:} false
; then :
5328 $as_echo_n "(cached) " >&6
5330 if test -z "$GREP"; then
5331 ac_path_GREP_found
=false
5332 # Loop through the user's path and test for each of PROGNAME-LIST
5333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5334 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5337 test -z "$as_dir" && as_dir
=.
5338 for ac_prog
in grep ggrep
; do
5339 for ac_exec_ext
in '' $ac_executable_extensions; do
5340 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5341 as_fn_executable_p
"$ac_path_GREP" ||
continue
5342 # Check for GNU ac_path_GREP and select it if it is found.
5343 # Check for GNU $ac_path_GREP
5344 case `"$ac_path_GREP" --version 2>&1` in
5346 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5349 $as_echo_n 0123456789 >"conftest.in"
5352 cat "conftest.in" "conftest.in" >"conftest.tmp"
5353 mv "conftest.tmp" "conftest.in"
5354 cp "conftest.in" "conftest.nl"
5355 $as_echo 'GREP' >> "conftest.nl"
5356 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5357 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5358 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5359 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5360 # Best one so far, save it but keep looking for a better one
5361 ac_cv_path_GREP
="$ac_path_GREP"
5362 ac_path_GREP_max
=$ac_count
5364 # 10*(2^10) chars as input seems more than enough
5365 test $ac_count -gt 10 && break
5367 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5370 $ac_path_GREP_found && break 3
5375 if test -z "$ac_cv_path_GREP"; then
5376 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5379 ac_cv_path_GREP
=$GREP
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5384 $as_echo "$ac_cv_path_GREP" >&6; }
5385 GREP
="$ac_cv_path_GREP"
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5389 $as_echo_n "checking for egrep... " >&6; }
5390 if ${ac_cv_path_EGREP+:} false
; then :
5391 $as_echo_n "(cached) " >&6
5393 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5394 then ac_cv_path_EGREP
="$GREP -E"
5396 if test -z "$EGREP"; then
5397 ac_path_EGREP_found
=false
5398 # Loop through the user's path and test for each of PROGNAME-LIST
5399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5400 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5403 test -z "$as_dir" && as_dir
=.
5404 for ac_prog
in egrep; do
5405 for ac_exec_ext
in '' $ac_executable_extensions; do
5406 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5407 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5408 # Check for GNU ac_path_EGREP and select it if it is found.
5409 # Check for GNU $ac_path_EGREP
5410 case `"$ac_path_EGREP" --version 2>&1` in
5412 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5415 $as_echo_n 0123456789 >"conftest.in"
5418 cat "conftest.in" "conftest.in" >"conftest.tmp"
5419 mv "conftest.tmp" "conftest.in"
5420 cp "conftest.in" "conftest.nl"
5421 $as_echo 'EGREP' >> "conftest.nl"
5422 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5423 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5424 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5425 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5426 # Best one so far, save it but keep looking for a better one
5427 ac_cv_path_EGREP
="$ac_path_EGREP"
5428 ac_path_EGREP_max
=$ac_count
5430 # 10*(2^10) chars as input seems more than enough
5431 test $ac_count -gt 10 && break
5433 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5436 $ac_path_EGREP_found && break 3
5441 if test -z "$ac_cv_path_EGREP"; then
5442 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5445 ac_cv_path_EGREP
=$EGREP
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5451 $as_echo "$ac_cv_path_EGREP" >&6; }
5452 EGREP
="$ac_cv_path_EGREP"
5455 # Extract the first word of "ldconfig", so it can be a program name with args.
5456 set dummy ldconfig
; ac_word
=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if ${ac_cv_path_LDCONFIG+:} false
; then :
5460 $as_echo_n "(cached) " >&6
5464 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5468 for as_dir
in /sbin
/usr
/sbin
$PATH
5471 test -z "$as_dir" && as_dir
=.
5472 for ac_exec_ext
in '' $ac_executable_extensions; do
5473 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5474 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5486 LDCONFIG
=$ac_cv_path_LDCONFIG
5487 if test -n "$LDCONFIG"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5489 $as_echo "$LDCONFIG" >&6; }
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5496 for ac_prog
in msgfmt
5498 # Extract the first word of "$ac_prog", so it can be a program name with args.
5499 set dummy
$ac_prog; ac_word
=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_prog_MSGFMT+:} false
; then :
5503 $as_echo_n "(cached) " >&6
5505 if test -n "$MSGFMT"; then
5506 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5512 test -z "$as_dir" && as_dir
=.
5513 for ac_exec_ext
in '' $ac_executable_extensions; do
5514 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5515 ac_cv_prog_MSGFMT
="$ac_prog"
5516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5525 MSGFMT
=$ac_cv_prog_MSGFMT
5526 if test -n "$MSGFMT"; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5528 $as_echo "$MSGFMT" >&6; }
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5535 test -n "$MSGFMT" && break
5537 test -n "$MSGFMT" || MSGFMT
="false"
5539 if ${ac_tool_prefix+:} false
; then :
5540 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5541 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5543 $as_echo_n "checking for $ac_word... " >&6; }
5544 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5545 $as_echo_n "(cached) " >&6
5547 if test -n "$PKG_CONFIG"; then
5548 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5554 test -z "$as_dir" && as_dir
=.
5555 for ac_exec_ext
in '' $ac_executable_extensions; do
5556 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5557 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5567 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5568 if test -n "$PKG_CONFIG"; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5570 $as_echo "$PKG_CONFIG" >&6; }
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573 $as_echo "no" >&6; }
5578 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5579 if test "x$cross_compiling" = xyes
; then :
5582 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5583 # Extract the first word of "pkg-config", so it can be a program name with args.
5584 set dummy pkg-config
; ac_word
=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5588 $as_echo_n "(cached) " >&6
5590 if test -n "$PKG_CONFIG"; then
5591 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir
=.
5598 for ac_exec_ext
in '' $ac_executable_extensions; do
5599 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5600 ac_cv_prog_PKG_CONFIG
="pkg-config"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5611 if test -n "$PKG_CONFIG"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5613 $as_echo "$PKG_CONFIG" >&6; }
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5622 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5625 if test "x$enable_maintainer_mode" != "xyes"
5632 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5633 for ac_prog
in fontforge
5635 # Extract the first word of "$ac_prog", so it can be a program name with args.
5636 set dummy
$ac_prog; ac_word
=$2
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5638 $as_echo_n "checking for $ac_word... " >&6; }
5639 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5640 $as_echo_n "(cached) " >&6
5642 if test -n "$FONTFORGE"; then
5643 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5649 test -z "$as_dir" && as_dir
=.
5650 for ac_exec_ext
in '' $ac_executable_extensions; do
5651 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_FONTFORGE
="$ac_prog"
5653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 FONTFORGE
=$ac_cv_prog_FONTFORGE
5663 if test -n "$FONTFORGE"; then
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5665 $as_echo "$FONTFORGE" >&6; }
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5668 $as_echo "no" >&6; }
5672 test -n "$FONTFORGE" && break
5674 test -n "$FONTFORGE" || FONTFORGE
="false"
5678 # Extract the first word of "$ac_prog", so it can be a program name with args.
5679 set dummy
$ac_prog; ac_word
=$2
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5681 $as_echo_n "checking for $ac_word... " >&6; }
5682 if ${ac_cv_prog_RSVG+:} false
; then :
5683 $as_echo_n "(cached) " >&6
5685 if test -n "$RSVG"; then
5686 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5692 test -z "$as_dir" && as_dir
=.
5693 for ac_exec_ext
in '' $ac_executable_extensions; do
5694 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5695 ac_cv_prog_RSVG
="$ac_prog"
5696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5705 RSVG
=$ac_cv_prog_RSVG
5706 if test -n "$RSVG"; then
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5708 $as_echo "$RSVG" >&6; }
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5711 $as_echo "no" >&6; }
5715 test -n "$RSVG" && break
5717 test -n "$RSVG" || RSVG
="false"
5719 for ac_prog
in convert
5721 # Extract the first word of "$ac_prog", so it can be a program name with args.
5722 set dummy
$ac_prog; ac_word
=$2
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5724 $as_echo_n "checking for $ac_word... " >&6; }
5725 if ${ac_cv_prog_CONVERT+:} false
; then :
5726 $as_echo_n "(cached) " >&6
5728 if test -n "$CONVERT"; then
5729 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5735 test -z "$as_dir" && as_dir
=.
5736 for ac_exec_ext
in '' $ac_executable_extensions; do
5737 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5738 ac_cv_prog_CONVERT
="$ac_prog"
5739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 CONVERT
=$ac_cv_prog_CONVERT
5749 if test -n "$CONVERT"; then
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5751 $as_echo "$CONVERT" >&6; }
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5754 $as_echo "no" >&6; }
5758 test -n "$CONVERT" && break
5760 test -n "$CONVERT" || CONVERT
="false"
5762 for ac_prog
in icotool
5764 # Extract the first word of "$ac_prog", so it can be a program name with args.
5765 set dummy
$ac_prog; ac_word
=$2
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5767 $as_echo_n "checking for $ac_word... " >&6; }
5768 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5769 $as_echo_n "(cached) " >&6
5771 if test -n "$ICOTOOL"; then
5772 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5778 test -z "$as_dir" && as_dir
=.
5779 for ac_exec_ext
in '' $ac_executable_extensions; do
5780 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5781 ac_cv_prog_ICOTOOL
="$ac_prog"
5782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5791 ICOTOOL
=$ac_cv_prog_ICOTOOL
5792 if test -n "$ICOTOOL"; then
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5794 $as_echo "$ICOTOOL" >&6; }
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5797 $as_echo "no" >&6; }
5801 test -n "$ICOTOOL" && break
5803 test -n "$ICOTOOL" || ICOTOOL
="false"
5805 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5806 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5808 if test "$CONVERT" = false
5810 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5813 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5814 convert_version
=`convert --version | head -n1`
5815 if test "x$convert_version" != "x"
5817 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5818 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5819 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5824 if test "$CONVERT" = false
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5827 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5828 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5831 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5835 if test "$ICOTOOL" = false
5837 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5840 $as_echo_n "checking for recent enough icotool... " >&6; }
5841 icotool_version
=`icotool --version | head -n1`
5842 if test "x$icotool_version" != "x"
5844 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5845 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5846 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5849 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5852 if test "$ICOTOOL" = false
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5855 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5856 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5859 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5865 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5868 test "x$with_gettext" != xno || MSGFMT
=false
5869 if test "$MSGFMT" != "false"
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5872 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5873 cat >conftest.po
<<EOF
5879 if $MSGFMT -o /dev
/null conftest.po
2>&5
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5882 $as_echo "yes" >&6; }
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 $as_echo "no" >&6; }
5889 if test "$MSGFMT" = false
; then :
5890 case "x$with_gettext" in
5891 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5893 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5894 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5900 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5901 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5902 $as_echo_n "(cached) " >&6
5904 ac_check_lib_save_LIBS
=$LIBS
5906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5907 /* end confdefs.h. */
5909 /* Override any GCC internal prototype to avoid an error.
5910 Use char because int might match the return type of a GCC
5911 builtin and then its argument prototype would still apply. */
5915 char i386_set_ldt ();
5919 return i386_set_ldt ();
5924 if ac_fn_c_try_link
"$LINENO"; then :
5925 ac_cv_lib_i386_i386_set_ldt
=yes
5927 ac_cv_lib_i386_i386_set_ldt
=no
5929 rm -f core conftest.err conftest.
$ac_objext \
5930 conftest
$ac_exeext conftest.
$ac_ext
5931 LIBS
=$ac_check_lib_save_LIBS
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5934 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5935 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5936 cat >>confdefs.h
<<_ACEOF
5937 #define HAVE_LIBI386 1
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5945 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5946 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5947 $as_echo_n "(cached) " >&6
5949 ac_check_lib_save_LIBS
=$LIBS
5950 LIBS
="-lossaudio $LIBS"
5951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5952 /* end confdefs.h. */
5954 /* Override any GCC internal prototype to avoid an error.
5955 Use char because int might match the return type of a GCC
5956 builtin and then its argument prototype would still apply. */
5964 return _oss_ioctl ();
5969 if ac_fn_c_try_link
"$LINENO"; then :
5970 ac_cv_lib_ossaudio__oss_ioctl
=yes
5972 ac_cv_lib_ossaudio__oss_ioctl
=no
5974 rm -f core conftest.err conftest.
$ac_objext \
5975 conftest
$ac_exeext conftest.
$ac_ext
5976 LIBS
=$ac_check_lib_save_LIBS
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5979 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5980 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5981 cat >>confdefs.h
<<_ACEOF
5982 #define HAVE_LIBOSSAUDIO 1
5985 LIBS
="-lossaudio $LIBS"
5994 # Check whether --enable-largefile was given.
5995 if test "${enable_largefile+set}" = set; then :
5996 enableval
=$enable_largefile;
5999 if test "$enable_largefile" != no
; then
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6002 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6003 if ${ac_cv_sys_largefile_CC+:} false
; then :
6004 $as_echo_n "(cached) " >&6
6006 ac_cv_sys_largefile_CC
=no
6007 if test "$GCC" != yes; then
6010 # IRIX 6.2 and later do not support large files by default,
6011 # so use the C compiler's -n32 option if that helps.
6012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6013 /* end confdefs.h. */
6014 #include <sys/types.h>
6015 /* Check that off_t can represent 2**63 - 1 correctly.
6016 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6017 since some C++ compilers masquerading as C compilers
6018 incorrectly reject 9223372036854775807. */
6019 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6020 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6021 && LARGE_OFF_T % 2147483647 == 1)
6031 if ac_fn_c_try_compile
"$LINENO"; then :
6034 rm -f core conftest.err conftest.
$ac_objext
6036 if ac_fn_c_try_compile
"$LINENO"; then :
6037 ac_cv_sys_largefile_CC
=' -n32'; break
6039 rm -f core conftest.err conftest.
$ac_objext
6043 rm -f conftest.
$ac_ext
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6047 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6048 if test "$ac_cv_sys_largefile_CC" != no
; then
6049 CC
=$CC$ac_cv_sys_largefile_CC
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6053 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6054 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6055 $as_echo_n "(cached) " >&6
6058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6059 /* end confdefs.h. */
6060 #include <sys/types.h>
6061 /* Check that off_t can represent 2**63 - 1 correctly.
6062 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6063 since some C++ compilers masquerading as C compilers
6064 incorrectly reject 9223372036854775807. */
6065 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6066 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6067 && LARGE_OFF_T % 2147483647 == 1)
6077 if ac_fn_c_try_compile
"$LINENO"; then :
6078 ac_cv_sys_file_offset_bits
=no
; break
6080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6082 /* end confdefs.h. */
6083 #define _FILE_OFFSET_BITS 64
6084 #include <sys/types.h>
6085 /* Check that off_t can represent 2**63 - 1 correctly.
6086 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6087 since some C++ compilers masquerading as C compilers
6088 incorrectly reject 9223372036854775807. */
6089 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6090 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6091 && LARGE_OFF_T % 2147483647 == 1)
6101 if ac_fn_c_try_compile
"$LINENO"; then :
6102 ac_cv_sys_file_offset_bits
=64; break
6104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6105 ac_cv_sys_file_offset_bits
=unknown
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6110 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6111 case $ac_cv_sys_file_offset_bits in #(
6114 cat >>confdefs.h
<<_ACEOF
6115 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6120 if test $ac_cv_sys_file_offset_bits = unknown
; then
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6122 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6123 if ${ac_cv_sys_large_files+:} false
; then :
6124 $as_echo_n "(cached) " >&6
6127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6128 /* end confdefs.h. */
6129 #include <sys/types.h>
6130 /* Check that off_t can represent 2**63 - 1 correctly.
6131 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6132 since some C++ compilers masquerading as C compilers
6133 incorrectly reject 9223372036854775807. */
6134 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6135 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6136 && LARGE_OFF_T % 2147483647 == 1)
6146 if ac_fn_c_try_compile
"$LINENO"; then :
6147 ac_cv_sys_large_files
=no
; break
6149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6151 /* end confdefs.h. */
6152 #define _LARGE_FILES 1
6153 #include <sys/types.h>
6154 /* Check that off_t can represent 2**63 - 1 correctly.
6155 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6156 since some C++ compilers masquerading as C compilers
6157 incorrectly reject 9223372036854775807. */
6158 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6159 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6160 && LARGE_OFF_T % 2147483647 == 1)
6170 if ac_fn_c_try_compile
"$LINENO"; then :
6171 ac_cv_sys_large_files
=1; break
6173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6174 ac_cv_sys_large_files
=unknown
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6179 $as_echo "$ac_cv_sys_large_files" >&6; }
6180 case $ac_cv_sys_large_files in #(
6183 cat >>confdefs.h
<<_ACEOF
6184 #define _LARGE_FILES $ac_cv_sys_large_files
6196 ac_cpp
='$CPP $CPPFLAGS'
6197 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6198 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6199 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6201 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6202 # On Suns, sometimes $CPP names a directory.
6203 if test -n "$CPP" && test -d "$CPP"; then
6206 if test -z "$CPP"; then
6207 if ${ac_cv_prog_CPP+:} false
; then :
6208 $as_echo_n "(cached) " >&6
6210 # Double quotes because CPP needs to be expanded
6211 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6214 for ac_c_preproc_warn_flag
in '' yes
6216 # Use a header file that comes with gcc, so configuring glibc
6217 # with a fresh cross-compiler works.
6218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6219 # <limits.h> exists even on freestanding compilers.
6220 # On the NeXT, cc -E runs the code through the compiler's parser,
6221 # not just through cpp. "Syntax error" is here to catch this case.
6222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6223 /* end confdefs.h. */
6225 # include <limits.h>
6227 # include <assert.h>
6231 if ac_fn_c_try_cpp
"$LINENO"; then :
6234 # Broken: fails on valid input.
6237 rm -f conftest.err conftest.i conftest.
$ac_ext
6239 # OK, works on sane cases. Now check whether nonexistent headers
6240 # can be detected and how.
6241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6243 #include <ac_nonexistent.h>
6245 if ac_fn_c_try_cpp
"$LINENO"; then :
6246 # Broken: success on invalid input.
6249 # Passes both tests.
6253 rm -f conftest.err conftest.i conftest.
$ac_ext
6256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6257 rm -f conftest.i conftest.err conftest.
$ac_ext
6258 if $ac_preproc_ok; then :
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6271 $as_echo "$CPP" >&6; }
6273 for ac_c_preproc_warn_flag
in '' yes
6275 # Use a header file that comes with gcc, so configuring glibc
6276 # with a fresh cross-compiler works.
6277 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6278 # <limits.h> exists even on freestanding compilers.
6279 # On the NeXT, cc -E runs the code through the compiler's parser,
6280 # not just through cpp. "Syntax error" is here to catch this case.
6281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6282 /* end confdefs.h. */
6284 # include <limits.h>
6286 # include <assert.h>
6290 if ac_fn_c_try_cpp
"$LINENO"; then :
6293 # Broken: fails on valid input.
6296 rm -f conftest.err conftest.i conftest.
$ac_ext
6298 # OK, works on sane cases. Now check whether nonexistent headers
6299 # can be detected and how.
6300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6301 /* end confdefs.h. */
6302 #include <ac_nonexistent.h>
6304 if ac_fn_c_try_cpp
"$LINENO"; then :
6305 # Broken: success on invalid input.
6308 # Passes both tests.
6312 rm -f conftest.err conftest.i conftest.
$ac_ext
6315 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6316 rm -f conftest.i conftest.err conftest.
$ac_ext
6317 if $ac_preproc_ok; then :
6320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6322 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6323 See \`config.log' for more details" "$LINENO" 5; }
6327 ac_cpp
='$CPP $CPPFLAGS'
6328 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6329 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6330 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6334 $as_echo_n "checking for ANSI C header files... " >&6; }
6335 if ${ac_cv_header_stdc+:} false
; then :
6336 $as_echo_n "(cached) " >&6
6338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6339 /* end confdefs.h. */
6353 if ac_fn_c_try_compile
"$LINENO"; then :
6354 ac_cv_header_stdc
=yes
6356 ac_cv_header_stdc
=no
6358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6360 if test $ac_cv_header_stdc = yes; then
6361 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6363 /* end confdefs.h. */
6367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6368 $EGREP "memchr" >/dev
/null
2>&1; then :
6371 ac_cv_header_stdc
=no
6377 if test $ac_cv_header_stdc = yes; then
6378 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6385 $EGREP "free" >/dev
/null
2>&1; then :
6388 ac_cv_header_stdc
=no
6394 if test $ac_cv_header_stdc = yes; then
6395 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6396 if test "$cross_compiling" = yes; then :
6399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6403 #if ((' ' & 0x0FF) == 0x020)
6404 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6405 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6407 # define ISLOWER(c) \
6408 (('a' <= (c) && (c) <= 'i') \
6409 || ('j' <= (c) && (c) <= 'r') \
6410 || ('s' <= (c) && (c) <= 'z'))
6411 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6414 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6419 for (i = 0; i < 256; i++)
6420 if (XOR (islower (i), ISLOWER (i))
6421 || toupper (i) != TOUPPER (i))
6426 if ac_fn_c_try_run
"$LINENO"; then :
6429 ac_cv_header_stdc
=no
6431 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6432 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6438 $as_echo "$ac_cv_header_stdc" >&6; }
6439 if test $ac_cv_header_stdc = yes; then
6441 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6445 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6446 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6447 inttypes.h stdint.h unistd.h
6449 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6450 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6452 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6453 cat >>confdefs.h
<<_ACEOF
6454 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6464 ApplicationServices
/ApplicationServices.h \
6465 AudioToolbox
/AudioConverter.h \
6466 AudioUnit
/AudioUnit.h \
6467 AudioUnit
/AudioComponent.h \
6470 CoreAudio
/CoreAudio.h \
6471 CoreServices
/CoreServices.h \
6472 DiskArbitration
/DiskArbitration.h \
6474 IOKit
/hid
/IOHIDLib.h \
6477 QuickTime
/ImageCompression.h \
6478 Security
/Security.h \
6529 netinet
/in_systm.h \
6591 valgrind
/memcheck.h \
6592 valgrind
/valgrind.h \
6596 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6597 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6598 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6599 cat >>confdefs.h
<<_ACEOF
6600 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6608 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6609 if ${ac_cv_header_stat_broken+:} false
; then :
6610 $as_echo_n "(cached) " >&6
6612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6613 /* end confdefs.h. */
6614 #include <sys/types.h>
6615 #include <sys/stat.h>
6617 #if defined S_ISBLK && defined S_IFDIR
6618 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6621 #if defined S_ISBLK && defined S_IFCHR
6622 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6625 #if defined S_ISLNK && defined S_IFREG
6626 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6629 #if defined S_ISSOCK && defined S_IFREG
6630 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6634 if ac_fn_c_try_compile
"$LINENO"; then :
6635 ac_cv_header_stat_broken
=no
6637 ac_cv_header_stat_broken
=yes
6639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6642 $as_echo "$ac_cv_header_stat_broken" >&6; }
6643 if test $ac_cv_header_stat_broken = yes; then
6645 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6651 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6653 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6654 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6655 #ifdef HAVE_SYS_PARAM_H
6656 # include <sys/param.h>
6659 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6660 cat >>confdefs.h
<<_ACEOF
6661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6676 netinet
/if_ether.h \
6677 netinet
/if_inarp.h \
6686 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6687 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6688 #ifdef HAVE_SYS_SOCKET_H
6689 # include <sys/socket.h>
6691 #ifdef HAVE_SYS_SOCKETVAR_H
6692 # include <sys/socketvar.h>
6694 #ifdef HAVE_NET_ROUTE_H
6695 # include <net/route.h>
6697 #ifdef HAVE_NETINET_IN_H
6698 # include <netinet/in.h>
6700 #ifdef HAVE_NETINET_IN_SYSTM_H
6701 # include <netinet/in_systm.h>
6703 #ifdef HAVE_NET_IF_H
6704 # include <net/if.h>
6706 #ifdef HAVE_NETINET_IP_H
6707 # include <netinet/ip.h>
6710 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6711 cat >>confdefs.h
<<_ACEOF
6712 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6720 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6722 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6723 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6727 #ifdef HAVE_SYS_SOCKET_H
6728 # include <sys/socket.h>
6730 #ifdef HAVE_SYS_SOCKETVAR_H
6731 # include <sys/socketvar.h>
6733 #ifdef HAVE_SYS_TIMEOUT_H
6734 # include <sys/timeout.h>
6736 #ifdef HAVE_NETINET_IN_H
6737 # include <netinet/in.h>
6739 #ifdef HAVE_NETINET_IN_SYSTM_H
6740 # include <netinet/in_systm.h>
6742 #ifdef HAVE_NETINET_IP_H
6743 # include <netinet/ip.h>
6745 #ifdef HAVE_NETINET_IP_VAR_H
6746 # include <netinet/ip_var.h>
6748 #ifdef HAVE_NETINET_IP_ICMP_H
6749 # include <netinet/ip_icmp.h>
6751 #ifdef HAVE_NETINET_UDP_H
6752 # include <netinet/udp.h>
6754 #ifdef HAVE_NETINET_TCP_H
6755 # include <netinet/tcp.h>
6757 #ifdef HAVE_NETINET_TCP_TIMER_H
6758 #include <netinet/tcp_timer.h>
6761 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6762 cat >>confdefs.h
<<_ACEOF
6763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6771 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6773 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6774 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6775 #ifdef HAVE_ASM_TYPES_H
6776 # include <asm/types.h>
6778 #ifdef HAVE_SYS_SOCKET_H
6779 # include <sys/socket.h>
6781 #ifdef HAVE_LINUX_TYPES_H
6782 # include <linux/types.h>
6785 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6786 cat >>confdefs.h
<<_ACEOF
6787 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6795 for ac_header
in mach-o
/dyld_images.h
6797 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6798 # include <stdbool.h>
6800 #ifdef HAVE_STDINT_H
6801 # include <stdint.h>
6804 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6805 cat >>confdefs.h
<<_ACEOF
6806 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6814 for ac_header
in resolv.h
6816 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6817 #ifdef HAVE_SYS_SOCKET_H
6818 # include <sys/socket.h>
6820 #ifdef HAVE_NETINET_IN_H
6821 # include <netinet/in.h>
6823 #ifdef HAVE_ARPA_NAMESER_H
6824 # include <arpa/nameser.h>
6827 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6828 cat >>confdefs.h
<<_ACEOF
6829 #define HAVE_RESOLV_H 1
6837 for ac_header
in ifaddrs.h
6839 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6841 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6842 cat >>confdefs.h
<<_ACEOF
6843 #define HAVE_IFADDRS_H 1
6851 for ac_header
in sys
/ucontext.h
6853 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6855 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6856 cat >>confdefs.h
<<_ACEOF
6857 #define HAVE_SYS_UCONTEXT_H 1
6865 for ac_header
in sys
/thr.h
6867 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6868 #ifdef HAVE_SYS_UCONTEXT_H
6869 #include <sys/ucontext.h>
6872 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6873 cat >>confdefs.h
<<_ACEOF
6874 #define HAVE_SYS_THR_H 1
6882 for ac_header
in pthread_np.h
6884 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6885 #include <pthread.h>
6888 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6889 cat >>confdefs.h
<<_ACEOF
6890 #define HAVE_PTHREAD_NP_H 1
6898 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6900 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6901 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6902 #include <sys/time.h>
6904 #include <sys/types.h>
6905 #ifdef HAVE_ASM_TYPES_H
6906 #include <asm/types.h>
6909 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6910 cat >>confdefs.h
<<_ACEOF
6911 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6919 for ac_header
in libprocstat.h
6921 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6922 #include <sys/param.h>
6924 #ifdef HAVE_SYS_QUEUE_H
6925 #include <sys/queue.h>
6927 #ifdef HAVE_SYS_SOCKET_H
6928 #include <sys/socket.h>
6931 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6932 cat >>confdefs.h
<<_ACEOF
6933 #define HAVE_LIBPROCSTAT_H 1
6942 dlldir
="\${libdir}/wine"
6946 DLLFLAGS
="-D_REENTRANT"
6955 STATIC_IMPLIBEXT
="def.a"
6956 # Extract the first word of "ldd", so it can be a program name with args.
6957 set dummy ldd
; ac_word
=$2
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6959 $as_echo_n "checking for $ac_word... " >&6; }
6960 if ${ac_cv_path_LDD+:} false
; then :
6961 $as_echo_n "(cached) " >&6
6965 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6969 as_dummy
="/sbin:/usr/sbin:$PATH"
6970 for as_dir
in $as_dummy
6973 test -z "$as_dir" && as_dir
=.
6974 for ac_exec_ext
in '' $ac_executable_extensions; do
6975 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6976 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6984 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6989 if test -n "$LDD"; then
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6991 $as_echo "$LDD" >&6; }
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994 $as_echo "no" >&6; }
6998 if test -n "$ac_tool_prefix"; then
6999 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7000 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if ${ac_cv_prog_READELF+:} false
; then :
7004 $as_echo_n "(cached) " >&6
7006 if test -n "$READELF"; then
7007 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7013 test -z "$as_dir" && as_dir
=.
7014 for ac_exec_ext
in '' $ac_executable_extensions; do
7015 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7016 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7026 READELF
=$ac_cv_prog_READELF
7027 if test -n "$READELF"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7029 $as_echo "$READELF" >&6; }
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7037 if test -z "$ac_cv_prog_READELF"; then
7038 ac_ct_READELF
=$READELF
7039 # Extract the first word of "readelf", so it can be a program name with args.
7040 set dummy readelf
; ac_word
=$2
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7042 $as_echo_n "checking for $ac_word... " >&6; }
7043 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7044 $as_echo_n "(cached) " >&6
7046 if test -n "$ac_ct_READELF"; then
7047 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7053 test -z "$as_dir" && as_dir
=.
7054 for ac_exec_ext
in '' $ac_executable_extensions; do
7055 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7056 ac_cv_prog_ac_ct_READELF
="readelf"
7057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7066 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7067 if test -n "$ac_ct_READELF"; then
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7069 $as_echo "$ac_ct_READELF" >&6; }
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7072 $as_echo "no" >&6; }
7075 if test "x$ac_ct_READELF" = x
; then
7078 case $cross_compiling:$ac_tool_warned in
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7082 ac_tool_warned
=yes ;;
7084 READELF
=$ac_ct_READELF
7087 READELF
="$ac_cv_prog_READELF"
7090 wine_rules_file
=conf$
$rules.
make
7091 rm -f $wine_rules_file
7093 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7094 ALL_TEST_RESOURCES
=""
7097 wine_fn_append_file
()
7099 as_fn_append
$1 " \\$as_nl $2"
7102 wine_fn_ignore_file
()
7105 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7106 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7107 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7111 wine_fn_append_rule
()
7113 $as_echo "$1" >>$wine_rules_file
7118 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7121 wine_fn_depend_rules
()
7123 wine_fn_append_rule \
7124 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7125 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7126 depend: $ac_dir/depend
7127 .PHONY: $ac_dir/depend
7128 $ac_dir/depend: \$(MAKEDEP) dummy
7129 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7132 wine_fn_pot_rules
()
7134 test "x$with_gettextpo" = xyes ||
return
7136 if wine_fn_has_flag mc
7138 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7139 wine_fn_append_rule \
7140 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7141 @cd $ac_dir && \$(MAKE) msg.pot
7142 $ac_dir/msg.pot: tools/wmc include"
7144 if wine_fn_has_flag po
7146 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7147 wine_fn_append_rule \
7148 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7149 @cd $ac_dir && \$(MAKE) rsrc.pot
7150 $ac_dir/rsrc.pot: tools/wrc include"
7154 wine_fn_all_rules
()
7156 wine_fn_depend_rules
7157 wine_fn_append_rule \
7160 $ac_dir: $ac_dir/Makefile dummy
7161 @cd $ac_dir && \$(MAKE)"
7164 wine_fn_install_rules
()
7166 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7168 wine_fn_append_rule \
7169 ".PHONY: $ac_dir/install $ac_dir/uninstall
7170 $ac_dir/install:: $ac_dir
7171 @cd $ac_dir && \$(MAKE) install
7172 $ac_dir/uninstall:: $ac_dir/Makefile
7173 @cd $ac_dir && \$(MAKE) uninstall
7174 install:: $ac_dir/install
7175 __uninstall__: $ac_dir/uninstall"
7177 if wine_fn_has_flag install-lib
7179 wine_fn_append_rule \
7180 ".PHONY: $ac_dir/install-lib
7181 $ac_dir/install-lib:: $ac_dir
7182 @cd $ac_dir && \$(MAKE) install-lib
7183 install-lib:: $ac_dir/install-lib"
7186 if wine_fn_has_flag install-dev
7188 wine_fn_append_rule \
7189 ".PHONY: $ac_dir/install-dev
7190 $ac_dir/install-dev:: $ac_dir
7191 @cd $ac_dir && \$(MAKE) install-dev
7192 install-dev:: $ac_dir/install-dev"
7196 wine_fn_clean_rules
()
7199 ac_extraclean
="$ac_dir/Makefile"
7200 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7202 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7205 if wine_fn_has_flag clean
7207 wine_fn_append_rule \
7208 "__clean__: $ac_dir/clean
7209 .PHONY: $ac_dir/clean
7210 $ac_dir/clean: $ac_dir/Makefile
7211 @cd $ac_dir && \$(MAKE) clean
7212 \$(RM) $ac_extraclean"
7214 wine_fn_append_rule \
7215 "__clean__: $ac_dir/clean
7216 .PHONY: $ac_dir/clean
7217 $ac_dir/clean: dummy
7218 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7222 wine_fn_disabled_rules
()
7225 ac_extraclean
="$ac_dir/Makefile"
7226 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7228 wine_fn_append_rule \
7229 "__clean__: $ac_dir/clean
7230 .PHONY: $ac_dir/clean
7231 $ac_dir/clean: dummy
7232 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7235 wine_fn_config_makefile
()
7241 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7242 wine_fn_disabled_rules
; return
7245 wine_fn_install_rules
7249 wine_fn_config_lib
()
7253 ac_dir
=dlls
/$ac_name
7256 if test "x$enable_tools" = xno
; then :
7259 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7264 wine_fn_append_rule \
7265 ".PHONY: $ac_dir/install $ac_dir/uninstall
7266 $ac_dir/install:: $ac_dir
7267 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7269 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7270 install install-dev:: $ac_dir/install
7271 __uninstall__: $ac_dir/uninstall
7272 __builddeps__: $ac_dir
7276 wine_fn_config_dll
()
7279 ac_dir
=dlls
/$ac_name
7282 ac_implib
=${4:-$ac_name}
7283 ac_file
=$ac_dir/lib
$ac_implib
7288 if test "x$enable_tools" = xno
; then :
7291 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7294 *16) ac_implibflags
=" -m16" ;;
7296 *) ac_dll
=$ac_dll.dll
;;
7300 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7301 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7302 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7303 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7305 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7306 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7308 wine_fn_depend_rules
7309 wine_fn_clean_rules
$ac_clean
7311 wine_fn_disabled_rules
$ac_clean
7316 wine_fn_clean_rules
$ac_clean
7317 wine_fn_append_rule \
7318 "$ac_dir: __builddeps__
7319 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7320 @cd $ac_dir && \$(MAKE) \$@
7321 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7322 install install-lib:: $ac_dir/install-lib
7323 __uninstall__: $ac_dir/uninstall"
7324 if test -n "$DLLEXT"
7326 wine_fn_append_rule \
7327 "$ac_dir/install-lib:: $ac_dir
7328 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7329 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7331 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7333 wine_fn_append_rule \
7334 "$ac_dir/install-lib:: $ac_dir
7335 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7337 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7343 if wine_fn_has_flag staticimplib
7345 wine_fn_append_rule \
7346 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7347 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7348 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7349 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7350 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7351 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7352 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7353 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7354 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7356 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7357 install install-dev:: $ac_dir/install-dev
7358 __uninstall__: $ac_dir/uninstall"
7360 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7362 wine_fn_append_rule \
7363 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7364 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7366 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7369 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7371 wine_fn_append_rule \
7372 "__builddeps__: $ac_file.cross.a
7373 $ac_file.cross.a: $ac_dir/Makefile dummy
7374 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7377 elif wine_fn_has_flag implib
7379 wine_fn_append_rule \
7380 "__builddeps__: $ac_file.$IMPLIBEXT
7381 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7382 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7383 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7384 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7385 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7386 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7387 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7389 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7390 install install-dev:: $ac_dir/install-dev
7391 __uninstall__: $ac_dir/uninstall"
7392 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7394 wine_fn_append_rule \
7395 "__builddeps__: $ac_file.cross.a
7396 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7397 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7400 if test "$ac_name" != "$ac_implib"
7402 wine_fn_append_rule \
7403 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7404 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7405 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7407 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7408 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7409 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7411 wine_fn_append_rule \
7412 "__builddeps__: dlls/lib$ac_implib.cross.a
7413 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7414 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7416 \$(RM) dlls/lib$ac_implib.cross.a"
7417 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7423 wine_fn_config_program
()
7426 ac_dir
=programs
/$ac_name
7433 *) ac_program
=$ac_program.exe
;;
7437 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7438 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7439 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7440 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7442 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7443 wine_fn_disabled_rules
$ac_clean; return
7447 wine_fn_clean_rules
$ac_clean
7448 wine_fn_append_rule
"$ac_dir: __builddeps__"
7451 wine_fn_has_flag
install ||
return
7452 wine_fn_append_rule \
7453 ".PHONY: $ac_dir/install $ac_dir/uninstall
7454 install install-lib:: $ac_dir/install
7455 __uninstall__: $ac_dir/uninstall"
7457 if test -n "$DLLEXT"
7459 wine_fn_append_rule \
7460 "$ac_dir/install:: $ac_dir
7461 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7462 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7464 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7466 if test -z "$with_wine64" && wine_fn_has_flag installbin
7468 wine_fn_append_rule \
7469 "$ac_dir/install:: __tooldeps__
7470 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7472 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7475 wine_fn_append_rule \
7476 "$ac_dir/install:: $ac_dir
7477 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7479 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7482 if test -z "$with_wine64" && wine_fn_has_flag manpage
7484 wine_fn_append_rule \
7485 "$ac_dir/install:: $ac_dir
7486 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7488 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7492 wine_fn_config_test
()
7499 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7500 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7502 if test "x$enable_tests" = xno
; then :
7503 wine_fn_disabled_rules
$ac_clean; return
7506 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7508 wine_fn_clean_rules
$ac_clean
7510 wine_fn_append_rule \
7511 "$ac_dir: programs/winetest/Makefile __builddeps__
7512 programs/winetest: $ac_dir
7513 check test: $ac_dir/test
7514 .PHONY: $ac_dir/test
7516 @cd $ac_dir && \$(MAKE) test
7518 \$(RM) $ac_dir/*.ok"
7520 if test -n "$CROSSTARGET"
7522 wine_fn_append_rule \
7523 "crosstest: $ac_dir/crosstest
7524 .PHONY: $ac_dir/crosstest
7525 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7526 @cd $ac_dir && \$(MAKE) crosstest"
7530 wine_fn_config_tool
()
7534 if test "x$enable_tools" = xno
; then :
7539 wine_fn_install_rules
7542 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7543 wine_fn_append_rule
"$ac_dir: libs/port"
7545 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7549 wine_fn_config_symlink
()
7552 if test "x$1" = "x-d"
7558 wine_fn_append_rule \
7560 @./config.status \$@
7563 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7564 test -n "$ac_linkdir" ||
return
7565 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7569 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7570 loader_programs
="$wine_binary wine-installed"
7571 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7576 install install-lib:: wine-installed
7577 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7580 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7586 if test -n "$ac_tool_prefix"; then
7587 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7588 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7590 $as_echo_n "checking for $ac_word... " >&6; }
7591 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7592 $as_echo_n "(cached) " >&6
7594 if test -n "$DLLTOOL"; then
7595 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7601 test -z "$as_dir" && as_dir
=.
7602 for ac_exec_ext
in '' $ac_executable_extensions; do
7603 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7604 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7614 DLLTOOL
=$ac_cv_prog_DLLTOOL
7615 if test -n "$DLLTOOL"; then
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7617 $as_echo "$DLLTOOL" >&6; }
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7620 $as_echo "no" >&6; }
7625 if test -z "$ac_cv_prog_DLLTOOL"; then
7626 ac_ct_DLLTOOL
=$DLLTOOL
7627 # Extract the first word of "dlltool", so it can be a program name with args.
7628 set dummy dlltool
; ac_word
=$2
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7630 $as_echo_n "checking for $ac_word... " >&6; }
7631 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7632 $as_echo_n "(cached) " >&6
7634 if test -n "$ac_ct_DLLTOOL"; then
7635 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7641 test -z "$as_dir" && as_dir
=.
7642 for ac_exec_ext
in '' $ac_executable_extensions; do
7643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7644 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7654 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7655 if test -n "$ac_ct_DLLTOOL"; then
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7657 $as_echo "$ac_ct_DLLTOOL" >&6; }
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7660 $as_echo "no" >&6; }
7663 if test "x$ac_ct_DLLTOOL" = x
; then
7666 case $cross_compiling:$ac_tool_warned in
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7670 ac_tool_warned
=yes ;;
7672 DLLTOOL
=$ac_ct_DLLTOOL
7675 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7681 STATIC_IMPLIBEXT
="a"
7682 enable_iphlpapi
=${enable_iphlpapi:-no}
7683 enable_kernel32
=${enable_kernel32:-no}
7684 enable_msvcrt
=${enable_msvcrt:-no}
7685 enable_ntdll
=${enable_ntdll:-no}
7686 enable_ws2_32
=${enable_ws2_32:-no}
7687 enable_loader
=${enable_loader:-no}
7688 enable_server
=${enable_server:-no}
7689 with_x
=${with_x:-no}
7690 with_pthread
=${with_pthread:-no}
7696 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7700 libwine_targets
="libwine.dll libwine.a"
7702 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7704 all: libwine.dll libwine.a
7706 libwine.a: \$(srcdir)/wine.def
7707 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7709 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7710 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7712 install install-lib:: libwine.dll
7713 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7715 install install-dev:: libwine.a
7716 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7719 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7726 DLLFLAGS
="$DLLFLAGS -fPIC"
7727 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7728 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7729 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7730 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7732 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7734 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7736 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7738 CORESERVICES_LIBS
="-framework CoreServices"
7740 APPKIT_LIBS
="-framework AppKit"
7742 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7744 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7745 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7746 $as_echo_n "(cached) " >&6
7748 ac_wine_try_cflags_saved
=$CFLAGS
7749 CFLAGS
="$CFLAGS -Wl,-no_pie"
7750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7751 /* end confdefs.h. */
7752 int main(int argc, char **argv) { return 0; }
7754 if ac_fn_c_try_link
"$LINENO"; then :
7755 ac_cv_cflags__Wl__no_pie
=yes
7757 ac_cv_cflags__Wl__no_pie
=no
7759 rm -f core conftest.err conftest.
$ac_objext \
7760 conftest
$ac_exeext conftest.
$ac_ext
7761 CFLAGS
=$ac_wine_try_cflags_saved
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7764 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7765 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7766 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7768 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7770 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7773 if test "$ac_cv_header_Security_Security_h" = "yes"
7775 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7777 ac_save_LIBS
="$LIBS"
7778 LIBS
="$LIBS $SECURITY_LIBS"
7779 for ac_func
in SSLCopyPeerCertificates
7781 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7782 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7783 cat >>confdefs.h
<<_ACEOF
7784 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7790 LIBS
="$ac_save_LIBS"
7791 with_gnutls
=${with_gnutls:-no}
7793 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7795 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7797 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7800 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7803 ac_save_LIBS
="$LIBS"
7804 LIBS
="$LIBS $COREAUDIO_LIBS"
7805 for ac_func
in AUGraphAddNode
7807 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7808 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7809 cat >>confdefs.h
<<_ACEOF
7810 #define HAVE_AUGRAPHADDNODE 1
7816 LIBS
="$ac_save_LIBS"
7818 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7820 OPENAL_LIBS
="-framework OpenAL"
7823 cat >>confdefs.h
<<_ACEOF
7824 #define HAVE_OPENAL 1
7827 ac_cv_lib_openal
=yes
7829 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7831 OPENCL_LIBS
="-framework OpenCL"
7833 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7835 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7837 ac_save_LIBS
="$LIBS"
7838 LIBS
="$LIBS $IOKIT_LIBS"
7839 for ac_func
in IOHIDManagerCreate
7841 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7842 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7843 cat >>confdefs.h
<<_ACEOF
7844 #define HAVE_IOHIDMANAGERCREATE 1
7850 LIBS
="$ac_save_LIBS"
7852 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7854 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7856 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7858 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7860 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7862 CARBON_LIBS
="-framework Carbon"
7866 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7868 ac_save_LIBS
="$LIBS"
7869 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7870 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7871 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7872 enable_winemac_drv
=${enable_winemac_drv:-yes}
7875 LIBS
="$ac_save_LIBS"
7878 if test "x$enable_win16" = "xyes"
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7881 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7882 if test "$cross_compiling" = yes; then :
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7884 $as_echo "cross-compiling, assuming yes" >&6; }
7886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7887 /* end confdefs.h. */
7890 "good:\tnop;nop\n\t"
7891 ".globl _testfunc\n"
7892 "_testfunc:\tcallw good");
7893 extern void testfunc();
7897 unsigned short *p = (unsigned short *)testfunc;
7898 return p[0] != 0xe866 || p[1] != 0xfffa
7903 if ac_fn_c_try_run
"$LINENO"; then :
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7905 $as_echo "yes" >&6; }
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7908 $as_echo "no" >&6; }
7909 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
7911 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7912 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7917 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7919 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7923 libwine.$libwine_version.dylib: \$(OBJS)
7924 \$(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 \$@
7926 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7927 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7929 libwine.dylib: libwine.$libwine_soversion.dylib
7930 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7932 install install-lib:: libwine.$libwine_version.dylib
7933 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7934 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7936 install install-dev::
7937 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7940 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7944 as_fn_append LOADER_RULES
"
7945 $wine_binary: main.o wine_info.plist
7946 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7948 wine-installed: main.o wine_info.plist
7949 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7954 DLLFLAGS
="$DLLFLAGS -fPIC"
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7959 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7960 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7961 $as_echo_n "(cached) " >&6
7963 ac_wine_try_cflags_saved
=$CFLAGS
7964 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7966 /* end confdefs.h. */
7967 int main(int argc, char **argv) { return 0; }
7969 if ac_fn_c_try_link
"$LINENO"; then :
7970 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7972 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7974 rm -f core conftest.err conftest.
$ac_objext \
7975 conftest
$ac_exeext conftest.
$ac_ext
7976 CFLAGS
=$ac_wine_try_cflags_saved
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7979 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7980 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7981 LDEXECFLAGS
="-Wl,--export-dynamic"
7983 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7985 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7986 if eval \
${$as_ac_var+:} false
; then :
7987 $as_echo_n "(cached) " >&6
7989 ac_wine_try_cflags_saved
=$CFLAGS
7990 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7992 /* end confdefs.h. */
7993 int main(int argc, char **argv) { return 0; }
7995 if ac_fn_c_try_link
"$LINENO"; then :
7996 eval "$as_ac_var=yes"
7998 eval "$as_ac_var=no"
8000 rm -f core conftest.err conftest.
$ac_objext \
8001 conftest
$ac_exeext conftest.
$ac_ext
8002 CFLAGS
=$ac_wine_try_cflags_saved
8004 eval ac_res
=\$
$as_ac_var
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8006 $as_echo "$ac_res" >&6; }
8007 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8008 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8009 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8011 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8013 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8014 if eval \
${$as_ac_var+:} false
; then :
8015 $as_echo_n "(cached) " >&6
8017 ac_wine_try_cflags_saved
=$CFLAGS
8018 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8020 /* end confdefs.h. */
8021 int main(int argc, char **argv) { return 0; }
8023 if ac_fn_c_try_link
"$LINENO"; then :
8024 eval "$as_ac_var=yes"
8026 eval "$as_ac_var=no"
8028 rm -f core conftest.err conftest.
$ac_objext \
8029 conftest
$ac_exeext conftest.
$ac_ext
8030 CFLAGS
=$ac_wine_try_cflags_saved
8032 eval ac_res
=\$
$as_ac_var
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8034 $as_echo "$ac_res" >&6; }
8035 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8036 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8037 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8042 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8043 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8044 $as_echo_n "(cached) " >&6
8046 ac_wine_try_cflags_saved
=$CFLAGS
8047 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8049 /* end confdefs.h. */
8050 int main(int argc, char **argv) { return 0; }
8052 if ac_fn_c_try_link
"$LINENO"; then :
8053 ac_cv_cflags__Wl___enable_new_dtags
=yes
8055 ac_cv_cflags__Wl___enable_new_dtags
=no
8057 rm -f core conftest.err conftest.
$ac_objext \
8058 conftest
$ac_exeext conftest.
$ac_ext
8059 CFLAGS
=$ac_wine_try_cflags_saved
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8062 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8063 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8064 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8068 *i
[3456789]86* | x86_64
)
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8070 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8071 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8072 $as_echo_n "(cached) " >&6
8074 ac_wine_try_cflags_saved
=$CFLAGS
8075 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8077 /* end confdefs.h. */
8078 int main(int argc, char **argv) { return 0; }
8080 if ac_fn_c_try_link
"$LINENO"; then :
8081 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8083 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8085 rm -f core conftest.err conftest.
$ac_objext \
8086 conftest
$ac_exeext conftest.
$ac_ext
8087 CFLAGS
=$ac_wine_try_cflags_saved
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8090 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8091 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8092 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8097 libwine_targets
="libwine.so"
8099 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8103 libwine.so: \$(OBJS)
8104 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8106 install install-lib:: libwine.so
8107 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8110 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8114 as_fn_append LOADER_RULES
"
8115 $wine_binary: main.o
8116 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8118 wine-installed: main.o
8119 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8124 DLLFLAGS
="$DLLFLAGS -fPIC"
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8127 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8128 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8129 $as_echo_n "(cached) " >&6
8131 ac_wine_try_cflags_saved
=$CFLAGS
8132 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8134 /* end confdefs.h. */
8137 if ac_fn_c_try_link
"$LINENO"; then :
8138 ac_cv_c_dll_gnuelf
="yes"
8140 ac_cv_c_dll_gnuelf
="no"
8142 rm -f core conftest.err conftest.
$ac_objext \
8143 conftest
$ac_exeext conftest.
$ac_ext
8144 CFLAGS
=$ac_wine_try_cflags_saved
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8147 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8148 if test "$ac_cv_c_dll_gnuelf" = "yes"
8150 LDSHARED
="\$(CC) -shared"
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8152 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8153 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8154 $as_echo_n "(cached) " >&6
8156 ac_wine_try_cflags_saved
=$CFLAGS
8157 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8159 /* end confdefs.h. */
8160 int main(int argc, char **argv) { return 0; }
8162 if ac_fn_c_try_link
"$LINENO"; then :
8163 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8165 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8167 rm -f core conftest.err conftest.
$ac_objext \
8168 conftest
$ac_exeext conftest.
$ac_ext
8169 CFLAGS
=$ac_wine_try_cflags_saved
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8172 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8173 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8174 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8177 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8178 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8179 $as_echo_n "(cached) " >&6
8181 ac_wine_try_cflags_saved
=$CFLAGS
8182 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8184 /* end confdefs.h. */
8185 int main(int argc, char **argv) { return 0; }
8187 if ac_fn_c_try_link
"$LINENO"; then :
8188 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8190 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8192 rm -f core conftest.err conftest.
$ac_objext \
8193 conftest
$ac_exeext conftest.
$ac_ext
8194 CFLAGS
=$ac_wine_try_cflags_saved
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8197 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8198 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8199 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8203 echo '{ global: *; };' >conftest.map
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8205 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8206 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8207 $as_echo_n "(cached) " >&6
8209 ac_wine_try_cflags_saved
=$CFLAGS
8210 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8212 /* end confdefs.h. */
8213 int main(int argc, char **argv) { return 0; }
8215 if ac_fn_c_try_link
"$LINENO"; then :
8216 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8218 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8220 rm -f core conftest.err conftest.
$ac_objext \
8221 conftest
$ac_exeext conftest.
$ac_ext
8222 CFLAGS
=$ac_wine_try_cflags_saved
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8225 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8226 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8227 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8232 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8233 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8234 $as_echo_n "(cached) " >&6
8236 ac_wine_try_cflags_saved
=$CFLAGS
8237 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8239 /* end confdefs.h. */
8240 int main(int argc, char **argv) { return 0; }
8242 if ac_fn_c_try_link
"$LINENO"; then :
8243 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8245 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8247 rm -f core conftest.err conftest.
$ac_objext \
8248 conftest
$ac_exeext conftest.
$ac_ext
8249 CFLAGS
=$ac_wine_try_cflags_saved
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8252 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8253 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8254 LDEXECFLAGS
="-Wl,--export-dynamic"
8257 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8259 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8260 if eval \
${$as_ac_var+:} false
; then :
8261 $as_echo_n "(cached) " >&6
8263 ac_wine_try_cflags_saved
=$CFLAGS
8264 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8266 /* end confdefs.h. */
8267 int main(int argc, char **argv) { return 0; }
8269 if ac_fn_c_try_link
"$LINENO"; then :
8270 eval "$as_ac_var=yes"
8272 eval "$as_ac_var=no"
8274 rm -f core conftest.err conftest.
$ac_objext \
8275 conftest
$ac_exeext conftest.
$ac_ext
8276 CFLAGS
=$ac_wine_try_cflags_saved
8278 eval ac_res
=\$
$as_ac_var
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8280 $as_echo "$ac_res" >&6; }
8281 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8282 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8283 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8285 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8287 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8288 if eval \
${$as_ac_var+:} false
; then :
8289 $as_echo_n "(cached) " >&6
8291 ac_wine_try_cflags_saved
=$CFLAGS
8292 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8294 /* end confdefs.h. */
8295 int main(int argc, char **argv) { return 0; }
8297 if ac_fn_c_try_link
"$LINENO"; then :
8298 eval "$as_ac_var=yes"
8300 eval "$as_ac_var=no"
8302 rm -f core conftest.err conftest.
$ac_objext \
8303 conftest
$ac_exeext conftest.
$ac_ext
8304 CFLAGS
=$ac_wine_try_cflags_saved
8306 eval ac_res
=\$
$as_ac_var
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8308 $as_echo "$ac_res" >&6; }
8309 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8310 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8311 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8316 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8317 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8318 $as_echo_n "(cached) " >&6
8320 ac_wine_try_cflags_saved
=$CFLAGS
8321 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8323 /* end confdefs.h. */
8324 int main(int argc, char **argv) { return 0; }
8326 if ac_fn_c_try_link
"$LINENO"; then :
8327 ac_cv_cflags__Wl___enable_new_dtags
=yes
8329 ac_cv_cflags__Wl___enable_new_dtags
=no
8331 rm -f core conftest.err conftest.
$ac_objext \
8332 conftest
$ac_exeext conftest.
$ac_ext
8333 CFLAGS
=$ac_wine_try_cflags_saved
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8336 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8337 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8338 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8342 *i
[3456789]86* | x86_64
)
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8344 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8345 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8346 $as_echo_n "(cached) " >&6
8348 ac_wine_try_cflags_saved
=$CFLAGS
8349 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8352 int main(int argc, char **argv) { return 0; }
8354 if ac_fn_c_try_link
"$LINENO"; then :
8355 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8357 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8359 rm -f core conftest.err conftest.
$ac_objext \
8360 conftest
$ac_exeext conftest.
$ac_ext
8361 CFLAGS
=$ac_wine_try_cflags_saved
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8364 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8365 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8367 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8368 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8372 # Extract the first word of "prelink", so it can be a program name with args.
8373 set dummy prelink
; ac_word
=$2
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8375 $as_echo_n "checking for $ac_word... " >&6; }
8376 if ${ac_cv_path_PRELINK+:} false
; then :
8377 $as_echo_n "(cached) " >&6
8381 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8385 for as_dir
in /sbin
/usr
/sbin
$PATH
8388 test -z "$as_dir" && as_dir
=.
8389 for ac_exec_ext
in '' $ac_executable_extensions; do
8390 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8391 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8399 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8403 PRELINK
=$ac_cv_path_PRELINK
8404 if test -n "$PRELINK"; then
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8406 $as_echo "$PRELINK" >&6; }
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8409 $as_echo "no" >&6; }
8413 if test "x$PRELINK" = xfalse
8415 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8422 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8423 if ${ac_cv_c_dll_unixware+:} false
; then :
8424 $as_echo_n "(cached) " >&6
8426 ac_wine_try_cflags_saved
=$CFLAGS
8427 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8429 /* end confdefs.h. */
8432 if ac_fn_c_try_link
"$LINENO"; then :
8433 ac_cv_c_dll_unixware
="yes"
8435 ac_cv_c_dll_unixware
="no"
8437 rm -f core conftest.err conftest.
$ac_objext \
8438 conftest
$ac_exeext conftest.
$ac_ext
8439 CFLAGS
=$ac_wine_try_cflags_saved
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8442 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8443 if test "$ac_cv_c_dll_unixware" = "yes"
8445 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8448 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8450 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8454 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8455 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8457 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8458 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8460 libwine.so: libwine.so.$libwine_soversion
8461 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8463 install install-lib:: libwine.so.$libwine_version
8464 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8465 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8467 install install-dev::
8468 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8471 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8475 as_fn_append LOADER_RULES
"
8476 $wine_binary: main.o
8477 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8479 wine-installed: main.o
8480 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8485 as_fn_append LIBWINE_RULES
"
8486 EXTRA_TARGETS = $libwine_targets
8489 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8490 enable_winemac_drv
=${enable_winemac_drv:-no}
8494 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8498 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
8501 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 " ;;
8503 ac_prefix_list
="" ;;
8505 for ac_prog
in $ac_prefix_list
8507 # Extract the first word of "$ac_prog", so it can be a program name with args.
8508 set dummy
$ac_prog; ac_word
=$2
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8510 $as_echo_n "checking for $ac_word... " >&6; }
8511 if ${ac_cv_prog_CROSSCC+:} false
; then :
8512 $as_echo_n "(cached) " >&6
8514 if test -n "$CROSSCC"; then
8515 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8521 test -z "$as_dir" && as_dir
=.
8522 for ac_exec_ext
in '' $ac_executable_extensions; do
8523 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8524 ac_cv_prog_CROSSCC
="$ac_prog"
8525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8534 CROSSCC
=$ac_cv_prog_CROSSCC
8535 if test -n "$CROSSCC"; then
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8537 $as_echo "$CROSSCC" >&6; }
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8540 $as_echo "no" >&6; }
8544 test -n "$CROSSCC" && break
8546 test -n "$CROSSCC" || CROSSCC
="false"
8548 if test "$CROSSCC" != "false"
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8553 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8555 /* end confdefs.h. */
8565 if ac_fn_c_try_compile
"$LINENO"; then :
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8567 $as_echo "yes" >&6; }
8573 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8579 $as_echo "no" >&6; }
8581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8587 if test "$ac_cv_header_pthread_h" = "yes"
8589 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8590 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8594 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8595 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8596 $as_echo_n "(cached) " >&6
8598 ac_check_lib_save_LIBS
=$LIBS
8599 LIBS
="-lpthread $LIBS"
8600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8601 /* end confdefs.h. */
8603 /* Override any GCC internal prototype to avoid an error.
8604 Use char because int might match the return type of a GCC
8605 builtin and then its argument prototype would still apply. */
8609 char pthread_create ();
8613 return pthread_create ();
8618 if ac_fn_c_try_link
"$LINENO"; then :
8619 ac_cv_lib_pthread_pthread_create
=yes
8621 ac_cv_lib_pthread_pthread_create
=no
8623 rm -f core conftest.err conftest.
$ac_objext \
8624 conftest
$ac_exeext conftest.
$ac_ext
8625 LIBS
=$ac_check_lib_save_LIBS
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8628 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8629 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8630 PTHREAD_LIBS
="-lpthread"
8637 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8638 case "x$with_pthread" in
8640 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8641 Wine cannot support threads without libpthread.
8642 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8648 $as_echo_n "checking for X... " >&6; }
8651 # Check whether --with-x was given.
8652 if test "${with_x+set}" = set; then :
8656 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8657 if test "x$with_x" = xno
; then
8658 # The user explicitly disabled X.
8661 case $x_includes,$x_libraries in #(
8662 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8663 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8664 $as_echo_n "(cached) " >&6
8666 # One or both of the vars are not set, and there is no cached value.
8667 ac_x_includes
=no ac_x_libraries
=no
8668 rm -f -r conftest.dir
8669 if mkdir conftest.dir
; then
8671 cat >Imakefile
<<'_ACEOF'
8673 @echo incroot='${INCROOT}'
8675 @echo usrlibdir='${USRLIBDIR}'
8677 @echo libdir='${LIBDIR}'
8679 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8680 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8681 for ac_var
in incroot usrlibdir libdir
; do
8682 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8684 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8685 for ac_extension
in a so sl dylib la dll
; do
8686 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8687 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8688 ac_im_usrlibdir
=$ac_im_libdir; break
8691 # Screen out bogus values from the imake configuration. They are
8692 # bogus both because they are the default anyway, and because
8693 # using them would break gcc on systems where it needs fixed includes.
8694 case $ac_im_incroot in
8695 /usr
/include
) ac_x_includes
= ;;
8696 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8698 case $ac_im_usrlibdir in
8699 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8700 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8704 rm -f -r conftest.dir
8707 # Standard set of common directories for X headers.
8708 # Check X11 before X11Rn because it is often a symlink to the current release.
8722 /usr/local/X11/include
8723 /usr/local/X11R7/include
8724 /usr/local/X11R6/include
8725 /usr/local/X11R5/include
8726 /usr/local/X11R4/include
8728 /usr/local/include/X11
8729 /usr/local/include/X11R7
8730 /usr/local/include/X11R6
8731 /usr/local/include/X11R5
8732 /usr/local/include/X11R4
8736 /usr/XFree86/include/X11
8740 /usr/unsupported/include
8742 /usr/local/x11r5/include
8743 /usr/lpp/Xamples/include
8745 /usr/openwin/include
8746 /usr/openwin/share/include'
8748 if test "$ac_x_includes" = no
; then
8749 # Guess where to find include files, by looking for Xlib.h.
8750 # First, try using that file with no special directory specified.
8751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8752 /* end confdefs.h. */
8753 #include <X11/Xlib.h>
8755 if ac_fn_c_try_cpp
"$LINENO"; then :
8756 # We can compile using X headers with no special include directory.
8759 for ac_dir
in $ac_x_header_dirs; do
8760 if test -r "$ac_dir/X11/Xlib.h"; then
8761 ac_x_includes
=$ac_dir
8766 rm -f conftest.err conftest.i conftest.
$ac_ext
8767 fi # $ac_x_includes = no
8769 if test "$ac_x_libraries" = no
; then
8770 # Check for the libraries.
8771 # See if we find them without any special options.
8772 # Don't add to $LIBS permanently.
8775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8776 /* end confdefs.h. */
8777 #include <X11/Xlib.h>
8786 if ac_fn_c_try_link
"$LINENO"; then :
8788 # We can link X programs with no special library path.
8792 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8794 # Don't even attempt the hair of trying to link an X program!
8795 for ac_extension
in a so sl dylib la dll
; do
8796 if test -r "$ac_dir/libX11.$ac_extension"; then
8797 ac_x_libraries
=$ac_dir
8803 rm -f core conftest.err conftest.
$ac_objext \
8804 conftest
$ac_exeext conftest.
$ac_ext
8805 fi # $ac_x_libraries = no
8807 case $ac_x_includes,$ac_x_libraries in #(
8809 # Didn't find X, or a directory has "'" in its name.
8810 ac_cv_have_x
="have_x=no";; #(
8812 # Record where we found X for the cache.
8813 ac_cv_have_x
="have_x=yes\
8814 ac_x_includes='$ac_x_includes'\
8815 ac_x_libraries='$ac_x_libraries'"
8821 eval "$ac_cv_have_x"
8824 if test "$have_x" != yes; then
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8826 $as_echo "$have_x" >&6; }
8829 # If each of the values was on the command line, it overrides each guess.
8830 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8831 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8832 # Update the cache value to reflect the command line values.
8833 ac_cv_have_x
="have_x=yes\
8834 ac_x_includes='$x_includes'\
8835 ac_x_libraries='$x_libraries'"
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8837 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8840 if test "$no_x" = yes; then
8841 # Not all programs may use this symbol, but it does not hurt to define it.
8843 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8845 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8847 if test -n "$x_includes"; then
8848 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8851 # It would also be nice to do this for all -L options, not just this one.
8852 if test -n "$x_libraries"; then
8853 X_LIBS
="$X_LIBS -L$x_libraries"
8854 # For Solaris; some versions of Sun CC require a space after -R and
8855 # others require no space. Words are not sufficient . . . .
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8857 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8858 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8859 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8860 ac_c_werror_flag
=yes
8861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8862 /* end confdefs.h. */
8872 if ac_fn_c_try_link
"$LINENO"; then :
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8874 $as_echo "no" >&6; }
8875 X_LIBS
="$X_LIBS -R$x_libraries"
8877 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8879 /* end confdefs.h. */
8889 if ac_fn_c_try_link
"$LINENO"; then :
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8891 $as_echo "yes" >&6; }
8892 X_LIBS
="$X_LIBS -R $x_libraries"
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8895 $as_echo "neither works" >&6; }
8897 rm -f core conftest.err conftest.
$ac_objext \
8898 conftest
$ac_exeext conftest.
$ac_ext
8900 rm -f core conftest.err conftest.
$ac_objext \
8901 conftest
$ac_exeext conftest.
$ac_ext
8902 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8906 # Check for system-dependent libraries X programs must link with.
8907 # Do this before checking for the system-independent R6 libraries
8908 # (-lICE), since we may need -lsocket or whatever for X linking.
8910 if test "$ISC" = yes; then
8911 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8913 # Martyn Johnson says this is needed for Ultrix, if the X
8914 # libraries were built with DECnet support. And Karl Berry says
8915 # the Alpha needs dnet_stub (dnet does not exist).
8916 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8918 /* end confdefs.h. */
8920 /* Override any GCC internal prototype to avoid an error.
8921 Use char because int might match the return type of a GCC
8922 builtin and then its argument prototype would still apply. */
8926 char XOpenDisplay ();
8930 return XOpenDisplay ();
8935 if ac_fn_c_try_link
"$LINENO"; then :
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8939 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8940 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8941 $as_echo_n "(cached) " >&6
8943 ac_check_lib_save_LIBS
=$LIBS
8945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8946 /* end confdefs.h. */
8948 /* Override any GCC internal prototype to avoid an error.
8949 Use char because int might match the return type of a GCC
8950 builtin and then its argument prototype would still apply. */
8958 return dnet_ntoa ();
8963 if ac_fn_c_try_link
"$LINENO"; then :
8964 ac_cv_lib_dnet_dnet_ntoa
=yes
8966 ac_cv_lib_dnet_dnet_ntoa
=no
8968 rm -f core conftest.err conftest.
$ac_objext \
8969 conftest
$ac_exeext conftest.
$ac_ext
8970 LIBS
=$ac_check_lib_save_LIBS
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8973 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8974 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8975 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8978 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8980 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8981 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8982 $as_echo_n "(cached) " >&6
8984 ac_check_lib_save_LIBS
=$LIBS
8985 LIBS
="-ldnet_stub $LIBS"
8986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8987 /* end confdefs.h. */
8989 /* Override any GCC internal prototype to avoid an error.
8990 Use char because int might match the return type of a GCC
8991 builtin and then its argument prototype would still apply. */
8999 return dnet_ntoa ();
9004 if ac_fn_c_try_link
"$LINENO"; then :
9005 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9007 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9009 rm -f core conftest.err conftest.
$ac_objext \
9010 conftest
$ac_exeext conftest.
$ac_ext
9011 LIBS
=$ac_check_lib_save_LIBS
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9014 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9015 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9016 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9021 rm -f core conftest.err conftest.
$ac_objext \
9022 conftest
$ac_exeext conftest.
$ac_ext
9023 LIBS
="$ac_xsave_LIBS"
9025 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9026 # to get the SysV transport functions.
9027 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9029 # The nsl library prevents programs from opening the X display
9030 # on Irix 5.2, according to T.E. Dickey.
9031 # The functions gethostbyname, getservbyname, and inet_addr are
9032 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9033 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9034 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9038 if test $ac_cv_func_gethostbyname = no
; then
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9040 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9041 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9042 $as_echo_n "(cached) " >&6
9044 ac_check_lib_save_LIBS
=$LIBS
9046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9047 /* end confdefs.h. */
9049 /* Override any GCC internal prototype to avoid an error.
9050 Use char because int might match the return type of a GCC
9051 builtin and then its argument prototype would still apply. */
9055 char gethostbyname ();
9059 return gethostbyname ();
9064 if ac_fn_c_try_link
"$LINENO"; then :
9065 ac_cv_lib_nsl_gethostbyname
=yes
9067 ac_cv_lib_nsl_gethostbyname
=no
9069 rm -f core conftest.err conftest.
$ac_objext \
9070 conftest
$ac_exeext conftest.
$ac_ext
9071 LIBS
=$ac_check_lib_save_LIBS
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9074 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9075 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9076 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9079 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9081 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9082 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9083 $as_echo_n "(cached) " >&6
9085 ac_check_lib_save_LIBS
=$LIBS
9087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9088 /* end confdefs.h. */
9090 /* Override any GCC internal prototype to avoid an error.
9091 Use char because int might match the return type of a GCC
9092 builtin and then its argument prototype would still apply. */
9096 char gethostbyname ();
9100 return gethostbyname ();
9105 if ac_fn_c_try_link
"$LINENO"; then :
9106 ac_cv_lib_bsd_gethostbyname
=yes
9108 ac_cv_lib_bsd_gethostbyname
=no
9110 rm -f core conftest.err conftest.
$ac_objext \
9111 conftest
$ac_exeext conftest.
$ac_ext
9112 LIBS
=$ac_check_lib_save_LIBS
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9115 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9116 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9117 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9123 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9124 # socket/setsockopt and other routines are undefined under SCO ODT
9125 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9126 # on later versions), says Simon Leinen: it contains gethostby*
9127 # variants that don't use the name server (or something). -lsocket
9128 # must be given before -lnsl if both are needed. We assume that
9129 # if connect needs -lnsl, so does gethostbyname.
9130 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9131 if test "x$ac_cv_func_connect" = xyes
; then :
9135 if test $ac_cv_func_connect = no
; then
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9137 $as_echo_n "checking for connect in -lsocket... " >&6; }
9138 if ${ac_cv_lib_socket_connect+:} false
; then :
9139 $as_echo_n "(cached) " >&6
9141 ac_check_lib_save_LIBS
=$LIBS
9142 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9146 /* Override any GCC internal prototype to avoid an error.
9147 Use char because int might match the return type of a GCC
9148 builtin and then its argument prototype would still apply. */
9161 if ac_fn_c_try_link
"$LINENO"; then :
9162 ac_cv_lib_socket_connect
=yes
9164 ac_cv_lib_socket_connect
=no
9166 rm -f core conftest.err conftest.
$ac_objext \
9167 conftest
$ac_exeext conftest.
$ac_ext
9168 LIBS
=$ac_check_lib_save_LIBS
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9171 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9172 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9173 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9178 # Guillermo Gomez says -lposix is necessary on A/UX.
9179 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9180 if test "x$ac_cv_func_remove" = xyes
; then :
9184 if test $ac_cv_func_remove = no
; then
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9186 $as_echo_n "checking for remove in -lposix... " >&6; }
9187 if ${ac_cv_lib_posix_remove+:} false
; then :
9188 $as_echo_n "(cached) " >&6
9190 ac_check_lib_save_LIBS
=$LIBS
9191 LIBS
="-lposix $LIBS"
9192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9193 /* end confdefs.h. */
9195 /* Override any GCC internal prototype to avoid an error.
9196 Use char because int might match the return type of a GCC
9197 builtin and then its argument prototype would still apply. */
9210 if ac_fn_c_try_link
"$LINENO"; then :
9211 ac_cv_lib_posix_remove
=yes
9213 ac_cv_lib_posix_remove
=no
9215 rm -f core conftest.err conftest.
$ac_objext \
9216 conftest
$ac_exeext conftest.
$ac_ext
9217 LIBS
=$ac_check_lib_save_LIBS
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9220 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9221 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9222 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9227 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9228 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9229 if test "x$ac_cv_func_shmat" = xyes
; then :
9233 if test $ac_cv_func_shmat = no
; then
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9235 $as_echo_n "checking for shmat in -lipc... " >&6; }
9236 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9237 $as_echo_n "(cached) " >&6
9239 ac_check_lib_save_LIBS
=$LIBS
9241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9244 /* Override any GCC internal prototype to avoid an error.
9245 Use char because int might match the return type of a GCC
9246 builtin and then its argument prototype would still apply. */
9259 if ac_fn_c_try_link
"$LINENO"; then :
9260 ac_cv_lib_ipc_shmat
=yes
9262 ac_cv_lib_ipc_shmat
=no
9264 rm -f core conftest.err conftest.
$ac_objext \
9265 conftest
$ac_exeext conftest.
$ac_ext
9266 LIBS
=$ac_check_lib_save_LIBS
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9269 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9270 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9271 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9277 # Check for libraries that X11R6 Xt/Xaw programs need.
9278 ac_save_LDFLAGS
=$LDFLAGS
9279 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9280 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9281 # check for ICE first), but we must link in the order -lSM -lICE or
9282 # we get undefined symbols. So assume we have SM if we have ICE.
9283 # These have to be linked with before -lX11, unlike the other
9284 # libraries we check for below, so use a different variable.
9285 # John Interrante, Karl Berry
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9287 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9288 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9289 $as_echo_n "(cached) " >&6
9291 ac_check_lib_save_LIBS
=$LIBS
9292 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9294 /* end confdefs.h. */
9296 /* Override any GCC internal prototype to avoid an error.
9297 Use char because int might match the return type of a GCC
9298 builtin and then its argument prototype would still apply. */
9302 char IceConnectionNumber ();
9306 return IceConnectionNumber ();
9311 if ac_fn_c_try_link
"$LINENO"; then :
9312 ac_cv_lib_ICE_IceConnectionNumber
=yes
9314 ac_cv_lib_ICE_IceConnectionNumber
=no
9316 rm -f core conftest.err conftest.
$ac_objext \
9317 conftest
$ac_exeext conftest.
$ac_ext
9318 LIBS
=$ac_check_lib_save_LIBS
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9321 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9322 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9323 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9326 LDFLAGS
=$ac_save_LDFLAGS
9331 if test "$have_x" = "yes"
9333 ac_save_CPPFLAGS
="$CPPFLAGS"
9334 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9337 $as_echo_n "checking for -lX11... " >&6; }
9338 if ${ac_cv_lib_soname_X11+:} false
; then :
9339 $as_echo_n "(cached) " >&6
9341 ac_check_soname_save_LIBS
=$LIBS
9342 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9344 /* end confdefs.h. */
9346 /* Override any GCC internal prototype to avoid an error.
9347 Use char because int might match the return type of a GCC
9348 builtin and then its argument prototype would still apply. */
9352 char XCreateWindow ();
9356 return XCreateWindow ();
9361 if ac_fn_c_try_link
"$LINENO"; then :
9363 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9364 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'` ;;
9365 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9366 if ${ac_cv_lib_soname_X11:+false} :; then :
9367 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9371 rm -f core conftest.err conftest.
$ac_objext \
9372 conftest
$ac_exeext conftest.
$ac_ext
9373 LIBS
=$ac_check_soname_save_LIBS
9375 if ${ac_cv_lib_soname_X11:+false} :; then :
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9377 $as_echo "not found" >&6; }
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9381 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9383 cat >>confdefs.h
<<_ACEOF
9384 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9390 $as_echo_n "checking for -lXext... " >&6; }
9391 if ${ac_cv_lib_soname_Xext+:} false
; then :
9392 $as_echo_n "(cached) " >&6
9394 ac_check_soname_save_LIBS
=$LIBS
9395 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9397 /* end confdefs.h. */
9399 /* Override any GCC internal prototype to avoid an error.
9400 Use char because int might match the return type of a GCC
9401 builtin and then its argument prototype would still apply. */
9405 char XextCreateExtension ();
9409 return XextCreateExtension ();
9414 if ac_fn_c_try_link
"$LINENO"; then :
9416 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9417 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'` ;;
9418 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9419 if ${ac_cv_lib_soname_Xext:+false} :; then :
9420 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9424 rm -f core conftest.err conftest.
$ac_objext \
9425 conftest
$ac_exeext conftest.
$ac_ext
9426 LIBS
=$ac_check_soname_save_LIBS
9428 if ${ac_cv_lib_soname_Xext:+false} :; then :
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9430 $as_echo "not found" >&6; }
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9434 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9436 cat >>confdefs.h
<<_ACEOF
9437 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9440 X_LIBS
="$X_LIBS -lXext"
9442 X_LIBS
="$X_LIBS -lX11"
9444 for ac_header
in X11
/Xlib.h \
9447 X11
/Xcursor
/Xcursor.h \
9448 X11
/extensions
/shape.h \
9449 X11
/extensions
/XInput.h \
9450 X11
/extensions
/XInput2.h \
9451 X11
/extensions
/XShm.h \
9452 X11
/extensions
/Xcomposite.h \
9453 X11
/extensions
/Xinerama.h \
9454 X11
/extensions
/Xrandr.h \
9455 X11
/extensions
/Xrender.h \
9456 X11
/extensions
/xf86vmode.h \
9457 X11
/extensions
/xf86vmproto.h
9459 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9460 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9461 # include <X11/Xlib.h>
9463 #ifdef HAVE_X11_XUTIL_H
9464 # include <X11/Xutil.h>
9467 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9468 cat >>confdefs.h
<<_ACEOF
9469 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9477 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9480 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9481 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9482 $as_echo_n "(cached) " >&6
9484 ac_check_lib_save_LIBS
=$LIBS
9485 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9487 /* end confdefs.h. */
9489 /* Override any GCC internal prototype to avoid an error.
9490 Use char because int might match the return type of a GCC
9491 builtin and then its argument prototype would still apply. */
9495 char XkbQueryExtension ();
9499 return XkbQueryExtension ();
9504 if ac_fn_c_try_link
"$LINENO"; then :
9505 ac_cv_lib_X11_XkbQueryExtension
=yes
9507 ac_cv_lib_X11_XkbQueryExtension
=no
9509 rm -f core conftest.err conftest.
$ac_objext \
9510 conftest
$ac_exeext conftest.
$ac_ext
9511 LIBS
=$ac_check_lib_save_LIBS
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9514 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9515 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9517 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9523 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9526 $as_echo_n "checking for -lXcursor... " >&6; }
9527 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9528 $as_echo_n "(cached) " >&6
9530 ac_check_soname_save_LIBS
=$LIBS
9531 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9535 /* Override any GCC internal prototype to avoid an error.
9536 Use char because int might match the return type of a GCC
9537 builtin and then its argument prototype would still apply. */
9541 char XcursorImageLoadCursor ();
9545 return XcursorImageLoadCursor ();
9550 if ac_fn_c_try_link
"$LINENO"; then :
9552 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9553 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'` ;;
9554 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9555 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9556 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9560 rm -f core conftest.err conftest.
$ac_objext \
9561 conftest
$ac_exeext conftest.
$ac_ext
9562 LIBS
=$ac_check_soname_save_LIBS
9564 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9566 $as_echo "not found" >&6; }
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9570 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9572 cat >>confdefs.h
<<_ACEOF
9573 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9579 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9580 case "x$with_xcursor" in
9581 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9583 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9584 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9588 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9591 $as_echo_n "checking for -lXi... " >&6; }
9592 if ${ac_cv_lib_soname_Xi+:} false
; then :
9593 $as_echo_n "(cached) " >&6
9595 ac_check_soname_save_LIBS
=$LIBS
9596 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9598 /* end confdefs.h. */
9600 /* Override any GCC internal prototype to avoid an error.
9601 Use char because int might match the return type of a GCC
9602 builtin and then its argument prototype would still apply. */
9606 char XOpenDevice ();
9610 return XOpenDevice ();
9615 if ac_fn_c_try_link
"$LINENO"; then :
9617 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9618 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'` ;;
9619 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9620 if ${ac_cv_lib_soname_Xi:+false} :; then :
9621 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9625 rm -f core conftest.err conftest.
$ac_objext \
9626 conftest
$ac_exeext conftest.
$ac_ext
9627 LIBS
=$ac_check_soname_save_LIBS
9629 if ${ac_cv_lib_soname_Xi:+false} :; then :
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9631 $as_echo "not found" >&6; }
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9635 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9637 cat >>confdefs.h
<<_ACEOF
9638 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9644 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9645 case "x$with_xinput" in
9646 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9648 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9649 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9653 if test "x$ac_cv_lib_soname_Xi" != x
9655 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9656 case "x$with_xinput2" in
9657 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9659 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9660 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9665 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9668 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9669 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9670 $as_echo_n "(cached) " >&6
9672 ac_check_lib_save_LIBS
=$LIBS
9673 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9675 /* end confdefs.h. */
9677 /* Override any GCC internal prototype to avoid an error.
9678 Use char because int might match the return type of a GCC
9679 builtin and then its argument prototype would still apply. */
9683 char XShmQueryExtension ();
9687 return XShmQueryExtension ();
9692 if ac_fn_c_try_link
"$LINENO"; then :
9693 ac_cv_lib_Xext_XShmQueryExtension
=yes
9695 ac_cv_lib_Xext_XShmQueryExtension
=no
9697 rm -f core conftest.err conftest.
$ac_objext \
9698 conftest
$ac_exeext conftest.
$ac_ext
9699 LIBS
=$ac_check_lib_save_LIBS
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9702 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9703 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9705 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9710 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9711 case "x$with_xshm" in
9712 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9714 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9715 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9719 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9722 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9723 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9724 $as_echo_n "(cached) " >&6
9726 ac_check_lib_save_LIBS
=$LIBS
9727 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9729 /* end confdefs.h. */
9731 /* Override any GCC internal prototype to avoid an error.
9732 Use char because int might match the return type of a GCC
9733 builtin and then its argument prototype would still apply. */
9737 char XShapeQueryExtension ();
9741 return XShapeQueryExtension ();
9746 if ac_fn_c_try_link
"$LINENO"; then :
9747 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9749 ac_cv_lib_Xext_XShapeQueryExtension
=no
9751 rm -f core conftest.err conftest.
$ac_objext \
9752 conftest
$ac_exeext conftest.
$ac_ext
9753 LIBS
=$ac_check_lib_save_LIBS
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9756 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9757 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9759 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9764 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9765 case "x$with_xshape" in
9766 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9768 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9769 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9773 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9776 $as_echo_n "checking for -lXxf86vm... " >&6; }
9777 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9778 $as_echo_n "(cached) " >&6
9780 ac_check_soname_save_LIBS
=$LIBS
9781 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9783 /* end confdefs.h. */
9785 /* Override any GCC internal prototype to avoid an error.
9786 Use char because int might match the return type of a GCC
9787 builtin and then its argument prototype would still apply. */
9791 char XF86VidModeQueryExtension ();
9795 return XF86VidModeQueryExtension ();
9800 if ac_fn_c_try_link
"$LINENO"; then :
9802 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9803 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'` ;;
9804 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9805 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9806 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9810 rm -f core conftest.err conftest.
$ac_objext \
9811 conftest
$ac_exeext conftest.
$ac_ext
9812 LIBS
=$ac_check_soname_save_LIBS
9814 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9816 $as_echo "not found" >&6; }
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9820 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9822 cat >>confdefs.h
<<_ACEOF
9823 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9829 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9830 case "x$with_xxf86vm" in
9831 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9833 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9834 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9838 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9841 $as_echo_n "checking for -lXrender... " >&6; }
9842 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9843 $as_echo_n "(cached) " >&6
9845 ac_check_soname_save_LIBS
=$LIBS
9846 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9850 /* Override any GCC internal prototype to avoid an error.
9851 Use char because int might match the return type of a GCC
9852 builtin and then its argument prototype would still apply. */
9856 char XRenderQueryExtension ();
9860 return XRenderQueryExtension ();
9865 if ac_fn_c_try_link
"$LINENO"; then :
9867 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9868 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'` ;;
9869 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9870 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9871 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9875 rm -f core conftest.err conftest.
$ac_objext \
9876 conftest
$ac_exeext conftest.
$ac_ext
9877 LIBS
=$ac_check_soname_save_LIBS
9879 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9881 $as_echo "not found" >&6; }
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9885 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9887 cat >>confdefs.h
<<_ACEOF
9888 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9892 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9893 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9894 $as_echo_n "(cached) " >&6
9896 ac_check_lib_save_LIBS
=$LIBS
9897 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9901 /* Override any GCC internal prototype to avoid an error.
9902 Use char because int might match the return type of a GCC
9903 builtin and then its argument prototype would still apply. */
9907 char XRenderSetPictureTransform ();
9911 return XRenderSetPictureTransform ();
9916 if ac_fn_c_try_link
"$LINENO"; then :
9917 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9919 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9921 rm -f core conftest.err conftest.
$ac_objext \
9922 conftest
$ac_exeext conftest.
$ac_ext
9923 LIBS
=$ac_check_lib_save_LIBS
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9926 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9927 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9929 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9934 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9935 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9936 $as_echo_n "(cached) " >&6
9938 ac_check_lib_save_LIBS
=$LIBS
9939 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9941 /* end confdefs.h. */
9943 /* Override any GCC internal prototype to avoid an error.
9944 Use char because int might match the return type of a GCC
9945 builtin and then its argument prototype would still apply. */
9949 char XRenderCreateLinearGradient ();
9953 return XRenderCreateLinearGradient ();
9958 if ac_fn_c_try_link
"$LINENO"; then :
9959 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9961 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9963 rm -f core conftest.err conftest.
$ac_objext \
9964 conftest
$ac_exeext conftest.
$ac_ext
9965 LIBS
=$ac_check_lib_save_LIBS
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9968 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9969 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9971 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9978 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9979 case "x$with_xrender" in
9980 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9982 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9983 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9987 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9990 /* end confdefs.h. */
9991 #include <X11/Xlib.h>
9992 #include <X11/extensions/Xrandr.h>
9996 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10001 if ac_fn_c_try_compile
"$LINENO"; then :
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10003 $as_echo_n "checking for -lXrandr... " >&6; }
10004 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10005 $as_echo_n "(cached) " >&6
10007 ac_check_soname_save_LIBS
=$LIBS
10008 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10010 /* end confdefs.h. */
10012 /* Override any GCC internal prototype to avoid an error.
10013 Use char because int might match the return type of a GCC
10014 builtin and then its argument prototype would still apply. */
10018 char XRRQueryExtension ();
10022 return XRRQueryExtension ();
10027 if ac_fn_c_try_link
"$LINENO"; then :
10029 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10030 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'` ;;
10031 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10032 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10033 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10037 rm -f core conftest.err conftest.
$ac_objext \
10038 conftest
$ac_exeext conftest.
$ac_ext
10039 LIBS
=$ac_check_soname_save_LIBS
10041 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10043 $as_echo "not found" >&6; }
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10047 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10049 cat >>confdefs.h
<<_ACEOF
10050 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10054 /* end confdefs.h. */
10055 #include <X11/Xlib.h>
10056 #include <X11/extensions/Xrandr.h>
10060 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10065 if ac_fn_c_try_compile
"$LINENO"; then :
10067 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10075 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10076 case "x$with_xrandr" in
10077 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10079 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10080 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10084 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10087 /* end confdefs.h. */
10088 #include <X11/Xlib.h>
10089 #include <X11/extensions/Xinerama.h>
10093 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10098 if ac_fn_c_try_compile
"$LINENO"; then :
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10100 $as_echo_n "checking for -lXinerama... " >&6; }
10101 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10102 $as_echo_n "(cached) " >&6
10104 ac_check_soname_save_LIBS
=$LIBS
10105 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10107 /* end confdefs.h. */
10109 /* Override any GCC internal prototype to avoid an error.
10110 Use char because int might match the return type of a GCC
10111 builtin and then its argument prototype would still apply. */
10115 char XineramaQueryScreens ();
10119 return XineramaQueryScreens ();
10124 if ac_fn_c_try_link
"$LINENO"; then :
10126 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10127 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'` ;;
10128 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10129 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10130 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10134 rm -f core conftest.err conftest.
$ac_objext \
10135 conftest
$ac_exeext conftest.
$ac_ext
10136 LIBS
=$ac_check_soname_save_LIBS
10138 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10140 $as_echo "not found" >&6; }
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10144 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10146 cat >>confdefs.h
<<_ACEOF
10147 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10155 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10156 case "x$with_xinerama" in
10157 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10159 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10160 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10164 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10167 $as_echo_n "checking for -lXcomposite... " >&6; }
10168 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10169 $as_echo_n "(cached) " >&6
10171 ac_check_soname_save_LIBS
=$LIBS
10172 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10174 /* end confdefs.h. */
10176 /* Override any GCC internal prototype to avoid an error.
10177 Use char because int might match the return type of a GCC
10178 builtin and then its argument prototype would still apply. */
10182 char XCompositeRedirectWindow ();
10186 return XCompositeRedirectWindow ();
10191 if ac_fn_c_try_link
"$LINENO"; then :
10193 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10194 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'` ;;
10195 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10196 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10197 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10201 rm -f core conftest.err conftest.
$ac_objext \
10202 conftest
$ac_exeext conftest.
$ac_ext
10203 LIBS
=$ac_check_soname_save_LIBS
10205 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10207 $as_echo "not found" >&6; }
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10211 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10213 cat >>confdefs.h
<<_ACEOF
10214 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10220 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10221 case "x$with_xcomposite" in
10222 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10224 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10225 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10229 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10230 #include <X11/Xlib.h>
10233 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10235 cat >>confdefs.h
<<_ACEOF
10236 #define HAVE_XICCALLBACK_CALLBACK 1
10241 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10242 #include <X11/Xlib.h>
10245 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10247 cat >>confdefs.h
<<_ACEOF
10248 #define HAVE_XEVENT_XCOOKIE 1
10257 if test "x$with_opengl" != "xno"
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10260 $as_echo_n "checking for -lGL... " >&6; }
10261 if ${ac_cv_lib_soname_GL+:} false
; then :
10262 $as_echo_n "(cached) " >&6
10264 ac_check_soname_save_LIBS
=$LIBS
10265 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10267 /* end confdefs.h. */
10269 /* Override any GCC internal prototype to avoid an error.
10270 Use char because int might match the return type of a GCC
10271 builtin and then its argument prototype would still apply. */
10275 char glXCreateContext ();
10279 return glXCreateContext ();
10284 if ac_fn_c_try_link
"$LINENO"; then :
10286 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10287 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'` ;;
10288 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10289 if ${ac_cv_lib_soname_GL:+false} :; then :
10290 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10294 rm -f core conftest.err conftest.
$ac_objext \
10295 conftest
$ac_exeext conftest.
$ac_ext
10296 LIBS
=$ac_check_soname_save_LIBS
10298 if ${ac_cv_lib_soname_GL:+false} :; then :
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10300 $as_echo "not found" >&6; }
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10302 $as_echo_n "checking for -lGL... " >&6; }
10303 if ${ac_cv_lib_soname_GL+:} false
; then :
10304 $as_echo_n "(cached) " >&6
10306 ac_check_soname_save_LIBS
=$LIBS
10307 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"
10308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10317 char glXCreateContext ();
10321 return glXCreateContext ();
10326 if ac_fn_c_try_link
"$LINENO"; then :
10328 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10329 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'` ;;
10330 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10331 if ${ac_cv_lib_soname_GL:+false} :; then :
10332 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10336 rm -f core conftest.err conftest.
$ac_objext \
10337 conftest
$ac_exeext conftest.
$ac_ext
10338 LIBS
=$ac_check_soname_save_LIBS
10340 if ${ac_cv_lib_soname_GL:+false} :; then :
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10342 $as_echo "not found" >&6; }
10343 if test -f /usr
/X11R
6/lib
/libGL.a
10345 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10346 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10348 opengl_msg
="No OpenGL library found on this system."
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10352 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10354 cat >>confdefs.h
<<_ACEOF
10355 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10358 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"
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10362 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10364 cat >>confdefs.h
<<_ACEOF
10365 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10370 if test "x$with_glu" != "xno"
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10373 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10374 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10375 $as_echo_n "(cached) " >&6
10377 ac_check_lib_save_LIBS
=$LIBS
10378 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10380 /* end confdefs.h. */
10382 /* Override any GCC internal prototype to avoid an error.
10383 Use char because int might match the return type of a GCC
10384 builtin and then its argument prototype would still apply. */
10392 return gluLookAt ();
10397 if ac_fn_c_try_link
"$LINENO"; then :
10398 ac_cv_lib_GLU_gluLookAt
=yes
10400 ac_cv_lib_GLU_gluLookAt
=no
10402 rm -f core conftest.err conftest.
$ac_objext \
10403 conftest
$ac_exeext conftest.
$ac_ext
10404 LIBS
=$ac_check_lib_save_LIBS
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10407 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10408 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10412 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10413 case "x$with_glu" in
10414 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10416 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10417 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10422 if test "x$with_osmesa" != "xno"
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10425 $as_echo_n "checking for -lOSMesa... " >&6; }
10426 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10427 $as_echo_n "(cached) " >&6
10429 ac_check_soname_save_LIBS
=$LIBS
10430 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10432 /* end confdefs.h. */
10434 /* Override any GCC internal prototype to avoid an error.
10435 Use char because int might match the return type of a GCC
10436 builtin and then its argument prototype would still apply. */
10449 if ac_fn_c_try_link
"$LINENO"; then :
10451 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10452 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'` ;;
10453 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10454 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10455 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10459 rm -f core conftest.err conftest.
$ac_objext \
10460 conftest
$ac_exeext conftest.
$ac_ext
10461 LIBS
=$ac_check_soname_save_LIBS
10463 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10465 $as_echo "not found" >&6; }
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10469 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10471 cat >>confdefs.h
<<_ACEOF
10472 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10477 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10478 case "x$with_osmesa" in
10479 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10481 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10482 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10487 if test -n "$opengl_msg"; then :
10488 case "x$with_opengl" in
10489 x
) as_fn_append wine_warnings
"|$opengl_msg
10490 OpenGL and Direct3D won't be supported." ;;
10492 *) as_fn_error $?
"$opengl_msg
10493 OpenGL and Direct3D won't be supported.
10494 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10498 CPPFLAGS
="$ac_save_CPPFLAGS"
10502 enable_winex11_drv
=${enable_winex11_drv:-no}
10504 if test "x$X_LIBS" = "x"; then :
10507 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10508 without X support, which probably isn't what you want. You will need
10509 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10510 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10514 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10516 if test "$ac_cv_header_CL_cl_h" = "yes"
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10519 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10520 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10521 $as_echo_n "(cached) " >&6
10523 ac_check_lib_save_LIBS
=$LIBS
10524 LIBS
="-lOpenCL $LIBS"
10525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10526 /* end confdefs.h. */
10528 /* Override any GCC internal prototype to avoid an error.
10529 Use char because int might match the return type of a GCC
10530 builtin and then its argument prototype would still apply. */
10534 char clGetPlatformInfo ();
10538 return clGetPlatformInfo ();
10543 if ac_fn_c_try_link
"$LINENO"; then :
10544 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10546 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10548 rm -f core conftest.err conftest.
$ac_objext \
10549 conftest
$ac_exeext conftest.
$ac_ext
10550 LIBS
=$ac_check_lib_save_LIBS
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10553 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10554 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10555 OPENCL_LIBS
="-lOpenCL"
10560 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10561 case "x$with_opencl" in
10562 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10564 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10565 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10568 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10570 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10573 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10574 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10575 $as_echo_n "(cached) " >&6
10577 ac_check_lib_save_LIBS
=$LIBS
10578 LIBS
="-lpcap $LIBS"
10579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10580 /* end confdefs.h. */
10582 /* Override any GCC internal prototype to avoid an error.
10583 Use char because int might match the return type of a GCC
10584 builtin and then its argument prototype would still apply. */
10588 char pcap_create ();
10592 return pcap_create ();
10597 if ac_fn_c_try_link
"$LINENO"; then :
10598 ac_cv_lib_pcap_pcap_create
=yes
10600 ac_cv_lib_pcap_pcap_create
=no
10602 rm -f core conftest.err conftest.
$ac_objext \
10603 conftest
$ac_exeext conftest.
$ac_ext
10604 LIBS
=$ac_check_lib_save_LIBS
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10607 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10608 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10614 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10615 case "x$with_pcap" in
10616 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10618 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10619 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10622 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10625 if test "x$with_xml" != "xno"
10627 if ${XML2_CFLAGS:+false} :; then :
10628 if ${PKG_CONFIG+:} false
; then :
10629 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10632 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10633 if ${XML2_LIBS:+false} :; then :
10634 if ${PKG_CONFIG+:} false
; then :
10635 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10638 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10639 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10640 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10641 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10642 ac_save_CPPFLAGS
=$CPPFLAGS
10643 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10644 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10646 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10647 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10648 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10649 cat >>confdefs.h
<<_ACEOF
10650 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10657 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"
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10660 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10661 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10662 $as_echo_n "(cached) " >&6
10664 ac_check_lib_save_LIBS
=$LIBS
10665 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10669 /* Override any GCC internal prototype to avoid an error.
10670 Use char because int might match the return type of a GCC
10671 builtin and then its argument prototype would still apply. */
10675 char xmlParseMemory ();
10679 return xmlParseMemory ();
10684 if ac_fn_c_try_link
"$LINENO"; then :
10685 ac_cv_lib_xml2_xmlParseMemory
=yes
10687 ac_cv_lib_xml2_xmlParseMemory
=no
10689 rm -f core conftest.err conftest.
$ac_objext \
10690 conftest
$ac_exeext conftest.
$ac_ext
10691 LIBS
=$ac_check_lib_save_LIBS
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10694 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10695 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10697 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10704 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10705 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10706 $as_echo_n "(cached) " >&6
10708 ac_check_lib_save_LIBS
=$LIBS
10709 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10711 /* end confdefs.h. */
10713 /* Override any GCC internal prototype to avoid an error.
10714 Use char because int might match the return type of a GCC
10715 builtin and then its argument prototype would still apply. */
10719 char xmlReadMemory ();
10723 return xmlReadMemory ();
10728 if ac_fn_c_try_link
"$LINENO"; then :
10729 ac_cv_lib_xml2_xmlReadMemory
=yes
10731 ac_cv_lib_xml2_xmlReadMemory
=no
10733 rm -f core conftest.err conftest.
$ac_objext \
10734 conftest
$ac_exeext conftest.
$ac_ext
10735 LIBS
=$ac_check_lib_save_LIBS
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10738 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10739 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10741 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10746 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10747 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10748 $as_echo_n "(cached) " >&6
10750 ac_check_lib_save_LIBS
=$LIBS
10751 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10753 /* end confdefs.h. */
10755 /* Override any GCC internal prototype to avoid an error.
10756 Use char because int might match the return type of a GCC
10757 builtin and then its argument prototype would still apply. */
10761 char xmlNewDocPI ();
10765 return xmlNewDocPI ();
10770 if ac_fn_c_try_link
"$LINENO"; then :
10771 ac_cv_lib_xml2_xmlNewDocPI
=yes
10773 ac_cv_lib_xml2_xmlNewDocPI
=no
10775 rm -f core conftest.err conftest.
$ac_objext \
10776 conftest
$ac_exeext conftest.
$ac_ext
10777 LIBS
=$ac_check_lib_save_LIBS
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10780 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10781 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10783 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10788 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10789 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10790 $as_echo_n "(cached) " >&6
10792 ac_check_lib_save_LIBS
=$LIBS
10793 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10797 /* Override any GCC internal prototype to avoid an error.
10798 Use char because int might match the return type of a GCC
10799 builtin and then its argument prototype would still apply. */
10803 char xmlSchemaSetParserStructuredErrors ();
10807 return xmlSchemaSetParserStructuredErrors ();
10812 if ac_fn_c_try_link
"$LINENO"; then :
10813 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10815 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10817 rm -f core conftest.err conftest.
$ac_objext \
10818 conftest
$ac_exeext conftest.
$ac_ext
10819 LIBS
=$ac_check_lib_save_LIBS
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10822 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10823 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10825 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10830 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10831 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10832 $as_echo_n "(cached) " >&6
10834 ac_check_lib_save_LIBS
=$LIBS
10835 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10839 /* Override any GCC internal prototype to avoid an error.
10840 Use char because int might match the return type of a GCC
10841 builtin and then its argument prototype would still apply. */
10845 char xmlSchemaSetValidStructuredErrors ();
10849 return xmlSchemaSetValidStructuredErrors ();
10854 if ac_fn_c_try_link
"$LINENO"; then :
10855 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10857 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10859 rm -f core conftest.err conftest.
$ac_objext \
10860 conftest
$ac_exeext conftest.
$ac_ext
10861 LIBS
=$ac_check_lib_save_LIBS
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10864 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10865 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10867 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10872 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10873 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10874 $as_echo_n "(cached) " >&6
10876 ac_check_lib_save_LIBS
=$LIBS
10877 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h. */
10881 /* Override any GCC internal prototype to avoid an error.
10882 Use char because int might match the return type of a GCC
10883 builtin and then its argument prototype would still apply. */
10887 char xmlFirstElementChild ();
10891 return xmlFirstElementChild ();
10896 if ac_fn_c_try_link
"$LINENO"; then :
10897 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10899 ac_cv_lib_xml2_xmlFirstElementChild
=no
10901 rm -f core conftest.err conftest.
$ac_objext \
10902 conftest
$ac_exeext conftest.
$ac_ext
10903 LIBS
=$ac_check_lib_save_LIBS
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10906 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10907 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10909 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10913 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10915 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10917 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10925 CPPFLAGS
=$ac_save_CPPFLAGS
10926 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10927 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10930 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10931 case "x$with_xml" in
10932 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10934 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10935 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10939 if test "x$with_xslt" != "xno"
10941 if ${XSLT_CFLAGS:+false} :; then :
10942 if ${PKG_CONFIG+:} false
; then :
10943 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10946 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10947 if ${XSLT_LIBS:+false} :; then :
10948 if ${PKG_CONFIG+:} false
; then :
10949 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10952 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10953 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10954 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10955 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10956 ac_save_CPPFLAGS
=$CPPFLAGS
10957 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10958 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10960 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10961 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10962 # include <libxslt/pattern.h>
10965 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10966 cat >>confdefs.h
<<_ACEOF
10967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10974 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10977 $as_echo_n "checking for -lxslt... " >&6; }
10978 if ${ac_cv_lib_soname_xslt+:} false
; then :
10979 $as_echo_n "(cached) " >&6
10981 ac_check_soname_save_LIBS
=$LIBS
10982 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10984 /* end confdefs.h. */
10986 /* Override any GCC internal prototype to avoid an error.
10987 Use char because int might match the return type of a GCC
10988 builtin and then its argument prototype would still apply. */
10992 char xsltCompilePattern ();
10996 return xsltCompilePattern ();
11001 if ac_fn_c_try_link
"$LINENO"; then :
11003 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11004 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'` ;;
11005 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11006 if ${ac_cv_lib_soname_xslt:+false} :; then :
11007 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11011 rm -f core conftest.err conftest.
$ac_objext \
11012 conftest
$ac_exeext conftest.
$ac_ext
11013 LIBS
=$ac_check_soname_save_LIBS
11015 if ${ac_cv_lib_soname_xslt:+false} :; then :
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11017 $as_echo "not found" >&6; }
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11021 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11023 cat >>confdefs.h
<<_ACEOF
11024 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11032 CPPFLAGS
=$ac_save_CPPFLAGS
11033 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11034 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11037 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11038 case "x$with_xslt" in
11039 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11041 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11042 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11046 if test "x$with_dbus" != "xno"
11048 if ${DBUS_CFLAGS:+false} :; then :
11049 if ${PKG_CONFIG+:} false
; then :
11050 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11054 if ${DBUS_LIBS:+false} :; then :
11055 if ${PKG_CONFIG+:} false
; then :
11056 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11061 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11062 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11063 ac_save_CPPFLAGS
=$CPPFLAGS
11064 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11065 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11066 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11068 $as_echo_n "checking for -ldbus-1... " >&6; }
11069 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11070 $as_echo_n "(cached) " >&6
11072 ac_check_soname_save_LIBS
=$LIBS
11073 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11075 /* end confdefs.h. */
11077 /* Override any GCC internal prototype to avoid an error.
11078 Use char because int might match the return type of a GCC
11079 builtin and then its argument prototype would still apply. */
11083 char dbus_connection_close ();
11087 return dbus_connection_close ();
11092 if ac_fn_c_try_link
"$LINENO"; then :
11094 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11095 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'` ;;
11096 *) 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'`
11097 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11098 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11102 rm -f core conftest.err conftest.
$ac_objext \
11103 conftest
$ac_exeext conftest.
$ac_ext
11104 LIBS
=$ac_check_soname_save_LIBS
11106 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11108 $as_echo "not found" >&6; }
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11112 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11114 cat >>confdefs.h
<<_ACEOF
11115 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11125 CPPFLAGS
=$ac_save_CPPFLAGS
11126 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11127 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11130 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11131 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11132 case "x$with_dbus" in
11133 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11135 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11136 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11140 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11142 if ${HAL_CFLAGS:+false} :; then :
11143 if ${PKG_CONFIG+:} false
; then :
11144 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11148 if ${HAL_LIBS:+false} :; then :
11149 if ${PKG_CONFIG+:} false
; then :
11150 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11154 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11155 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11156 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11157 ac_save_CPPFLAGS
=$CPPFLAGS
11158 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11159 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11160 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11162 $as_echo_n "checking for -lhal... " >&6; }
11163 if ${ac_cv_lib_soname_hal+:} false
; then :
11164 $as_echo_n "(cached) " >&6
11166 ac_check_soname_save_LIBS
=$LIBS
11167 LIBS
="-lhal $HAL_LIBS $LIBS"
11168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11171 /* Override any GCC internal prototype to avoid an error.
11172 Use char because int might match the return type of a GCC
11173 builtin and then its argument prototype would still apply. */
11177 char libhal_ctx_new ();
11181 return libhal_ctx_new ();
11186 if ac_fn_c_try_link
"$LINENO"; then :
11188 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11189 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'` ;;
11190 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11191 if ${ac_cv_lib_soname_hal:+false} :; then :
11192 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11196 rm -f core conftest.err conftest.
$ac_objext \
11197 conftest
$ac_exeext conftest.
$ac_ext
11198 LIBS
=$ac_check_soname_save_LIBS
11200 if ${ac_cv_lib_soname_hal:+false} :; then :
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11202 $as_echo "not found" >&6; }
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11206 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11208 cat >>confdefs.h
<<_ACEOF
11209 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11219 CPPFLAGS
=$ac_save_CPPFLAGS
11220 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11221 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11223 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11224 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11225 case "x$with_hal" in
11226 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11228 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11229 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11234 if test "x$with_gnutls" != "xno"
11236 if ${GNUTLS_CFLAGS:+false} :; then :
11237 if ${PKG_CONFIG+:} false
; then :
11238 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11242 if ${GNUTLS_LIBS:+false} :; then :
11243 if ${PKG_CONFIG+:} false
; then :
11244 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11249 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11250 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11251 ac_save_CPPFLAGS
=$CPPFLAGS
11252 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11253 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11254 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11256 /* end confdefs.h. */
11257 #include <gnutls/gnutls.h>
11258 #include <gnutls/crypto.h>
11262 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11267 if ac_fn_c_try_compile
"$LINENO"; then :
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11269 $as_echo_n "checking for -lgnutls... " >&6; }
11270 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11271 $as_echo_n "(cached) " >&6
11273 ac_check_soname_save_LIBS
=$LIBS
11274 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11278 /* Override any GCC internal prototype to avoid an error.
11279 Use char because int might match the return type of a GCC
11280 builtin and then its argument prototype would still apply. */
11284 char gnutls_global_init ();
11288 return gnutls_global_init ();
11293 if ac_fn_c_try_link
"$LINENO"; then :
11295 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11296 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'` ;;
11297 *) 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'`
11298 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11299 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'`
11303 rm -f core conftest.err conftest.
$ac_objext \
11304 conftest
$ac_exeext conftest.
$ac_ext
11305 LIBS
=$ac_check_soname_save_LIBS
11307 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11309 $as_echo "not found" >&6; }
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11313 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11315 cat >>confdefs.h
<<_ACEOF
11316 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11328 CPPFLAGS
=$ac_save_CPPFLAGS
11329 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11330 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11333 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11334 case "x$with_gnutls" in
11335 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11337 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11338 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11343 if test "$ac_cv_header_ncurses_h" = "yes"
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11346 $as_echo_n "checking for -lncurses... " >&6; }
11347 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11348 $as_echo_n "(cached) " >&6
11350 ac_check_soname_save_LIBS
=$LIBS
11351 LIBS
="-lncurses $LIBS"
11352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h. */
11355 /* Override any GCC internal prototype to avoid an error.
11356 Use char because int might match the return type of a GCC
11357 builtin and then its argument prototype would still apply. */
11370 if ac_fn_c_try_link
"$LINENO"; then :
11372 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11373 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'` ;;
11374 *) 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'`
11375 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11376 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11380 rm -f core conftest.err conftest.
$ac_objext \
11381 conftest
$ac_exeext conftest.
$ac_ext
11382 LIBS
=$ac_check_soname_save_LIBS
11384 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11386 $as_echo "not found" >&6; }
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11390 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11392 cat >>confdefs.h
<<_ACEOF
11393 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11396 CURSES_LIBS
="-lncurses"
11398 elif test "$ac_cv_header_curses_h" = "yes"
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11401 $as_echo_n "checking for -lcurses... " >&6; }
11402 if ${ac_cv_lib_soname_curses+:} false
; then :
11403 $as_echo_n "(cached) " >&6
11405 ac_check_soname_save_LIBS
=$LIBS
11406 LIBS
="-lcurses $LIBS"
11407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11408 /* end confdefs.h. */
11410 /* Override any GCC internal prototype to avoid an error.
11411 Use char because int might match the return type of a GCC
11412 builtin and then its argument prototype would still apply. */
11425 if ac_fn_c_try_link
"$LINENO"; then :
11427 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11428 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'` ;;
11429 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11430 if ${ac_cv_lib_soname_curses:+false} :; then :
11431 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11435 rm -f core conftest.err conftest.
$ac_objext \
11436 conftest
$ac_exeext conftest.
$ac_ext
11437 LIBS
=$ac_check_soname_save_LIBS
11439 if ${ac_cv_lib_soname_curses:+false} :; then :
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11441 $as_echo "not found" >&6; }
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11445 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11447 cat >>confdefs.h
<<_ACEOF
11448 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11451 CURSES_LIBS
="-lcurses"
11454 ac_save_LIBS
="$LIBS"
11455 LIBS
="$LIBS $CURSES_LIBS"
11456 for ac_func
in mousemask
11458 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11459 if test "x$ac_cv_func_mousemask" = xyes
; then :
11460 cat >>confdefs.h
<<_ACEOF
11461 #define HAVE_MOUSEMASK 1
11467 LIBS
="$ac_save_LIBS"
11468 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11469 case "x$with_curses" in
11470 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11472 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11473 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11477 if test "x$with_sane" != "xno"
11479 if ${SANE_CFLAGS:+false} :; then :
11480 if ${PKG_CONFIG+:} false
; then :
11481 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11484 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11485 if ${SANE_LIBS:+false} :; then :
11486 if ${PKG_CONFIG+:} false
; then :
11487 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11490 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11492 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11493 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11494 ac_save_CPPFLAGS
=$CPPFLAGS
11495 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11496 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11497 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11499 $as_echo_n "checking for -lsane... " >&6; }
11500 if ${ac_cv_lib_soname_sane+:} false
; then :
11501 $as_echo_n "(cached) " >&6
11503 ac_check_soname_save_LIBS
=$LIBS
11504 LIBS
="-lsane $SANE_LIBS $LIBS"
11505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11506 /* end confdefs.h. */
11508 /* Override any GCC internal prototype to avoid an error.
11509 Use char because int might match the return type of a GCC
11510 builtin and then its argument prototype would still apply. */
11518 return sane_init ();
11523 if ac_fn_c_try_link
"$LINENO"; then :
11525 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11526 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'` ;;
11527 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11528 if ${ac_cv_lib_soname_sane:+false} :; then :
11529 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11533 rm -f core conftest.err conftest.
$ac_objext \
11534 conftest
$ac_exeext conftest.
$ac_ext
11535 LIBS
=$ac_check_soname_save_LIBS
11537 if ${ac_cv_lib_soname_sane:+false} :; then :
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11539 $as_echo "not found" >&6; }
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11543 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11545 cat >>confdefs.h
<<_ACEOF
11546 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11556 CPPFLAGS
=$ac_save_CPPFLAGS
11557 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11558 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11561 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11562 case "x$with_sane" in
11563 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11565 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11566 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11570 if test "x$with_v4l" != "xno"
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11573 $as_echo_n "checking for -lv4l1... " >&6; }
11574 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11575 $as_echo_n "(cached) " >&6
11577 ac_check_soname_save_LIBS
=$LIBS
11578 LIBS
="-lv4l1 $LIBS"
11579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11580 /* end confdefs.h. */
11582 /* Override any GCC internal prototype to avoid an error.
11583 Use char because int might match the return type of a GCC
11584 builtin and then its argument prototype would still apply. */
11592 return v4l1_open ();
11597 if ac_fn_c_try_link
"$LINENO"; then :
11599 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11600 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'` ;;
11601 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11602 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11603 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11607 rm -f core conftest.err conftest.
$ac_objext \
11608 conftest
$ac_exeext conftest.
$ac_ext
11609 LIBS
=$ac_check_soname_save_LIBS
11611 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11613 $as_echo "not found" >&6; }
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11617 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11619 cat >>confdefs.h
<<_ACEOF
11620 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11626 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11627 case "x$with_v4l" in
11628 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11630 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11631 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11635 if test "x$with_gphoto" != "xno"
11637 if ${GPHOTO2_CFLAGS:+false} :; then :
11638 if ${PKG_CONFIG+:} false
; then :
11639 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11642 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11643 if ${GPHOTO2_LIBS:+false} :; then :
11644 if ${PKG_CONFIG+:} false
; then :
11645 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11648 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11649 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11650 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11651 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11652 ac_save_CPPFLAGS
=$CPPFLAGS
11653 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11654 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11655 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11657 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11658 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11659 $as_echo_n "(cached) " >&6
11661 ac_check_lib_save_LIBS
=$LIBS
11662 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11664 /* end confdefs.h. */
11666 /* Override any GCC internal prototype to avoid an error.
11667 Use char because int might match the return type of a GCC
11668 builtin and then its argument prototype would still apply. */
11672 char gp_camera_new ();
11676 return gp_camera_new ();
11681 if ac_fn_c_try_link
"$LINENO"; then :
11682 ac_cv_lib_gphoto2_gp_camera_new
=yes
11684 ac_cv_lib_gphoto2_gp_camera_new
=no
11686 rm -f core conftest.err conftest.
$ac_objext \
11687 conftest
$ac_exeext conftest.
$ac_ext
11688 LIBS
=$ac_check_lib_save_LIBS
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11691 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11692 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11694 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11697 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11701 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11705 CPPFLAGS
=$ac_save_CPPFLAGS
11706 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11707 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11709 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11710 if ${PKG_CONFIG+:} false
; then :
11711 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11714 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11715 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11716 if ${PKG_CONFIG+:} false
; then :
11717 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11720 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11721 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11722 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11723 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11724 ac_save_CPPFLAGS
=$CPPFLAGS
11725 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11726 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11727 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11729 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11730 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11731 $as_echo_n "(cached) " >&6
11733 ac_check_lib_save_LIBS
=$LIBS
11734 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11736 /* end confdefs.h. */
11738 /* Override any GCC internal prototype to avoid an error.
11739 Use char because int might match the return type of a GCC
11740 builtin and then its argument prototype would still apply. */
11744 char gp_port_info_list_new ();
11748 return gp_port_info_list_new ();
11753 if ac_fn_c_try_link
"$LINENO"; then :
11754 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11756 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11758 rm -f core conftest.err conftest.
$ac_objext \
11759 conftest
$ac_exeext conftest.
$ac_ext
11760 LIBS
=$ac_check_lib_save_LIBS
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11763 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11764 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11766 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11769 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11773 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11777 CPPFLAGS
=$ac_save_CPPFLAGS
11778 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11779 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11782 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11783 case "x$with_gphoto" in
11784 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11786 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11787 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11790 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11791 case "x$with_gphoto" in
11792 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11794 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11795 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11800 if test "$ac_cv_header_resolv_h" = "yes"
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11803 $as_echo_n "checking for resolver library... " >&6; }
11804 if ${ac_cv_have_resolv+:} false
; then :
11805 $as_echo_n "(cached) " >&6
11807 ac_save_LIBS
="$LIBS"
11808 for lib
in '' -lresolv
11810 LIBS
="$lib $ac_save_LIBS"
11811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11812 /* end confdefs.h. */
11813 #ifdef HAVE_NETINET_IN_H
11814 #include <netinet/in.h>
11816 #include <resolv.h>
11820 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11825 if ac_fn_c_try_link
"$LINENO"; then :
11826 ac_cv_have_resolv
=${lib:-"none required"}
11828 ac_cv_have_resolv
="not found"
11830 rm -f core conftest.err conftest.
$ac_objext \
11831 conftest
$ac_exeext conftest.
$ac_ext
11832 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11834 LIBS
="$ac_save_LIBS"
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11837 $as_echo "$ac_cv_have_resolv" >&6; }
11839 case "$ac_cv_have_resolv" in
11843 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11846 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11848 RESOLV_LIBS
=$ac_cv_have_resolv
11853 if test "x$with_lcms2" != "xno"
11855 if ${LCMS2_CFLAGS:+false} :; then :
11856 if ${PKG_CONFIG+:} false
; then :
11857 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11861 if ${LCMS2_LIBS:+false} :; then :
11862 if ${PKG_CONFIG+:} false
; then :
11863 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11867 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11868 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11869 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11870 ac_save_CPPFLAGS
=$CPPFLAGS
11871 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11872 for ac_header
in lcms2.h
11874 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11875 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11876 cat >>confdefs.h
<<_ACEOF
11877 #define HAVE_LCMS2_H 1
11884 if test "$ac_cv_header_lcms2_h" = "yes"
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11887 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11888 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11889 $as_echo_n "(cached) " >&6
11891 ac_check_lib_save_LIBS
=$LIBS
11892 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11896 /* Override any GCC internal prototype to avoid an error.
11897 Use char because int might match the return type of a GCC
11898 builtin and then its argument prototype would still apply. */
11902 char cmsOpenProfileFromFile ();
11906 return cmsOpenProfileFromFile ();
11911 if ac_fn_c_try_link
"$LINENO"; then :
11912 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11914 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11916 rm -f core conftest.err conftest.
$ac_objext \
11917 conftest
$ac_exeext conftest.
$ac_ext
11918 LIBS
=$ac_check_lib_save_LIBS
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11921 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11922 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11924 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11934 CPPFLAGS
=$ac_save_CPPFLAGS
11935 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11936 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11939 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11940 case "x$with_cms" in
11941 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11943 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11944 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11948 if test "x$with_freetype" != "xno"
11950 if ${FREETYPE_CFLAGS:+false} :; then :
11951 if ${PKG_CONFIG+:} false
; then :
11952 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11955 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11956 if ${FREETYPE_LIBS:+false} :; then :
11957 if ${PKG_CONFIG+:} false
; then :
11958 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11961 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11962 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11963 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11964 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11965 ac_save_CPPFLAGS
=$CPPFLAGS
11966 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11967 for ac_header
in ft2build.h
11969 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11970 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11971 cat >>confdefs.h
<<_ACEOF
11972 #define HAVE_FT2BUILD_H 1
11979 if test "$ac_cv_header_ft2build_h" = "yes"
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11982 $as_echo_n "checking for -lfreetype... " >&6; }
11983 if ${ac_cv_lib_soname_freetype+:} false
; then :
11984 $as_echo_n "(cached) " >&6
11986 ac_check_soname_save_LIBS
=$LIBS
11987 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11989 /* end confdefs.h. */
11991 /* Override any GCC internal prototype to avoid an error.
11992 Use char because int might match the return type of a GCC
11993 builtin and then its argument prototype would still apply. */
11997 char FT_Init_FreeType ();
12001 return FT_Init_FreeType ();
12006 if ac_fn_c_try_link
"$LINENO"; then :
12008 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12009 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'` ;;
12010 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12011 if ${ac_cv_lib_soname_freetype:+false} :; then :
12012 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12016 rm -f core conftest.err conftest.
$ac_objext \
12017 conftest
$ac_exeext conftest.
$ac_ext
12018 LIBS
=$ac_check_soname_save_LIBS
12020 if ${ac_cv_lib_soname_freetype:+false} :; then :
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12022 $as_echo "not found" >&6; }
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12026 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12028 cat >>confdefs.h
<<_ACEOF
12029 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12033 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12035 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12036 #include FT_MODULE_H
12038 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12040 cat >>confdefs.h
<<_ACEOF
12041 #define HAVE_FT_TRUETYPEENGINETYPE 1
12052 CPPFLAGS
=$ac_save_CPPFLAGS
12053 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12054 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12057 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12058 case "x$with_freetype" in
12060 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12061 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12064 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12067 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12068 if ${ac_cv_c_ppdev+:} false
; then :
12069 $as_echo_n "(cached) " >&6
12071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12073 #ifdef HAVE_SYS_IOCTL_H
12074 # include <sys/ioctl.h>
12076 #include <linux/ppdev.h>
12080 ioctl (1,PPCLAIM,0)
12085 if ac_fn_c_try_compile
"$LINENO"; then :
12086 ac_cv_c_ppdev
="yes"
12090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12093 $as_echo "$ac_cv_c_ppdev" >&6; }
12094 if test "$ac_cv_c_ppdev" = "yes"
12097 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12101 ac_wine_check_funcs_save_LIBS
="$LIBS"
12102 LIBS
="$LIBS $PTHREAD_LIBS"
12104 pthread_attr_get_np \
12105 pthread_getattr_np \
12106 pthread_getthreadid_np \
12107 pthread_get_stackaddr_np \
12108 pthread_get_stacksize_np
12110 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12111 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12112 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12113 cat >>confdefs.h
<<_ACEOF
12114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12120 LIBS
="$ac_wine_check_funcs_save_LIBS"
12122 if test "$ac_cv_header_zlib_h" = "yes"
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12125 $as_echo_n "checking for inflate in -lz... " >&6; }
12126 if ${ac_cv_lib_z_inflate+:} false
; then :
12127 $as_echo_n "(cached) " >&6
12129 ac_check_lib_save_LIBS
=$LIBS
12131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12134 /* Override any GCC internal prototype to avoid an error.
12135 Use char because int might match the return type of a GCC
12136 builtin and then its argument prototype would still apply. */
12149 if ac_fn_c_try_link
"$LINENO"; then :
12150 ac_cv_lib_z_inflate
=yes
12152 ac_cv_lib_z_inflate
=no
12154 rm -f core conftest.err conftest.
$ac_objext \
12155 conftest
$ac_exeext conftest.
$ac_ext
12156 LIBS
=$ac_check_lib_save_LIBS
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12159 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12160 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12162 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12169 if test "x$Z_LIBS" = "x"; then :
12170 case "x$with_zlib" in
12171 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12173 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12174 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12178 if test "x$enable_tools" != xno
12180 if test "$ac_cv_header_gettext_po_h" = "yes"
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12183 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12184 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12185 $as_echo_n "(cached) " >&6
12187 ac_check_lib_save_LIBS
=$LIBS
12188 LIBS
="-lgettextpo $LIBS"
12189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12192 /* Override any GCC internal prototype to avoid an error.
12193 Use char because int might match the return type of a GCC
12194 builtin and then its argument prototype would still apply. */
12198 char po_message_msgctxt ();
12202 return po_message_msgctxt ();
12207 if ac_fn_c_try_link
"$LINENO"; then :
12208 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12210 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12212 rm -f core conftest.err conftest.
$ac_objext \
12213 conftest
$ac_exeext conftest.
$ac_ext
12214 LIBS
=$ac_check_lib_save_LIBS
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12217 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12218 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12220 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12222 GETTEXTPO_LIBS
="-lgettextpo"
12227 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12228 case "x$with_gettextpo" in
12229 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12231 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12232 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12237 if test "x$with_gstreamer" != "xno"
12239 if ${GSTREAMER_CFLAGS:+false} :; then :
12240 if ${PKG_CONFIG+:} false
; then :
12241 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12245 if ${GSTREAMER_LIBS:+false} :; then :
12246 if ${PKG_CONFIG+:} false
; then :
12247 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12252 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12253 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12254 ac_save_CPPFLAGS
=$CPPFLAGS
12255 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12257 for i
in $GSTREAMER_CFLAGS
12260 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12263 GSTREAMER_CFLAGS
=$ac_gst_incl
12264 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12265 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12266 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12267 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12268 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12270 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12272 /* end confdefs.h. */
12273 #include <gst/app/gstappsink.h>
12277 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12282 if ac_fn_c_try_compile
"$LINENO"; then :
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12284 $as_echo "yes" >&6; }
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12286 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12287 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12288 $as_echo_n "(cached) " >&6
12290 ac_check_lib_save_LIBS
=$LIBS
12291 LIBS
="-lgstreamer-0.10 $LIBS"
12292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12301 char gst_pad_get_caps_reffed ();
12305 return gst_pad_get_caps_reffed ();
12310 if ac_fn_c_try_link
"$LINENO"; then :
12311 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12313 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12315 rm -f core conftest.err conftest.
$ac_objext \
12316 conftest
$ac_exeext conftest.
$ac_ext
12317 LIBS
=$ac_check_lib_save_LIBS
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12320 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12321 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12323 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12324 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12325 $as_echo_n "(cached) " >&6
12327 ac_check_lib_save_LIBS
=$LIBS
12328 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12330 /* end confdefs.h. */
12332 /* Override any GCC internal prototype to avoid an error.
12333 Use char because int might match the return type of a GCC
12334 builtin and then its argument prototype would still apply. */
12338 char gst_app_buffer_new ();
12342 return gst_app_buffer_new ();
12347 if ac_fn_c_try_link
"$LINENO"; then :
12348 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12350 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12352 rm -f core conftest.err conftest.
$ac_objext \
12353 conftest
$ac_exeext conftest.
$ac_ext
12354 LIBS
=$ac_check_lib_save_LIBS
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12357 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12358 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12366 $as_echo "no" >&6; }
12368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12373 GSTREAMER_CFLAGS
=""
12377 CPPFLAGS
=$ac_save_CPPFLAGS
12378 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12379 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12382 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12383 case "x$with_gstreamer" in
12384 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12386 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12387 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12390 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12394 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12397 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12398 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12399 $as_echo_n "(cached) " >&6
12401 ac_check_lib_save_LIBS
=$LIBS
12402 LIBS
="-lasound $LIBS"
12403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12406 /* Override any GCC internal prototype to avoid an error.
12407 Use char because int might match the return type of a GCC
12408 builtin and then its argument prototype would still apply. */
12412 char snd_pcm_hw_params_get_access_mask ();
12416 return snd_pcm_hw_params_get_access_mask ();
12421 if ac_fn_c_try_link
"$LINENO"; then :
12422 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12424 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12426 rm -f core conftest.err conftest.
$ac_objext \
12427 conftest
$ac_exeext conftest.
$ac_ext
12428 LIBS
=$ac_check_lib_save_LIBS
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12431 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12432 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12434 /* end confdefs.h. */
12435 #ifdef HAVE_ALSA_ASOUNDLIB_H
12436 #include <alsa/asoundlib.h>
12437 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12438 #include <sys/asoundlib.h>
12443 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12448 if ac_fn_c_try_compile
"$LINENO"; then :
12449 ALSA_LIBS
="-lasound"
12451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12456 if test "x$with_oss" != xno
12458 ac_save_CPPFLAGS
="$CPPFLAGS"
12459 if test -f /etc
/oss.conf
12463 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12464 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12465 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12466 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12467 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12469 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12471 cat >>confdefs.h
<<_ACEOF
12472 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12475 OSS4_CFLAGS
="$ac_oss_incl"
12482 CPPFLAGS
="$ac_save_CPPFLAGS"
12483 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12485 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12489 if test "x$with_capi" != "xno"
12491 if ${CAPI20_CFLAGS:+false} :; then :
12492 if ${PKG_CONFIG+:} false
; then :
12493 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12497 if ${CAPI20_LIBS:+false} :; then :
12498 if ${PKG_CONFIG+:} false
; then :
12499 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12504 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12505 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12506 ac_save_CPPFLAGS
=$CPPFLAGS
12507 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12508 for ac_header
in capi20.h linux
/capi.h
12510 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12511 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12513 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12514 cat >>confdefs.h
<<_ACEOF
12515 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12522 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12525 $as_echo_n "checking for -lcapi20... " >&6; }
12526 if ${ac_cv_lib_soname_capi20+:} false
; then :
12527 $as_echo_n "(cached) " >&6
12529 ac_check_soname_save_LIBS
=$LIBS
12530 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h. */
12534 /* Override any GCC internal prototype to avoid an error.
12535 Use char because int might match the return type of a GCC
12536 builtin and then its argument prototype would still apply. */
12540 char capi20_register ();
12544 return capi20_register ();
12549 if ac_fn_c_try_link
"$LINENO"; then :
12551 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12552 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'` ;;
12553 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12554 if ${ac_cv_lib_soname_capi20:+false} :; then :
12555 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12559 rm -f core conftest.err conftest.
$ac_objext \
12560 conftest
$ac_exeext conftest.
$ac_ext
12561 LIBS
=$ac_check_soname_save_LIBS
12563 if ${ac_cv_lib_soname_capi20:+false} :; then :
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12565 $as_echo "not found" >&6; }
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12569 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12571 cat >>confdefs.h
<<_ACEOF
12572 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12578 CPPFLAGS
=$ac_save_CPPFLAGS
12579 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12580 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12583 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12584 case "x$with_capi" in
12585 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12587 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12588 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12594 if test "x$with_cups" != "xno"
12596 ac_save_CPPFLAGS
="$CPPFLAGS"
12597 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12598 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12599 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12600 for ac_header
in cups
/cups.h
12602 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12603 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12604 cat >>confdefs.h
<<_ACEOF
12605 #define HAVE_CUPS_CUPS_H 1
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12608 $as_echo_n "checking for -lcups... " >&6; }
12609 if ${ac_cv_lib_soname_cups+:} false
; then :
12610 $as_echo_n "(cached) " >&6
12612 ac_check_soname_save_LIBS
=$LIBS
12613 LIBS
="-lcups $ac_cups_libs $LIBS"
12614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12615 /* end confdefs.h. */
12617 /* Override any GCC internal prototype to avoid an error.
12618 Use char because int might match the return type of a GCC
12619 builtin and then its argument prototype would still apply. */
12623 char cupsGetDefault ();
12627 return cupsGetDefault ();
12632 if ac_fn_c_try_link
"$LINENO"; then :
12634 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12635 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'` ;;
12636 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12637 if ${ac_cv_lib_soname_cups:+false} :; then :
12638 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12642 rm -f core conftest.err conftest.
$ac_objext \
12643 conftest
$ac_exeext conftest.
$ac_ext
12644 LIBS
=$ac_check_soname_save_LIBS
12646 if ${ac_cv_lib_soname_cups:+false} :; then :
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12648 $as_echo "not found" >&6; }
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12652 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12654 cat >>confdefs.h
<<_ACEOF
12655 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12658 CUPS_CFLAGS
="$ac_cups_cflags"
12664 CPPFLAGS
="$ac_save_CPPFLAGS"
12666 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12667 case "x$with_cups" in
12668 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12670 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12671 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12675 if test "x$with_fontconfig" != "xno"
12677 if ${FONTCONFIG_CFLAGS:+false} :; then :
12678 if ${PKG_CONFIG+:} false
; then :
12679 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12682 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12683 if ${FONTCONFIG_LIBS:+false} :; then :
12684 if ${PKG_CONFIG+:} false
; then :
12685 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12688 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12690 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12691 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12692 ac_save_CPPFLAGS
=$CPPFLAGS
12693 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12694 for ac_header
in fontconfig
/fontconfig.h
12696 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12697 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12698 cat >>confdefs.h
<<_ACEOF
12699 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12706 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12709 $as_echo_n "checking for -lfontconfig... " >&6; }
12710 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12711 $as_echo_n "(cached) " >&6
12713 ac_check_soname_save_LIBS
=$LIBS
12714 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12716 /* end confdefs.h. */
12718 /* Override any GCC internal prototype to avoid an error.
12719 Use char because int might match the return type of a GCC
12720 builtin and then its argument prototype would still apply. */
12733 if ac_fn_c_try_link
"$LINENO"; then :
12735 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12736 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'` ;;
12737 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12738 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12739 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12743 rm -f core conftest.err conftest.
$ac_objext \
12744 conftest
$ac_exeext conftest.
$ac_ext
12745 LIBS
=$ac_check_soname_save_LIBS
12747 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12749 $as_echo "not found" >&6; }
12750 FONTCONFIG_CFLAGS
=""
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12753 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12755 cat >>confdefs.h
<<_ACEOF
12756 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12762 FONTCONFIG_CFLAGS
=""
12764 CPPFLAGS
=$ac_save_CPPFLAGS
12765 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12766 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12769 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12770 case "x$with_fontconfig" in
12771 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12773 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12774 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12778 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12781 $as_echo_n "checking for -lgsm... " >&6; }
12782 if ${ac_cv_lib_soname_gsm+:} false
; then :
12783 $as_echo_n "(cached) " >&6
12785 ac_check_soname_save_LIBS
=$LIBS
12787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12788 /* end confdefs.h. */
12790 /* Override any GCC internal prototype to avoid an error.
12791 Use char because int might match the return type of a GCC
12792 builtin and then its argument prototype would still apply. */
12796 char gsm_create ();
12800 return gsm_create ();
12805 if ac_fn_c_try_link
"$LINENO"; then :
12807 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12808 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'` ;;
12809 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12810 if ${ac_cv_lib_soname_gsm:+false} :; then :
12811 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12815 rm -f core conftest.err conftest.
$ac_objext \
12816 conftest
$ac_exeext conftest.
$ac_ext
12817 LIBS
=$ac_check_soname_save_LIBS
12819 if ${ac_cv_lib_soname_gsm:+false} :; then :
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12821 $as_echo "not found" >&6; }
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12825 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12827 cat >>confdefs.h
<<_ACEOF
12828 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12834 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12835 case "x$with_gsm" in
12836 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12838 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12839 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12843 if test "x$with_jpeg" != "xno"
12845 if ${JPEG_CFLAGS:+false} :; then :
12846 if ${PKG_CONFIG+:} false
; then :
12847 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12851 if ${JPEG_LIBS:+false} :; then :
12852 if ${PKG_CONFIG+:} false
; then :
12853 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12858 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12859 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12860 ac_save_CPPFLAGS
=$CPPFLAGS
12861 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12862 for ac_header
in jpeglib.h
12864 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12865 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12866 cat >>confdefs.h
<<_ACEOF
12867 #define HAVE_JPEGLIB_H 1
12874 if test "$ac_cv_header_jpeglib_h" = "yes"
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12877 $as_echo_n "checking for -ljpeg... " >&6; }
12878 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12879 $as_echo_n "(cached) " >&6
12881 ac_check_soname_save_LIBS
=$LIBS
12882 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12884 /* end confdefs.h. */
12886 /* Override any GCC internal prototype to avoid an error.
12887 Use char because int might match the return type of a GCC
12888 builtin and then its argument prototype would still apply. */
12892 char jpeg_start_decompress ();
12896 return jpeg_start_decompress ();
12901 if ac_fn_c_try_link
"$LINENO"; then :
12903 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12904 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'` ;;
12905 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12906 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12907 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12911 rm -f core conftest.err conftest.
$ac_objext \
12912 conftest
$ac_exeext conftest.
$ac_ext
12913 LIBS
=$ac_check_soname_save_LIBS
12915 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12917 $as_echo "not found" >&6; }
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12921 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12923 cat >>confdefs.h
<<_ACEOF
12924 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12932 CPPFLAGS
=$ac_save_CPPFLAGS
12933 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12934 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12937 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12938 case "x$with_jpeg" in
12939 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12941 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12942 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12946 if test "x$with_png" != "xno"
12948 if ${PNG_CFLAGS:+false} :; then :
12949 if ${PKG_CONFIG+:} false
; then :
12950 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12953 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12954 if ${PNG_LIBS:+false} :; then :
12955 if ${PKG_CONFIG+:} false
; then :
12956 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12959 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12961 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12962 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12963 ac_save_CPPFLAGS
=$CPPFLAGS
12964 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12965 for ac_header
in png.h
12967 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12968 if test "x$ac_cv_header_png_h" = xyes
; then :
12969 cat >>confdefs.h
<<_ACEOF
12970 #define HAVE_PNG_H 1
12977 if test "$ac_cv_header_png_h" = "yes"
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12980 $as_echo_n "checking for -lpng... " >&6; }
12981 if ${ac_cv_lib_soname_png+:} false
; then :
12982 $as_echo_n "(cached) " >&6
12984 ac_check_soname_save_LIBS
=$LIBS
12985 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12987 /* end confdefs.h. */
12989 /* Override any GCC internal prototype to avoid an error.
12990 Use char because int might match the return type of a GCC
12991 builtin and then its argument prototype would still apply. */
12995 char png_create_read_struct ();
12999 return png_create_read_struct ();
13004 if ac_fn_c_try_link
"$LINENO"; then :
13006 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13007 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'` ;;
13008 *) 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'`
13009 if ${ac_cv_lib_soname_png:+false} :; then :
13010 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13014 rm -f core conftest.err conftest.
$ac_objext \
13015 conftest
$ac_exeext conftest.
$ac_ext
13016 LIBS
=$ac_check_soname_save_LIBS
13018 if ${ac_cv_lib_soname_png:+false} :; then :
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13020 $as_echo "not found" >&6; }
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13024 $as_echo "$ac_cv_lib_soname_png" >&6; }
13026 cat >>confdefs.h
<<_ACEOF
13027 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h. */
13036 typeof(png_set_expand_gray_1_2_4_to_8) *p
13041 if ac_fn_c_try_compile
"$LINENO"; then :
13043 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13051 CPPFLAGS
=$ac_save_CPPFLAGS
13052 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13053 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13056 if test "x$ac_cv_lib_soname_png" = "x"; then :
13057 case "x$with_png" in
13058 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13060 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13061 This is an error since --with-png was requested." "$LINENO" 5 ;;
13065 if test "x$with_tiff" != "xno"
13067 if ${TIFF_CFLAGS:+false} :; then :
13068 if ${PKG_CONFIG+:} false
; then :
13069 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13073 if ${TIFF_LIBS:+false} :; then :
13074 if ${PKG_CONFIG+:} false
; then :
13075 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13080 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13081 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13082 ac_save_CPPFLAGS
=$CPPFLAGS
13083 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13084 for ac_header
in tiffio.h
13086 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13087 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13088 cat >>confdefs.h
<<_ACEOF
13089 #define HAVE_TIFFIO_H 1
13096 if test "$ac_cv_header_tiffio_h" = "yes"
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13099 $as_echo_n "checking for -ltiff... " >&6; }
13100 if ${ac_cv_lib_soname_tiff+:} false
; then :
13101 $as_echo_n "(cached) " >&6
13103 ac_check_soname_save_LIBS
=$LIBS
13104 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13106 /* end confdefs.h. */
13108 /* Override any GCC internal prototype to avoid an error.
13109 Use char because int might match the return type of a GCC
13110 builtin and then its argument prototype would still apply. */
13114 char TIFFClientOpen ();
13118 return TIFFClientOpen ();
13123 if ac_fn_c_try_link
"$LINENO"; then :
13125 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13126 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'` ;;
13127 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13128 if ${ac_cv_lib_soname_tiff:+false} :; then :
13129 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13133 rm -f core conftest.err conftest.
$ac_objext \
13134 conftest
$ac_exeext conftest.
$ac_ext
13135 LIBS
=$ac_check_soname_save_LIBS
13137 if ${ac_cv_lib_soname_tiff:+false} :; then :
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13139 $as_echo "not found" >&6; }
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13143 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13145 cat >>confdefs.h
<<_ACEOF
13146 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13152 CPPFLAGS
=$ac_save_CPPFLAGS
13153 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13154 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13157 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13158 case "x$with_tiff" in
13159 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13161 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13162 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13166 if test "x$with_mpg123" != "xno"
13168 if ${MPG123_CFLAGS:+false} :; then :
13169 if ${PKG_CONFIG+:} false
; then :
13170 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13174 if ${MPG123_LIBS:+false} :; then :
13175 if ${PKG_CONFIG+:} false
; then :
13176 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13180 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13181 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13182 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13183 ac_save_CPPFLAGS
=$CPPFLAGS
13184 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13185 for ac_header
in mpg123.h
13187 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13188 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13189 cat >>confdefs.h
<<_ACEOF
13190 #define HAVE_MPG123_H 1
13197 if test "$ac_cv_header_mpg123_h" = "yes"
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13200 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13201 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13202 $as_echo_n "(cached) " >&6
13204 ac_check_lib_save_LIBS
=$LIBS
13205 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13207 /* end confdefs.h. */
13209 /* Override any GCC internal prototype to avoid an error.
13210 Use char because int might match the return type of a GCC
13211 builtin and then its argument prototype would still apply. */
13215 char mpg123_feed ();
13219 return mpg123_feed ();
13224 if ac_fn_c_try_link
"$LINENO"; then :
13225 ac_cv_lib_mpg123_mpg123_feed
=yes
13227 ac_cv_lib_mpg123_mpg123_feed
=no
13229 rm -f core conftest.err conftest.
$ac_objext \
13230 conftest
$ac_exeext conftest.
$ac_ext
13231 LIBS
=$ac_check_lib_save_LIBS
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13234 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13235 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13245 CPPFLAGS
=$ac_save_CPPFLAGS
13246 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13247 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13250 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13251 case "x$with_mpg123" in
13252 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13254 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13255 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13258 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}
13260 if test "$ac_cv_header_AL_al_h" = "yes"
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13263 $as_echo_n "checking for -lopenal... " >&6; }
13264 if ${ac_cv_lib_soname_openal+:} false
; then :
13265 $as_echo_n "(cached) " >&6
13267 ac_check_soname_save_LIBS
=$LIBS
13268 LIBS
="-lopenal $LIBS"
13269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13270 /* end confdefs.h. */
13272 /* Override any GCC internal prototype to avoid an error.
13273 Use char because int might match the return type of a GCC
13274 builtin and then its argument prototype would still apply. */
13278 char alGetSource3i ();
13282 return alGetSource3i ();
13287 if ac_fn_c_try_link
"$LINENO"; then :
13289 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13290 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'` ;;
13291 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13292 if ${ac_cv_lib_soname_openal:+false} :; then :
13293 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13297 rm -f core conftest.err conftest.
$ac_objext \
13298 conftest
$ac_exeext conftest.
$ac_ext
13299 LIBS
=$ac_check_soname_save_LIBS
13301 if ${ac_cv_lib_soname_openal:+false} :; then :
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13303 $as_echo "not found" >&6; }
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13307 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13309 cat >>confdefs.h
<<_ACEOF
13310 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13313 OPENAL_LIBS
="-lopenal"
13315 ac_cv_lib_openal
=yes
13317 cat >>confdefs.h
<<_ACEOF
13318 #define HAVE_OPENAL 1
13323 if test "x$ac_cv_lib_openal" != xyes
; then :
13324 case "x$with_openal" in
13325 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13327 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13328 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13331 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13333 if test "$ac_cv_header_kstat_h" = "yes"
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13336 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13337 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13338 $as_echo_n "(cached) " >&6
13340 ac_check_lib_save_LIBS
=$LIBS
13341 LIBS
="-lkstat $LIBS"
13342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13343 /* end confdefs.h. */
13345 /* Override any GCC internal prototype to avoid an error.
13346 Use char because int might match the return type of a GCC
13347 builtin and then its argument prototype would still apply. */
13351 char kstat_open ();
13355 return kstat_open ();
13360 if ac_fn_c_try_link
"$LINENO"; then :
13361 ac_cv_lib_kstat_kstat_open
=yes
13363 ac_cv_lib_kstat_kstat_open
=no
13365 rm -f core conftest.err conftest.
$ac_objext \
13366 conftest
$ac_exeext conftest.
$ac_ext
13367 LIBS
=$ac_check_lib_save_LIBS
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13370 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13371 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13373 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13375 KSTAT_LIBS
="-lkstat"
13381 if test "$ac_cv_header_libprocstat_h" = "yes"
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13384 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13385 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13386 $as_echo_n "(cached) " >&6
13388 ac_check_lib_save_LIBS
=$LIBS
13389 LIBS
="-lprocstat $LIBS"
13390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13391 /* end confdefs.h. */
13393 /* Override any GCC internal prototype to avoid an error.
13394 Use char because int might match the return type of a GCC
13395 builtin and then its argument prototype would still apply. */
13399 char procstat_open_sysctl ();
13403 return procstat_open_sysctl ();
13408 if ac_fn_c_try_link
"$LINENO"; then :
13409 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13411 ac_cv_lib_procstat_procstat_open_sysctl
=no
13413 rm -f core conftest.err conftest.
$ac_objext \
13414 conftest
$ac_exeext conftest.
$ac_ext
13415 LIBS
=$ac_check_lib_save_LIBS
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13418 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13419 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13421 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13423 PROCSTAT_LIBS
="-lprocstat"
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13430 $as_echo_n "checking for -lodbc... " >&6; }
13431 if ${ac_cv_lib_soname_odbc+:} false
; then :
13432 $as_echo_n "(cached) " >&6
13434 ac_check_soname_save_LIBS
=$LIBS
13435 LIBS
="-lodbc $LIBS"
13436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13437 /* end confdefs.h. */
13439 /* Override any GCC internal prototype to avoid an error.
13440 Use char because int might match the return type of a GCC
13441 builtin and then its argument prototype would still apply. */
13445 char SQLConnect ();
13449 return SQLConnect ();
13454 if ac_fn_c_try_link
"$LINENO"; then :
13456 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13457 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'` ;;
13458 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13459 if ${ac_cv_lib_soname_odbc:+false} :; then :
13460 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13464 rm -f core conftest.err conftest.
$ac_objext \
13465 conftest
$ac_exeext conftest.
$ac_ext
13466 LIBS
=$ac_check_soname_save_LIBS
13468 if ${ac_cv_lib_soname_odbc:+false} :; then :
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13470 $as_echo "not found" >&6; }
13471 cat >>confdefs.h
<<_ACEOF
13472 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13477 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13479 cat >>confdefs.h
<<_ACEOF
13480 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13486 if test "x$with_netapi" != "xno"
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13489 $as_echo_n "checking for -lnetapi... " >&6; }
13490 if ${ac_cv_lib_soname_netapi+:} false
; then :
13491 $as_echo_n "(cached) " >&6
13493 ac_check_soname_save_LIBS
=$LIBS
13494 LIBS
="-lnetapi $LIBS"
13495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13496 /* end confdefs.h. */
13498 /* Override any GCC internal prototype to avoid an error.
13499 Use char because int might match the return type of a GCC
13500 builtin and then its argument prototype would still apply. */
13504 char libnetapi_init ();
13508 return libnetapi_init ();
13513 if ac_fn_c_try_link
"$LINENO"; then :
13515 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13516 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'` ;;
13517 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13518 if ${ac_cv_lib_soname_netapi:+false} :; then :
13519 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13523 rm -f core conftest.err conftest.
$ac_objext \
13524 conftest
$ac_exeext conftest.
$ac_ext
13525 LIBS
=$ac_check_soname_save_LIBS
13527 if ${ac_cv_lib_soname_netapi:+false} :; then :
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13529 $as_echo "not found" >&6; }
13530 cat >>confdefs.h
<<_ACEOF
13531 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13536 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13538 cat >>confdefs.h
<<_ACEOF
13539 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13546 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13547 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13548 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13549 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13551 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13552 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13553 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13555 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13561 if test "x${GCC}" = "xyes"
13563 EXTRACFLAGS
="-Wall -pipe"
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13566 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13567 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13568 $as_echo_n "(cached) " >&6
13570 if test "$cross_compiling" = yes; then :
13571 ac_cv_c_gcc_strength_bug
="yes"
13573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13574 /* end confdefs.h. */
13575 int L[4] = {0,1,2,3};
13579 static int Array[3];
13580 unsigned int B = 3;
13582 for(i=0; i<B; i++) Array[i] = i - 3;
13583 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13585 return (Array[1] != -2 || L[2] != 3)
13590 if ac_fn_c_try_run
"$LINENO"; then :
13591 ac_cv_c_gcc_strength_bug
="no"
13593 ac_cv_c_gcc_strength_bug
="yes"
13595 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13596 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13601 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13602 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13604 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13608 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13609 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13610 $as_echo_n "(cached) " >&6
13612 ac_wine_try_cflags_saved
=$CFLAGS
13613 CFLAGS
="$CFLAGS -fno-builtin"
13614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13615 /* end confdefs.h. */
13616 int main(int argc, char **argv) { return 0; }
13618 if ac_fn_c_try_link
"$LINENO"; then :
13619 ac_cv_cflags__fno_builtin
=yes
13621 ac_cv_cflags__fno_builtin
=no
13623 rm -f core conftest.err conftest.
$ac_objext \
13624 conftest
$ac_exeext conftest.
$ac_ext
13625 CFLAGS
=$ac_wine_try_cflags_saved
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13628 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13629 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13630 BUILTINFLAG
="-fno-builtin"
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13634 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13635 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13636 $as_echo_n "(cached) " >&6
13638 ac_wine_try_cflags_saved
=$CFLAGS
13639 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13641 /* end confdefs.h. */
13642 int main(int argc, char **argv) { return 0; }
13644 if ac_fn_c_try_link
"$LINENO"; then :
13645 ac_cv_cflags__fno_strict_aliasing
=yes
13647 ac_cv_cflags__fno_strict_aliasing
=no
13649 rm -f core conftest.err conftest.
$ac_objext \
13650 conftest
$ac_exeext conftest.
$ac_ext
13651 CFLAGS
=$ac_wine_try_cflags_saved
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13654 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13655 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13656 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13658 saved_CFLAGS
=$CFLAGS
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13660 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13661 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13662 $as_echo_n "(cached) " >&6
13664 ac_wine_try_cflags_saved
=$CFLAGS
13665 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13667 /* end confdefs.h. */
13668 int main(int argc, char **argv) { return 0; }
13670 if ac_fn_c_try_link
"$LINENO"; then :
13671 ac_cv_cflags__Werror_unknown_warning_option
=yes
13673 ac_cv_cflags__Werror_unknown_warning_option
=no
13675 rm -f core conftest.err conftest.
$ac_objext \
13676 conftest
$ac_exeext conftest.
$ac_ext
13677 CFLAGS
=$ac_wine_try_cflags_saved
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13680 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13681 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13682 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13685 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13686 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13687 $as_echo_n "(cached) " >&6
13689 ac_wine_try_cflags_saved
=$CFLAGS
13690 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13692 /* end confdefs.h. */
13693 int main(int argc, char **argv) { return 0; }
13695 if ac_fn_c_try_link
"$LINENO"; then :
13696 ac_cv_cflags__Wdeclaration_after_statement
=yes
13698 ac_cv_cflags__Wdeclaration_after_statement
=no
13700 rm -f core conftest.err conftest.
$ac_objext \
13701 conftest
$ac_exeext conftest.
$ac_ext
13702 CFLAGS
=$ac_wine_try_cflags_saved
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13705 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13706 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13707 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13710 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13711 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13712 $as_echo_n "(cached) " >&6
13714 ac_wine_try_cflags_saved
=$CFLAGS
13715 CFLAGS
="$CFLAGS -Wempty-body"
13716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13717 /* end confdefs.h. */
13718 int main(int argc, char **argv) { return 0; }
13720 if ac_fn_c_try_link
"$LINENO"; then :
13721 ac_cv_cflags__Wempty_body
=yes
13723 ac_cv_cflags__Wempty_body
=no
13725 rm -f core conftest.err conftest.
$ac_objext \
13726 conftest
$ac_exeext conftest.
$ac_ext
13727 CFLAGS
=$ac_wine_try_cflags_saved
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13730 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13731 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13732 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13735 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13736 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13737 $as_echo_n "(cached) " >&6
13739 ac_wine_try_cflags_saved
=$CFLAGS
13740 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13743 int main(int argc, char **argv) { return 0; }
13745 if ac_fn_c_try_link
"$LINENO"; then :
13746 ac_cv_cflags__Wignored_qualifiers
=yes
13748 ac_cv_cflags__Wignored_qualifiers
=no
13750 rm -f core conftest.err conftest.
$ac_objext \
13751 conftest
$ac_exeext conftest.
$ac_ext
13752 CFLAGS
=$ac_wine_try_cflags_saved
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13755 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13756 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13757 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13760 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13761 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13762 $as_echo_n "(cached) " >&6
13764 ac_wine_try_cflags_saved
=$CFLAGS
13765 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13768 int main(int argc, char **argv) { return 0; }
13770 if ac_fn_c_try_link
"$LINENO"; then :
13771 ac_cv_cflags__Wstrict_prototypes
=yes
13773 ac_cv_cflags__Wstrict_prototypes
=no
13775 rm -f core conftest.err conftest.
$ac_objext \
13776 conftest
$ac_exeext conftest.
$ac_ext
13777 CFLAGS
=$ac_wine_try_cflags_saved
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13780 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13781 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13782 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13785 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13786 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13787 $as_echo_n "(cached) " >&6
13789 ac_wine_try_cflags_saved
=$CFLAGS
13790 CFLAGS
="$CFLAGS -Wtype-limits"
13791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13792 /* end confdefs.h. */
13793 int main(int argc, char **argv) { return 0; }
13795 if ac_fn_c_try_link
"$LINENO"; then :
13796 ac_cv_cflags__Wtype_limits
=yes
13798 ac_cv_cflags__Wtype_limits
=no
13800 rm -f core conftest.err conftest.
$ac_objext \
13801 conftest
$ac_exeext conftest.
$ac_ext
13802 CFLAGS
=$ac_wine_try_cflags_saved
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13805 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13806 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13807 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13810 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13811 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13812 $as_echo_n "(cached) " >&6
13814 ac_wine_try_cflags_saved
=$CFLAGS
13815 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13817 /* end confdefs.h. */
13818 int main(int argc, char **argv) { return 0; }
13820 if ac_fn_c_try_link
"$LINENO"; then :
13821 ac_cv_cflags__Wunused_but_set_parameter
=yes
13823 ac_cv_cflags__Wunused_but_set_parameter
=no
13825 rm -f core conftest.err conftest.
$ac_objext \
13826 conftest
$ac_exeext conftest.
$ac_ext
13827 CFLAGS
=$ac_wine_try_cflags_saved
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13830 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13831 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13832 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13835 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13836 if ${ac_cv_cflags__Wvla+:} false
; then :
13837 $as_echo_n "(cached) " >&6
13839 ac_wine_try_cflags_saved
=$CFLAGS
13840 CFLAGS
="$CFLAGS -Wvla"
13841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13842 /* end confdefs.h. */
13843 int main(int argc, char **argv) { return 0; }
13845 if ac_fn_c_try_link
"$LINENO"; then :
13846 ac_cv_cflags__Wvla
=yes
13848 ac_cv_cflags__Wvla
=no
13850 rm -f core conftest.err conftest.
$ac_objext \
13851 conftest
$ac_exeext conftest.
$ac_ext
13852 CFLAGS
=$ac_wine_try_cflags_saved
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13855 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13856 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13857 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13860 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13861 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13862 $as_echo_n "(cached) " >&6
13864 ac_wine_try_cflags_saved
=$CFLAGS
13865 CFLAGS
="$CFLAGS -Wwrite-strings"
13866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13867 /* end confdefs.h. */
13868 int main(int argc, char **argv) { return 0; }
13870 if ac_fn_c_try_link
"$LINENO"; then :
13871 ac_cv_cflags__Wwrite_strings
=yes
13873 ac_cv_cflags__Wwrite_strings
=no
13875 rm -f core conftest.err conftest.
$ac_objext \
13876 conftest
$ac_exeext conftest.
$ac_ext
13877 CFLAGS
=$ac_wine_try_cflags_saved
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13880 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13881 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13882 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13886 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13887 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13888 $as_echo_n "(cached) " >&6
13890 ac_wine_try_cflags_saved
=$CFLAGS
13891 CFLAGS
="$CFLAGS -Wpointer-arith"
13892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13893 /* end confdefs.h. */
13894 int main(int argc, char **argv) { return 0; }
13896 if ac_fn_c_try_link
"$LINENO"; then :
13897 ac_cv_cflags__Wpointer_arith
=yes
13899 ac_cv_cflags__Wpointer_arith
=no
13901 rm -f core conftest.err conftest.
$ac_objext \
13902 conftest
$ac_exeext conftest.
$ac_ext
13903 CFLAGS
=$ac_wine_try_cflags_saved
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13906 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13907 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13908 saved_string_h_CFLAGS
=$CFLAGS
13909 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13911 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13912 if ${ac_cv_c_string_h_warnings+:} false
; then :
13913 $as_echo_n "(cached) " >&6
13915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13916 /* end confdefs.h. */
13917 #include <string.h>
13926 if ac_fn_c_try_compile
"$LINENO"; then :
13927 ac_cv_c_string_h_warnings
=no
13929 ac_cv_c_string_h_warnings
=yes
13931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13934 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13935 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13936 CFLAGS
=$saved_string_h_CFLAGS
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13940 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13941 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13942 $as_echo_n "(cached) " >&6
13944 ac_wine_try_cflags_saved
=$CFLAGS
13945 CFLAGS
="$CFLAGS -Wlogical-op"
13946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13947 /* end confdefs.h. */
13948 int main(int argc, char **argv) { return 0; }
13950 if ac_fn_c_try_link
"$LINENO"; then :
13951 ac_cv_cflags__Wlogical_op
=yes
13953 ac_cv_cflags__Wlogical_op
=no
13955 rm -f core conftest.err conftest.
$ac_objext \
13956 conftest
$ac_exeext conftest.
$ac_ext
13957 CFLAGS
=$ac_wine_try_cflags_saved
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13960 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13961 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13962 saved_string_h_CFLAGS
=$CFLAGS
13963 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13965 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13966 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13967 $as_echo_n "(cached) " >&6
13969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13970 /* end confdefs.h. */
13971 #include <string.h>
13972 char*f(const char *h,char n) {return strchr(h,n);}
13981 if ac_fn_c_try_compile
"$LINENO"; then :
13982 ac_cv_c_logicalop_noisy
=no
13984 ac_cv_c_logicalop_noisy
=yes
13986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13989 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13990 CFLAGS
=$saved_string_h_CFLAGS
13991 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13994 CFLAGS
=$saved_CFLAGS
13996 for ac_flag
in $CFLAGS; do
13998 -g) case $host_os in
13999 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14000 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14001 if ${ac_cv_cflags__gstabsp+:} false
; then :
14002 $as_echo_n "(cached) " >&6
14004 ac_wine_try_cflags_saved
=$CFLAGS
14005 CFLAGS
="$CFLAGS -gstabs+"
14006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14008 int main(int argc, char **argv) { return 0; }
14010 if ac_fn_c_try_link
"$LINENO"; then :
14011 ac_cv_cflags__gstabsp
=yes
14013 ac_cv_cflags__gstabsp
=no
14015 rm -f core conftest.err conftest.
$ac_objext \
14016 conftest
$ac_exeext conftest.
$ac_ext
14017 CFLAGS
=$ac_wine_try_cflags_saved
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14020 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14021 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14022 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14024 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14025 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14026 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14027 $as_echo_n "(cached) " >&6
14029 ac_wine_try_cflags_saved
=$CFLAGS
14030 CFLAGS
="$CFLAGS -gdwarf-2"
14031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14032 /* end confdefs.h. */
14033 int main(int argc, char **argv) { return 0; }
14035 if ac_fn_c_try_link
"$LINENO"; then :
14036 ac_cv_cflags__gdwarf_2
=yes
14038 ac_cv_cflags__gdwarf_2
=no
14040 rm -f core conftest.err conftest.
$ac_objext \
14041 conftest
$ac_exeext conftest.
$ac_ext
14042 CFLAGS
=$ac_wine_try_cflags_saved
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14045 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14046 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14047 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14050 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14051 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14052 $as_echo_n "(cached) " >&6
14054 ac_wine_try_cflags_saved
=$CFLAGS
14055 CFLAGS
="$CFLAGS -gstrict-dwarf"
14056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14058 int main(int argc, char **argv) { return 0; }
14060 if ac_fn_c_try_link
"$LINENO"; then :
14061 ac_cv_cflags__gstrict_dwarf
=yes
14063 ac_cv_cflags__gstrict_dwarf
=no
14065 rm -f core conftest.err conftest.
$ac_objext \
14066 conftest
$ac_exeext conftest.
$ac_ext
14067 CFLAGS
=$ac_wine_try_cflags_saved
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14070 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14071 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14072 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14079 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14080 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14081 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14082 $as_echo_n "(cached) " >&6
14084 ac_wine_try_cflags_saved
=$CFLAGS
14085 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14087 /* end confdefs.h. */
14088 int main(int argc, char **argv) { return 0; }
14090 if ac_fn_c_try_link
"$LINENO"; then :
14091 ac_cv_cflags__fno_omit_frame_pointer
=yes
14093 ac_cv_cflags__fno_omit_frame_pointer
=no
14095 rm -f core conftest.err conftest.
$ac_objext \
14096 conftest
$ac_exeext conftest.
$ac_ext
14097 CFLAGS
=$ac_wine_try_cflags_saved
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14100 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14101 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14102 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14107 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14108 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14109 if ${ac_cv_cflags__Wno_format+:} false
; then :
14110 $as_echo_n "(cached) " >&6
14112 ac_wine_try_cflags_saved
=$CFLAGS
14113 CFLAGS
="$CFLAGS -Wno-format"
14114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14115 /* end confdefs.h. */
14116 int main(int argc, char **argv) { return 0; }
14118 if ac_fn_c_try_link
"$LINENO"; then :
14119 ac_cv_cflags__Wno_format
=yes
14121 ac_cv_cflags__Wno_format
=no
14123 rm -f core conftest.err conftest.
$ac_objext \
14124 conftest
$ac_exeext conftest.
$ac_ext
14125 CFLAGS
=$ac_wine_try_cflags_saved
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14128 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14129 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14130 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14134 if test "x$enable_maintainer_mode" = "xyes"
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14137 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14138 if ${ac_cv_cflags__Werror+:} false
; then :
14139 $as_echo_n "(cached) " >&6
14141 ac_wine_try_cflags_saved
=$CFLAGS
14142 CFLAGS
="$CFLAGS -Werror"
14143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14144 /* end confdefs.h. */
14145 int main(int argc, char **argv) { return 0; }
14147 if ac_fn_c_try_link
"$LINENO"; then :
14148 ac_cv_cflags__Werror
=yes
14150 ac_cv_cflags__Werror
=no
14152 rm -f core conftest.err conftest.
$ac_objext \
14153 conftest
$ac_exeext conftest.
$ac_ext
14154 CFLAGS
=$ac_wine_try_cflags_saved
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14157 $as_echo "$ac_cv_cflags__Werror" >&6; }
14158 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14159 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14163 saved_CFLAGS
="$CFLAGS"
14164 CFLAGS
="$CFLAGS -Werror"
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14166 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14167 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14168 $as_echo_n "(cached) " >&6
14170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14171 /* end confdefs.h. */
14172 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14181 if ac_fn_c_try_compile
"$LINENO"; then :
14182 ac_cv_have_ms_hook_prologue
="yes"
14184 ac_cv_have_ms_hook_prologue
="no"
14186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14189 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14190 CFLAGS
="$saved_CFLAGS"
14191 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14194 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14197 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14204 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14205 if ${ac_cv_c_fortify_enabled+:} false
; then :
14206 $as_echo_n "(cached) " >&6
14208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14210 #include <string.h>
14214 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14215 #error Fortify enabled
14221 if ac_fn_c_try_compile
"$LINENO"; then :
14222 ac_cv_c_fortify_enabled
=no
14224 ac_cv_c_fortify_enabled
=yes
14226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14229 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14230 if test "$ac_cv_c_fortify_enabled" = yes
14232 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14237 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14238 if ${ac_cv_c_extern_prefix+:} false
; then :
14239 $as_echo_n "(cached) " >&6
14241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14242 /* end confdefs.h. */
14243 extern int ac_test;
14247 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14252 if ac_fn_c_try_link
"$LINENO"; then :
14253 ac_cv_c_extern_prefix
="yes"
14255 ac_cv_c_extern_prefix
="no"
14257 rm -f core conftest.err conftest.
$ac_objext \
14258 conftest
$ac_exeext conftest.
$ac_ext
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14261 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14266 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14267 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14268 $as_echo_n "(cached) " >&6
14270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14273 #define __stdcall __attribute__((__stdcall__))
14275 int __stdcall ac_test(int i) { return i; }
14279 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14284 if ac_fn_c_try_link
"$LINENO"; then :
14285 ac_cv_c_stdcall_suffix
="yes"
14287 ac_cv_c_stdcall_suffix
="no"
14289 rm -f core conftest.err conftest.
$ac_objext \
14290 conftest
$ac_exeext conftest.
$ac_ext
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14293 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14294 *) ac_cv_c_stdcall_suffix
="no" ;;
14298 if test "$ac_cv_c_extern_prefix" = "yes"
14300 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14302 asm_name_prefix
="_"
14304 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14310 if test "$ac_cv_c_stdcall_suffix" = "yes"
14312 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14315 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14321 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14322 if ${ac_cv_asm_func_def+:} false
; then :
14323 $as_echo_n "(cached) " >&6
14325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14326 /* end confdefs.h. */
14331 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14336 if ac_fn_c_try_link
"$LINENO"; then :
14337 ac_cv_asm_func_def
=".def"
14339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14340 /* end confdefs.h. */
14345 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14350 if ac_fn_c_try_link
"$LINENO"; then :
14351 ac_cv_asm_func_def
=".type @function"
14353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h. */
14359 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14364 if ac_fn_c_try_link
"$LINENO"; then :
14365 ac_cv_asm_func_def
=".type 2"
14367 ac_cv_asm_func_def
="unknown"
14369 rm -f core conftest.err conftest.
$ac_objext \
14370 conftest
$ac_exeext conftest.
$ac_ext
14372 rm -f core conftest.err conftest.
$ac_objext \
14373 conftest
$ac_exeext conftest.
$ac_ext
14375 rm -f core conftest.err conftest.
$ac_objext \
14376 conftest
$ac_exeext conftest.
$ac_ext
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14379 $as_echo "$ac_cv_asm_func_def" >&6; }
14382 case "$ac_cv_asm_func_def" in
14384 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14386 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14388 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14390 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14392 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14394 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14396 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14398 asm_func_header
="" ;;
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14402 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14403 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14404 $as_echo_n "(cached) " >&6
14406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14407 /* end confdefs.h. */
14408 asm(".text\n\t.long 0");
14417 if ac_fn_c_try_compile
"$LINENO"; then :
14418 ac_cv_c_asm_outside_funcs
="yes"
14420 ac_cv_c_asm_outside_funcs
="no"
14422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14425 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14428 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14429 if ${ac_cv_c_dot_previous+:} false
; then :
14430 $as_echo_n "(cached) " >&6
14432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14433 /* end confdefs.h. */
14438 asm(".text\nac_test:\t.long 0\n\t.previous");
14443 if ac_fn_c_try_link
"$LINENO"; then :
14444 ac_cv_c_dot_previous
="yes"
14446 ac_cv_c_dot_previous
="no"
14448 rm -f core conftest.err conftest.
$ac_objext \
14449 conftest
$ac_exeext conftest.
$ac_ext
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14452 $as_echo "$ac_cv_c_dot_previous" >&6; }
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14455 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14456 if ${ac_cv_c_cfi_support+:} false
; then :
14457 $as_echo_n "(cached) " >&6
14459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14460 /* end confdefs.h. */
14461 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14470 if ac_fn_c_try_compile
"$LINENO"; then :
14471 ac_cv_c_cfi_support
="yes"
14473 ac_cv_c_cfi_support
="no"
14475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14478 $as_echo "$ac_cv_c_cfi_support" >&6; }
14480 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14481 asm_func_trailer
=""
14482 if test "$ac_cv_c_dot_previous" = "yes"
14484 asm_func_trailer
="\\n\\t.previous"
14486 if test "$ac_cv_c_cfi_support" = "yes"
14488 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14489 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14491 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14493 UNWINDFLAGS
=-fasynchronous-unwind-tables
14496 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14500 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14503 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14505 cat >>confdefs.h
<<_ACEOF
14506 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14510 cat >>confdefs.h
<<_ACEOF
14511 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14516 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14519 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14524 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14531 *i
[3456789]86*|x86_64
*)
14532 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14533 loader_programs
="$loader_programs $wine_binary-preloader"
14534 as_fn_append LOADER_RULES
"
14535 $wine_binary-preloader: preloader.o
14536 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14538 install install-lib:: $wine_binary-preloader
14539 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14542 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14544 preloader_EXTRADEFS = $BUILTINFLAG
14549 as_fn_append LOADER_RULES
"
14550 PROGRAMS = $loader_programs
14554 ac_save_CFLAGS
="$CFLAGS"
14555 CFLAGS
="$CFLAGS $BUILTINFLAG"
14632 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14633 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14634 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14635 cat >>confdefs.h
<<_ACEOF
14636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14642 CFLAGS
="$ac_save_CFLAGS"
14644 if test "$ac_cv_func_dlopen" = no
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14647 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14648 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14649 $as_echo_n "(cached) " >&6
14651 ac_check_lib_save_LIBS
=$LIBS
14653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14654 /* end confdefs.h. */
14656 /* Override any GCC internal prototype to avoid an error.
14657 Use char because int might match the return type of a GCC
14658 builtin and then its argument prototype would still apply. */
14671 if ac_fn_c_try_link
"$LINENO"; then :
14672 ac_cv_lib_dl_dlopen
=yes
14674 ac_cv_lib_dl_dlopen
=no
14676 rm -f core conftest.err conftest.
$ac_objext \
14677 conftest
$ac_exeext conftest.
$ac_ext
14678 LIBS
=$ac_check_lib_save_LIBS
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14681 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14682 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14683 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14689 ac_wine_check_funcs_save_LIBS
="$LIBS"
14690 LIBS
="$LIBS $DL_LIBS"
14691 for ac_func
in dladdr
14693 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14694 if test "x$ac_cv_func_dladdr" = xyes
; then :
14695 cat >>confdefs.h
<<_ACEOF
14696 #define HAVE_DLADDR 1
14702 LIBS
="$ac_wine_check_funcs_save_LIBS"
14704 if test "$ac_cv_func_poll" = no
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14707 $as_echo_n "checking for poll in -lpoll... " >&6; }
14708 if ${ac_cv_lib_poll_poll+:} false
; then :
14709 $as_echo_n "(cached) " >&6
14711 ac_check_lib_save_LIBS
=$LIBS
14712 LIBS
="-lpoll $LIBS"
14713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14714 /* end confdefs.h. */
14716 /* Override any GCC internal prototype to avoid an error.
14717 Use char because int might match the return type of a GCC
14718 builtin and then its argument prototype would still apply. */
14731 if ac_fn_c_try_link
"$LINENO"; then :
14732 ac_cv_lib_poll_poll
=yes
14734 ac_cv_lib_poll_poll
=no
14736 rm -f core conftest.err conftest.
$ac_objext \
14737 conftest
$ac_exeext conftest.
$ac_ext
14738 LIBS
=$ac_check_lib_save_LIBS
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14741 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14742 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14743 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14751 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14752 if ${ac_cv_search_gethostbyname+:} false
; then :
14753 $as_echo_n "(cached) " >&6
14755 ac_func_search_save_LIBS
=$LIBS
14756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14759 /* Override any GCC internal prototype to avoid an error.
14760 Use char because int might match the return type of a GCC
14761 builtin and then its argument prototype would still apply. */
14765 char gethostbyname ();
14769 return gethostbyname ();
14774 for ac_lib
in '' nsl
; do
14775 if test -z "$ac_lib"; then
14776 ac_res
="none required"
14779 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14781 if ac_fn_c_try_link
"$LINENO"; then :
14782 ac_cv_search_gethostbyname
=$ac_res
14784 rm -f core conftest.err conftest.
$ac_objext \
14786 if ${ac_cv_search_gethostbyname+:} false
; then :
14790 if ${ac_cv_search_gethostbyname+:} false
; then :
14793 ac_cv_search_gethostbyname
=no
14795 rm conftest.
$ac_ext
14796 LIBS
=$ac_func_search_save_LIBS
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14799 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14800 ac_res
=$ac_cv_search_gethostbyname
14801 if test "$ac_res" != no
; then :
14802 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14808 $as_echo_n "checking for library containing connect... " >&6; }
14809 if ${ac_cv_search_connect+:} false
; then :
14810 $as_echo_n "(cached) " >&6
14812 ac_func_search_save_LIBS
=$LIBS
14813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14814 /* end confdefs.h. */
14816 /* Override any GCC internal prototype to avoid an error.
14817 Use char because int might match the return type of a GCC
14818 builtin and then its argument prototype would still apply. */
14831 for ac_lib
in '' socket
; do
14832 if test -z "$ac_lib"; then
14833 ac_res
="none required"
14836 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14838 if ac_fn_c_try_link
"$LINENO"; then :
14839 ac_cv_search_connect
=$ac_res
14841 rm -f core conftest.err conftest.
$ac_objext \
14843 if ${ac_cv_search_connect+:} false
; then :
14847 if ${ac_cv_search_connect+:} false
; then :
14850 ac_cv_search_connect
=no
14852 rm conftest.
$ac_ext
14853 LIBS
=$ac_func_search_save_LIBS
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14856 $as_echo "$ac_cv_search_connect" >&6; }
14857 ac_res
=$ac_cv_search_connect
14858 if test "$ac_res" != no
; then :
14859 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14865 $as_echo_n "checking for library containing inet_aton... " >&6; }
14866 if ${ac_cv_search_inet_aton+:} false
; then :
14867 $as_echo_n "(cached) " >&6
14869 ac_func_search_save_LIBS
=$LIBS
14870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14873 /* Override any GCC internal prototype to avoid an error.
14874 Use char because int might match the return type of a GCC
14875 builtin and then its argument prototype would still apply. */
14883 return inet_aton ();
14888 for ac_lib
in '' resolv
; do
14889 if test -z "$ac_lib"; then
14890 ac_res
="none required"
14893 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14895 if ac_fn_c_try_link
"$LINENO"; then :
14896 ac_cv_search_inet_aton
=$ac_res
14898 rm -f core conftest.err conftest.
$ac_objext \
14900 if ${ac_cv_search_inet_aton+:} false
; then :
14904 if ${ac_cv_search_inet_aton+:} false
; then :
14907 ac_cv_search_inet_aton
=no
14909 rm conftest.
$ac_ext
14910 LIBS
=$ac_func_search_save_LIBS
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14913 $as_echo "$ac_cv_search_inet_aton" >&6; }
14914 ac_res
=$ac_cv_search_inet_aton
14915 if test "$ac_res" != no
; then :
14916 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14936 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14937 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14938 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14939 cat >>confdefs.h
<<_ACEOF
14940 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14949 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14950 if ${ac_cv_search_clock_gettime+:} false
; then :
14951 $as_echo_n "(cached) " >&6
14953 ac_func_search_save_LIBS
=$LIBS
14954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14955 /* end confdefs.h. */
14957 /* Override any GCC internal prototype to avoid an error.
14958 Use char because int might match the return type of a GCC
14959 builtin and then its argument prototype would still apply. */
14963 char clock_gettime ();
14967 return clock_gettime ();
14972 for ac_lib
in '' rt
; do
14973 if test -z "$ac_lib"; then
14974 ac_res
="none required"
14977 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14979 if ac_fn_c_try_link
"$LINENO"; then :
14980 ac_cv_search_clock_gettime
=$ac_res
14982 rm -f core conftest.err conftest.
$ac_objext \
14984 if ${ac_cv_search_clock_gettime+:} false
; then :
14988 if ${ac_cv_search_clock_gettime+:} false
; then :
14991 ac_cv_search_clock_gettime
=no
14993 rm conftest.
$ac_ext
14994 LIBS
=$ac_func_search_save_LIBS
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14997 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14998 ac_res
=$ac_cv_search_clock_gettime
14999 if test "$ac_res" != no
; then :
15000 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15002 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15004 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15012 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15014 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15016 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15018 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15019 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15020 $as_echo_n "(cached) " >&6
15022 ac_check_lib_save_LIBS
=$LIBS
15023 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15027 /* Override any GCC internal prototype to avoid an error.
15028 Use char because int might match the return type of a GCC
15029 builtin and then its argument prototype would still apply. */
15033 char ldap_initialize ();
15037 return ldap_initialize ();
15042 if ac_fn_c_try_link
"$LINENO"; then :
15043 ac_cv_lib_ldap_r_ldap_initialize
=yes
15045 ac_cv_lib_ldap_r_ldap_initialize
=no
15047 rm -f core conftest.err conftest.
$ac_objext \
15048 conftest
$ac_exeext conftest.
$ac_ext
15049 LIBS
=$ac_check_lib_save_LIBS
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15052 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15053 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15055 $as_echo_n "checking for ber_init in -llber... " >&6; }
15056 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15057 $as_echo_n "(cached) " >&6
15059 ac_check_lib_save_LIBS
=$LIBS
15060 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15062 /* end confdefs.h. */
15064 /* Override any GCC internal prototype to avoid an error.
15065 Use char because int might match the return type of a GCC
15066 builtin and then its argument prototype would still apply. */
15074 return ber_init ();
15079 if ac_fn_c_try_link
"$LINENO"; then :
15080 ac_cv_lib_lber_ber_init
=yes
15082 ac_cv_lib_lber_ber_init
=no
15084 rm -f core conftest.err conftest.
$ac_objext \
15085 conftest
$ac_exeext conftest.
$ac_ext
15086 LIBS
=$ac_check_lib_save_LIBS
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15089 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15090 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15092 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15094 LDAP_LIBS
="-lldap_r -llber"
15101 ac_wine_check_funcs_save_LIBS
="$LIBS"
15102 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15104 ldap_count_references \
15105 ldap_first_reference \
15106 ldap_next_reference \
15107 ldap_parse_reference \
15108 ldap_parse_sort_control \
15109 ldap_parse_sortresponse_control \
15110 ldap_parse_vlv_control \
15111 ldap_parse_vlvresponse_control
15113 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15114 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15115 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15116 cat >>confdefs.h
<<_ACEOF
15117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15123 LIBS
="$ac_wine_check_funcs_save_LIBS"
15125 if test "x$LDAP_LIBS" = "x"; then :
15126 case "x$with_ldap" in
15127 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15129 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15130 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15135 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15136 if ${wine_cv_one_arg_mkdir+:} false
; then :
15137 $as_echo_n "(cached) " >&6
15139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15140 /* end confdefs.h. */
15141 #include <sys/stat.h>
15150 if ac_fn_c_try_compile
"$LINENO"; then :
15151 wine_cv_one_arg_mkdir
=yes
15153 wine_cv_one_arg_mkdir
=no
15155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15158 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15159 if test "$wine_cv_one_arg_mkdir" = "yes"
15162 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15167 $as_echo_n "checking for sched_setaffinity... " >&6; }
15168 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15169 $as_echo_n "(cached) " >&6
15171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15172 /* end confdefs.h. */
15173 #define _GNU_SOURCE
15178 sched_setaffinity(0, 0, 0);
15183 if ac_fn_c_try_link
"$LINENO"; then :
15184 wine_cv_have_sched_setaffinity
=yes
15186 wine_cv_have_sched_setaffinity
=no
15188 rm -f core conftest.err conftest.
$ac_objext \
15189 conftest
$ac_exeext conftest.
$ac_ext
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15192 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15193 if test "$wine_cv_have_sched_setaffinity" = "yes"
15196 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15201 $as_echo_n "checking for fallocate... " >&6; }
15202 if ${wine_cv_have_fallocate+:} false
; then :
15203 $as_echo_n "(cached) " >&6
15205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15206 /* end confdefs.h. */
15207 #define _GNU_SOURCE
15212 fallocate(-1, 0, 0, 0);
15217 if ac_fn_c_try_link
"$LINENO"; then :
15218 wine_cv_have_fallocate
=yes
15220 wine_cv_have_fallocate
=no
15222 rm -f core conftest.err conftest.
$ac_objext \
15223 conftest
$ac_exeext conftest.
$ac_ext
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15226 $as_echo "$wine_cv_have_fallocate" >&6; }
15227 if test "$wine_cv_have_fallocate" = "yes"
15230 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15236 $as_echo_n "checking for inline... " >&6; }
15237 if ${ac_cv_c_inline+:} false
; then :
15238 $as_echo_n "(cached) " >&6
15241 for ac_kw
in inline __inline__ __inline
; do
15242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15243 /* end confdefs.h. */
15244 #ifndef __cplusplus
15246 static $ac_kw foo_t static_foo () {return 0; }
15247 $ac_kw foo_t foo () {return 0; }
15251 if ac_fn_c_try_compile
"$LINENO"; then :
15252 ac_cv_c_inline
=$ac_kw
15254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15255 test "$ac_cv_c_inline" != no
&& break
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15260 $as_echo "$ac_cv_c_inline" >&6; }
15262 case $ac_cv_c_inline in
15265 case $ac_cv_c_inline in
15267 *) ac_val
=$ac_cv_c_inline;;
15269 cat >>confdefs.h
<<_ACEOF
15270 #ifndef __cplusplus
15271 #define inline $ac_val
15277 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15278 if test "x$ac_cv_type_mode_t" = xyes
; then :
15280 cat >>confdefs.h
<<_ACEOF
15281 #define HAVE_MODE_T 1
15286 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15287 if test "x$ac_cv_type_off_t" = xyes
; then :
15289 cat >>confdefs.h
<<_ACEOF
15290 #define HAVE_OFF_T 1
15295 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15296 if test "x$ac_cv_type_pid_t" = xyes
; then :
15298 cat >>confdefs.h
<<_ACEOF
15299 #define HAVE_PID_T 1
15304 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15305 if test "x$ac_cv_type_size_t" = xyes
; then :
15307 cat >>confdefs.h
<<_ACEOF
15308 #define HAVE_SIZE_T 1
15313 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15314 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15316 cat >>confdefs.h
<<_ACEOF
15317 #define HAVE_SSIZE_T 1
15322 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15323 if test "x$ac_cv_type_long_long" = xyes
; then :
15325 cat >>confdefs.h
<<_ACEOF
15326 #define HAVE_LONG_LONG 1
15331 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15332 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15334 cat >>confdefs.h
<<_ACEOF
15335 #define HAVE_FSBLKCNT_T 1
15340 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15341 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15343 cat >>confdefs.h
<<_ACEOF
15344 #define HAVE_FSFILCNT_T 1
15350 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15351 #include <signal.h>
15353 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15355 cat >>confdefs.h
<<_ACEOF
15356 #define HAVE_SIGSET_T 1
15362 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15364 if test "x$ac_cv_type_request_sense" = xyes
; then :
15366 cat >>confdefs.h
<<_ACEOF
15367 #define HAVE_REQUEST_SENSE 1
15374 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15375 #ifdef HAVE_SYS_SOCKET_H
15376 #include <sys/socket.h>
15378 #ifdef HAVE_SYS_SOCKETVAR_H
15379 #include <sys/socketvar.h>
15381 #ifdef HAVE_NET_ROUTE_H
15382 #include <net/route.h>
15384 #ifdef HAVE_NETINET_IN_H
15385 #include <netinet/in.h>
15387 #ifdef HAVE_NETINET_IN_SYSTM_H
15388 #include <netinet/in_systm.h>
15390 #ifdef HAVE_NETINET_IP_H
15391 #include <netinet/ip.h>
15393 #ifdef HAVE_NETINET_IN_PCB_H
15394 #include <netinet/in_pcb.h>
15397 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15399 cat >>confdefs.h
<<_ACEOF
15400 #define HAVE_STRUCT_XINPGEN 1
15407 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15410 #ifdef HAVE_SYS_LINK_H
15411 #include <sys/link.h>
15414 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15416 cat >>confdefs.h
<<_ACEOF
15417 #define HAVE_STRUCT_R_DEBUG 1
15422 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15425 #ifdef HAVE_SYS_LINK_H
15426 #include <sys/link.h>
15429 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15431 cat >>confdefs.h
<<_ACEOF
15432 #define HAVE_STRUCT_LINK_MAP 1
15439 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15440 #include <linux/input.h>
15443 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15445 cat >>confdefs.h
<<_ACEOF
15446 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15454 $as_echo_n "checking for sigaddset... " >&6; }
15455 if ${wine_cv_have_sigaddset+:} false
; then :
15456 $as_echo_n "(cached) " >&6
15458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15459 /* end confdefs.h. */
15460 #include <signal.h>
15464 sigset_t set; sigaddset(&set,SIGTERM);
15469 if ac_fn_c_try_link
"$LINENO"; then :
15470 wine_cv_have_sigaddset
=yes
15472 wine_cv_have_sigaddset
=no
15474 rm -f core conftest.err conftest.
$ac_objext \
15475 conftest
$ac_exeext conftest.
$ac_ext
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15478 $as_echo "$wine_cv_have_sigaddset" >&6; }
15479 if test "$wine_cv_have_sigaddset" = "yes"
15482 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15488 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15489 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15490 $as_echo_n "(cached) " >&6
15492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15493 /* end confdefs.h. */
15501 struct hostent *result;
15508 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15509 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15515 if ac_fn_c_try_link
"$LINENO"; then :
15516 wine_cv_linux_gethostbyname_r_6
=yes
15518 wine_cv_linux_gethostbyname_r_6
=no
15521 rm -f core conftest.err conftest.
$ac_objext \
15522 conftest
$ac_exeext conftest.
$ac_ext
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15526 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15527 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15530 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15534 if test "$ac_cv_header_linux_joystick_h" = "yes"
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15537 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15538 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15539 $as_echo_n "(cached) " >&6
15541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15542 /* end confdefs.h. */
15544 #include <sys/ioctl.h>
15545 #include <sys/types.h>
15546 #include <linux/joystick.h>
15548 struct js_event blub;
15549 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15550 #error "no 2.2 header"
15561 if ac_fn_c_try_compile
"$LINENO"; then :
15562 wine_cv_linux_joystick_22_api
=yes
15564 wine_cv_linux_joystick_22_api
=no
15566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15570 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15571 if test "$wine_cv_linux_joystick_22_api" = "yes"
15574 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15580 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15581 #ifdef HAVE_SYS_PARAM_H
15582 # include <sys/param.h>
15584 #ifdef HAVE_SYS_MOUNT_H
15585 # include <sys/mount.h>
15587 #ifdef HAVE_SYS_VFS_H
15588 # include <sys/vfs.h>
15590 #ifdef HAVE_SYS_STATFS_H
15591 # include <sys/statfs.h>
15594 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15596 cat >>confdefs.h
<<_ACEOF
15597 #define HAVE_STRUCT_STATFS_F_BFREE 1
15602 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15603 #ifdef HAVE_SYS_PARAM_H
15604 # include <sys/param.h>
15606 #ifdef HAVE_SYS_MOUNT_H
15607 # include <sys/mount.h>
15609 #ifdef HAVE_SYS_VFS_H
15610 # include <sys/vfs.h>
15612 #ifdef HAVE_SYS_STATFS_H
15613 # include <sys/statfs.h>
15616 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15618 cat >>confdefs.h
<<_ACEOF
15619 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15624 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15625 #ifdef HAVE_SYS_PARAM_H
15626 # include <sys/param.h>
15628 #ifdef HAVE_SYS_MOUNT_H
15629 # include <sys/mount.h>
15631 #ifdef HAVE_SYS_VFS_H
15632 # include <sys/vfs.h>
15634 #ifdef HAVE_SYS_STATFS_H
15635 # include <sys/statfs.h>
15638 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15640 cat >>confdefs.h
<<_ACEOF
15641 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15646 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15647 #ifdef HAVE_SYS_PARAM_H
15648 # include <sys/param.h>
15650 #ifdef HAVE_SYS_MOUNT_H
15651 # include <sys/mount.h>
15653 #ifdef HAVE_SYS_VFS_H
15654 # include <sys/vfs.h>
15656 #ifdef HAVE_SYS_STATFS_H
15657 # include <sys/statfs.h>
15660 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15662 cat >>confdefs.h
<<_ACEOF
15663 #define HAVE_STRUCT_STATFS_F_FFREE 1
15668 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15669 #ifdef HAVE_SYS_PARAM_H
15670 # include <sys/param.h>
15672 #ifdef HAVE_SYS_MOUNT_H
15673 # include <sys/mount.h>
15675 #ifdef HAVE_SYS_VFS_H
15676 # include <sys/vfs.h>
15678 #ifdef HAVE_SYS_STATFS_H
15679 # include <sys/statfs.h>
15682 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15684 cat >>confdefs.h
<<_ACEOF
15685 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15690 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15691 #ifdef HAVE_SYS_PARAM_H
15692 # include <sys/param.h>
15694 #ifdef HAVE_SYS_MOUNT_H
15695 # include <sys/mount.h>
15697 #ifdef HAVE_SYS_VFS_H
15698 # include <sys/vfs.h>
15700 #ifdef HAVE_SYS_STATFS_H
15701 # include <sys/statfs.h>
15704 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15706 cat >>confdefs.h
<<_ACEOF
15707 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15714 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15715 #include <sys/statvfs.h>
15718 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15720 cat >>confdefs.h
<<_ACEOF
15721 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15728 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15729 #include <dirent.h>
15732 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15734 cat >>confdefs.h
<<_ACEOF
15735 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15742 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15743 #ifdef HAVE_SYS_SOCKET_H
15744 # include <sys/socket.h>
15746 #ifdef HAVE_SYS_UN_H
15747 # include <sys/un.h>
15750 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15752 cat >>confdefs.h
<<_ACEOF
15753 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15758 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15759 #ifdef HAVE_SYS_SOCKET_H
15760 # include <sys/socket.h>
15762 #ifdef HAVE_SYS_UN_H
15763 # include <sys/un.h>
15766 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15768 cat >>confdefs.h
<<_ACEOF
15769 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15774 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15775 #ifdef HAVE_SYS_SOCKET_H
15776 # include <sys/socket.h>
15778 #ifdef HAVE_SYS_UN_H
15779 # include <sys/un.h>
15782 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15784 cat >>confdefs.h
<<_ACEOF
15785 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15792 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15793 #ifdef HAVE_SCSI_SG_H
15794 #include <scsi/sg.h>
15797 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15799 cat >>confdefs.h
<<_ACEOF
15800 #define HAVE_SCSIREQ_T_CMD 1
15805 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>
15806 #ifdef HAVE_SCSI_SG_H
15807 #include <scsi/sg.h>
15810 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15812 cat >>confdefs.h
<<_ACEOF
15813 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15820 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15822 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15824 cat >>confdefs.h
<<_ACEOF
15825 #define HAVE_SIGINFO_T_SI_FD 1
15832 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15833 #ifdef HAVE_SYS_MTIO_H
15834 #include <sys/mtio.h>
15837 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15839 cat >>confdefs.h
<<_ACEOF
15840 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15845 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15846 #ifdef HAVE_SYS_MTIO_H
15847 #include <sys/mtio.h>
15850 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15852 cat >>confdefs.h
<<_ACEOF
15853 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15858 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15859 #ifdef HAVE_SYS_MTIO_H
15860 #include <sys/mtio.h>
15863 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15865 cat >>confdefs.h
<<_ACEOF
15866 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15873 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15874 #include <getopt.h>
15877 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15879 cat >>confdefs.h
<<_ACEOF
15880 #define HAVE_STRUCT_OPTION_NAME 1
15887 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15888 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15890 cat >>confdefs.h
<<_ACEOF
15891 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15896 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15897 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15899 cat >>confdefs.h
<<_ACEOF
15900 #define HAVE_STRUCT_STAT_ST_MTIM 1
15905 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15906 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15908 cat >>confdefs.h
<<_ACEOF
15909 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15914 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15915 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15917 cat >>confdefs.h
<<_ACEOF
15918 #define HAVE_STRUCT_STAT_ST_CTIM 1
15923 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15924 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15926 cat >>confdefs.h
<<_ACEOF
15927 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15932 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15933 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15935 cat >>confdefs.h
<<_ACEOF
15936 #define HAVE_STRUCT_STAT_ST_ATIM 1
15941 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15942 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15944 cat >>confdefs.h
<<_ACEOF
15945 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15950 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15951 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15953 cat >>confdefs.h
<<_ACEOF
15954 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15959 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15960 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15962 cat >>confdefs.h
<<_ACEOF
15963 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15968 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15969 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15971 cat >>confdefs.h
<<_ACEOF
15972 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15977 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15978 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15980 cat >>confdefs.h
<<_ACEOF
15981 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15986 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15987 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15989 cat >>confdefs.h
<<_ACEOF
15990 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15997 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
15998 #include <sys/types.h>
16000 #ifdef HAVE_NETINET_IN_H
16001 #include <netinet/in.h>
16004 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16006 cat >>confdefs.h
<<_ACEOF
16007 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16014 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16015 #include <resolv.h>
16018 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16020 cat >>confdefs.h
<<_ACEOF
16021 #define HAVE_STRUCT___RES_STATE 1
16028 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
16029 #include <resolv.h>
16032 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16034 cat >>confdefs.h
<<_ACEOF
16035 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16042 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16043 #include <sys/types.h>
16045 #ifdef HAVE_NETINET_IN_H
16046 # include <netinet/in.h>
16048 #ifdef HAVE_ARPA_NAMESER_H
16049 # include <arpa/nameser.h>
16052 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16054 cat >>confdefs.h
<<_ACEOF
16055 #define HAVE_NS_MSG__MSG_PTR 1
16062 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16063 #include <sys/types.h>
16065 #ifdef HAVE_NETINET_IP_H
16066 #include <netinet/ip.h>
16068 #ifdef HAVE_NETINET_IP_ICMP_H
16069 #include <netinet/ip_icmp.h>
16071 #ifdef HAVE_NETINET_ICMP_VAR_H
16072 #include <netinet/icmp_var.h>
16075 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16077 cat >>confdefs.h
<<_ACEOF
16078 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16085 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16086 #include <sys/types.h>
16088 #ifdef HAVE_ALIAS_H
16091 #ifdef HAVE_SYS_SOCKET_H
16092 #include <sys/socket.h>
16094 #ifdef HAVE_SYS_SOCKETVAR_H
16095 #include <sys/socketvar.h>
16097 #ifdef HAVE_SYS_TIMEOUT_H
16098 #include <sys/timeout.h>
16100 #ifdef HAVE_NETINET_IN_H
16101 #include <netinet/in.h>
16103 #ifdef HAVE_NETINET_IN_SYSTM_H
16104 #include <netinet/in_systm.h>
16106 #ifdef HAVE_NETINET_IP_H
16107 #include <netinet/ip.h>
16109 #ifdef HAVE_NETINET_IP_VAR_H
16110 #include <netinet/ip_var.h>
16112 #ifdef HAVE_NETINET_IP_ICMP_H
16113 #include <netinet/ip_icmp.h>
16115 #ifdef HAVE_NETINET_ICMP_VAR_H
16116 #include <netinet/icmp_var.h>
16119 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16121 cat >>confdefs.h
<<_ACEOF
16122 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16129 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16130 #include <sys/types.h>
16132 #ifdef HAVE_SYS_SOCKETVAR_H
16133 #include <sys/socketvar.h>
16135 #ifdef HAVE_NETINET_IN_H
16136 #include <netinet/in.h>
16138 #ifdef HAVE_NETINET_IP_VAR_H
16139 #include <netinet/ip_var.h>
16142 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16144 cat >>confdefs.h
<<_ACEOF
16145 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16152 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
16153 #include <netinet/ip_var.h>
16156 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16158 cat >>confdefs.h
<<_ACEOF
16159 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16166 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16167 #include <sys/types.h>
16169 #ifdef HAVE_SYS_SOCKETVAR_H
16170 #include <sys/socketvar.h>
16172 #ifdef HAVE_NETINET_IN_H
16173 #include <netinet/in.h>
16175 #ifdef HAVE_NETINET_TCP_H
16176 #include <netinet/tcp.h>
16178 #ifdef HAVE_NETINET_TCP_VAR_H
16179 #include <netinet/tcp_var.h>
16182 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16184 cat >>confdefs.h
<<_ACEOF
16185 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16192 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
16193 #include <netinet/tcp_var.h>
16196 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16198 cat >>confdefs.h
<<_ACEOF
16199 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16206 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16207 #include <sys/types.h>
16209 #ifdef HAVE_NETINET_IN_H
16210 #include <netinet/in.h>
16212 #ifdef HAVE_NETINET_IP_VAR_H
16213 #include <netinet/ip_var.h>
16215 #ifdef HAVE_NETINET_UDP_H
16216 #include <netinet/udp.h>
16218 #ifdef HAVE_NETINET_UDP_VAR_H
16219 #include <netinet/udp_var.h>
16222 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16224 cat >>confdefs.h
<<_ACEOF
16225 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16232 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16233 #include <sys/types.h>
16235 #ifdef HAVE_NET_IF_H
16236 # include <net/if.h>
16239 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16241 cat >>confdefs.h
<<_ACEOF
16242 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16250 $as_echo_n "checking for timezone variable... " >&6; }
16251 if ${ac_cv_have_timezone+:} false
; then :
16252 $as_echo_n "(cached) " >&6
16254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16255 /* end confdefs.h. */
16265 if ac_fn_c_try_link
"$LINENO"; then :
16266 ac_cv_have_timezone
="yes"
16268 ac_cv_have_timezone
="no"
16270 rm -f core conftest.err conftest.
$ac_objext \
16271 conftest
$ac_exeext conftest.
$ac_ext
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16274 $as_echo "$ac_cv_have_timezone" >&6; }
16275 if test "$ac_cv_have_timezone" = "yes"
16278 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16282 $as_echo_n "checking for daylight variable... " >&6; }
16283 if ${ac_cv_have_daylight+:} false
; then :
16284 $as_echo_n "(cached) " >&6
16286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16287 /* end confdefs.h. */
16297 if ac_fn_c_try_link
"$LINENO"; then :
16298 ac_cv_have_daylight
="yes"
16300 ac_cv_have_daylight
="no"
16302 rm -f core conftest.err conftest.
$ac_objext \
16303 conftest
$ac_exeext conftest.
$ac_ext
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16306 $as_echo "$ac_cv_have_daylight" >&6; }
16307 if test "$ac_cv_have_daylight" = "yes"
16310 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16314 ac_save_LIBS
="$LIBS"
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16317 $as_echo_n "checking for isfinite... " >&6; }
16318 if ${ac_cv_have_isfinite+:} false
; then :
16319 $as_echo_n "(cached) " >&6
16321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16322 /* end confdefs.h. */
16323 #define _GNU_SOURCE
16328 float f = 0.0; return isfinite(f)
16333 if ac_fn_c_try_link
"$LINENO"; then :
16334 ac_cv_have_isfinite
="yes"
16336 ac_cv_have_isfinite
="no"
16338 rm -f core conftest.err conftest.
$ac_objext \
16339 conftest
$ac_exeext conftest.
$ac_ext
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16342 $as_echo "$ac_cv_have_isfinite" >&6; }
16343 if test "$ac_cv_have_isfinite" = "yes"
16346 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16351 $as_echo_n "checking for isinf... " >&6; }
16352 if ${ac_cv_have_isinf+:} false
; then :
16353 $as_echo_n "(cached) " >&6
16355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16356 /* end confdefs.h. */
16361 float f = 0.0; return isinf(f)
16366 if ac_fn_c_try_link
"$LINENO"; then :
16367 ac_cv_have_isinf
="yes"
16369 ac_cv_have_isinf
="no"
16371 rm -f core conftest.err conftest.
$ac_objext \
16372 conftest
$ac_exeext conftest.
$ac_ext
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16375 $as_echo "$ac_cv_have_isinf" >&6; }
16376 if test "$ac_cv_have_isinf" = "yes"
16379 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16384 $as_echo_n "checking for isnan... " >&6; }
16385 if ${ac_cv_have_isnan+:} false
; then :
16386 $as_echo_n "(cached) " >&6
16388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16389 /* end confdefs.h. */
16394 float f = 0.0; return isnan(f)
16399 if ac_fn_c_try_link
"$LINENO"; then :
16400 ac_cv_have_isnan
="yes"
16402 ac_cv_have_isnan
="no"
16404 rm -f core conftest.err conftest.
$ac_objext \
16405 conftest
$ac_exeext conftest.
$ac_ext
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16408 $as_echo "$ac_cv_have_isnan" >&6; }
16409 if test "$ac_cv_have_isnan" = "yes"
16412 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16439 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16440 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16441 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16442 cat >>confdefs.h
<<_ACEOF
16443 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16449 LIBS
="$ac_save_LIBS"
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16452 $as_echo_n "checking for __builtin_clz... " >&6; }
16453 if ${ac_cv_have___builtin_clz+:} false
; then :
16454 $as_echo_n "(cached) " >&6
16456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16457 /* end confdefs.h. */
16462 return __builtin_clz(1)
16467 if ac_fn_c_try_link
"$LINENO"; then :
16468 ac_cv_have___builtin_clz
="yes"
16470 ac_cv_have___builtin_clz
="no"
16472 rm -f core conftest.err conftest.
$ac_objext \
16473 conftest
$ac_exeext conftest.
$ac_ext
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16476 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16477 if test "$ac_cv_have___builtin_clz" = "yes"
16480 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16486 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16487 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16488 if ${ac_cv_cpp_def___i386__+:} false
; then :
16489 $as_echo_n "(cached) " >&6
16491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16498 $EGREP "yes" >/dev
/null
2>&1; then :
16499 ac_cv_cpp_def___i386__
=yes
16501 ac_cv_cpp_def___i386__
=no
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16507 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16508 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16509 CFLAGS
="$CFLAGS -D__i386__"
16510 LINTFLAGS
="$LINTFLAGS -D__i386__"
16512 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16513 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16514 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16515 $as_echo_n "(cached) " >&6
16517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16518 /* end confdefs.h. */
16523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16524 $EGREP "yes" >/dev
/null
2>&1; then :
16525 ac_cv_cpp_def___x86_64__
=yes
16527 ac_cv_cpp_def___x86_64__
=no
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16533 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16534 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16535 CFLAGS
="$CFLAGS -D__x86_64__"
16536 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16538 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16539 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16540 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16541 $as_echo_n "(cached) " >&6
16543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16544 /* end confdefs.h. */
16545 #ifndef __sparc64__
16549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16550 $EGREP "yes" >/dev
/null
2>&1; then :
16551 ac_cv_cpp_def___sparc64__
=yes
16553 ac_cv_cpp_def___sparc64__
=no
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16559 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16560 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16561 CFLAGS
="$CFLAGS -D__sparc64__"
16562 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16564 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16565 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16566 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16567 $as_echo_n "(cached) " >&6
16569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16570 /* end confdefs.h. */
16575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16576 $EGREP "yes" >/dev
/null
2>&1; then :
16577 ac_cv_cpp_def___sparc__
=yes
16579 ac_cv_cpp_def___sparc__
=no
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16585 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16586 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16587 CFLAGS
="$CFLAGS -D__sparc__"
16588 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16590 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16591 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16592 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16593 $as_echo_n "(cached) " >&6
16595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16596 /* end confdefs.h. */
16597 #ifndef __powerpc64__
16601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16602 $EGREP "yes" >/dev
/null
2>&1; then :
16603 ac_cv_cpp_def___powerpc64__
=yes
16605 ac_cv_cpp_def___powerpc64__
=no
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16611 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16612 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16613 CFLAGS
="$CFLAGS -D__powerpc64__"
16614 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16616 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16617 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16618 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16619 $as_echo_n "(cached) " >&6
16621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h. */
16623 #ifndef __powerpc__
16627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16628 $EGREP "yes" >/dev
/null
2>&1; then :
16629 ac_cv_cpp_def___powerpc__
=yes
16631 ac_cv_cpp_def___powerpc__
=no
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16637 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16638 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16639 CFLAGS
="$CFLAGS -D__powerpc__"
16640 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16642 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16643 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16644 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16645 $as_echo_n "(cached) " >&6
16647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16648 /* end confdefs.h. */
16649 #ifndef __aarch64__
16653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16654 $EGREP "yes" >/dev
/null
2>&1; then :
16655 ac_cv_cpp_def___aarch64__
=yes
16657 ac_cv_cpp_def___aarch64__
=no
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16663 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16664 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16665 CFLAGS
="$CFLAGS -D__aarch64__"
16666 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16668 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16669 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16670 if ${ac_cv_cpp_def___arm__+:} false
; then :
16671 $as_echo_n "(cached) " >&6
16673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16674 /* end confdefs.h. */
16679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16680 $EGREP "yes" >/dev
/null
2>&1; then :
16681 ac_cv_cpp_def___arm__
=yes
16683 ac_cv_cpp_def___arm__
=no
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16689 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16690 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16691 CFLAGS
="$CFLAGS -D__arm__"
16692 LINTFLAGS
="$LINTFLAGS -D__arm__"
16696 case $host_vendor in
16697 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16698 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16699 if ${ac_cv_cpp_def___sun__+:} false
; then :
16700 $as_echo_n "(cached) " >&6
16702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16703 /* end confdefs.h. */
16708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16709 $EGREP "yes" >/dev
/null
2>&1; then :
16710 ac_cv_cpp_def___sun__
=yes
16712 ac_cv_cpp_def___sun__
=no
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16718 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16719 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16720 CFLAGS
="$CFLAGS -D__sun__"
16721 LINTFLAGS
="$LINTFLAGS -D__sun__"
16729 ac_config_commands
="$ac_config_commands include/stamp-h"
16731 $as_echo_n "creating Makefile rules..." >&6
16733 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16734 SOCKET_LIBS = $SOCKET_LIBS
16735 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16736 IOKIT_LIBS = $IOKIT_LIBS
16737 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16738 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16739 CORESERVICES_LIBS = $CORESERVICES_LIBS
16740 APPKIT_LIBS = $APPKIT_LIBS
16741 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16742 SECURITY_LIBS = $SECURITY_LIBS
16743 COREAUDIO_LIBS = $COREAUDIO_LIBS
16744 OPENAL_LIBS = $OPENAL_LIBS
16745 OPENCL_LIBS = $OPENCL_LIBS
16746 QUICKTIME_LIBS = $QUICKTIME_LIBS
16747 CARBON_LIBS = $CARBON_LIBS
16748 PTHREAD_LIBS = $PTHREAD_LIBS
16749 X_CFLAGS = $X_CFLAGS
16750 X_PRE_LIBS = $X_PRE_LIBS
16752 X_EXTRA_LIBS = $X_EXTRA_LIBS
16753 XML2_CFLAGS = $XML2_CFLAGS
16754 XML2_LIBS = $XML2_LIBS
16755 XSLT_CFLAGS = $XSLT_CFLAGS
16756 XSLT_LIBS = $XSLT_LIBS
16757 DBUS_CFLAGS = $DBUS_CFLAGS
16758 DBUS_LIBS = $DBUS_LIBS
16759 HAL_CFLAGS = $HAL_CFLAGS
16760 HAL_LIBS = $HAL_LIBS
16761 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16762 GNUTLS_LIBS = $GNUTLS_LIBS
16763 SANE_CFLAGS = $SANE_CFLAGS
16764 SANE_LIBS = $SANE_LIBS
16765 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16766 GPHOTO2_LIBS = $GPHOTO2_LIBS
16767 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16768 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16769 RESOLV_LIBS = $RESOLV_LIBS
16770 LCMS2_CFLAGS = $LCMS2_CFLAGS
16771 LCMS2_LIBS = $LCMS2_LIBS
16772 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16773 FREETYPE_LIBS = $FREETYPE_LIBS
16775 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16776 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16777 GSTREAMER_LIBS = $GSTREAMER_LIBS
16778 ALSA_LIBS = $ALSA_LIBS
16779 OSS4_CFLAGS = $OSS4_CFLAGS
16780 CAPI20_CFLAGS = $CAPI20_CFLAGS
16781 CAPI20_LIBS = $CAPI20_LIBS
16782 CUPS_CFLAGS = $CUPS_CFLAGS
16783 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16784 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16785 JPEG_CFLAGS = $JPEG_CFLAGS
16786 JPEG_LIBS = $JPEG_LIBS
16787 PNG_CFLAGS = $PNG_CFLAGS
16788 PNG_LIBS = $PNG_LIBS
16789 TIFF_CFLAGS = $TIFF_CFLAGS
16790 TIFF_LIBS = $TIFF_LIBS
16791 MPG123_CFLAGS = $MPG123_CFLAGS
16792 MPG123_LIBS = $MPG123_LIBS
16793 KSTAT_LIBS = $KSTAT_LIBS
16794 PROCSTAT_LIBS = $PROCSTAT_LIBS
16796 POLL_LIBS = $POLL_LIBS
16798 LDAP_LIBS = $LDAP_LIBS
16803 wine_fn_append_rule
"
16804 # Rules automatically generated by configure
16806 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16811 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16812 @./config.status Make.tmp Makefile"
16814 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16815 .gitignore: config.status
16816 @./config.status .gitignore"
16818 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16819 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16821 if test "x$enable_fonts" != xno
; then
16822 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16823 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16824 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16825 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16826 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16828 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16829 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16830 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16831 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16832 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16833 wine_fn_config_symlink wine
16834 if test "x$enable_win64" != xno
; then
16835 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16836 wine_fn_config_symlink wine64
16839 wine_fn_config_dll acledit enable_acledit
16840 wine_fn_config_dll aclui enable_aclui implib
16841 wine_fn_config_dll activeds enable_activeds implib
16842 wine_fn_config_dll actxprxy enable_actxprxy clean
16843 wine_fn_config_lib adsiid
16844 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16845 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16846 wine_fn_config_dll advpack enable_advpack implib
16847 wine_fn_config_test dlls
/advpack
/tests advpack_test
16848 wine_fn_config_dll amstream enable_amstream clean
16849 wine_fn_config_test dlls
/amstream
/tests amstream_test
16850 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16851 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16852 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16853 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16854 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16855 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16856 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16857 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16858 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16859 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16860 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16861 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16862 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16863 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16864 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16865 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16866 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16867 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16868 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16869 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16870 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16871 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16872 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16873 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16874 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16875 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16876 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16877 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16878 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16879 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16880 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16881 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16882 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16883 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16884 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16885 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16886 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16887 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16888 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16889 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16890 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16891 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16892 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16893 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16894 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16895 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16896 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16897 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16898 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16899 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16900 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16901 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16902 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16903 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16904 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16905 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16906 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16907 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16908 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16909 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16910 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16911 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16912 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16913 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16914 wine_fn_config_dll apphelp enable_apphelp
16915 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16916 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16917 wine_fn_config_dll atl enable_atl clean
,implib
16918 wine_fn_config_test dlls
/atl
/tests atl_test
16919 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16920 wine_fn_config_test dlls
/atl100
/tests atl100_test
16921 wine_fn_config_dll atl110 enable_atl110 clean
16922 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16923 wine_fn_config_test dlls
/atl80
/tests atl80_test
16924 wine_fn_config_dll atl90 enable_atl90 clean
16925 wine_fn_config_dll authz enable_authz
16926 wine_fn_config_dll avicap32 enable_avicap32 implib
16927 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16928 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16929 wine_fn_config_dll avifile.dll16 enable_win16
16930 wine_fn_config_dll avrt enable_avrt implib
16931 wine_fn_config_dll bcrypt enable_bcrypt
16932 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16933 wine_fn_config_dll browseui enable_browseui clean
,po
16934 wine_fn_config_test dlls
/browseui
/tests browseui_test
16935 wine_fn_config_dll cabinet enable_cabinet implib
16936 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16937 wine_fn_config_dll capi2032 enable_capi2032 implib
16938 wine_fn_config_dll cards enable_cards implib
16939 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16940 wine_fn_config_dll clusapi enable_clusapi implib
16941 wine_fn_config_dll combase enable_combase
16942 wine_fn_config_dll comcat enable_comcat
16943 wine_fn_config_test dlls
/comcat
/tests comcat_test
16944 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16945 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16946 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16947 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16948 wine_fn_config_dll
comm.drv16 enable_win16
16949 wine_fn_config_dll commdlg.dll16 enable_win16
16950 wine_fn_config_dll compobj.dll16 enable_win16
16951 wine_fn_config_dll compstui enable_compstui implib
16952 wine_fn_config_dll comsvcs enable_comsvcs implib
16953 wine_fn_config_dll credui enable_credui implib
,po
16954 wine_fn_config_test dlls
/credui
/tests credui_test
16955 wine_fn_config_dll crtdll enable_crtdll implib
16956 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16957 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16958 wine_fn_config_dll cryptdlg enable_cryptdlg po
16959 wine_fn_config_dll cryptdll enable_cryptdll implib
16960 wine_fn_config_dll cryptext enable_cryptext
16961 wine_fn_config_dll cryptnet enable_cryptnet implib
16962 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16963 wine_fn_config_dll cryptui enable_cryptui implib
,po
16964 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16965 wine_fn_config_dll ctapi32 enable_ctapi32
16966 wine_fn_config_dll ctl3d.dll16 enable_win16
16967 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16968 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16969 wine_fn_config_dll d2d1 enable_d2d1 implib
16970 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16971 wine_fn_config_dll d3d10 enable_d3d10 implib
16972 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16973 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16974 wine_fn_config_dll d3d10core enable_d3d10core implib
16975 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16976 wine_fn_config_dll d3d11 enable_d3d11
16977 wine_fn_config_dll d3d8 enable_d3d8 implib
16978 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16979 wine_fn_config_dll d3d9 enable_d3d9 implib
16980 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16981 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16982 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16983 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16984 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16985 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16986 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16987 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16988 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16989 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16990 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16991 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16992 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16993 wine_fn_config_dll d3dim enable_d3dim implib
16994 wine_fn_config_dll d3drm enable_d3drm implib
16995 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16996 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16997 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16998 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16999 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17000 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17001 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17002 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17003 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17004 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17005 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17006 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17007 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17008 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17009 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17010 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17011 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17012 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17013 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17014 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17015 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17016 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17017 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17018 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17019 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17020 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17021 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17022 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17023 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17024 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17025 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17026 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17027 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17028 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17029 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17030 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17031 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17032 wine_fn_config_dll dbgeng enable_dbgeng implib
17033 wine_fn_config_dll dbghelp enable_dbghelp implib
17034 wine_fn_config_dll dciman32 enable_dciman32 implib
17035 wine_fn_config_dll ddeml.dll16 enable_win16
17036 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17037 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17038 wine_fn_config_dll ddrawex enable_ddrawex clean
17039 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17040 wine_fn_config_dll devenum enable_devenum clean
,po
17041 wine_fn_config_test dlls
/devenum
/tests devenum_test
17042 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17043 wine_fn_config_dll difxapi enable_difxapi
17044 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17045 wine_fn_config_test dlls
/dinput
/tests dinput_test
17046 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17047 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17048 wine_fn_config_dll dispdib.dll16 enable_win16
17049 wine_fn_config_dll dispex enable_dispex clean
17050 wine_fn_config_test dlls
/dispex
/tests dispex_test
17051 wine_fn_config_dll display.drv16 enable_win16
17052 wine_fn_config_dll dmband enable_dmband clean
17053 wine_fn_config_test dlls
/dmband
/tests dmband_test
17054 wine_fn_config_dll dmcompos enable_dmcompos clean
17055 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17056 wine_fn_config_dll dmime enable_dmime clean
17057 wine_fn_config_test dlls
/dmime
/tests dmime_test
17058 wine_fn_config_dll dmloader enable_dmloader clean
17059 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17060 wine_fn_config_dll dmscript enable_dmscript clean
17061 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17062 wine_fn_config_dll dmstyle enable_dmstyle clean
17063 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17064 wine_fn_config_dll dmsynth enable_dmsynth clean
17065 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17066 wine_fn_config_dll dmusic enable_dmusic clean
17067 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17068 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17069 wine_fn_config_dll dnsapi enable_dnsapi implib
17070 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17071 wine_fn_config_dll dplay enable_dplay implib
17072 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17073 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17074 wine_fn_config_dll dpnaddr enable_dpnaddr
17075 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17076 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17077 wine_fn_config_dll dpnhpast enable_dpnhpast
17078 wine_fn_config_dll dpnlobby enable_dpnlobby
17079 wine_fn_config_dll dpvoice enable_dpvoice clean
17080 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17081 wine_fn_config_dll dpwsockx enable_dpwsockx
17082 wine_fn_config_dll drmclien enable_drmclien
17083 wine_fn_config_dll dsound enable_dsound clean
,implib
17084 wine_fn_config_test dlls
/dsound
/tests dsound_test
17085 wine_fn_config_dll dssenh enable_dssenh
17086 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17087 wine_fn_config_dll dswave enable_dswave clean
17088 wine_fn_config_test dlls
/dswave
/tests dswave_test
17089 wine_fn_config_dll dwmapi enable_dwmapi implib
17090 wine_fn_config_dll dwrite enable_dwrite implib
17091 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17092 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17093 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17094 wine_fn_config_lib dxerr8
17095 wine_fn_config_lib dxerr9
17096 wine_fn_config_dll dxgi enable_dxgi implib
17097 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17098 wine_fn_config_lib dxguid
17099 wine_fn_config_dll dxva2 enable_dxva2
17100 wine_fn_config_dll explorerframe enable_explorerframe clean
17101 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17102 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17103 wine_fn_config_dll faultrep enable_faultrep implib
17104 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17105 wine_fn_config_dll fltlib enable_fltlib
17106 wine_fn_config_dll fntcache enable_fntcache
17107 wine_fn_config_dll fontsub enable_fontsub
17108 wine_fn_config_dll fusion enable_fusion
17109 wine_fn_config_test dlls
/fusion
/tests fusion_test
17110 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17111 wine_fn_config_dll gameux enable_gameux clean
17112 wine_fn_config_test dlls
/gameux
/tests gameux_test
17113 wine_fn_config_dll gdi.exe16 enable_win16
17114 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17115 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17116 wine_fn_config_dll gdiplus enable_gdiplus implib
17117 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17118 wine_fn_config_dll glu32 enable_glu32 implib
17119 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17120 wine_fn_config_dll gpkcsp enable_gpkcsp
17121 wine_fn_config_dll hal enable_hal
17122 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17123 wine_fn_config_dll hid enable_hid implib
17124 wine_fn_config_dll hlink enable_hlink clean
,implib
17125 wine_fn_config_test dlls
/hlink
/tests hlink_test
17126 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17127 wine_fn_config_dll httpapi enable_httpapi
17128 wine_fn_config_dll iccvid enable_iccvid po
17129 wine_fn_config_dll icmp enable_icmp
17130 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17131 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17132 wine_fn_config_dll ifsmgr.vxd enable_win16
17133 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17134 wine_fn_config_dll imagehlp enable_imagehlp implib
17135 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17136 wine_fn_config_dll imm.dll16 enable_win16
17137 wine_fn_config_dll imm32 enable_imm32 implib
17138 wine_fn_config_test dlls
/imm32
/tests imm32_test
17139 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17140 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17141 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17142 wine_fn_config_dll inetmib1 enable_inetmib1
17143 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17144 wine_fn_config_dll infosoft enable_infosoft clean
17145 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17146 wine_fn_config_dll initpki enable_initpki
17147 wine_fn_config_dll inkobj enable_inkobj
17148 wine_fn_config_dll inseng enable_inseng clean
17149 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17150 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17151 wine_fn_config_dll itircl enable_itircl
17152 wine_fn_config_dll itss enable_itss clean
17153 wine_fn_config_test dlls
/itss
/tests itss_test
17154 wine_fn_config_dll joy.cpl enable_joy_cpl po
17155 wine_fn_config_dll jscript enable_jscript clean
,po
17156 wine_fn_config_test dlls
/jscript
/tests jscript_test
17157 wine_fn_config_dll jsproxy enable_jsproxy implib
17158 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17159 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17160 wine_fn_config_dll keyboard.drv16 enable_win16
17161 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17162 wine_fn_config_dll ksuser enable_ksuser
17163 wine_fn_config_dll ktmw32 enable_ktmw32
17164 wine_fn_config_dll loadperf enable_loadperf implib
17165 wine_fn_config_dll localspl enable_localspl po
17166 wine_fn_config_test dlls
/localspl
/tests localspl_test
17167 wine_fn_config_dll localui enable_localui po
17168 wine_fn_config_test dlls
/localui
/tests localui_test
17169 wine_fn_config_dll lz32 enable_lz32 implib
17170 wine_fn_config_test dlls
/lz32
/tests lz32_test
17171 wine_fn_config_dll lzexpand.dll16 enable_win16
17172 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17173 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17174 wine_fn_config_dll mapistub enable_mapistub
17175 wine_fn_config_dll mciavi32 enable_mciavi32
17176 wine_fn_config_dll mcicda enable_mcicda
17177 wine_fn_config_dll mciqtz32 enable_mciqtz32
17178 wine_fn_config_dll mciseq enable_mciseq
17179 wine_fn_config_dll mciwave enable_mciwave
17180 wine_fn_config_dll mgmtapi enable_mgmtapi
17181 wine_fn_config_dll midimap enable_midimap
17182 wine_fn_config_dll mlang enable_mlang clean
,implib
17183 wine_fn_config_test dlls
/mlang
/tests mlang_test
17184 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17185 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17186 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17187 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17188 wine_fn_config_dll mmdevldr.vxd enable_win16
17189 wine_fn_config_dll mmsystem.dll16 enable_win16
17190 wine_fn_config_dll monodebg.vxd enable_win16
17191 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17192 wine_fn_config_dll mouse.drv16 enable_win16
17193 wine_fn_config_dll mpr enable_mpr implib
,po
17194 wine_fn_config_test dlls
/mpr
/tests mpr_test
17195 wine_fn_config_dll mprapi enable_mprapi implib
17196 wine_fn_config_dll msacm.dll16 enable_win16
17197 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17198 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17199 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17200 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17201 wine_fn_config_dll msasn1 enable_msasn1 implib
17202 wine_fn_config_dll mscat32 enable_mscat32
17203 wine_fn_config_dll mscms enable_mscms implib
17204 wine_fn_config_test dlls
/mscms
/tests mscms_test
17205 wine_fn_config_dll mscoree enable_mscoree clean
17206 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17207 wine_fn_config_dll msctf enable_msctf clean
17208 wine_fn_config_test dlls
/msctf
/tests msctf_test
17209 wine_fn_config_dll msdaps enable_msdaps clean
17210 wine_fn_config_dll msdmo enable_msdmo implib
17211 wine_fn_config_dll msftedit enable_msftedit
17212 wine_fn_config_dll msg711.acm enable_msg711_acm
17213 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17214 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17215 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17216 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17217 wine_fn_config_dll msi enable_msi clean
,implib
,po
17218 wine_fn_config_test dlls
/msi
/tests msi_test
17219 wine_fn_config_dll msident enable_msident clean
17220 wine_fn_config_dll msimg32 enable_msimg32 implib
17221 wine_fn_config_dll msimsg enable_msimsg
17222 wine_fn_config_dll msimtf enable_msimtf clean
17223 wine_fn_config_dll msisip enable_msisip
17224 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17225 wine_fn_config_dll msls31 enable_msls31
17226 wine_fn_config_dll msnet32 enable_msnet32
17227 wine_fn_config_dll mspatcha enable_mspatcha
17228 wine_fn_config_dll msrle32 enable_msrle32 po
17229 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17230 wine_fn_config_dll mssign32 enable_mssign32
17231 wine_fn_config_dll mssip32 enable_mssip32
17232 wine_fn_config_dll mstask enable_mstask clean
17233 wine_fn_config_test dlls
/mstask
/tests mstask_test
17234 wine_fn_config_dll msvcirt enable_msvcirt
17235 wine_fn_config_dll msvcm80 enable_msvcm80
17236 wine_fn_config_dll msvcm90 enable_msvcm90
17237 wine_fn_config_dll msvcp100 enable_msvcp100
17238 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17239 wine_fn_config_dll msvcp110 enable_msvcp110
17240 wine_fn_config_dll msvcp120 enable_msvcp120
17241 wine_fn_config_dll msvcp60 enable_msvcp60
17242 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17243 wine_fn_config_dll msvcp70 enable_msvcp70
17244 wine_fn_config_dll msvcp71 enable_msvcp71
17245 wine_fn_config_dll msvcp80 enable_msvcp80
17246 wine_fn_config_dll msvcp90 enable_msvcp90
17247 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17248 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17249 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17250 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17251 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17252 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17253 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17254 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17255 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17256 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17257 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17258 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17259 wine_fn_config_dll msvcrt enable_msvcrt implib
17260 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17261 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17262 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17263 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17264 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17265 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17266 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17267 wine_fn_config_dll msvidc32 enable_msvidc32 po
17268 wine_fn_config_dll msvideo.dll16 enable_win16
17269 wine_fn_config_dll mswsock enable_mswsock implib
17270 wine_fn_config_dll msxml enable_msxml clean
17271 wine_fn_config_dll msxml2 enable_msxml2 clean
17272 wine_fn_config_dll msxml3 enable_msxml3 clean
17273 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17274 wine_fn_config_dll msxml4 enable_msxml4 clean
17275 wine_fn_config_dll msxml6 enable_msxml6 clean
17276 wine_fn_config_dll nddeapi enable_nddeapi implib
17277 wine_fn_config_dll ndis.sys enable_ndis_sys
17278 wine_fn_config_dll netapi32 enable_netapi32 implib
17279 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17280 wine_fn_config_dll netcfgx enable_netcfgx clean
17281 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17282 wine_fn_config_dll netprofm enable_netprofm clean
17283 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17284 wine_fn_config_dll newdev enable_newdev implib
17285 wine_fn_config_dll normaliz enable_normaliz implib
17286 wine_fn_config_dll npmshtml enable_npmshtml
17287 wine_fn_config_dll npptools enable_npptools
17288 wine_fn_config_dll ntdll enable_ntdll implib
17289 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17290 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17291 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17292 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17293 wine_fn_config_dll ntprint enable_ntprint
17294 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17295 wine_fn_config_dll objsel enable_objsel clean
17296 wine_fn_config_dll odbc32 enable_odbc32 implib
17297 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17298 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17299 wine_fn_config_dll odbccu32 enable_odbccu32
17300 wine_fn_config_dll ole2.dll16 enable_win16
17301 wine_fn_config_dll ole2conv.dll16 enable_win16
17302 wine_fn_config_dll ole2disp.dll16 enable_win16
17303 wine_fn_config_dll ole2nls.dll16 enable_win16
17304 wine_fn_config_dll ole2prox.dll16 enable_win16
17305 wine_fn_config_dll ole2thk.dll16 enable_win16
17306 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17307 wine_fn_config_test dlls
/ole32
/tests ole32_test
17308 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17309 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17310 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17311 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17312 wine_fn_config_dll olecli.dll16 enable_win16
17313 wine_fn_config_dll olecli32 enable_olecli32 implib
17314 wine_fn_config_dll oledb32 enable_oledb32 clean
17315 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17316 wine_fn_config_dll oledlg enable_oledlg implib
,po
17317 wine_fn_config_dll olepro32 enable_olepro32 implib
17318 wine_fn_config_dll olesvr.dll16 enable_win16
17319 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17320 wine_fn_config_dll olethk32 enable_olethk32
17321 wine_fn_config_dll openal32 enable_openal32
17322 wine_fn_config_dll opencl enable_opencl
17323 wine_fn_config_dll opengl32 enable_opengl32 implib
17324 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17325 wine_fn_config_dll packager enable_packager clean
17326 wine_fn_config_test dlls
/packager
/tests packager_test
17327 wine_fn_config_dll pdh enable_pdh implib
17328 wine_fn_config_test dlls
/pdh
/tests pdh_test
17329 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17330 wine_fn_config_dll pidgen enable_pidgen
17331 wine_fn_config_dll powrprof enable_powrprof implib
17332 wine_fn_config_dll printui enable_printui
17333 wine_fn_config_dll prntvpt enable_prntvpt
17334 wine_fn_config_dll propsys enable_propsys clean
,implib
17335 wine_fn_config_test dlls
/propsys
/tests propsys_test
17336 wine_fn_config_dll psapi enable_psapi implib
17337 wine_fn_config_test dlls
/psapi
/tests psapi_test
17338 wine_fn_config_dll pstorec enable_pstorec clean
17339 wine_fn_config_dll qcap enable_qcap
17340 wine_fn_config_test dlls
/qcap
/tests qcap_test
17341 wine_fn_config_dll qedit enable_qedit clean
17342 wine_fn_config_test dlls
/qedit
/tests qedit_test
17343 wine_fn_config_dll qmgr enable_qmgr clean
17344 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17345 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17346 wine_fn_config_dll quartz enable_quartz clean
,implib
17347 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17348 wine_fn_config_dll query enable_query
17349 wine_fn_config_dll rasapi16.dll16 enable_win16
17350 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17351 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17352 wine_fn_config_dll rasdlg enable_rasdlg implib
17353 wine_fn_config_dll regapi enable_regapi
17354 wine_fn_config_dll resutils enable_resutils implib
17355 wine_fn_config_dll riched20 enable_riched20 implib
17356 wine_fn_config_test dlls
/riched20
/tests riched20_test
17357 wine_fn_config_dll riched32 enable_riched32
17358 wine_fn_config_test dlls
/riched32
/tests riched32_test
17359 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17360 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17361 wine_fn_config_dll rsabase enable_rsabase
17362 wine_fn_config_dll rsaenh enable_rsaenh implib
17363 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17364 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17365 wine_fn_config_dll rtutils enable_rtutils implib
17366 wine_fn_config_dll samlib enable_samlib
17367 wine_fn_config_dll sane.ds enable_sane_ds po
17368 wine_fn_config_dll scarddlg enable_scarddlg
17369 wine_fn_config_dll sccbase enable_sccbase
17370 wine_fn_config_dll schannel enable_schannel
17371 wine_fn_config_test dlls
/schannel
/tests schannel_test
17372 wine_fn_config_dll schedsvc enable_schedsvc clean
17373 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17374 wine_fn_config_dll scrrun enable_scrrun clean
17375 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17376 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17377 wine_fn_config_dll secur32 enable_secur32 implib
17378 wine_fn_config_test dlls
/secur32
/tests secur32_test
17379 wine_fn_config_dll security enable_security
17380 wine_fn_config_dll sensapi enable_sensapi implib
17381 wine_fn_config_dll serialui enable_serialui implib
,po
17382 wine_fn_config_test dlls
/serialui
/tests serialui_test
17383 wine_fn_config_dll setupapi enable_setupapi implib
,po
17384 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17385 wine_fn_config_dll setupx.dll16 enable_win16
17386 wine_fn_config_dll sfc enable_sfc implib
17387 wine_fn_config_dll sfc_os enable_sfc_os implib
17388 wine_fn_config_dll shdoclc enable_shdoclc po
17389 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17390 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17391 wine_fn_config_dll shell.dll16 enable_win16
17392 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17393 wine_fn_config_test dlls
/shell32
/tests shell32_test
17394 wine_fn_config_dll shfolder enable_shfolder implib
17395 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17396 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17397 wine_fn_config_dll slbcsp enable_slbcsp
17398 wine_fn_config_dll slc enable_slc implib
17399 wine_fn_config_dll snmpapi enable_snmpapi implib
17400 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17401 wine_fn_config_dll softpub enable_softpub
17402 wine_fn_config_dll sound.drv16 enable_win16
17403 wine_fn_config_dll spoolss enable_spoolss implib
17404 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17405 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17406 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17407 wine_fn_config_dll sti enable_sti clean
,implib
17408 wine_fn_config_test dlls
/sti
/tests sti_test
17409 wine_fn_config_dll storage.dll16 enable_win16
17410 wine_fn_config_dll stress.dll16 enable_win16
17411 wine_fn_config_lib strmbase
17412 wine_fn_config_lib strmiids
17413 wine_fn_config_dll svrapi enable_svrapi
17414 wine_fn_config_dll sxs enable_sxs implib
17415 wine_fn_config_test dlls
/sxs
/tests sxs_test
17416 wine_fn_config_dll system.drv16 enable_win16
17417 wine_fn_config_dll t2embed enable_t2embed
17418 wine_fn_config_dll tapi32 enable_tapi32 implib
17419 wine_fn_config_dll taskschd enable_taskschd clean
17420 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17421 wine_fn_config_dll toolhelp.dll16 enable_win16
17422 wine_fn_config_dll traffic enable_traffic
17423 wine_fn_config_dll twain.dll16 enable_win16
17424 wine_fn_config_dll twain_32 enable_twain_32
17425 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17426 wine_fn_config_dll typelib.dll16 enable_win16
17427 wine_fn_config_dll unicows enable_unicows implib
17428 wine_fn_config_dll updspapi enable_updspapi
17429 wine_fn_config_dll url enable_url implib
17430 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17431 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17432 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17433 wine_fn_config_dll user.exe16 enable_win16
17434 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17435 wine_fn_config_test dlls
/user32
/tests user32_test
17436 wine_fn_config_dll userenv enable_userenv implib
17437 wine_fn_config_test dlls
/userenv
/tests userenv_test
17438 wine_fn_config_dll usp10 enable_usp10 implib
17439 wine_fn_config_test dlls
/usp10
/tests usp10_test
17440 wine_fn_config_lib uuid
17441 wine_fn_config_dll uxtheme enable_uxtheme implib
17442 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17443 wine_fn_config_dll vbscript enable_vbscript clean
17444 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17445 wine_fn_config_dll vcomp enable_vcomp
17446 wine_fn_config_dll vcomp100 enable_vcomp100
17447 wine_fn_config_dll vcomp90 enable_vcomp90
17448 wine_fn_config_dll vdhcp.vxd enable_win16
17449 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17450 wine_fn_config_dll ver.dll16 enable_win16
17451 wine_fn_config_dll version enable_version implib
17452 wine_fn_config_test dlls
/version
/tests version_test
17453 wine_fn_config_dll vmm.vxd enable_win16
17454 wine_fn_config_dll vnbt.vxd enable_win16
17455 wine_fn_config_dll vnetbios.vxd enable_win16
17456 wine_fn_config_dll vssapi enable_vssapi
17457 wine_fn_config_dll vtdapi.vxd enable_win16
17458 wine_fn_config_dll vwin32.vxd enable_win16
17459 wine_fn_config_dll w32skrnl enable_win16
17460 wine_fn_config_dll w32sys.dll16 enable_win16
17461 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17462 wine_fn_config_dll wbemprox enable_wbemprox clean
17463 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17464 wine_fn_config_dll webservices enable_webservices implib
17465 wine_fn_config_dll wer enable_wer implib
17466 wine_fn_config_test dlls
/wer
/tests wer_test
17467 wine_fn_config_dll wevtapi enable_wevtapi
17468 wine_fn_config_dll wiaservc enable_wiaservc clean
17469 wine_fn_config_dll win32s16.dll16 enable_win16
17470 wine_fn_config_dll win87em.dll16 enable_win16
17471 wine_fn_config_dll winaspi.dll16 enable_win16
17472 wine_fn_config_dll windebug.dll16 enable_win16
17473 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17474 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17475 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17476 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17477 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17478 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17479 wine_fn_config_lib winecrt0
17480 wine_fn_config_dll wined3d enable_wined3d implib
17481 wine_fn_config_dll winegstreamer enable_winegstreamer
17482 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17483 wine_fn_config_dll winemac.drv enable_winemac_drv
17484 wine_fn_config_dll winemapi enable_winemapi
17485 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17486 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17487 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17488 wine_fn_config_dll wineps16.drv16 enable_win16
17489 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17490 wine_fn_config_dll winex11.drv enable_winex11_drv
17491 wine_fn_config_dll wing.dll16 enable_win16
17492 wine_fn_config_dll wing32 enable_wing32
17493 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17494 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17495 wine_fn_config_dll wininet enable_wininet implib
,po
17496 wine_fn_config_test dlls
/wininet
/tests wininet_test
17497 wine_fn_config_dll winmm enable_winmm implib
,po
17498 wine_fn_config_test dlls
/winmm
/tests winmm_test
17499 wine_fn_config_dll winnls.dll16 enable_win16
17500 wine_fn_config_dll winnls32 enable_winnls32 implib
17501 wine_fn_config_dll winscard enable_winscard implib
17502 wine_fn_config_dll winsock.dll16 enable_win16
17503 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17504 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17505 wine_fn_config_dll winsta enable_winsta
17506 wine_fn_config_dll wintab.dll16 enable_win16
17507 wine_fn_config_dll wintab32 enable_wintab32 implib
17508 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17509 wine_fn_config_dll wintrust enable_wintrust implib
17510 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17511 wine_fn_config_dll wlanapi enable_wlanapi
17512 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17513 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17514 wine_fn_config_dll wmi enable_wmi
17515 wine_fn_config_dll wmiutils enable_wmiutils clean
17516 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17517 wine_fn_config_dll wmp enable_wmp clean
17518 wine_fn_config_test dlls
/wmp
/tests wmp_test
17519 wine_fn_config_dll wmvcore enable_wmvcore
17520 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17521 wine_fn_config_dll wow32 enable_win16 implib
17522 wine_fn_config_dll wpcap enable_wpcap
17523 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17524 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17525 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17526 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17527 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17528 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17529 wine_fn_config_dll wsock32 enable_wsock32 implib
17530 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17531 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17532 wine_fn_config_dll wuapi enable_wuapi clean
17533 wine_fn_config_dll wuaueng enable_wuaueng
17534 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17535 wine_fn_config_dll xinput1_1 enable_xinput1_1
17536 wine_fn_config_dll xinput1_2 enable_xinput1_2
17537 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17538 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17539 wine_fn_config_dll xinput1_4 enable_xinput1_4
17540 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17541 wine_fn_config_dll xmllite enable_xmllite implib
17542 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17543 wine_fn_config_dll xolehlp enable_xolehlp
17544 wine_fn_config_dll xpsprint enable_xpsprint
17545 wine_fn_config_dll xpssvcs enable_xpssvcs
17546 wine_fn_config_makefile documentation enable_documentation clean
17547 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17548 wine_fn_config_makefile include enable_include clean
,install-dev
17549 wine_fn_config_makefile libs
/port enable_libs_port
17550 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17551 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17552 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17553 wine_fn_config_program arp enable_arp
install
17554 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17555 wine_fn_config_program attrib enable_attrib
install,po
17556 wine_fn_config_program cabarc enable_cabarc
install
17557 wine_fn_config_program cacls enable_cacls
install
17558 wine_fn_config_program
clock enable_clock
install,po
17559 wine_fn_config_program cmd enable_cmd
install,po
17560 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17561 wine_fn_config_program conhost enable_conhost
install
17562 wine_fn_config_program control enable_control
install
17563 wine_fn_config_program cscript enable_cscript clean
,install
17564 wine_fn_config_program dpnsvr enable_dpnsvr
install
17565 wine_fn_config_program dxdiag enable_dxdiag
install,po
17566 wine_fn_config_program eject enable_eject
install
17567 wine_fn_config_program
expand enable_expand
install
17568 wine_fn_config_program explorer enable_explorer
install,po
17569 wine_fn_config_program extrac32 enable_extrac32
install
17570 wine_fn_config_program findstr enable_findstr
install
17571 wine_fn_config_program hh enable_hh
install
17572 wine_fn_config_program hostname enable_hostname
install,po
17573 wine_fn_config_program icinfo enable_icinfo
install
17574 wine_fn_config_program iexplore enable_iexplore
install
17575 wine_fn_config_program ipconfig enable_ipconfig
install,po
17576 wine_fn_config_program lodctr enable_lodctr
install
17577 wine_fn_config_program mofcomp enable_mofcomp
install
17578 wine_fn_config_program mshta enable_mshta
install
17579 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17580 wine_fn_config_program net enable_net
install,po
17581 wine_fn_config_program netsh enable_netsh
install
17582 wine_fn_config_program netstat enable_netstat
install,po
17583 wine_fn_config_program ngen enable_ngen
install
17584 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17585 wine_fn_config_program oleview enable_oleview
install,po
17586 wine_fn_config_program
ping enable_ping
install
17587 wine_fn_config_program plugplay enable_plugplay
install
17588 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17589 wine_fn_config_program progman enable_progman
install,po
17590 wine_fn_config_program reg enable_reg
install,po
17591 wine_fn_config_test programs
/reg
/tests reg.exe_test
17592 wine_fn_config_program regasm enable_regasm
install
17593 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17594 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17595 wine_fn_config_program regsvcs enable_regsvcs
install
17596 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17597 wine_fn_config_program rpcss enable_rpcss clean
,install
17598 wine_fn_config_program rundll.exe16 enable_win16
install
17599 wine_fn_config_program rundll32 enable_rundll32
install
17600 wine_fn_config_program sc enable_sc
install
17601 wine_fn_config_program schtasks enable_schtasks
install
17602 wine_fn_config_program sdbinst enable_sdbinst
install
17603 wine_fn_config_program secedit enable_secedit
install
17604 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17605 wine_fn_config_program services enable_services clean
,install
17606 wine_fn_config_test programs
/services
/tests services.exe_test
17607 wine_fn_config_program spoolsv enable_spoolsv
install
17608 wine_fn_config_program start enable_start
install,po
17609 wine_fn_config_program svchost enable_svchost
install
17610 wine_fn_config_program systeminfo enable_systeminfo
install
17611 wine_fn_config_program taskkill enable_taskkill
install,po
17612 wine_fn_config_program tasklist enable_tasklist
install
17613 wine_fn_config_program taskmgr enable_taskmgr
install,po
17614 wine_fn_config_program termsv enable_termsv
install
17615 wine_fn_config_program uninstaller enable_uninstaller
install,po
17616 wine_fn_config_program unlodctr enable_unlodctr
install
17617 wine_fn_config_program view enable_view
install,po
17618 wine_fn_config_program wevtutil enable_wevtutil
install
17619 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17620 wine_fn_config_program winebrowser enable_winebrowser
install
17621 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17622 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17623 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17624 wine_fn_config_program winedevice enable_winedevice
install
17625 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17626 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17627 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17628 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17629 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17630 wine_fn_config_program winetest enable_winetest clean
17631 wine_fn_config_program winevdm enable_win16
install
17632 wine_fn_config_program winhelp.exe16 enable_win16
install
17633 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17634 wine_fn_config_program winoldap.mod16 enable_win16
install
17635 wine_fn_config_program winver enable_winver
install
17636 wine_fn_config_program wmic enable_wmic
install,po
17637 wine_fn_config_program wordpad enable_wordpad
install,po
17638 wine_fn_config_program
write enable_write
install,po
17639 wine_fn_config_program wscript enable_wscript clean
,install
17640 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17641 wine_fn_config_program wusa enable_wusa
install
17642 wine_fn_config_program xcopy enable_xcopy
install,po
17643 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17644 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17645 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17646 wine_fn_config_tool tools
/sfnt2fon clean
17647 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17648 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17649 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17650 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17651 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17652 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17704 wine_fn_ignore_file
".gitignore"
17705 wine_fn_ignore_file
"Makefile"
17706 wine_fn_ignore_file
"TAGS"
17707 wine_fn_ignore_file
"tags"
17708 wine_fn_ignore_file
"autom4te.cache"
17709 wine_fn_ignore_file
"config.cache"
17710 wine_fn_ignore_file
"config.log"
17711 wine_fn_ignore_file
"config.status"
17712 wine_fn_ignore_file
"configure.lineno"
17713 wine_fn_ignore_file
"include/config.h"
17714 wine_fn_ignore_file
"include/stamp-h"
17715 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17717 if test "x$enable_tools" != xno
17719 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17720 ac_config_commands
="$ac_config_commands tools/makedep"
17724 ac_config_commands
="$ac_config_commands Makefile"
17727 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17731 if test "x$enable_maintainer_mode" = xyes
17733 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17734 autoconf --warnings=all
17735 include/config.h.in: include/stamp-h.in
17736 include/stamp-h.in: configure.ac aclocal.m4
17737 autoheader --warnings=all
17738 @echo timestamp > \$@"
17741 if test "x$with_gettextpo" = xyes
17743 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17744 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17745 \$(LINGUAS:%=po/%.po): po/wine.pot
17746 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17747 po/wine.pot: \$(ALL_POT_FILES)
17748 msgcat -o \$@ \$(ALL_POT_FILES)"
17751 if test "$MSGFMT" != false
17753 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17755 \$(RM) \$(LINGUAS:%=po/%.mo)"
17758 test "$srcdir" = . || posrc
="$srcdir/po"
17761 wine_fn_ignore_file
"po/$i.mo"
17762 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17763 \$(MSGFMT) -o \$@ $posrc/$i.po"
17769 if test "x$enable_tools" != xno
17771 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17772 @./config.status tools/makedep
17773 Makefile: tools/makedep$ac_exeext
17775 \$(RM) tools/makedep$ac_exeext"
17777 wine_fn_append_rule
"\$(MAKEDEP):
17778 @echo \"You need to run make in $TOOLSDIR first\" && false"
17781 if test -n "$with_wine64"
17783 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17784 fonts server tools:
17785 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17786 $with_wine64/loader/wine:
17787 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17788 $with_wine64/loader/wine-preloader:
17789 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17791 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17793 as_fn_append LOADER_RULES
"
17794 install install-lib:: wine.inf install-man-pages
17795 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17796 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17799 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17803 if test "$srcdir" = .
17805 ac_config_commands
="$ac_config_commands .gitignore"
17809 $as_echo " done" >&6
17810 cat >confcache
<<\_ACEOF
17811 # This file is a shell script that caches the results of configure
17812 # tests run on this system so they can be shared between configure
17813 # scripts and configure runs, see configure's option --config-cache.
17814 # It is not useful on other systems. If it contains results you don't
17815 # want to keep, you may remove or edit it.
17817 # config.status only pays attention to the cache file if you give it
17818 # the --recheck option to rerun configure.
17820 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17821 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17822 # following values.
17826 # The following way of writing the cache mishandles newlines in values,
17827 # but we know of no workaround that is simple, portable, and efficient.
17828 # So, we kill variables containing newlines.
17829 # Ultrix sh set writes to stderr and can't be redirected directly,
17830 # and sets the high bit in the cache file unless we assign to the vars.
17832 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17833 eval ac_val
=\$
$ac_var
17837 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17838 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17841 _ | IFS | as_nl
) ;; #(
17842 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17843 *) { eval $ac_var=; unset $ac_var;} ;;
17849 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17850 *${as_nl}ac_space
=\
*)
17851 # `set' does not quote correctly, so add quotes: double-quote
17852 # substitution turns \\\\ into \\, and sed turns \\ into \.
17855 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17858 # `set' quotes correctly as required by POSIX, so do not add quotes.
17859 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17868 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17870 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17872 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17873 if test -w "$cache_file"; then
17874 if test "x$cache_file" != "x/dev/null"; then
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17876 $as_echo "$as_me: updating cache $cache_file" >&6;}
17877 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17878 cat confcache
>"$cache_file"
17880 case $cache_file in #(
17882 mv -f confcache
"$cache_file"$$
&&
17883 mv -f "$cache_file"$$
"$cache_file" ;; #(
17885 mv -f confcache
"$cache_file" ;;
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17891 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17896 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17897 # Let make expand exec_prefix.
17898 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17900 DEFS
=-DHAVE_CONFIG_H
17905 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17906 # 1. Remove the extension, and $U if already installed.
17907 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17908 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17909 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17910 # will be set to the directory where LIBOBJS objects are built.
17911 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17912 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17914 LIBOBJS
=$ac_libobjs
17916 LTLIBOBJS
=$ac_ltlibobjs
17920 : "${CONFIG_STATUS=./config.status}"
17922 ac_clean_files_save
=$ac_clean_files
17923 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17925 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17927 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17929 # Generated by $as_me.
17930 # Run this file to recreate the current configuration.
17931 # Compiler output produced by configure, useful for debugging
17932 # configure, is in config.log if it exists.
17935 ac_cs_recheck=false
17938 SHELL=\${CONFIG_SHELL-$SHELL}
17941 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17942 ## -------------------- ##
17943 ## M4sh Initialization. ##
17944 ## -------------------- ##
17946 # Be more Bourne compatible
17947 DUALCASE
=1; export DUALCASE
# for MKS sh
17948 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17951 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17952 # is contrary to our usage. Disable this feature.
17953 alias -g '${1+"$@"}'='"$@"'
17954 setopt NO_GLOB_SUBST
17956 case `(set -o) 2>/dev/null` in #(
17968 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17969 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17970 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17971 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17972 # Prefer a ksh shell builtin over an external printf program on Solaris,
17973 # but without wasting forks for bash or zsh.
17974 if test -z "$BASH_VERSION$ZSH_VERSION" \
17975 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17976 as_echo='print
-r --'
17977 as_echo_n='print
-rn --'
17978 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17979 as_echo='printf %s
\n'
17980 as_echo_n='printf %s
'
17982 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17983 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17984 as_echo_n='/usr
/ucb
/echo -n'
17986 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17987 as_echo_n_body='eval
17991 expr "X$arg" : "X\\(.*\\)$as_nl";
17992 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17994 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17996 export as_echo_n_body
17997 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17999 export as_echo_body
18000 as_echo='sh
-c $as_echo_body as_echo
'
18003 # The user is always right.
18004 if test "${PATH_SEPARATOR+set}" != set; then
18006 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18007 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18014 # We need space, tab and new line, in precisely that order. Quoting is
18015 # there to prevent editors from complaining about space-tab.
18016 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18017 # splitting by setting IFS to empty value.)
18020 # Find who we are. Look in the path if we contain no directory separator.
18023 *[\\/]* ) as_myself=$0 ;;
18024 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18025 for as_dir in $PATH
18028 test -z "$as_dir" && as_dir=.
18029 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18035 # We did not find ourselves, most probably we were run as `sh COMMAND'
18036 # in which case we are not to be found in the path.
18037 if test "x$as_myself" = x
; then
18040 if test ! -f "$as_myself"; then
18041 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18045 # Unset variables that we do not need and which cause bugs (e.g. in
18046 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18047 # suppresses any "Segmentation fault" message there. '((' could
18048 # trigger a bug in pdksh 5.2.14.
18049 for as_var
in BASH_ENV ENV MAIL MAILPATH
18050 do eval test x\
${$as_var+set} = xset \
18051 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18064 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18067 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18068 # ----------------------------------------
18069 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18070 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18071 # script with STATUS, using 1 if that was 0.
18074 as_status
=$1; test $as_status -eq 0 && as_status
=1
18076 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18077 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18079 $as_echo "$as_me: error: $2" >&2
18080 as_fn_exit
$as_status
18084 # as_fn_set_status STATUS
18085 # -----------------------
18086 # Set $? to STATUS, without forking.
18087 as_fn_set_status
()
18090 } # as_fn_set_status
18092 # as_fn_exit STATUS
18093 # -----------------
18094 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18098 as_fn_set_status
$1
18104 # Portably unset VAR.
18107 { eval $1=; unset $1;}
18109 as_unset
=as_fn_unset
18110 # as_fn_append VAR VALUE
18111 # ----------------------
18112 # Append the text in VALUE to the end of the definition contained in VAR. Take
18113 # advantage of any shell optimizations that allow amortized linear growth over
18114 # repeated appends, instead of the typical quadratic growth present in naive
18116 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18117 eval 'as_fn_append ()
18128 # as_fn_arith ARG...
18129 # ------------------
18130 # Perform arithmetic evaluation on the ARGs, and store the result in the
18131 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18132 # must be portable across $(()) and expr.
18133 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18134 eval 'as_fn_arith ()
18141 as_val
=`expr "$@" || test $? -eq 1`
18146 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18147 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18153 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18154 as_basename
=basename
18159 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18165 as_me
=`$as_basename -- "$0" ||
18166 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18167 X"$0" : 'X\(//\)$' \| \
18168 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18170 sed '/^.*\/\([^/][^/]*\)\/*$/{
18184 # Avoid depending upon Character Ranges.
18185 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18186 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18187 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18188 as_cr_digits
='0123456789'
18189 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18191 ECHO_C
= ECHO_N
= ECHO_T
=
18192 case `echo -n x` in #(((((
18194 case `echo 'xy\c'` in
18195 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18197 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18204 rm -f conf$$ conf$$.exe conf$$.
file
18205 if test -d conf$$.dir
; then
18206 rm -f conf$$.dir
/conf$$.
file
18209 mkdir conf$$.dir
2>/dev
/null
18211 if (echo >conf$$.
file) 2>/dev
/null
; then
18212 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18214 # ... but there are two gotchas:
18215 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18216 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18217 # In both cases, we have to default to `cp -pR'.
18218 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18220 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18228 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18229 rmdir conf$$.dir
2>/dev
/null
18234 # Create "$as_dir" as a directory, including parents if necessary.
18239 -*) as_dir
=.
/$as_dir;;
18241 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18245 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18246 *) as_qdir
=$as_dir;;
18248 as_dirs
="'$as_qdir' $as_dirs"
18249 as_dir
=`$as_dirname -- "$as_dir" ||
18250 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18251 X"$as_dir" : 'X\(//\)[^/]' \| \
18252 X"$as_dir" : 'X\(//\)$' \| \
18253 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18254 $as_echo X"$as_dir" |
18255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18259 /^X\(\/\/\)[^/].*/{
18272 test -d "$as_dir" && break
18274 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18275 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18279 if mkdir
-p .
2>/dev
/null
; then
18280 as_mkdir_p
='mkdir -p "$as_dir"'
18282 test -d .
/-p && rmdir .
/-p
18287 # as_fn_executable_p FILE
18288 # -----------------------
18289 # Test if FILE is an executable regular file.
18290 as_fn_executable_p
()
18292 test -f "$1" && test -x "$1"
18293 } # as_fn_executable_p
18294 as_test_x
='test -x'
18295 as_executable_p
=as_fn_executable_p
18297 # Sed expression to map a string onto a valid CPP name.
18298 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18300 # Sed expression to map a string onto a valid variable name.
18301 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18305 ## ----------------------------------- ##
18306 ## Main body of $CONFIG_STATUS script. ##
18307 ## ----------------------------------- ##
18309 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18312 # Save the log message, to keep $0 and so on meaningful, and to
18313 # report actual input values of CONFIG_FILES etc. instead of their
18314 # values after options handling.
18316 This file was extended by Wine $as_me 1.7.32, which was
18317 generated by GNU Autoconf 2.69. Invocation command line was
18319 CONFIG_FILES = $CONFIG_FILES
18320 CONFIG_HEADERS = $CONFIG_HEADERS
18321 CONFIG_LINKS = $CONFIG_LINKS
18322 CONFIG_COMMANDS = $CONFIG_COMMANDS
18325 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18330 case $ac_config_files in *"
18331 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18334 case $ac_config_headers in *"
18335 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18340 # Files that config.status was made for.
18341 config_files="$ac_config_files"
18342 config_headers="$ac_config_headers"
18343 config_links="$ac_config_links"
18344 config_commands="$ac_config_commands"
18348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18350 \`$as_me' instantiates files and other configuration actions
18351 from templates according to the current configuration. Unless the files
18352 and actions are specified as TAGs, all are instantiated by default.
18354 Usage: $0 [OPTION]... [TAG]...
18356 -h, --help print this help, then exit
18357 -V, --version print version number and configuration settings, then exit
18358 --config print configuration, then exit
18359 -q, --quiet, --silent
18360 do not print progress messages
18361 -d, --debug don't remove temporary files
18362 --recheck update $as_me by reconfiguring in the same conditions
18363 --file=FILE[:TEMPLATE]
18364 instantiate the configuration file FILE
18365 --header=FILE[:TEMPLATE]
18366 instantiate the configuration header FILE
18368 Configuration files:
18371 Configuration headers:
18374 Configuration links:
18377 Configuration commands:
18380 Report bugs to <wine-devel@winehq.org>.
18381 Wine home page: <http://www.winehq.org>."
18384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18385 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18387 Wine config.status 1.7.32
18388 configured by $0, generated by GNU Autoconf 2.69,
18389 with options \\"\$ac_cs_config\\"
18391 Copyright (C) 2012 Free Software Foundation, Inc.
18392 This config.status script is free software; the Free Software Foundation
18393 gives unlimited permission to copy, distribute and modify it."
18397 test -n "\$AWK" || AWK=awk
18400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18401 # The default lists apply if the user does not specify any file.
18407 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18408 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18412 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18424 # Handling of the options.
18425 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18427 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18428 $as_echo "$ac_cs_version"; exit ;;
18429 --config |
--confi |
--conf |
--con |
--co |
--c )
18430 $as_echo "$ac_cs_config"; exit ;;
18431 --debug |
--debu |
--deb |
--de |
--d |
-d )
18433 --file |
--fil |
--fi |
--f )
18436 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18437 '') as_fn_error $?
"missing file argument" ;;
18439 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18440 ac_need_defaults
=false
;;
18441 --header |
--heade |
--head |
--hea )
18444 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18446 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18447 ac_need_defaults
=false
;;
18449 # Conflict between --help and --header
18450 as_fn_error $?
"ambiguous option: \`$1'
18451 Try \`$0 --help' for more information.";;
18452 --help |
--hel |
-h )
18453 $as_echo "$ac_cs_usage"; exit ;;
18454 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18455 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18458 # This is an error.
18459 -*) as_fn_error $?
"unrecognized option: \`$1'
18460 Try \`$0 --help' for more information." ;;
18462 *) as_fn_append ac_config_targets
" $1"
18463 ac_need_defaults
=false
;;
18469 ac_configure_extra_args
=
18471 if $ac_cs_silent; then
18473 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18478 if \$ac_cs_recheck; then
18479 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18481 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18482 CONFIG_SHELL='$SHELL'
18483 export CONFIG_SHELL
18488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18492 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18493 ## Running $as_me. ##
18499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18503 wine_fn_output_makedep ()
18505 as_dir=tools; as_fn_mkdir_p
18506 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18508 wine_fn_output_makefile ()
18510 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18511 `cat $wine_rules_file`
18513 as_fn_error $? "could not create Makefile" "$LINENO" 5
18515 wine_fn_output_gitignore ()
18517 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18520 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18527 # Handling of arguments.
18528 for ac_config_target
in $ac_config_targets
18530 case $ac_config_target in
18531 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18532 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18533 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18534 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18535 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18536 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18537 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18538 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18539 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18540 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18541 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18542 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18543 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18544 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18546 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18551 # If the user did not use the arguments to specify the items to instantiate,
18552 # then the envvar interface is used. Set only those that are not.
18553 # We use the long form for the default assignment because of an extremely
18554 # bizarre bug on SunOS 4.1.3.
18555 if $ac_need_defaults; then
18556 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18557 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18558 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18559 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18562 # Have a temporary directory for convenience. Make it in the build tree
18563 # simply because there is no reason against having it here, and in addition,
18564 # creating and moving files from /tmp can sometimes cause problems.
18565 # Hook for its removal unless debugging.
18566 # Note that there is a small window in which the directory will not be cleaned:
18567 # after its creation but before its name has been assigned to `$tmp'.
18571 trap 'exit_status=$?
18572 : "${ac_tmp:=$tmp}"
18573 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18575 trap 'as_fn_exit 1' 1 2 13 15
18577 # Create a (secure) tmp directory for tmp files.
18580 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18584 tmp
=.
/conf$$
-$RANDOM
18585 (umask 077 && mkdir
"$tmp")
18586 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18589 # Set up the scripts for CONFIG_FILES section.
18590 # No need to generate them if there are no CONFIG_FILES.
18591 # This happens for instance with `./config.status config.h'.
18592 if test -n "$CONFIG_FILES"; then
18595 ac_cr
=`echo X | tr X '\015'`
18596 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18597 # But we know of no other shell where ac_cr would be empty at this
18598 # point, so we can use a bashism as a fallback.
18599 if test "x$ac_cr" = x
; then
18600 eval ac_cr
=\$
\'\\r
\'
18602 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18603 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18606 ac_cs_awk_cr
=$ac_cr
18609 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18614 echo "cat >conf$$subs.awk <<_ACEOF" &&
18615 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18617 } >conf$$subs.sh ||
18618 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18619 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18621 for ac_last_try in false false false false false :; do
18622 . ./conf$$subs.sh ||
18623 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18625 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18626 if test $ac_delim_n = $ac_delim_num; then
18628 elif $ac_last_try; then
18629 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18631 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18634 rm -f conf$$subs.sh
18636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18637 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18641 s/^/S["/; s
/!.
*/"]=/
18651 s/\(.\{148\}\)..*/\1/
18653 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18658 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18665 s/\(.\{148\}\)..*/\1/
18667 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18671 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18676 ' <conf$$subs.awk | sed '
18681 ' >>$CONFIG_STATUS || ac_write_fail=1
18682 rm -f conf$$subs.awk
18683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18685 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18686 for (key in S) S_is_set[key] = 1
18692 nfields = split(line, field, "@
")
18694 len = length(field[1])
18695 for (i = 2; i < nfields; i++) {
18697 keylen = length(key)
18698 if (S_is_set[key]) {
18700 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18701 len += length(value) + length(field[++i])
18712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18713 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18714 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18717 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18718 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18721 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18722 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18723 # trailing colons and then remove the whole line if VPATH becomes empty
18724 # (actually we leave an empty line to preserve line numbers).
18725 if test "x
$srcdir" = x.; then
18726 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18745 fi # test -n "$CONFIG_FILES"
18747 # Set up the scripts for CONFIG_HEADERS section.
18748 # No need to generate them if there are no CONFIG_HEADERS.
18749 # This happens for instance with `./config.status Makefile'.
18750 if test -n "$CONFIG_HEADERS"; then
18751 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18755 # Transform confdefs.h into an awk script `defines.awk', embedded as
18756 # here-document in config.status, that substitutes the proper values into
18757 # config.h.in to produce config.h.
18759 # Create a delimiter string that does not exist in confdefs.h, to ease
18760 # handling of long lines.
18762 for ac_last_try in false false :; do
18763 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18764 if test -z "$ac_tt"; then
18766 elif $ac_last_try; then
18767 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18769 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18773 # For the awk script, D is an array of macro values keyed by name,
18774 # likewise P contains macro parameters if any. Preserve backslash
18775 # newline sequences.
18777 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18779 s/.\{148\}/&'"$ac_delim"'/g
18782 s/^[ ]*#[ ]*define[ ][ ]*/ /
18789 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18791 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18795 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18796 D["\
1"]=" \
3\\\\\\n
"\\/p
18798 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18803 s/.\{148\}/&'"$ac_delim"'/g
18808 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18811 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18813 ' <confdefs.h | sed '
18814 s/'"$ac_delim"'/"\\\
18815 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18818 for (key in D) D_is_set[key] = 1
18821 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18823 split(line, arg, " ")
18824 if (arg[1] == "#") {
18828 defundef
= substr
(arg
[1], 2)
18831 split(mac1
, mac2
, "(") #)
18833 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18834 if (D_is_set
[macro
]) {
18835 # Preserve the white space surrounding the "#".
18836 print prefix
"define", macro P
[macro
] D
[macro
]
18839 # Replace #undef with comments. This is necessary, for example,
18840 # in the case of _POSIX_SOURCE, which is predefined and required
18841 # on some systems where configure will not decide to define it.
18842 if (defundef
== "undef") {
18843 print
"/*", prefix defundef
, macro
, "*/"
18851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18852 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18853 fi # test -n "$CONFIG_HEADERS"
18856 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18861 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18863 case $ac_mode$ac_tag in
18865 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18866 :[FH
]-) ac_tag
=-:-;;
18867 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18884 -) ac_f
="$ac_tmp/stdin";;
18885 *) # Look for the file first in the build tree, then in the source tree
18886 # (if the path is not absolute). The absolute path cannot be DOS-style,
18887 # because $ac_f cannot contain `:'.
18891 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18893 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18895 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18896 as_fn_append ac_file_inputs
" '$ac_f'"
18899 # Let's still pretend it is `configure' which instantiates (i.e., don't
18900 # use $as_me), people would be surprised to read:
18901 # /* config.h. Generated by config.status. */
18902 configure_input
='Generated from '`
18903 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18905 if test x
"$ac_file" != x-
; then
18906 configure_input
="$ac_file. $configure_input"
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18908 $as_echo "$as_me: creating $ac_file" >&6;}
18910 # Neutralize special characters interpreted by sed in replacement strings.
18911 case $configure_input in #(
18912 *\
&* |
*\|
* |
*\\* )
18913 ac_sed_conf_input
=`$as_echo "$configure_input" |
18914 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18915 *) ac_sed_conf_input
=$configure_input;;
18919 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18920 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18925 ac_dir
=`$as_dirname -- "$ac_file" ||
18926 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18927 X"$ac_file" : 'X\(//\)[^/]' \| \
18928 X"$ac_file" : 'X\(//\)$' \| \
18929 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18930 $as_echo X"$ac_file" |
18931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18935 /^X\(\/\/\)[^/].*/{
18948 as_dir
="$ac_dir"; as_fn_mkdir_p
18952 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18954 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18955 # A ".." for each directory in $ac_dir_suffix.
18956 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18957 case $ac_top_builddir_sub in
18958 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18959 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18962 ac_abs_top_builddir
=$ac_pwd
18963 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18964 # for backward compatibility:
18965 ac_top_builddir
=$ac_top_build_prefix
18968 .
) # We are building in place.
18970 ac_top_srcdir
=$ac_top_builddir_sub
18971 ac_abs_top_srcdir
=$ac_pwd ;;
18972 [\\/]* | ?
:[\\/]* ) # Absolute name.
18973 ac_srcdir
=$srcdir$ac_dir_suffix;
18974 ac_top_srcdir
=$srcdir
18975 ac_abs_top_srcdir
=$srcdir ;;
18976 *) # Relative name.
18977 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18978 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18979 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18981 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18993 # If the template does not know about datarootdir, expand it.
18994 # FIXME: This hack should be removed a few years after 2.60.
18995 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19006 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19007 *datarootdir
*) ac_datarootdir_seen
=yes;;
19008 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19010 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19013 ac_datarootdir_hack='
19014 s&@datadir@&$datadir&g
19015 s&@docdir@&$docdir&g
19016 s&@infodir@&$infodir&g
19017 s&@localedir@&$localedir&g
19018 s&@mandir@&$mandir&g
19019 s&\\\${datarootdir}&$datarootdir&g' ;;
19023 # Neutralize VPATH when `$srcdir' = `.'.
19024 # Shell code in configure.ac might set extrasub.
19025 # FIXME: do we really want to maintain this feature?
19026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19027 ac_sed_extra="$ac_vpsub
19030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19032 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19033 s|@configure_input@|
$ac_sed_conf_input|
;t t
19034 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19035 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19036 s
&@srcdir@
&$ac_srcdir&;t t
19037 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19038 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19039 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19040 s
&@builddir@
&$ac_builddir&;t t
19041 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19042 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19043 $ac_datarootdir_hack
19045 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19046 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19048 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19049 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19050 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19051 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19053 which seems to be undefined. Please make sure it is defined" >&5
19054 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19055 which seems to be undefined. Please make sure it is defined" >&2;}
19057 rm -f "$ac_tmp/stdin"
19059 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19060 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19062 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19068 if test x"$ac_file" != x-; then
19070 $as_echo "/* $configure_input */" \
19071 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19072 } >"$ac_tmp/config.h" \
19073 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19074 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19076 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19079 mv "$ac_tmp/config.h" "$ac_file" \
19080 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19083 $as_echo "/* $configure_input */" \
19084 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19085 || as_fn_error $? "could not create -" "$LINENO" 5
19093 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19096 # Prefer the file from the source tree if names are identical.
19097 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19098 ac_source=$srcdir/$ac_source
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19102 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19104 if test ! -r "$ac_source"; then
19105 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19109 # Try a relative symlink, then a hard link, then a copy.
19111 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19112 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19114 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19115 ln "$ac_source" "$ac_file" 2>/dev/null ||
19116 cp -p "$ac_source" "$ac_file" ||
19117 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19120 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19121 $as_echo "$as_me: executing $ac_file commands" >&6;}
19126 case $ac_file$ac_mode in
19127 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19128 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19129 "Makefile":C) wine_fn_output_makefile Makefile ;;
19130 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19138 ac_clean_files=$ac_clean_files_save
19140 test $ac_write_fail = 0 ||
19141 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19144 # configure is writing to config.log, and then calls config.status.
19145 # config.status does its own redirection, appending to config.log.
19146 # Unfortunately, on DOS this fails, as config.log is still kept open
19147 # by configure, so config.status won't be able to
write to it
; its
19148 # output is simply discarded. So we exec the FD to /dev/null,
19149 # effectively closing config.log, so it can be properly (re)opened and
19150 # appended to by config.status. When coming back to configure, we
19151 # need to make the FD available again.
19152 if test "$no_create" != yes; then
19154 ac_config_status_args
=
19155 test "$silent" = yes &&
19156 ac_config_status_args
="$ac_config_status_args --quiet"
19158 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19160 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19161 # would make configure fail if this is the last instruction.
19162 $ac_cs_success || as_fn_exit
1
19164 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19166 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19170 if test "$no_create" = "yes"
19176 if test "x$wine_notices != "x
; then
19179 for msg
in $wine_notices; do
19181 if ${msg:+false} :; then :
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19185 $as_echo "$as_me: $msg" >&6;}
19190 for msg
in $wine_warnings; do
19192 if ${msg:+false} :; then :
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19197 $as_echo "$as_me: WARNING: $msg" >&2;}
19203 $as_me: Finished. Do '${ac_make}' to compile Wine.