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
1199 enable_photometadatahandler
1281 enable_windowscodecs
1282 enable_windowscodecsext
1284 enable_winecoreaudio_drv
1286 enable_winegstreamer
1287 enable_winejoystick_drv
1293 enable_wineqtdecoder
1330 enable_documentation
1338 enable_aspnet_regiis
1371 enable_presentationfontcache
1384 enable_servicemodelreg
1405 enable_winemenubuilder
1407 enable_winemsibuilder
1421 ac_precious_vars
='build_alias
1470 # Initialize some variables set by options.
1472 ac_init_version
=false
1473 ac_unrecognized_opts
=
1474 ac_unrecognized_sep
=
1475 # The variables have the same names as the options, with
1476 # dashes changed to underlines.
1477 cache_file
=/dev
/null
1484 program_transform_name
=s
,x
,x
,
1492 # Installation directory options.
1493 # These are left unexpanded so users can "make install exec_prefix=/foo"
1494 # and all the variables that are supposed to be based on exec_prefix
1495 # by default will actually change.
1496 # Use braces instead of parens because sh, perl, etc. also accept them.
1497 # (The list follows the same order as the GNU Coding Standards.)
1498 bindir
='${exec_prefix}/bin'
1499 sbindir
='${exec_prefix}/sbin'
1500 libexecdir
='${exec_prefix}/libexec'
1501 datarootdir
='${prefix}/share'
1502 datadir
='${datarootdir}'
1503 sysconfdir
='${prefix}/etc'
1504 sharedstatedir
='${prefix}/com'
1505 localstatedir
='${prefix}/var'
1506 includedir
='${prefix}/include'
1507 oldincludedir
='/usr/include'
1508 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1509 infodir
='${datarootdir}/info'
1514 libdir
='${exec_prefix}/lib'
1515 localedir
='${datarootdir}/locale'
1516 mandir
='${datarootdir}/man'
1522 # If the previous option needs an argument, assign it.
1523 if test -n "$ac_prev"; then
1524 eval $ac_prev=\
$ac_option
1530 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1535 # Accept the important Cygnus configure options, so we can diagnose typos.
1537 case $ac_dashdash$ac_option in
1541 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1543 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1544 bindir
=$ac_optarg ;;
1546 -build |
--build |
--buil |
--bui |
--bu)
1547 ac_prev
=build_alias
;;
1548 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1549 build_alias
=$ac_optarg ;;
1551 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1552 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1553 ac_prev
=cache_file
;;
1554 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1555 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1556 cache_file
=$ac_optarg ;;
1558 --config-cache |
-C)
1559 cache_file
=config.cache
;;
1561 -datadir |
--datadir |
--datadi |
--datad)
1563 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1564 datadir
=$ac_optarg ;;
1566 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1567 |
--dataroo |
--dataro |
--datar)
1568 ac_prev
=datarootdir
;;
1569 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1570 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1571 datarootdir
=$ac_optarg ;;
1573 -disable-* |
--disable-*)
1574 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1575 # Reject names that are not valid shell variable names.
1576 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1577 as_fn_error $?
"invalid feature name: $ac_useropt"
1578 ac_useropt_orig
=$ac_useropt
1579 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1580 case $ac_user_opts in
1582 "enable_
$ac_useropt"
1584 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1585 ac_unrecognized_sep
=', ';;
1587 eval enable_
$ac_useropt=no
;;
1589 -docdir |
--docdir |
--docdi |
--doc |
--do)
1591 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1592 docdir
=$ac_optarg ;;
1594 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1596 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1597 dvidir
=$ac_optarg ;;
1599 -enable-* |
--enable-*)
1600 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1601 # Reject names that are not valid shell variable names.
1602 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1603 as_fn_error $?
"invalid feature name: $ac_useropt"
1604 ac_useropt_orig
=$ac_useropt
1605 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1606 case $ac_user_opts in
1608 "enable_
$ac_useropt"
1610 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1611 ac_unrecognized_sep
=', ';;
1613 eval enable_
$ac_useropt=\
$ac_optarg ;;
1615 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1616 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1617 |
--exec |
--exe |
--ex)
1618 ac_prev
=exec_prefix
;;
1619 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1620 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1621 |
--exec=* |
--exe=* |
--ex=*)
1622 exec_prefix
=$ac_optarg ;;
1624 -gas |
--gas |
--ga |
--g)
1625 # Obsolete; use --with-gas.
1628 -help |
--help |
--hel |
--he |
-h)
1629 ac_init_help
=long
;;
1630 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1631 ac_init_help
=recursive
;;
1632 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1633 ac_init_help
=short
;;
1635 -host |
--host |
--hos |
--ho)
1636 ac_prev
=host_alias
;;
1637 -host=* |
--host=* |
--hos=* |
--ho=*)
1638 host_alias
=$ac_optarg ;;
1640 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1642 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1644 htmldir
=$ac_optarg ;;
1646 -includedir |
--includedir |
--includedi |
--included |
--include \
1647 |
--includ |
--inclu |
--incl |
--inc)
1648 ac_prev
=includedir
;;
1649 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1650 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1651 includedir
=$ac_optarg ;;
1653 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1655 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1656 infodir
=$ac_optarg ;;
1658 -libdir |
--libdir |
--libdi |
--libd)
1660 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1661 libdir
=$ac_optarg ;;
1663 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1664 |
--libexe |
--libex |
--libe)
1665 ac_prev
=libexecdir
;;
1666 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1667 |
--libexe=* |
--libex=* |
--libe=*)
1668 libexecdir
=$ac_optarg ;;
1670 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1671 ac_prev
=localedir
;;
1672 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1673 localedir
=$ac_optarg ;;
1675 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1676 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1677 ac_prev
=localstatedir
;;
1678 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1679 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1680 localstatedir
=$ac_optarg ;;
1682 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1684 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1685 mandir
=$ac_optarg ;;
1687 -nfp |
--nfp |
--nf)
1688 # Obsolete; use --without-fp.
1691 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1692 |
--no-cr |
--no-c |
-n)
1695 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1696 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1699 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1700 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1701 |
--oldin |
--oldi |
--old |
--ol |
--o)
1702 ac_prev
=oldincludedir
;;
1703 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1704 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1705 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1706 oldincludedir
=$ac_optarg ;;
1708 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1710 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1711 prefix
=$ac_optarg ;;
1713 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1714 |
--program-pre |
--program-pr |
--program-p)
1715 ac_prev
=program_prefix
;;
1716 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1717 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1718 program_prefix
=$ac_optarg ;;
1720 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1721 |
--program-suf |
--program-su |
--program-s)
1722 ac_prev
=program_suffix
;;
1723 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1724 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1725 program_suffix
=$ac_optarg ;;
1727 -program-transform-name |
--program-transform-name \
1728 |
--program-transform-nam |
--program-transform-na \
1729 |
--program-transform-n |
--program-transform- \
1730 |
--program-transform |
--program-transfor \
1731 |
--program-transfo |
--program-transf \
1732 |
--program-trans |
--program-tran \
1733 |
--progr-tra |
--program-tr |
--program-t)
1734 ac_prev
=program_transform_name
;;
1735 -program-transform-name=* |
--program-transform-name=* \
1736 |
--program-transform-nam=* |
--program-transform-na=* \
1737 |
--program-transform-n=* |
--program-transform-=* \
1738 |
--program-transform=* |
--program-transfor=* \
1739 |
--program-transfo=* |
--program-transf=* \
1740 |
--program-trans=* |
--program-tran=* \
1741 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1742 program_transform_name
=$ac_optarg ;;
1744 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1746 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1747 pdfdir
=$ac_optarg ;;
1749 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1751 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1754 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1755 |
-silent |
--silent |
--silen |
--sile |
--sil)
1758 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1760 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1762 sbindir
=$ac_optarg ;;
1764 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1765 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1766 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1768 ac_prev
=sharedstatedir
;;
1769 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1770 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1771 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1773 sharedstatedir
=$ac_optarg ;;
1775 -site |
--site |
--sit)
1777 -site=* |
--site=* |
--sit=*)
1780 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1782 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1783 srcdir
=$ac_optarg ;;
1785 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1786 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1787 ac_prev
=sysconfdir
;;
1788 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1789 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1790 sysconfdir
=$ac_optarg ;;
1792 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1793 ac_prev
=target_alias
;;
1794 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1795 target_alias
=$ac_optarg ;;
1797 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1800 -version |
--version |
--versio |
--versi |
--vers |
-V)
1801 ac_init_version
=: ;;
1804 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1805 # Reject names that are not valid shell variable names.
1806 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1807 as_fn_error $?
"invalid package name: $ac_useropt"
1808 ac_useropt_orig
=$ac_useropt
1809 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1810 case $ac_user_opts in
1814 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1815 ac_unrecognized_sep
=', ';;
1817 eval with_
$ac_useropt=\
$ac_optarg ;;
1819 -without-* |
--without-*)
1820 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1821 # Reject names that are not valid shell variable names.
1822 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1823 as_fn_error $?
"invalid package name: $ac_useropt"
1824 ac_useropt_orig
=$ac_useropt
1825 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1826 case $ac_user_opts in
1830 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1831 ac_unrecognized_sep
=', ';;
1833 eval with_
$ac_useropt=no
;;
1836 # Obsolete; use --with-x.
1839 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1840 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1841 ac_prev
=x_includes
;;
1842 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1843 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1844 x_includes
=$ac_optarg ;;
1846 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1847 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1848 ac_prev
=x_libraries
;;
1849 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1850 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1851 x_libraries
=$ac_optarg ;;
1853 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1854 Try \`$0 --help' for more information"
1858 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1859 # Reject names that are not valid shell variable names.
1860 case $ac_envvar in #(
1861 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1862 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1864 eval $ac_envvar=\
$ac_optarg
1865 export $ac_envvar ;;
1868 # FIXME: should be removed in autoconf 3.0.
1869 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1870 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1871 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1872 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1878 if test -n "$ac_prev"; then
1879 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1880 as_fn_error $?
"missing argument to $ac_option"
1883 if test -n "$ac_unrecognized_opts"; then
1884 case $enable_option_checking in
1886 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1887 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1891 # Check all directory arguments for consistency.
1892 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1893 datadir sysconfdir sharedstatedir localstatedir includedir \
1894 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1895 libdir localedir mandir
1897 eval ac_val
=\$
$ac_var
1898 # Remove trailing slashes.
1901 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1902 eval $ac_var=\
$ac_val;;
1904 # Be sure to have absolute directory names.
1906 [\\/$
]* | ?
:[\\/]* ) continue;;
1907 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1909 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1912 # There might be people who depend on the old broken behavior: `$host'
1913 # used to hold the argument of --host etc.
1914 # FIXME: To remove some day.
1917 target
=$target_alias
1919 # FIXME: To remove some day.
1920 if test "x$host_alias" != x
; then
1921 if test "x$build_alias" = x
; then
1922 cross_compiling
=maybe
1923 elif test "x$build_alias" != "x$host_alias"; then
1929 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1931 test "$silent" = yes && exec 6>/dev
/null
1934 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1935 ac_ls_di
=`ls -di .` &&
1936 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1937 as_fn_error $?
"working directory cannot be determined"
1938 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1939 as_fn_error $?
"pwd does not report name of working directory"
1942 # Find the source files, if location was not specified.
1943 if test -z "$srcdir"; then
1944 ac_srcdir_defaulted
=yes
1945 # Try the directory containing this script, then the parent directory.
1946 ac_confdir
=`$as_dirname -- "$as_myself" ||
1947 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1948 X"$as_myself" : 'X\(//\)[^/]' \| \
1949 X"$as_myself" : 'X\(//\)$' \| \
1950 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1951 $as_echo X"$as_myself" |
1952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1970 if test ! -r "$srcdir/$ac_unique_file"; then
1974 ac_srcdir_defaulted
=no
1976 if test ! -r "$srcdir/$ac_unique_file"; then
1977 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1978 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1980 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1982 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1984 # When building in place, set srcdir=.
1985 if test "$ac_abs_confdir" = "$ac_pwd"; then
1988 # Remove unnecessary trailing slashes from srcdir.
1989 # Double slashes in file names in object file debugging info
1990 # mess up M-x gdb in Emacs.
1992 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1994 for ac_var
in $ac_precious_vars; do
1995 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1996 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1997 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1998 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2002 # Report the --help message.
2004 if test "$ac_init_help" = "long"; then
2005 # Omit some internal or obsolete options to make the list less imposing.
2006 # This message is too long to be a string in the A/UX 3.1 sh.
2008 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
2010 Usage: $0 [OPTION]... [VAR=VALUE]...
2012 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2013 VAR=VALUE. See below for descriptions of some of the useful variables.
2015 Defaults for the options are specified in brackets.
2018 -h, --help display this help and exit
2019 --help=short display options specific to this package
2020 --help=recursive display the short help of all the included packages
2021 -V, --version display version information and exit
2022 -q, --quiet, --silent do not print \`checking ...' messages
2023 --cache-file=FILE cache test results in FILE [disabled]
2024 -C, --config-cache alias for \`--cache-file=config.cache'
2025 -n, --no-create do not create output files
2026 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2028 Installation directories:
2029 --prefix=PREFIX install architecture-independent files in PREFIX
2030 [$ac_default_prefix]
2031 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2034 By default, \`make install' will install all the files in
2035 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2036 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2037 for instance \`--prefix=\$HOME'.
2039 For better control, use the options below.
2041 Fine tuning of the installation directories:
2042 --bindir=DIR user executables [EPREFIX/bin]
2043 --sbindir=DIR system admin executables [EPREFIX/sbin]
2044 --libexecdir=DIR program executables [EPREFIX/libexec]
2045 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2046 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2047 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2048 --libdir=DIR object code libraries [EPREFIX/lib]
2049 --includedir=DIR C header files [PREFIX/include]
2050 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2051 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2052 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2053 --infodir=DIR info documentation [DATAROOTDIR/info]
2054 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2055 --mandir=DIR man documentation [DATAROOTDIR/man]
2056 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2057 --htmldir=DIR html documentation [DOCDIR]
2058 --dvidir=DIR dvi documentation [DOCDIR]
2059 --pdfdir=DIR pdf documentation [DOCDIR]
2060 --psdir=DIR ps documentation [DOCDIR]
2066 --x-includes=DIR X include files are
in DIR
2067 --x-libraries=DIR X library files are
in DIR
2070 --build=BUILD configure
for building on BUILD
[guessed
]
2071 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2075 if test -n "$ac_init_help"; then
2076 case $ac_init_help in
2077 short | recursive
) echo "Configuration of Wine 1.7.32:";;
2082 --disable-option-checking ignore unrecognized
--enable/--with options
2083 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2084 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2085 --disable-win16 do not include Win16 support
2086 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2088 --disable-tests do not build the regression tests
2089 --enable-maintainer-mode
2090 enable maintainer-specific build rules
2091 --disable-largefile omit support for large files
2094 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2095 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2096 --without-alsa do not use the Alsa sound support
2097 --without-capi do not use CAPI (ISDN support)
2098 --without-cms do not use CMS (color management support)
2099 --without-coreaudio do not use the CoreAudio sound support
2100 --without-cups do not use CUPS
2101 --without-curses do not use (n)curses
2102 --without-dbus do not use DBus (dynamic device support)
2103 --without-fontconfig do not use fontconfig
2104 --without-freetype do not use the FreeType library
2105 --without-gettext do not use gettext
2106 --with-gettextpo use the GetTextPO library to rebuild po files
2107 --without-gphoto do not use gphoto (Digital Camera support)
2108 --without-glu do not use the GLU library
2109 --without-gnutls do not use GnuTLS (schannel support)
2110 --without-gsm do not use libgsm (GSM 06.10 codec support)
2111 --without-gstreamer do not use GStreamer (codecs support)
2112 --without-hal do not use HAL (dynamic device support)
2113 --without-jpeg do not use JPEG
2114 --without-ldap do not use LDAP
2115 --without-mpg123 do not use the mpg123 library
2116 --without-netapi do not use the Samba NetAPI library
2117 --without-openal do not use OpenAL
2118 --without-opencl do not use OpenCL
2119 --without-opengl do not use OpenGL
2120 --without-osmesa do not use the OSMesa library
2121 --without-oss do not use the OSS sound support
2122 --without-pcap do not use the Packet Capture library
2123 --without-png do not use PNG
2124 --without-pthread do not use the pthread library
2125 --without-sane do not use SANE (scanner support)
2126 --without-tiff do not use TIFF
2127 --without-v4l do not use v4l1 (v4l support)
2128 --without-xcomposite do not use the Xcomposite extension
2129 --without-xcursor do not use the Xcursor extension
2130 --without-xinerama do not use Xinerama (multi-monitor support)
2131 --without-xinput do not use the Xinput extension
2132 --without-xinput2 do not use the Xinput 2 extension
2133 --without-xml do not use XML
2134 --without-xrandr do not use Xrandr (resolution changes)
2135 --without-xrender do not use the Xrender extension
2136 --without-xshape do not use the Xshape extension
2137 --without-xshm do not use XShm (shared memory extension)
2138 --without-xslt do not use XSLT
2139 --without-xxf86vm do not use XFree video mode extension
2140 --without-zlib do not use Zlib (data compression)
2141 --with-wine-tools=DIR use Wine tools from directory DIR
2142 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2143 --with-x use the X Window System
2145 Some influential environment variables:
2146 CC C compiler command
2147 CFLAGS C compiler flags
2148 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2149 nonstandard directory <lib dir>
2150 LIBS libraries to pass to the linker, e.g. -l<library>
2151 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2152 you have headers in a nonstandard directory <include dir>
2153 CXX C++ compiler command
2154 CXXFLAGS C++ compiler flags
2156 XMKMF Path to xmkmf, Makefile generator for X Window System
2157 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2158 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2159 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2160 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2161 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2162 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2163 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2164 HAL_LIBS Linker flags for hal, overriding pkg-config
2166 C compiler flags for gnutls, overriding pkg-config
2167 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2168 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2169 SANE_LIBS Linker flags for libsane, overriding pkg-config
2171 C compiler flags for libgphoto2, overriding pkg-config
2173 Linker flags for libgphoto2, overriding pkg-config
2175 C compiler flags for libgphoto2_port, overriding pkg-config
2177 Linker flags for libgphoto2_port, overriding pkg-config
2179 C compiler flags for lcms2, overriding pkg-config
2180 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2182 C compiler flags for freetype2, overriding pkg-config
2184 Linker flags for freetype2, overriding pkg-config
2186 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2188 Linker flags for gstreamer-app-0.10, overriding pkg-config
2190 C compiler flags for capi20, overriding pkg-config
2191 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2193 C compiler flags for fontconfig, overriding pkg-config
2195 Linker flags for fontconfig, overriding pkg-config
2196 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2197 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2198 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2199 PNG_LIBS Linker flags for libpng, overriding pkg-config
2200 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2201 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2203 C compiler flags for libmpg123, overriding pkg-config
2204 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2206 Use these variables to override the choices made by `configure' or to
help
2207 it to
find libraries and programs with nonstandard names
/locations.
2209 Report bugs to
<wine-devel@winehq.org
>.
2210 Wine home page
: <http
://www.winehq.org
>.
2215 if test "$ac_init_help" = "recursive"; then
2216 # If there are subdirs, report their specific --help.
2217 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2218 test -d "$ac_dir" ||
2219 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2224 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2226 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2227 # A ".." for each directory in $ac_dir_suffix.
2228 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2229 case $ac_top_builddir_sub in
2230 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2231 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2234 ac_abs_top_builddir
=$ac_pwd
2235 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2236 # for backward compatibility:
2237 ac_top_builddir
=$ac_top_build_prefix
2240 .
) # We are building in place.
2242 ac_top_srcdir
=$ac_top_builddir_sub
2243 ac_abs_top_srcdir
=$ac_pwd ;;
2244 [\\/]* | ?
:[\\/]* ) # Absolute name.
2245 ac_srcdir
=$srcdir$ac_dir_suffix;
2246 ac_top_srcdir
=$srcdir
2247 ac_abs_top_srcdir
=$srcdir ;;
2249 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2250 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2251 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2253 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2255 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2256 # Check for guested configure.
2257 if test -f "$ac_srcdir/configure.gnu"; then
2259 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2260 elif test -f "$ac_srcdir/configure"; then
2262 $SHELL "$ac_srcdir/configure" --help=recursive
2264 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2266 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2270 test -n "$ac_init_help" && exit $ac_status
2271 if $ac_init_version; then
2273 Wine configure
1.7.32
2274 generated by GNU Autoconf
2.69
2276 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2277 This configure
script is free software
; the Free Software Foundation
2278 gives unlimited permission to copy
, distribute and modify it.
2283 ## ------------------------ ##
2284 ## Autoconf initialization. ##
2285 ## ------------------------ ##
2287 # ac_fn_c_try_compile LINENO
2288 # --------------------------
2289 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2290 ac_fn_c_try_compile
()
2292 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2293 rm -f conftest.
$ac_objext
2294 if { { ac_try
="$ac_compile"
2296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2297 *) ac_try_echo=$ac_try;;
2299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2300 $as_echo "$ac_try_echo"; } >&5
2301 (eval "$ac_compile") 2>conftest.err
2303 if test -s conftest.err; then
2304 grep -v '^ *+' conftest.err >conftest.er1
2305 cat conftest.er1 >&5
2306 mv -f conftest.er1 conftest.err
2308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2309 test $ac_status = 0; } && {
2310 test -z "$ac_c_werror_flag" ||
2311 test ! -s conftest.err
2312 } && test -s conftest.$ac_objext; then :
2315 $as_echo "$as_me: failed program was:" >&5
2316 sed 's/^/| /' conftest.$ac_ext >&5
2320 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2321 as_fn_set_status $ac_retval
2323 } # ac_fn_c_try_compile
2325 # ac_fn_cxx_try_compile LINENO
2326 # ----------------------------
2327 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2328 ac_fn_cxx_try_compile ()
2330 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2331 rm -f conftest.$ac_objext
2332 if { { ac_try="$ac_compile"
2334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2335 *) ac_try_echo
=$ac_try;;
2337 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2338 $as_echo "$ac_try_echo"; } >&5
2339 (eval "$ac_compile") 2>conftest.err
2341 if test -s conftest.err
; then
2342 grep -v '^ *+' conftest.err
>conftest.er1
2343 cat conftest.er1
>&5
2344 mv -f conftest.er1 conftest.err
2346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2347 test $ac_status = 0; } && {
2348 test -z "$ac_cxx_werror_flag" ||
2349 test ! -s conftest.err
2350 } && test -s conftest.
$ac_objext; then :
2353 $as_echo "$as_me: failed program was:" >&5
2354 sed 's/^/| /' conftest.
$ac_ext >&5
2358 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2359 as_fn_set_status
$ac_retval
2361 } # ac_fn_cxx_try_compile
2363 # ac_fn_c_try_link LINENO
2364 # -----------------------
2365 # Try to link conftest.$ac_ext, and return whether this succeeded.
2368 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2369 rm -f conftest.
$ac_objext conftest
$ac_exeext
2370 if { { ac_try
="$ac_link"
2372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2373 *) ac_try_echo=$ac_try;;
2375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2376 $as_echo "$ac_try_echo"; } >&5
2377 (eval "$ac_link") 2>conftest.err
2379 if test -s conftest.err; then
2380 grep -v '^ *+' conftest.err >conftest.er1
2381 cat conftest.er1 >&5
2382 mv -f conftest.er1 conftest.err
2384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2385 test $ac_status = 0; } && {
2386 test -z "$ac_c_werror_flag" ||
2387 test ! -s conftest.err
2388 } && test -s conftest$ac_exeext && {
2389 test "$cross_compiling" = yes ||
2390 test -x conftest$ac_exeext
2394 $as_echo "$as_me: failed program was:" >&5
2395 sed 's/^/| /' conftest.$ac_ext >&5
2399 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2400 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2401 # interfere with the next link command; also delete a directory that is
2402 # left behind by Apple's compiler. We do this before executing the actions.
2403 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2404 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2405 as_fn_set_status $ac_retval
2407 } # ac_fn_c_try_link
2409 # ac_fn_c_try_cpp LINENO
2410 # ----------------------
2411 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2414 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2415 if { { ac_try="$ac_cpp conftest.$ac_ext"
2417 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2418 *) ac_try_echo
=$ac_try;;
2420 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2421 $as_echo "$ac_try_echo"; } >&5
2422 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2424 if test -s conftest.err
; then
2425 grep -v '^ *+' conftest.err
>conftest.er1
2426 cat conftest.er1
>&5
2427 mv -f conftest.er1 conftest.err
2429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2430 test $ac_status = 0; } > conftest.i
&& {
2431 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2432 test ! -s conftest.err
2436 $as_echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.
$ac_ext >&5
2441 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2442 as_fn_set_status
$ac_retval
2446 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2447 # -------------------------------------------------------
2448 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2449 # the include files in INCLUDES and setting the cache variable VAR
2451 ac_fn_c_check_header_mongrel
()
2453 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2454 if eval \
${$3+:} false
; then :
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2456 $as_echo_n "checking for $2... " >&6; }
2457 if eval \
${$3+:} false
; then :
2458 $as_echo_n "(cached) " >&6
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2462 $as_echo "$ac_res" >&6; }
2464 # Is the header compilable?
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2466 $as_echo_n "checking $2 usability... " >&6; }
2467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2468 /* end confdefs.h. */
2472 if ac_fn_c_try_compile
"$LINENO"; then :
2473 ac_header_compiler
=yes
2475 ac_header_compiler
=no
2477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2479 $as_echo "$ac_header_compiler" >&6; }
2481 # Is the header present?
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2483 $as_echo_n "checking $2 presence... " >&6; }
2484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2485 /* end confdefs.h. */
2488 if ac_fn_c_try_cpp
"$LINENO"; then :
2489 ac_header_preproc
=yes
2491 ac_header_preproc
=no
2493 rm -f conftest.err conftest.i conftest.
$ac_ext
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2495 $as_echo "$ac_header_preproc" >&6; }
2497 # So? What about this header?
2498 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2501 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2503 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2507 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2509 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2511 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2513 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2515 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2516 ( $as_echo "## ------------------------------------ ##
2517 ## Report this to wine-devel@winehq.org ##
2518 ## ------------------------------------ ##"
2519 ) |
sed "s/^/$as_me: WARNING: /" >&2
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2523 $as_echo_n "checking for $2... " >&6; }
2524 if eval \
${$3+:} false
; then :
2525 $as_echo_n "(cached) " >&6
2527 eval "$3=\$ac_header_compiler"
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2531 $as_echo "$ac_res" >&6; }
2533 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2535 } # ac_fn_c_check_header_mongrel
2537 # ac_fn_c_try_run LINENO
2538 # ----------------------
2539 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2540 # that executables *can* be run.
2543 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2544 if { { ac_try
="$ac_link"
2546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2547 *) ac_try_echo=$ac_try;;
2549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2550 $as_echo "$ac_try_echo"; } >&5
2551 (eval "$ac_link") 2>&5
2553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2554 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2555 { { case "(($ac_try" in
2556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2557 *) ac_try_echo
=$ac_try;;
2559 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2560 $as_echo "$ac_try_echo"; } >&5
2561 (eval "$ac_try") 2>&5
2563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2564 test $ac_status = 0; }; }; then :
2567 $as_echo "$as_me: program exited with status $ac_status" >&5
2568 $as_echo "$as_me: failed program was:" >&5
2569 sed 's/^/| /' conftest.
$ac_ext >&5
2571 ac_retval
=$ac_status
2573 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2574 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2575 as_fn_set_status
$ac_retval
2579 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2580 # -------------------------------------------------------
2581 # Tests whether HEADER exists and can be compiled using the include files in
2582 # INCLUDES, setting the cache variable VAR accordingly.
2583 ac_fn_c_check_header_compile
()
2585 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2587 $as_echo_n "checking for $2... " >&6; }
2588 if eval \
${$3+:} false
; then :
2589 $as_echo_n "(cached) " >&6
2591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2592 /* end confdefs.h. */
2596 if ac_fn_c_try_compile
"$LINENO"; then :
2601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2605 $as_echo "$ac_res" >&6; }
2606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2608 } # ac_fn_c_check_header_compile
2610 # ac_fn_c_check_func LINENO FUNC VAR
2611 # ----------------------------------
2612 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2613 ac_fn_c_check_func
()
2615 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2617 $as_echo_n "checking for $2... " >&6; }
2618 if eval \
${$3+:} false
; then :
2619 $as_echo_n "(cached) " >&6
2621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2622 /* end confdefs.h. */
2623 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2625 #define $2 innocuous_$2
2627 /* System header to define __stub macros and hopefully few prototypes,
2628 which can conflict with char $2 (); below.
2629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2630 <limits.h> exists even on freestanding compilers. */
2633 # include <limits.h>
2635 # include <assert.h>
2640 /* Override any GCC internal prototype to avoid an error.
2641 Use char because int might match the return type of a GCC
2642 builtin and then its argument prototype would still apply. */
2647 /* The GNU C library defines this for functions which it implements
2648 to always fail with ENOSYS. Some functions are actually named
2649 something starting with __ and the normal name is an alias. */
2650 #if defined __stub_$2 || defined __stub___$2
2662 if ac_fn_c_try_link
"$LINENO"; then :
2667 rm -f core conftest.err conftest.
$ac_objext \
2668 conftest
$ac_exeext conftest.
$ac_ext
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2672 $as_echo "$ac_res" >&6; }
2673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2675 } # ac_fn_c_check_func
2677 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2678 # ----------------------------------------------------
2679 # Tries to find if the field MEMBER exists in type AGGR, after including
2680 # INCLUDES, setting cache variable VAR accordingly.
2681 ac_fn_c_check_member
()
2683 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2685 $as_echo_n "checking for $2.$3... " >&6; }
2686 if eval \
${$4+:} false
; then :
2687 $as_echo_n "(cached) " >&6
2689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2690 /* end confdefs.h. */
2702 if ac_fn_c_try_compile
"$LINENO"; then :
2705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2706 /* end confdefs.h. */
2712 if (sizeof ac_aggr.$3)
2718 if ac_fn_c_try_compile
"$LINENO"; then :
2723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2729 $as_echo "$ac_res" >&6; }
2730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2732 } # ac_fn_c_check_member
2734 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2735 # -------------------------------------------
2736 # Tests whether TYPE exists after having included INCLUDES, setting cache
2737 # variable VAR accordingly.
2738 ac_fn_c_check_type
()
2740 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2742 $as_echo_n "checking for $2... " >&6; }
2743 if eval \
${$3+:} false
; then :
2744 $as_echo_n "(cached) " >&6
2747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2748 /* end confdefs.h. */
2759 if ac_fn_c_try_compile
"$LINENO"; then :
2760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2761 /* end confdefs.h. */
2772 if ac_fn_c_try_compile
"$LINENO"; then :
2777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2783 $as_echo "$ac_res" >&6; }
2784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2786 } # ac_fn_c_check_type
2787 cat >config.log
<<_ACEOF
2788 This file contains any messages produced by compilers while
2789 running configure, to aid debugging if configure makes a mistake.
2791 It was created by Wine $as_me 1.7.32, which was
2792 generated by GNU Autoconf 2.69. Invocation command line was
2804 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2805 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2806 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2807 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2808 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2810 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2811 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2813 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2814 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2815 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2816 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2817 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2818 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2819 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2827 test -z "$as_dir" && as_dir
=.
2828 $as_echo "PATH: $as_dir"
2844 # Keep a trace of the command line.
2845 # Strip out --no-create and --no-recursion so they do not pile up.
2846 # Strip out --silent because we don't want to record it for future runs.
2847 # Also quote any args containing shell meta-characters.
2848 # Make two passes to allow for proper duplicate-argument suppression.
2852 ac_must_keep_next
=false
2858 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2859 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2860 |
-silent |
--silent |
--silen |
--sile |
--sil)
2863 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2866 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2868 as_fn_append ac_configure_args1
" '$ac_arg'"
2869 if test $ac_must_keep_next = true
; then
2870 ac_must_keep_next
=false
# Got value, back to normal.
2873 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2874 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2875 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2876 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2877 case "$ac_configure_args0 " in
2878 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2881 -* ) ac_must_keep_next
=true
;;
2884 as_fn_append ac_configure_args
" '$ac_arg'"
2889 { ac_configure_args0
=; unset ac_configure_args0
;}
2890 { ac_configure_args1
=; unset ac_configure_args1
;}
2892 # When interrupted or exit'd, cleanup temporary files, and complete
2893 # config.log. We remove comments because anyway the quotes in there
2894 # would cause problems or look ugly.
2895 # WARNING: Use '\'' to represent an apostrophe within the trap.
2896 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2897 trap 'exit_status=$?
2898 # Save into config.log some information that might help in debugging.
2902 $as_echo "## ---------------- ##
2903 ## Cache variables. ##
2904 ## ---------------- ##"
2906 # The following way of writing the cache mishandles newlines in values,
2908 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2909 eval ac_val=\$$ac_var
2913 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2914 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2917 _ | IFS | as_nl) ;; #(
2918 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2919 *) { eval $ac_var=; unset $ac_var;} ;;
2924 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2925 *${as_nl}ac_space=\ *)
2927 "s/'\''/'\''\\\\'\'''\''/g;
2928 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2931 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2938 $as_echo "## ----------------- ##
2939 ## Output variables. ##
2940 ## ----------------- ##"
2942 for ac_var in $ac_subst_vars
2944 eval ac_val=\$$ac_var
2946 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2948 $as_echo "$ac_var='\''$ac_val'\''"
2952 if test -n "$ac_subst_files"; then
2953 $as_echo "## ------------------- ##
2954 ## File substitutions. ##
2955 ## ------------------- ##"
2957 for ac_var
in $ac_subst_files
2959 eval ac_val
=\$
$ac_var
2961 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2963 $as_echo "$ac_var='\''$ac_val'\''"
2968 if test -s confdefs.h; then
2969 $as_echo "## ----------- ##
2976 test "$ac_signal" != 0 &&
2977 $as_echo "$as_me: caught signal $ac_signal"
2978 $as_echo "$as_me: exit $exit_status"
2980 rm -f core *.core core.conftest.* &&
2981 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2984 for ac_signal
in 1 2 13 15; do
2985 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2989 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2990 rm -f -r conftest
* confdefs.h
2992 $as_echo "/* confdefs.h */" > confdefs.h
2994 # Predefined preprocessor variables.
2996 cat >>confdefs.h
<<_ACEOF
2997 #define PACKAGE_NAME "$PACKAGE_NAME"
3000 cat >>confdefs.h
<<_ACEOF
3001 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3004 cat >>confdefs.h
<<_ACEOF
3005 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3008 cat >>confdefs.h
<<_ACEOF
3009 #define PACKAGE_STRING "$PACKAGE_STRING"
3012 cat >>confdefs.h
<<_ACEOF
3013 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3016 cat >>confdefs.h
<<_ACEOF
3017 #define PACKAGE_URL "$PACKAGE_URL"
3021 # Let the site file select an alternate cache file if it wants to.
3022 # Prefer an explicitly selected file to automatically selected ones.
3025 if test -n "$CONFIG_SITE"; then
3026 # We do not want a PATH search for config.site.
3027 case $CONFIG_SITE in #((
3028 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3029 */*) ac_site_file1
=$CONFIG_SITE;;
3030 *) ac_site_file1
=.
/$CONFIG_SITE;;
3032 elif test "x$prefix" != xNONE
; then
3033 ac_site_file1
=$prefix/share
/config.site
3034 ac_site_file2
=$prefix/etc
/config.site
3036 ac_site_file1
=$ac_default_prefix/share
/config.site
3037 ac_site_file2
=$ac_default_prefix/etc
/config.site
3039 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3041 test "x$ac_site_file" = xNONE
&& continue
3042 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3044 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3045 sed 's/^/| /' "$ac_site_file" >&5
3047 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3049 as_fn_error $?
"failed to load site script $ac_site_file
3050 See \`config.log' for more details" "$LINENO" 5; }
3054 if test -r "$cache_file"; then
3055 # Some versions of bash will fail to source /dev/null (special files
3056 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3057 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3059 $as_echo "$as_me: loading cache $cache_file" >&6;}
3061 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3062 *) .
"./$cache_file";;
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3067 $as_echo "$as_me: creating cache $cache_file" >&6;}
3071 # Check that the precious variables saved in the cache have kept the same
3073 ac_cache_corrupted
=false
3074 for ac_var
in $ac_precious_vars; do
3075 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3076 eval ac_new_set
=\
$ac_env_${ac_var}_set
3077 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3078 eval ac_new_val
=\
$ac_env_${ac_var}_value
3079 case $ac_old_set,$ac_new_set in
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3082 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3083 ac_cache_corrupted
=: ;;
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3086 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3087 ac_cache_corrupted
=: ;;
3090 if test "x$ac_old_val" != "x$ac_new_val"; then
3091 # differences in whitespace do not lead to failure.
3092 ac_old_val_w
=`echo x $ac_old_val`
3093 ac_new_val_w
=`echo x $ac_new_val`
3094 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3096 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3097 ac_cache_corrupted
=:
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3100 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3101 eval $ac_var=\
$ac_old_val
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3104 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3106 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3109 # Pass precious variables to config.status.
3110 if test "$ac_new_set" = set; then
3112 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3113 *) ac_arg
=$ac_var=$ac_new_val ;;
3115 case " $ac_configure_args " in
3116 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3117 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3121 if $ac_cache_corrupted; then
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3125 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3126 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3128 ## -------------------- ##
3129 ## Main body of script. ##
3130 ## -------------------- ##
3133 ac_cpp
='$CPP $CPPFLAGS'
3134 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3135 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3136 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3140 ac_config_headers
="$ac_config_headers include/config.h"
3143 for ac_dir
in tools
"$srcdir"/tools
; do
3144 if test -f "$ac_dir/install-sh"; then
3146 ac_install_sh
="$ac_aux_dir/install-sh -c"
3148 elif test -f "$ac_dir/install.sh"; then
3150 ac_install_sh
="$ac_aux_dir/install.sh -c"
3152 elif test -f "$ac_dir/shtool"; then
3154 ac_install_sh
="$ac_aux_dir/shtool install -c"
3158 if test -z "$ac_aux_dir"; then
3159 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3162 # These three variables are undocumented and unsupported,
3163 # and are intended to be withdrawn in a future Autoconf release.
3164 # They can cause serious problems if a builder's source tree is in a directory
3165 # whose full name contains unusual characters.
3166 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3167 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3168 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3172 libwine_version
="1.0"
3176 # Check whether --enable-win16 was given.
3177 if test "${enable_win16+set}" = set; then :
3178 enableval
=$enable_win16;
3181 # Check whether --enable-win64 was given.
3182 if test "${enable_win64+set}" = set; then :
3183 enableval
=$enable_win64;
3186 # Check whether --enable-tests was given.
3187 if test "${enable_tests+set}" = set; then :
3188 enableval
=$enable_tests;
3191 # Check whether --enable-maintainer-mode was given.
3192 if test "${enable_maintainer_mode+set}" = set; then :
3193 enableval
=$enable_maintainer_mode;
3198 # Check whether --with-alsa was given.
3199 if test "${with_alsa+set}" = set; then :
3200 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3204 # Check whether --with-capi was given.
3205 if test "${with_capi+set}" = set; then :
3210 # Check whether --with-cms was given.
3211 if test "${with_cms+set}" = set; then :
3216 # Check whether --with-coreaudio was given.
3217 if test "${with_coreaudio+set}" = set; then :
3218 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3222 # Check whether --with-cups was given.
3223 if test "${with_cups+set}" = set; then :
3228 # Check whether --with-curses was given.
3229 if test "${with_curses+set}" = set; then :
3230 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3234 # Check whether --with-dbus was given.
3235 if test "${with_dbus+set}" = set; then :
3240 # Check whether --with-fontconfig was given.
3241 if test "${with_fontconfig+set}" = set; then :
3242 withval
=$with_fontconfig;
3246 # Check whether --with-freetype was given.
3247 if test "${with_freetype+set}" = set; then :
3248 withval
=$with_freetype;
3252 # Check whether --with-gettext was given.
3253 if test "${with_gettext+set}" = set; then :
3254 withval
=$with_gettext;
3258 # Check whether --with-gettextpo was given.
3259 if test "${with_gettextpo+set}" = set; then :
3260 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3264 # Check whether --with-gphoto was given.
3265 if test "${with_gphoto+set}" = set; then :
3266 withval
=$with_gphoto;
3270 # Check whether --with-glu was given.
3271 if test "${with_glu+set}" = set; then :
3276 # Check whether --with-gnutls was given.
3277 if test "${with_gnutls+set}" = set; then :
3278 withval
=$with_gnutls;
3282 # Check whether --with-gsm was given.
3283 if test "${with_gsm+set}" = set; then :
3284 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3288 # Check whether --with-gstreamer was given.
3289 if test "${with_gstreamer+set}" = set; then :
3290 withval
=$with_gstreamer;
3294 # Check whether --with-hal was given.
3295 if test "${with_hal+set}" = set; then :
3300 # Check whether --with-jpeg was given.
3301 if test "${with_jpeg+set}" = set; then :
3306 # Check whether --with-ldap was given.
3307 if test "${with_ldap+set}" = set; then :
3308 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3312 # Check whether --with-mpg123 was given.
3313 if test "${with_mpg123+set}" = set; then :
3314 withval
=$with_mpg123;
3318 # Check whether --with-netapi was given.
3319 if test "${with_netapi+set}" = set; then :
3320 withval
=$with_netapi;
3324 # Check whether --with-openal was given.
3325 if test "${with_openal+set}" = set; then :
3326 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3330 # Check whether --with-opencl was given.
3331 if test "${with_opencl+set}" = set; then :
3332 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3336 # Check whether --with-opengl was given.
3337 if test "${with_opengl+set}" = set; then :
3338 withval
=$with_opengl;
3342 # Check whether --with-osmesa was given.
3343 if test "${with_osmesa+set}" = set; then :
3344 withval
=$with_osmesa;
3348 # Check whether --with-oss was given.
3349 if test "${with_oss+set}" = set; then :
3354 # Check whether --with-pcap was given.
3355 if test "${with_pcap+set}" = set; then :
3356 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3360 # Check whether --with-png was given.
3361 if test "${with_png+set}" = set; then :
3366 # Check whether --with-pthread was given.
3367 if test "${with_pthread+set}" = set; then :
3368 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3372 # Check whether --with-sane was given.
3373 if test "${with_sane+set}" = set; then :
3378 # Check whether --with-tiff was given.
3379 if test "${with_tiff+set}" = set; then :
3384 # Check whether --with-v4l was given.
3385 if test "${with_v4l+set}" = set; then :
3390 # Check whether --with-xcomposite was given.
3391 if test "${with_xcomposite+set}" = set; then :
3392 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3396 # Check whether --with-xcursor was given.
3397 if test "${with_xcursor+set}" = set; then :
3398 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3402 # Check whether --with-xinerama was given.
3403 if test "${with_xinerama+set}" = set; then :
3404 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3408 # Check whether --with-xinput was given.
3409 if test "${with_xinput+set}" = set; then :
3410 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3414 # Check whether --with-xinput2 was given.
3415 if test "${with_xinput2+set}" = set; then :
3416 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3420 # Check whether --with-xml was given.
3421 if test "${with_xml+set}" = set; then :
3426 # Check whether --with-xrandr was given.
3427 if test "${with_xrandr+set}" = set; then :
3428 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3432 # Check whether --with-xrender was given.
3433 if test "${with_xrender+set}" = set; then :
3434 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3438 # Check whether --with-xshape was given.
3439 if test "${with_xshape+set}" = set; then :
3440 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3444 # Check whether --with-xshm was given.
3445 if test "${with_xshm+set}" = set; then :
3446 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3450 # Check whether --with-xslt was given.
3451 if test "${with_xslt+set}" = set; then :
3456 # Check whether --with-xxf86vm was given.
3457 if test "${with_xxf86vm+set}" = set; then :
3458 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
3462 # Check whether --with-zlib was given.
3463 if test "${with_zlib+set}" = set; then :
3464 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3469 # Check whether --with-wine-tools was given.
3470 if test "${with_wine_tools+set}" = set; then :
3471 withval
=$with_wine_tools;
3475 # Check whether --with-wine64 was given.
3476 if test "${with_wine64+set}" = set; then :
3477 withval
=$with_wine64;
3481 # Make sure we can run config.sub.
3482 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3483 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3486 $as_echo_n "checking build system type... " >&6; }
3487 if ${ac_cv_build+:} false
; then :
3488 $as_echo_n "(cached) " >&6
3490 ac_build_alias
=$build_alias
3491 test "x$ac_build_alias" = x
&&
3492 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3493 test "x$ac_build_alias" = x
&&
3494 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3495 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3496 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3500 $as_echo "$ac_cv_build" >&6; }
3501 case $ac_cv_build in
3503 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3506 ac_save_IFS
=$IFS; IFS
='-'
3512 # Remember, the first character of IFS is used to create $*,
3513 # except with old shells:
3516 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3520 $as_echo_n "checking host system type... " >&6; }
3521 if ${ac_cv_host+:} false
; then :
3522 $as_echo_n "(cached) " >&6
3524 if test "x$host_alias" = x
; then
3525 ac_cv_host
=$ac_cv_build
3527 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3528 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3533 $as_echo "$ac_cv_host" >&6; }
3536 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3539 ac_save_IFS
=$IFS; IFS
='-'
3545 # Remember, the first character of IFS is used to create $*,
3546 # except with old shells:
3549 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3555 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3556 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3557 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3563 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3565 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3566 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3567 $as_echo_n "(cached) " >&6
3569 cat >conftest.
make <<\_ACEOF
3572 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3574 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3575 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3577 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3579 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3583 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3585 $as_echo "yes" >&6; }
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3590 SET_MAKE
="MAKE=${MAKE-make}"
3594 ac_cpp
='$CPP $CPPFLAGS'
3595 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3596 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3597 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3598 if test -n "$ac_tool_prefix"; then
3599 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3600 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3602 $as_echo_n "checking for $ac_word... " >&6; }
3603 if ${ac_cv_prog_CC+:} false
; then :
3604 $as_echo_n "(cached) " >&6
3606 if test -n "$CC"; then
3607 ac_cv_prog_CC
="$CC" # Let the user override the test.
3609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3613 test -z "$as_dir" && as_dir
=.
3614 for ac_exec_ext
in '' $ac_executable_extensions; do
3615 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3616 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3627 if test -n "$CC"; then
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3629 $as_echo "$CC" >&6; }
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3632 $as_echo "no" >&6; }
3637 if test -z "$ac_cv_prog_CC"; then
3639 # Extract the first word of "gcc", so it can be a program name with args.
3640 set dummy gcc
; ac_word
=$2
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3642 $as_echo_n "checking for $ac_word... " >&6; }
3643 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3644 $as_echo_n "(cached) " >&6
3646 if test -n "$ac_ct_CC"; then
3647 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3653 test -z "$as_dir" && as_dir
=.
3654 for ac_exec_ext
in '' $ac_executable_extensions; do
3655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3656 ac_cv_prog_ac_ct_CC
="gcc"
3657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3666 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3667 if test -n "$ac_ct_CC"; then
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3669 $as_echo "$ac_ct_CC" >&6; }
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3672 $as_echo "no" >&6; }
3675 if test "x$ac_ct_CC" = x
; then
3678 case $cross_compiling:$ac_tool_warned in
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3682 ac_tool_warned
=yes ;;
3690 if test -z "$CC"; then
3691 if test -n "$ac_tool_prefix"; then
3692 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3693 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3695 $as_echo_n "checking for $ac_word... " >&6; }
3696 if ${ac_cv_prog_CC+:} false
; then :
3697 $as_echo_n "(cached) " >&6
3699 if test -n "$CC"; then
3700 ac_cv_prog_CC
="$CC" # Let the user override the test.
3702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3706 test -z "$as_dir" && as_dir
=.
3707 for ac_exec_ext
in '' $ac_executable_extensions; do
3708 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3709 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3720 if test -n "$CC"; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3722 $as_echo "$CC" >&6; }
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725 $as_echo "no" >&6; }
3731 if test -z "$CC"; then
3732 # Extract the first word of "cc", so it can be a program name with args.
3733 set dummy cc
; ac_word
=$2
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3735 $as_echo_n "checking for $ac_word... " >&6; }
3736 if ${ac_cv_prog_CC+:} false
; then :
3737 $as_echo_n "(cached) " >&6
3739 if test -n "$CC"; then
3740 ac_cv_prog_CC
="$CC" # Let the user override the test.
3743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3747 test -z "$as_dir" && as_dir
=.
3748 for ac_exec_ext
in '' $ac_executable_extensions; do
3749 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3750 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3751 ac_prog_rejected
=yes
3755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 if test $ac_prog_rejected = yes; then
3763 # We found a bogon in the path, so make sure we never use it.
3764 set dummy
$ac_cv_prog_CC
3766 if test $# != 0; then
3767 # We chose a different compiler from the bogus one.
3768 # However, it has the same basename, so the bogon will be chosen
3769 # first if we set CC to just the basename; use the full file name.
3771 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3777 if test -n "$CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3779 $as_echo "$CC" >&6; }
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3787 if test -z "$CC"; then
3788 if test -n "$ac_tool_prefix"; then
3789 for ac_prog
in cl.exe
3791 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3792 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3794 $as_echo_n "checking for $ac_word... " >&6; }
3795 if ${ac_cv_prog_CC+:} false
; then :
3796 $as_echo_n "(cached) " >&6
3798 if test -n "$CC"; then
3799 ac_cv_prog_CC
="$CC" # Let the user override the test.
3801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3805 test -z "$as_dir" && as_dir
=.
3806 for ac_exec_ext
in '' $ac_executable_extensions; do
3807 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3808 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 if test -n "$CC"; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3821 $as_echo "$CC" >&6; }
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3828 test -n "$CC" && break
3831 if test -z "$CC"; then
3833 for ac_prog
in cl.exe
3835 # Extract the first word of "$ac_prog", so it can be a program name with args.
3836 set dummy
$ac_prog; ac_word
=$2
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3838 $as_echo_n "checking for $ac_word... " >&6; }
3839 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3840 $as_echo_n "(cached) " >&6
3842 if test -n "$ac_ct_CC"; then
3843 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3849 test -z "$as_dir" && as_dir
=.
3850 for ac_exec_ext
in '' $ac_executable_extensions; do
3851 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3852 ac_cv_prog_ac_ct_CC
="$ac_prog"
3853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3863 if test -n "$ac_ct_CC"; then
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3865 $as_echo "$ac_ct_CC" >&6; }
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3868 $as_echo "no" >&6; }
3872 test -n "$ac_ct_CC" && break
3875 if test "x$ac_ct_CC" = x
; then
3878 case $cross_compiling:$ac_tool_warned in
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3882 ac_tool_warned
=yes ;;
3891 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3893 as_fn_error $?
"no acceptable C compiler found in \$PATH
3894 See \`config.log' for more details" "$LINENO" 5; }
3896 # Provide some information about the compiler.
3897 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3900 for ac_option
in --version -v -V -qversion; do
3901 { { ac_try
="$ac_compiler $ac_option >&5"
3903 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3904 *) ac_try_echo=$ac_try;;
3906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3907 $as_echo "$ac_try_echo"; } >&5
3908 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3910 if test -s conftest.err; then
3912 ... rest of stderr output deleted ...
3913 10q' conftest.err >conftest.er1
3914 cat conftest.er1 >&5
3916 rm -f conftest.er1 conftest.err
3917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3918 test $ac_status = 0; }
3921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922 /* end confdefs.h. */
3932 ac_clean_files_save=$ac_clean_files
3933 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3934 # Try to create an executable without -o first, disregard a.out.
3935 # It will help us diagnose broken compilers, and finding out an intuition
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3938 $as_echo_n "checking whether the C compiler works... " >&6; }
3939 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3941 # The possible output files:
3942 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3945 for ac_file in $ac_files
3948 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3949 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3954 if { { ac_try="$ac_link_default"
3956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3957 *) ac_try_echo
=$ac_try;;
3959 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3960 $as_echo "$ac_try_echo"; } >&5
3961 (eval "$ac_link_default") 2>&5
3963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3964 test $ac_status = 0; }; then :
3965 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3966 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3967 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3968 # so that the user can short-circuit this test for compilers unknown to
3970 for ac_file
in $ac_files ''
3972 test -f "$ac_file" ||
continue
3974 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3977 # We found the default executable, but exeext='' is most
3981 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3983 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3985 # We set ac_cv_exeext here because the later test for it is not
3986 # safe: cross compilers may not add the suffix if given an `-o'
3987 # argument, so we may need to know it at that point already.
3988 # Even if this section looks crufty: it has the advantage of
3995 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4000 if test -z "$ac_file"; then :
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4002 $as_echo "no" >&6; }
4003 $as_echo "$as_me: failed program was:" >&5
4004 sed 's/^/| /' conftest.
$ac_ext >&5
4006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4008 as_fn_error
77 "C compiler cannot create executables
4009 See \`config.log' for more details" "$LINENO" 5; }
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4012 $as_echo "yes" >&6; }
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4015 $as_echo_n "checking for C compiler default output file name... " >&6; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4017 $as_echo "$ac_file" >&6; }
4018 ac_exeext
=$ac_cv_exeext
4020 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4021 ac_clean_files
=$ac_clean_files_save
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4023 $as_echo_n "checking for suffix of executables... " >&6; }
4024 if { { ac_try
="$ac_link"
4026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;;
4029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4030 $as_echo "$ac_try_echo"; } >&5
4031 (eval "$ac_link") 2>&5
4033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4034 test $ac_status = 0; }; then :
4035 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4036 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4037 # work properly (i.e., refer to `conftest.exe'), while it won't with
4039 for ac_file
in conftest.exe conftest conftest.
*; do
4040 test -f "$ac_file" ||
continue
4042 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4043 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4049 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4051 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4052 See \`config.log' for more details" "$LINENO" 5; }
4054 rm -f conftest conftest
$ac_cv_exeext
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4056 $as_echo "$ac_cv_exeext" >&6; }
4058 rm -f conftest.
$ac_ext
4059 EXEEXT
=$ac_cv_exeext
4061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4062 /* end confdefs.h. */
4067 FILE *f = fopen ("conftest.out", "w");
4068 return ferror (f) || fclose (f) != 0;
4074 ac_clean_files
="$ac_clean_files conftest.out"
4075 # Check that the compiler produces executables we can run. If not, either
4076 # the compiler is broken, or we cross compile.
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4078 $as_echo_n "checking whether we are cross compiling... " >&6; }
4079 if test "$cross_compiling" != yes; then
4080 { { ac_try
="$ac_link"
4082 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4083 *) ac_try_echo=$ac_try;;
4085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4086 $as_echo "$ac_try_echo"; } >&5
4087 (eval "$ac_link") 2>&5
4089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4090 test $ac_status = 0; }
4091 if { ac_try='./conftest$ac_cv_exeext'
4092 { { case "(($ac_try" in
4093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4094 *) ac_try_echo
=$ac_try;;
4096 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4097 $as_echo "$ac_try_echo"; } >&5
4098 (eval "$ac_try") 2>&5
4100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4101 test $ac_status = 0; }; }; then
4104 if test "$cross_compiling" = maybe
; then
4107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4109 as_fn_error $?
"cannot run C compiled programs.
4110 If you meant to cross compile, use \`--host'.
4111 See \`config.log' for more details" "$LINENO" 5; }
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4116 $as_echo "$cross_compiling" >&6; }
4118 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4119 ac_clean_files
=$ac_clean_files_save
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4121 $as_echo_n "checking for suffix of object files... " >&6; }
4122 if ${ac_cv_objext+:} false
; then :
4123 $as_echo_n "(cached) " >&6
4125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h. */
4136 rm -f conftest.o conftest.obj
4137 if { { ac_try
="$ac_compile"
4139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4140 *) ac_try_echo=$ac_try;;
4142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4143 $as_echo "$ac_try_echo"; } >&5
4144 (eval "$ac_compile") 2>&5
4146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4147 test $ac_status = 0; }; then :
4148 for ac_file in conftest.o conftest.obj conftest.*; do
4149 test -f "$ac_file" || continue;
4151 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4152 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4157 $as_echo "$as_me: failed program was:" >&5
4158 sed 's/^/| /' conftest.$ac_ext >&5
4160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4162 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4163 See \
`config.log' for more details" "$LINENO" 5; }
4165 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4168 $as_echo "$ac_cv_objext" >&6; }
4169 OBJEXT=$ac_cv_objext
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4172 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4173 if ${ac_cv_c_compiler_gnu+:} false; then :
4174 $as_echo_n "(cached) " >&6
4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4190 if ac_fn_c_try_compile "$LINENO"; then :
4195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4196 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4200 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4201 if test $ac_compiler_gnu = yes; then
4206 ac_test_CFLAGS=${CFLAGS+set}
4207 ac_save_CFLAGS=$CFLAGS
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4209 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4210 if ${ac_cv_prog_cc_g+:} false; then :
4211 $as_echo_n "(cached) " >&6
4213 ac_save_c_werror_flag=$ac_c_werror_flag
4214 ac_c_werror_flag=yes
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4228 if ac_fn_c_try_compile "$LINENO"; then :
4232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h. */
4243 if ac_fn_c_try_compile "$LINENO"; then :
4246 ac_c_werror_flag=$ac_save_c_werror_flag
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4259 if ac_fn_c_try_compile "$LINENO"; then :
4262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4267 ac_c_werror_flag=$ac_save_c_werror_flag
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4270 $as_echo "$ac_cv_prog_cc_g" >&6; }
4271 if test "$ac_test_CFLAGS" = set; then
4272 CFLAGS=$ac_save_CFLAGS
4273 elif test $ac_cv_prog_cc_g = yes; then
4274 if test "$GCC" = yes; then
4280 if test "$GCC" = yes; then
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4287 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4288 if ${ac_cv_prog_cc_c89+:} false; then :
4289 $as_echo_n "(cached) " >&6
4291 ac_cv_prog_cc_c89=no
4293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4294 /* end confdefs.h. */
4298 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4299 struct buf { int x; };
4300 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4301 static char *e (p, i)
4307 static char *f (char * (*g) (char **, int), char **p, ...)
4312 s = g (p, va_arg (v,int));
4317 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4318 function prototypes and stuff, but not '\xHH' hex character constants.
4319 These don't provoke an error unfortunately, instead are silently treated
4320 as 'x'. The following induces an error, until -std is added to get
4321 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4322 array size at least. It's necessary to write '\x00'==0 to get something
4323 that's true only with -std. */
4324 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4326 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4327 inside strings and character constants. */
4329 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4331 int test (int i, double x);
4332 struct s1 {int (*f) (int a);};
4333 struct s2 {int (*f) (double a);};
4334 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4340 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4345 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4346 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4348 CC="$ac_save_CC $ac_arg"
4349 if ac_fn_c_try_compile "$LINENO"; then :
4350 ac_cv_prog_cc_c89=$ac_arg
4352 rm -f core conftest.err conftest.$ac_objext
4353 test "x$ac_cv_prog_cc_c89" != "xno" && break
4355 rm -f conftest.$ac_ext
4360 case "x$ac_cv_prog_cc_c89" in
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4363 $as_echo "none needed" >&6; } ;;
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4366 $as_echo "unsupported" >&6; } ;;
4368 CC="$CC $ac_cv_prog_cc_c89"
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4370 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4372 if test "x$ac_cv_prog_cc_c89" != xno; then :
4377 ac_cpp='$CPP $CPPFLAGS'
4378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4383 ac_cpp='$CXXCPP $CPPFLAGS'
4384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4387 if test -z "$CXX"; then
4388 if test -n "$CCC"; then
4391 if test -n "$ac_tool_prefix"; then
4392 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4394 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4395 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4397 $as_echo_n "checking for $ac_word... " >&6; }
4398 if ${ac_cv_prog_CXX+:} false; then :
4399 $as_echo_n "(cached) " >&6
4401 if test -n "$CXX"; then
4402 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4408 test -z "$as_dir" && as_dir=.
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4411 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4422 if test -n "$CXX"; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4424 $as_echo "$CXX" >&6; }
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4427 $as_echo "no" >&6; }
4431 test -n "$CXX" && break
4434 if test -z "$CXX"; then
4436 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4438 # Extract the first word of "$ac_prog", so it can be a program name with args.
4439 set dummy $ac_prog; ac_word=$2
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441 $as_echo_n "checking for $ac_word... " >&6; }
4442 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4443 $as_echo_n "(cached) " >&6
4445 if test -n "$ac_ct_CXX"; then
4446 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4452 test -z "$as_dir" && as_dir=.
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_prog_ac_ct_CXX="$ac_prog"
4456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4465 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4466 if test -n "$ac_ct_CXX"; then
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4468 $as_echo "$ac_ct_CXX" >&6; }
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4471 $as_echo "no" >&6; }
4475 test -n "$ac_ct_CXX" && break
4478 if test "x$ac_ct_CXX" = x; then
4481 case $cross_compiling:$ac_tool_warned in
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4485 ac_tool_warned=yes ;;
4493 # Provide some information about the compiler.
4494 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4497 for ac_option in --version -v -V -qversion; do
4498 { { ac_try="$ac_compiler $ac_option >&5"
4500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4501 *) ac_try_echo
=$ac_try;;
4503 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4504 $as_echo "$ac_try_echo"; } >&5
4505 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4507 if test -s conftest.err
; then
4509 ... rest of stderr output deleted ...
4510 10q' conftest.err
>conftest.er1
4511 cat conftest.er1
>&5
4513 rm -f conftest.er1 conftest.err
4514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4515 test $ac_status = 0; }
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4519 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4520 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4521 $as_echo_n "(cached) " >&6
4523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4537 if ac_fn_cxx_try_compile
"$LINENO"; then :
4542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4543 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4547 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4548 if test $ac_compiler_gnu = yes; then
4553 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4554 ac_save_CXXFLAGS
=$CXXFLAGS
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4556 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4557 if ${ac_cv_prog_cxx_g+:} false
; then :
4558 $as_echo_n "(cached) " >&6
4560 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4561 ac_cxx_werror_flag
=yes
4564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4565 /* end confdefs.h. */
4575 if ac_fn_cxx_try_compile
"$LINENO"; then :
4576 ac_cv_prog_cxx_g
=yes
4579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4580 /* end confdefs.h. */
4590 if ac_fn_cxx_try_compile
"$LINENO"; then :
4593 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4606 if ac_fn_cxx_try_compile
"$LINENO"; then :
4607 ac_cv_prog_cxx_g
=yes
4609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4614 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4617 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4618 if test "$ac_test_CXXFLAGS" = set; then
4619 CXXFLAGS
=$ac_save_CXXFLAGS
4620 elif test $ac_cv_prog_cxx_g = yes; then
4621 if test "$GXX" = yes; then
4627 if test "$GXX" = yes; then
4634 ac_cpp
='$CPP $CPPFLAGS'
4635 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4636 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4637 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4639 if test -n "$ac_tool_prefix"; then
4640 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4641 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4643 $as_echo_n "checking for $ac_word... " >&6; }
4644 if ${ac_cv_prog_CPPBIN+:} false
; then :
4645 $as_echo_n "(cached) " >&6
4647 if test -n "$CPPBIN"; then
4648 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4654 test -z "$as_dir" && as_dir
=.
4655 for ac_exec_ext
in '' $ac_executable_extensions; do
4656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4657 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4667 CPPBIN
=$ac_cv_prog_CPPBIN
4668 if test -n "$CPPBIN"; then
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4670 $as_echo "$CPPBIN" >&6; }
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4673 $as_echo "no" >&6; }
4678 if test -z "$ac_cv_prog_CPPBIN"; then
4679 ac_ct_CPPBIN
=$CPPBIN
4680 # Extract the first word of "cpp", so it can be a program name with args.
4681 set dummy cpp
; ac_word
=$2
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4683 $as_echo_n "checking for $ac_word... " >&6; }
4684 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4685 $as_echo_n "(cached) " >&6
4687 if test -n "$ac_ct_CPPBIN"; then
4688 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4694 test -z "$as_dir" && as_dir
=.
4695 for ac_exec_ext
in '' $ac_executable_extensions; do
4696 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4697 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4707 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4708 if test -n "$ac_ct_CPPBIN"; then
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4710 $as_echo "$ac_ct_CPPBIN" >&6; }
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4713 $as_echo "no" >&6; }
4716 if test "x$ac_ct_CPPBIN" = x
; then
4719 case $cross_compiling:$ac_tool_warned in
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4723 ac_tool_warned
=yes ;;
4725 CPPBIN
=$ac_ct_CPPBIN
4728 CPPBIN
="$ac_cv_prog_CPPBIN"
4732 cat >>confdefs.h
<<_ACEOF
4733 #define EXEEXT "$ac_exeext"
4739 if test "x$enable_win64" = "xyes"
4744 notice_platform
="64-bit "
4751 notice_platform
="32-bit "
4754 enable_win16
=${enable_win16:-yes}
4756 with_fontconfig
=${with_fontconfig:-no}
4759 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4764 $as_echo_n "checking whether $CC works... " >&6; }
4766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4777 if ac_fn_c_try_link
"$LINENO"; then :
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4779 $as_echo "yes" >&6; }
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4783 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4785 rm -f core conftest.err conftest.
$ac_objext \
4786 conftest
$ac_exeext conftest.
$ac_ext
4788 notice_platform
="32-bit "
4791 enable_win16
=${enable_win16:-yes}
4793 if test "x${GCC}" = "xyes"
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4796 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4798 /* end confdefs.h. */
4803 void func(__builtin_ms_va_list *args);
4808 if ac_fn_c_try_compile
"$LINENO"; then :
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4810 $as_echo "yes" >&6; }
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4813 $as_echo "no" >&6; }
4814 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4824 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4826 /* end confdefs.h. */
4827 int ac_test(int i) { return i; }
4831 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4836 if ac_fn_c_try_link
"$LINENO"; then :
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4838 $as_echo "yes" >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 $as_echo "no" >&6; }
4842 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4844 rm -f core conftest.err conftest.
$ac_objext \
4845 conftest
$ac_exeext conftest.
$ac_ext
4846 CFLAGS
="$CFLAGS -marm"
4850 *-mingw32*|
*-cygwin*)
4851 enable_win16
=${enable_win16:-no}
4852 CFLAGS
="$CFLAGS -D_WIN32"
4855 enable_win16
=${enable_win16:-yes}
4859 enable_win16
=${enable_win16:-no}
4860 enable_win64
=${enable_win64:-no}
4862 enable_winetest
=${enable_winetest:-$enable_tests}
4864 if test -n "$with_wine64"
4866 if test "x$enable_win64" = "xyes"
4868 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4869 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4871 enable_fonts
=${enable_fonts:-no}
4872 enable_server
=${enable_server:-no}
4873 elif test "x$enable_win64" = "xyes"
4875 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4879 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4880 if ${wine_cv_toolsdir+:} false
; then :
4881 $as_echo_n "(cached) " >&6
4883 wine_cv_toolsdir
="$with_wine_tools"
4884 if test -z "$with_wine_tools"; then
4885 if test "$cross_compiling" = "yes"; then
4886 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4887 elif test -n "$with_wine64"; then
4888 wine_cv_toolsdir
="$with_wine64"
4891 if test -z "$wine_cv_toolsdir"; then
4892 wine_makedep
=tools
/makedep
4893 wine_cv_toolsdir
="\$(top_builddir)"
4894 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4895 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4896 case "$wine_cv_toolsdir" in
4898 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4900 enable_tools
=${enable_tools:-no}
4901 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4903 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4907 $as_echo "$wine_cv_toolsdir" >&6; }
4908 TOOLSDIR
=$wine_cv_toolsdir
4910 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4912 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4918 # Extract the first word of "$ac_prog", so it can be a program name with args.
4919 set dummy
$ac_prog; ac_word
=$2
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4921 $as_echo_n "checking for $ac_word... " >&6; }
4922 if ${ac_cv_prog_FLEX+:} false
; then :
4923 $as_echo_n "(cached) " >&6
4925 if test -n "$FLEX"; then
4926 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4932 test -z "$as_dir" && as_dir
=.
4933 for ac_exec_ext
in '' $ac_executable_extensions; do
4934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4935 ac_cv_prog_FLEX
="$ac_prog"
4936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4945 FLEX
=$ac_cv_prog_FLEX
4946 if test -n "$FLEX"; then
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4948 $as_echo "$FLEX" >&6; }
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 $as_echo "no" >&6; }
4955 test -n "$FLEX" && break
4957 test -n "$FLEX" || FLEX
="none"
4959 if test "$FLEX" = "none"
4961 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4964 $as_echo_n "checking whether flex is recent enough... " >&6; }
4965 cat >conftest.l
<<EOF
4967 #include "prediluvian.h"
4971 if $FLEX -t conftest.l
>/dev
/null
2>&5
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4974 $as_echo "yes" >&6; }
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 $as_echo "no" >&6; }
4978 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4981 for ac_prog
in bison
4983 # Extract the first word of "$ac_prog", so it can be a program name with args.
4984 set dummy
$ac_prog; ac_word
=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if ${ac_cv_prog_BISON+:} false
; then :
4988 $as_echo_n "(cached) " >&6
4990 if test -n "$BISON"; then
4991 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4997 test -z "$as_dir" && as_dir
=.
4998 for ac_exec_ext
in '' $ac_executable_extensions; do
4999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5000 ac_cv_prog_BISON
="$ac_prog"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5010 BISON
=$ac_cv_prog_BISON
5011 if test -n "$BISON"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5013 $as_echo "$BISON" >&6; }
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5020 test -n "$BISON" && break
5022 test -n "$BISON" || BISON
="none"
5024 if test "$BISON" = "none"
5026 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5029 if test -n "$ac_tool_prefix"; then
5030 for ac_prog
in ar gar
5032 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5033 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5035 $as_echo_n "checking for $ac_word... " >&6; }
5036 if ${ac_cv_prog_AR+:} false
; then :
5037 $as_echo_n "(cached) " >&6
5039 if test -n "$AR"; then
5040 ac_cv_prog_AR
="$AR" # Let the user override the test.
5042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5046 test -z "$as_dir" && as_dir
=.
5047 for ac_exec_ext
in '' $ac_executable_extensions; do
5048 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5049 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5060 if test -n "$AR"; then
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5062 $as_echo "$AR" >&6; }
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5065 $as_echo "no" >&6; }
5069 test -n "$AR" && break
5072 if test -z "$AR"; then
5074 for ac_prog
in ar gar
5076 # Extract the first word of "$ac_prog", so it can be a program name with args.
5077 set dummy
$ac_prog; ac_word
=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5081 $as_echo_n "(cached) " >&6
5083 if test -n "$ac_ct_AR"; then
5084 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5090 test -z "$as_dir" && as_dir
=.
5091 for ac_exec_ext
in '' $ac_executable_extensions; do
5092 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5093 ac_cv_prog_ac_ct_AR
="$ac_prog"
5094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5103 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5104 if test -n "$ac_ct_AR"; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5106 $as_echo "$ac_ct_AR" >&6; }
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5113 test -n "$ac_ct_AR" && break
5116 if test "x$ac_ct_AR" = x
; then
5119 case $cross_compiling:$ac_tool_warned in
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5123 ac_tool_warned
=yes ;;
5129 if test -n "$ac_tool_prefix"; then
5130 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5131 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5133 $as_echo_n "checking for $ac_word... " >&6; }
5134 if ${ac_cv_prog_STRIP+:} false
; then :
5135 $as_echo_n "(cached) " >&6
5137 if test -n "$STRIP"; then
5138 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5144 test -z "$as_dir" && as_dir
=.
5145 for ac_exec_ext
in '' $ac_executable_extensions; do
5146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5147 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5157 STRIP
=$ac_cv_prog_STRIP
5158 if test -n "$STRIP"; then
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5160 $as_echo "$STRIP" >&6; }
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163 $as_echo "no" >&6; }
5168 if test -z "$ac_cv_prog_STRIP"; then
5170 # Extract the first word of "strip", so it can be a program name with args.
5171 set dummy strip
; ac_word
=$2
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5173 $as_echo_n "checking for $ac_word... " >&6; }
5174 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5175 $as_echo_n "(cached) " >&6
5177 if test -n "$ac_ct_STRIP"; then
5178 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5184 test -z "$as_dir" && as_dir
=.
5185 for ac_exec_ext
in '' $ac_executable_extensions; do
5186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5187 ac_cv_prog_ac_ct_STRIP
="strip"
5188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5197 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5198 if test -n "$ac_ct_STRIP"; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5200 $as_echo "$ac_ct_STRIP" >&6; }
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 $as_echo "no" >&6; }
5206 if test "x$ac_ct_STRIP" = x
; then
5209 case $cross_compiling:$ac_tool_warned in
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5213 ac_tool_warned
=yes ;;
5218 STRIP
="$ac_cv_prog_STRIP"
5223 if test -n "$ac_tool_prefix"; then
5224 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5225 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_RANLIB+:} false
; then :
5229 $as_echo_n "(cached) " >&6
5231 if test -n "$RANLIB"; then
5232 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5238 test -z "$as_dir" && as_dir
=.
5239 for ac_exec_ext
in '' $ac_executable_extensions; do
5240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5251 RANLIB
=$ac_cv_prog_RANLIB
5252 if test -n "$RANLIB"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5254 $as_echo "$RANLIB" >&6; }
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5262 if test -z "$ac_cv_prog_RANLIB"; then
5263 ac_ct_RANLIB
=$RANLIB
5264 # Extract the first word of "ranlib", so it can be a program name with args.
5265 set dummy ranlib
; ac_word
=$2
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5267 $as_echo_n "checking for $ac_word... " >&6; }
5268 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5269 $as_echo_n "(cached) " >&6
5271 if test -n "$ac_ct_RANLIB"; then
5272 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5278 test -z "$as_dir" && as_dir
=.
5279 for ac_exec_ext
in '' $ac_executable_extensions; do
5280 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5281 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5291 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5292 if test -n "$ac_ct_RANLIB"; then
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5294 $as_echo "$ac_ct_RANLIB" >&6; }
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5297 $as_echo "no" >&6; }
5300 if test "x$ac_ct_RANLIB" = x
; then
5303 case $cross_compiling:$ac_tool_warned in
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5307 ac_tool_warned
=yes ;;
5309 RANLIB
=$ac_ct_RANLIB
5312 RANLIB
="$ac_cv_prog_RANLIB"
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5316 $as_echo_n "checking whether ln -s works... " >&6; }
5318 if test "$LN_S" = "ln -s"; then
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5320 $as_echo "yes" >&6; }
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5323 $as_echo "no, using $LN_S" >&6; }
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5327 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5328 if ${ac_cv_path_GREP+:} false
; then :
5329 $as_echo_n "(cached) " >&6
5331 if test -z "$GREP"; then
5332 ac_path_GREP_found
=false
5333 # Loop through the user's path and test for each of PROGNAME-LIST
5334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5335 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5338 test -z "$as_dir" && as_dir
=.
5339 for ac_prog
in grep ggrep
; do
5340 for ac_exec_ext
in '' $ac_executable_extensions; do
5341 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5342 as_fn_executable_p
"$ac_path_GREP" ||
continue
5343 # Check for GNU ac_path_GREP and select it if it is found.
5344 # Check for GNU $ac_path_GREP
5345 case `"$ac_path_GREP" --version 2>&1` in
5347 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5350 $as_echo_n 0123456789 >"conftest.in"
5353 cat "conftest.in" "conftest.in" >"conftest.tmp"
5354 mv "conftest.tmp" "conftest.in"
5355 cp "conftest.in" "conftest.nl"
5356 $as_echo 'GREP' >> "conftest.nl"
5357 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5358 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5359 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5360 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5361 # Best one so far, save it but keep looking for a better one
5362 ac_cv_path_GREP
="$ac_path_GREP"
5363 ac_path_GREP_max
=$ac_count
5365 # 10*(2^10) chars as input seems more than enough
5366 test $ac_count -gt 10 && break
5368 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5371 $ac_path_GREP_found && break 3
5376 if test -z "$ac_cv_path_GREP"; then
5377 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5380 ac_cv_path_GREP
=$GREP
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5385 $as_echo "$ac_cv_path_GREP" >&6; }
5386 GREP
="$ac_cv_path_GREP"
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5390 $as_echo_n "checking for egrep... " >&6; }
5391 if ${ac_cv_path_EGREP+:} false
; then :
5392 $as_echo_n "(cached) " >&6
5394 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5395 then ac_cv_path_EGREP
="$GREP -E"
5397 if test -z "$EGREP"; then
5398 ac_path_EGREP_found
=false
5399 # Loop through the user's path and test for each of PROGNAME-LIST
5400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5401 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5404 test -z "$as_dir" && as_dir
=.
5405 for ac_prog
in egrep; do
5406 for ac_exec_ext
in '' $ac_executable_extensions; do
5407 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5408 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5409 # Check for GNU ac_path_EGREP and select it if it is found.
5410 # Check for GNU $ac_path_EGREP
5411 case `"$ac_path_EGREP" --version 2>&1` in
5413 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5416 $as_echo_n 0123456789 >"conftest.in"
5419 cat "conftest.in" "conftest.in" >"conftest.tmp"
5420 mv "conftest.tmp" "conftest.in"
5421 cp "conftest.in" "conftest.nl"
5422 $as_echo 'EGREP' >> "conftest.nl"
5423 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5424 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5425 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5426 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5427 # Best one so far, save it but keep looking for a better one
5428 ac_cv_path_EGREP
="$ac_path_EGREP"
5429 ac_path_EGREP_max
=$ac_count
5431 # 10*(2^10) chars as input seems more than enough
5432 test $ac_count -gt 10 && break
5434 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5437 $ac_path_EGREP_found && break 3
5442 if test -z "$ac_cv_path_EGREP"; then
5443 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5446 ac_cv_path_EGREP
=$EGREP
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5452 $as_echo "$ac_cv_path_EGREP" >&6; }
5453 EGREP
="$ac_cv_path_EGREP"
5456 # Extract the first word of "ldconfig", so it can be a program name with args.
5457 set dummy ldconfig
; ac_word
=$2
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5459 $as_echo_n "checking for $ac_word... " >&6; }
5460 if ${ac_cv_path_LDCONFIG+:} false
; then :
5461 $as_echo_n "(cached) " >&6
5465 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5469 for as_dir
in /sbin
/usr
/sbin
$PATH
5472 test -z "$as_dir" && as_dir
=.
5473 for ac_exec_ext
in '' $ac_executable_extensions; do
5474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5483 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5487 LDCONFIG
=$ac_cv_path_LDCONFIG
5488 if test -n "$LDCONFIG"; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5490 $as_echo "$LDCONFIG" >&6; }
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493 $as_echo "no" >&6; }
5497 for ac_prog
in msgfmt
5499 # Extract the first word of "$ac_prog", so it can be a program name with args.
5500 set dummy
$ac_prog; ac_word
=$2
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5502 $as_echo_n "checking for $ac_word... " >&6; }
5503 if ${ac_cv_prog_MSGFMT+:} false
; then :
5504 $as_echo_n "(cached) " >&6
5506 if test -n "$MSGFMT"; then
5507 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5513 test -z "$as_dir" && as_dir
=.
5514 for ac_exec_ext
in '' $ac_executable_extensions; do
5515 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5516 ac_cv_prog_MSGFMT
="$ac_prog"
5517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5526 MSGFMT
=$ac_cv_prog_MSGFMT
5527 if test -n "$MSGFMT"; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5529 $as_echo "$MSGFMT" >&6; }
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5536 test -n "$MSGFMT" && break
5538 test -n "$MSGFMT" || MSGFMT
="false"
5540 if ${ac_tool_prefix+:} false
; then :
5541 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5542 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5544 $as_echo_n "checking for $ac_word... " >&6; }
5545 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5546 $as_echo_n "(cached) " >&6
5548 if test -n "$PKG_CONFIG"; then
5549 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5555 test -z "$as_dir" && as_dir
=.
5556 for ac_exec_ext
in '' $ac_executable_extensions; do
5557 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5558 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5568 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5569 if test -n "$PKG_CONFIG"; then
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5571 $as_echo "$PKG_CONFIG" >&6; }
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5574 $as_echo "no" >&6; }
5579 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5580 if test "x$cross_compiling" = xyes
; then :
5583 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5584 # Extract the first word of "pkg-config", so it can be a program name with args.
5585 set dummy pkg-config
; ac_word
=$2
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5587 $as_echo_n "checking for $ac_word... " >&6; }
5588 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5589 $as_echo_n "(cached) " >&6
5591 if test -n "$PKG_CONFIG"; then
5592 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5598 test -z "$as_dir" && as_dir
=.
5599 for ac_exec_ext
in '' $ac_executable_extensions; do
5600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5601 ac_cv_prog_PKG_CONFIG
="pkg-config"
5602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5611 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5612 if test -n "$PKG_CONFIG"; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5614 $as_echo "$PKG_CONFIG" >&6; }
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5617 $as_echo "no" >&6; }
5623 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5626 if test "x$enable_maintainer_mode" != "xyes"
5633 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5634 for ac_prog
in fontforge
5636 # Extract the first word of "$ac_prog", so it can be a program name with args.
5637 set dummy
$ac_prog; ac_word
=$2
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639 $as_echo_n "checking for $ac_word... " >&6; }
5640 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5641 $as_echo_n "(cached) " >&6
5643 if test -n "$FONTFORGE"; then
5644 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5650 test -z "$as_dir" && as_dir
=.
5651 for ac_exec_ext
in '' $ac_executable_extensions; do
5652 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5653 ac_cv_prog_FONTFORGE
="$ac_prog"
5654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5663 FONTFORGE
=$ac_cv_prog_FONTFORGE
5664 if test -n "$FONTFORGE"; then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5666 $as_echo "$FONTFORGE" >&6; }
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 $as_echo "no" >&6; }
5673 test -n "$FONTFORGE" && break
5675 test -n "$FONTFORGE" || FONTFORGE
="false"
5679 # Extract the first word of "$ac_prog", so it can be a program name with args.
5680 set dummy
$ac_prog; ac_word
=$2
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5682 $as_echo_n "checking for $ac_word... " >&6; }
5683 if ${ac_cv_prog_RSVG+:} false
; then :
5684 $as_echo_n "(cached) " >&6
5686 if test -n "$RSVG"; then
5687 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5693 test -z "$as_dir" && as_dir
=.
5694 for ac_exec_ext
in '' $ac_executable_extensions; do
5695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5696 ac_cv_prog_RSVG
="$ac_prog"
5697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5706 RSVG
=$ac_cv_prog_RSVG
5707 if test -n "$RSVG"; then
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5709 $as_echo "$RSVG" >&6; }
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }
5716 test -n "$RSVG" && break
5718 test -n "$RSVG" || RSVG
="false"
5720 for ac_prog
in convert
5722 # Extract the first word of "$ac_prog", so it can be a program name with args.
5723 set dummy
$ac_prog; ac_word
=$2
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5725 $as_echo_n "checking for $ac_word... " >&6; }
5726 if ${ac_cv_prog_CONVERT+:} false
; then :
5727 $as_echo_n "(cached) " >&6
5729 if test -n "$CONVERT"; then
5730 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5736 test -z "$as_dir" && as_dir
=.
5737 for ac_exec_ext
in '' $ac_executable_extensions; do
5738 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5739 ac_cv_prog_CONVERT
="$ac_prog"
5740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5749 CONVERT
=$ac_cv_prog_CONVERT
5750 if test -n "$CONVERT"; then
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5752 $as_echo "$CONVERT" >&6; }
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5755 $as_echo "no" >&6; }
5759 test -n "$CONVERT" && break
5761 test -n "$CONVERT" || CONVERT
="false"
5763 for ac_prog
in icotool
5765 # Extract the first word of "$ac_prog", so it can be a program name with args.
5766 set dummy
$ac_prog; ac_word
=$2
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5768 $as_echo_n "checking for $ac_word... " >&6; }
5769 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5770 $as_echo_n "(cached) " >&6
5772 if test -n "$ICOTOOL"; then
5773 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5779 test -z "$as_dir" && as_dir
=.
5780 for ac_exec_ext
in '' $ac_executable_extensions; do
5781 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5782 ac_cv_prog_ICOTOOL
="$ac_prog"
5783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5792 ICOTOOL
=$ac_cv_prog_ICOTOOL
5793 if test -n "$ICOTOOL"; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5795 $as_echo "$ICOTOOL" >&6; }
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5798 $as_echo "no" >&6; }
5802 test -n "$ICOTOOL" && break
5804 test -n "$ICOTOOL" || ICOTOOL
="false"
5806 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5807 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5809 if test "$CONVERT" = false
5811 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5814 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5815 convert_version
=`convert --version | head -n1`
5816 if test "x$convert_version" != "x"
5818 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5819 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5820 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5825 if test "$CONVERT" = false
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5828 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5829 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5832 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5836 if test "$ICOTOOL" = false
5838 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5841 $as_echo_n "checking for recent enough icotool... " >&6; }
5842 icotool_version
=`icotool --version | head -n1`
5843 if test "x$icotool_version" != "x"
5845 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5846 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5847 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5850 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5853 if test "$ICOTOOL" = false
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5856 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5857 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5860 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5866 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5869 test "x$with_gettext" != xno || MSGFMT
=false
5870 if test "$MSGFMT" != "false"
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5873 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5874 cat >conftest.po
<<EOF
5880 if $MSGFMT -o /dev
/null conftest.po
2>&5
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5883 $as_echo "yes" >&6; }
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5890 if test "$MSGFMT" = false
; then :
5891 case "x$with_gettext" in
5892 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5894 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5895 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5901 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5902 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5903 $as_echo_n "(cached) " >&6
5905 ac_check_lib_save_LIBS
=$LIBS
5907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5908 /* end confdefs.h. */
5910 /* Override any GCC internal prototype to avoid an error.
5911 Use char because int might match the return type of a GCC
5912 builtin and then its argument prototype would still apply. */
5916 char i386_set_ldt ();
5920 return i386_set_ldt ();
5925 if ac_fn_c_try_link
"$LINENO"; then :
5926 ac_cv_lib_i386_i386_set_ldt
=yes
5928 ac_cv_lib_i386_i386_set_ldt
=no
5930 rm -f core conftest.err conftest.
$ac_objext \
5931 conftest
$ac_exeext conftest.
$ac_ext
5932 LIBS
=$ac_check_lib_save_LIBS
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5935 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5936 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5937 cat >>confdefs.h
<<_ACEOF
5938 #define HAVE_LIBI386 1
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5946 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5947 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5948 $as_echo_n "(cached) " >&6
5950 ac_check_lib_save_LIBS
=$LIBS
5951 LIBS
="-lossaudio $LIBS"
5952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5953 /* end confdefs.h. */
5955 /* Override any GCC internal prototype to avoid an error.
5956 Use char because int might match the return type of a GCC
5957 builtin and then its argument prototype would still apply. */
5965 return _oss_ioctl ();
5970 if ac_fn_c_try_link
"$LINENO"; then :
5971 ac_cv_lib_ossaudio__oss_ioctl
=yes
5973 ac_cv_lib_ossaudio__oss_ioctl
=no
5975 rm -f core conftest.err conftest.
$ac_objext \
5976 conftest
$ac_exeext conftest.
$ac_ext
5977 LIBS
=$ac_check_lib_save_LIBS
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5980 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5981 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5982 cat >>confdefs.h
<<_ACEOF
5983 #define HAVE_LIBOSSAUDIO 1
5986 LIBS
="-lossaudio $LIBS"
5995 # Check whether --enable-largefile was given.
5996 if test "${enable_largefile+set}" = set; then :
5997 enableval
=$enable_largefile;
6000 if test "$enable_largefile" != no
; then
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6003 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6004 if ${ac_cv_sys_largefile_CC+:} false
; then :
6005 $as_echo_n "(cached) " >&6
6007 ac_cv_sys_largefile_CC
=no
6008 if test "$GCC" != yes; then
6011 # IRIX 6.2 and later do not support large files by default,
6012 # so use the C compiler's -n32 option if that helps.
6013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6014 /* end confdefs.h. */
6015 #include <sys/types.h>
6016 /* Check that off_t can represent 2**63 - 1 correctly.
6017 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6018 since some C++ compilers masquerading as C compilers
6019 incorrectly reject 9223372036854775807. */
6020 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6021 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6022 && LARGE_OFF_T % 2147483647 == 1)
6032 if ac_fn_c_try_compile
"$LINENO"; then :
6035 rm -f core conftest.err conftest.
$ac_objext
6037 if ac_fn_c_try_compile
"$LINENO"; then :
6038 ac_cv_sys_largefile_CC
=' -n32'; break
6040 rm -f core conftest.err conftest.
$ac_objext
6044 rm -f conftest.
$ac_ext
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6048 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6049 if test "$ac_cv_sys_largefile_CC" != no
; then
6050 CC
=$CC$ac_cv_sys_largefile_CC
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6054 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6055 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6056 $as_echo_n "(cached) " >&6
6059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6060 /* end confdefs.h. */
6061 #include <sys/types.h>
6062 /* Check that off_t can represent 2**63 - 1 correctly.
6063 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6064 since some C++ compilers masquerading as C compilers
6065 incorrectly reject 9223372036854775807. */
6066 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6067 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6068 && LARGE_OFF_T % 2147483647 == 1)
6078 if ac_fn_c_try_compile
"$LINENO"; then :
6079 ac_cv_sys_file_offset_bits
=no
; break
6081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6083 /* end confdefs.h. */
6084 #define _FILE_OFFSET_BITS 64
6085 #include <sys/types.h>
6086 /* Check that off_t can represent 2**63 - 1 correctly.
6087 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6088 since some C++ compilers masquerading as C compilers
6089 incorrectly reject 9223372036854775807. */
6090 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6091 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6092 && LARGE_OFF_T % 2147483647 == 1)
6102 if ac_fn_c_try_compile
"$LINENO"; then :
6103 ac_cv_sys_file_offset_bits
=64; break
6105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6106 ac_cv_sys_file_offset_bits
=unknown
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6111 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6112 case $ac_cv_sys_file_offset_bits in #(
6115 cat >>confdefs.h
<<_ACEOF
6116 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6121 if test $ac_cv_sys_file_offset_bits = unknown
; then
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6123 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6124 if ${ac_cv_sys_large_files+:} false
; then :
6125 $as_echo_n "(cached) " >&6
6128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6129 /* end confdefs.h. */
6130 #include <sys/types.h>
6131 /* Check that off_t can represent 2**63 - 1 correctly.
6132 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6133 since some C++ compilers masquerading as C compilers
6134 incorrectly reject 9223372036854775807. */
6135 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6136 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6137 && LARGE_OFF_T % 2147483647 == 1)
6147 if ac_fn_c_try_compile
"$LINENO"; then :
6148 ac_cv_sys_large_files
=no
; break
6150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6152 /* end confdefs.h. */
6153 #define _LARGE_FILES 1
6154 #include <sys/types.h>
6155 /* Check that off_t can represent 2**63 - 1 correctly.
6156 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6157 since some C++ compilers masquerading as C compilers
6158 incorrectly reject 9223372036854775807. */
6159 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6160 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6161 && LARGE_OFF_T % 2147483647 == 1)
6171 if ac_fn_c_try_compile
"$LINENO"; then :
6172 ac_cv_sys_large_files
=1; break
6174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6175 ac_cv_sys_large_files
=unknown
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6180 $as_echo "$ac_cv_sys_large_files" >&6; }
6181 case $ac_cv_sys_large_files in #(
6184 cat >>confdefs.h
<<_ACEOF
6185 #define _LARGE_FILES $ac_cv_sys_large_files
6197 ac_cpp
='$CPP $CPPFLAGS'
6198 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6199 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6200 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6202 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6203 # On Suns, sometimes $CPP names a directory.
6204 if test -n "$CPP" && test -d "$CPP"; then
6207 if test -z "$CPP"; then
6208 if ${ac_cv_prog_CPP+:} false
; then :
6209 $as_echo_n "(cached) " >&6
6211 # Double quotes because CPP needs to be expanded
6212 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6215 for ac_c_preproc_warn_flag
in '' yes
6217 # Use a header file that comes with gcc, so configuring glibc
6218 # with a fresh cross-compiler works.
6219 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6220 # <limits.h> exists even on freestanding compilers.
6221 # On the NeXT, cc -E runs the code through the compiler's parser,
6222 # not just through cpp. "Syntax error" is here to catch this case.
6223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6224 /* end confdefs.h. */
6226 # include <limits.h>
6228 # include <assert.h>
6232 if ac_fn_c_try_cpp
"$LINENO"; then :
6235 # Broken: fails on valid input.
6238 rm -f conftest.err conftest.i conftest.
$ac_ext
6240 # OK, works on sane cases. Now check whether nonexistent headers
6241 # can be detected and how.
6242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6244 #include <ac_nonexistent.h>
6246 if ac_fn_c_try_cpp
"$LINENO"; then :
6247 # Broken: success on invalid input.
6250 # Passes both tests.
6254 rm -f conftest.err conftest.i conftest.
$ac_ext
6257 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6258 rm -f conftest.i conftest.err conftest.
$ac_ext
6259 if $ac_preproc_ok; then :
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6272 $as_echo "$CPP" >&6; }
6274 for ac_c_preproc_warn_flag
in '' yes
6276 # Use a header file that comes with gcc, so configuring glibc
6277 # with a fresh cross-compiler works.
6278 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6279 # <limits.h> exists even on freestanding compilers.
6280 # On the NeXT, cc -E runs the code through the compiler's parser,
6281 # not just through cpp. "Syntax error" is here to catch this case.
6282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6283 /* end confdefs.h. */
6285 # include <limits.h>
6287 # include <assert.h>
6291 if ac_fn_c_try_cpp
"$LINENO"; then :
6294 # Broken: fails on valid input.
6297 rm -f conftest.err conftest.i conftest.
$ac_ext
6299 # OK, works on sane cases. Now check whether nonexistent headers
6300 # can be detected and how.
6301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6302 /* end confdefs.h. */
6303 #include <ac_nonexistent.h>
6305 if ac_fn_c_try_cpp
"$LINENO"; then :
6306 # Broken: success on invalid input.
6309 # Passes both tests.
6313 rm -f conftest.err conftest.i conftest.
$ac_ext
6316 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6317 rm -f conftest.i conftest.err conftest.
$ac_ext
6318 if $ac_preproc_ok; then :
6321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6323 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6324 See \`config.log' for more details" "$LINENO" 5; }
6328 ac_cpp
='$CPP $CPPFLAGS'
6329 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6330 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6331 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6335 $as_echo_n "checking for ANSI C header files... " >&6; }
6336 if ${ac_cv_header_stdc+:} false
; then :
6337 $as_echo_n "(cached) " >&6
6339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6340 /* end confdefs.h. */
6354 if ac_fn_c_try_compile
"$LINENO"; then :
6355 ac_cv_header_stdc
=yes
6357 ac_cv_header_stdc
=no
6359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6361 if test $ac_cv_header_stdc = yes; then
6362 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6369 $EGREP "memchr" >/dev
/null
2>&1; then :
6372 ac_cv_header_stdc
=no
6378 if test $ac_cv_header_stdc = yes; then
6379 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6386 $EGREP "free" >/dev
/null
2>&1; then :
6389 ac_cv_header_stdc
=no
6395 if test $ac_cv_header_stdc = yes; then
6396 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6397 if test "$cross_compiling" = yes; then :
6400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6401 /* end confdefs.h. */
6404 #if ((' ' & 0x0FF) == 0x020)
6405 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6406 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6408 # define ISLOWER(c) \
6409 (('a' <= (c) && (c) <= 'i') \
6410 || ('j' <= (c) && (c) <= 'r') \
6411 || ('s' <= (c) && (c) <= 'z'))
6412 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6415 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6420 for (i = 0; i < 256; i++)
6421 if (XOR (islower (i), ISLOWER (i))
6422 || toupper (i) != TOUPPER (i))
6427 if ac_fn_c_try_run
"$LINENO"; then :
6430 ac_cv_header_stdc
=no
6432 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6433 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6439 $as_echo "$ac_cv_header_stdc" >&6; }
6440 if test $ac_cv_header_stdc = yes; then
6442 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6446 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6447 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6448 inttypes.h stdint.h unistd.h
6450 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6451 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6453 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6454 cat >>confdefs.h
<<_ACEOF
6455 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6465 ApplicationServices
/ApplicationServices.h \
6466 AudioToolbox
/AudioConverter.h \
6467 AudioUnit
/AudioUnit.h \
6468 AudioUnit
/AudioComponent.h \
6471 CoreAudio
/CoreAudio.h \
6472 CoreServices
/CoreServices.h \
6473 DiskArbitration
/DiskArbitration.h \
6475 IOKit
/hid
/IOHIDLib.h \
6478 QuickTime
/ImageCompression.h \
6479 Security
/Security.h \
6530 netinet
/in_systm.h \
6592 valgrind
/memcheck.h \
6593 valgrind
/valgrind.h \
6597 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6598 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6599 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6600 cat >>confdefs.h
<<_ACEOF
6601 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6609 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6610 if ${ac_cv_header_stat_broken+:} false
; then :
6611 $as_echo_n "(cached) " >&6
6613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6614 /* end confdefs.h. */
6615 #include <sys/types.h>
6616 #include <sys/stat.h>
6618 #if defined S_ISBLK && defined S_IFDIR
6619 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6622 #if defined S_ISBLK && defined S_IFCHR
6623 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6626 #if defined S_ISLNK && defined S_IFREG
6627 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6630 #if defined S_ISSOCK && defined S_IFREG
6631 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6635 if ac_fn_c_try_compile
"$LINENO"; then :
6636 ac_cv_header_stat_broken
=no
6638 ac_cv_header_stat_broken
=yes
6640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6643 $as_echo "$ac_cv_header_stat_broken" >&6; }
6644 if test $ac_cv_header_stat_broken = yes; then
6646 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6652 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6654 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6655 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6656 #ifdef HAVE_SYS_PARAM_H
6657 # include <sys/param.h>
6660 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6661 cat >>confdefs.h
<<_ACEOF
6662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6677 netinet
/if_ether.h \
6678 netinet
/if_inarp.h \
6687 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6688 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6689 #ifdef HAVE_SYS_SOCKET_H
6690 # include <sys/socket.h>
6692 #ifdef HAVE_SYS_SOCKETVAR_H
6693 # include <sys/socketvar.h>
6695 #ifdef HAVE_NET_ROUTE_H
6696 # include <net/route.h>
6698 #ifdef HAVE_NETINET_IN_H
6699 # include <netinet/in.h>
6701 #ifdef HAVE_NETINET_IN_SYSTM_H
6702 # include <netinet/in_systm.h>
6704 #ifdef HAVE_NET_IF_H
6705 # include <net/if.h>
6707 #ifdef HAVE_NETINET_IP_H
6708 # include <netinet/ip.h>
6711 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6712 cat >>confdefs.h
<<_ACEOF
6713 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6721 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6723 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6724 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6728 #ifdef HAVE_SYS_SOCKET_H
6729 # include <sys/socket.h>
6731 #ifdef HAVE_SYS_SOCKETVAR_H
6732 # include <sys/socketvar.h>
6734 #ifdef HAVE_SYS_TIMEOUT_H
6735 # include <sys/timeout.h>
6737 #ifdef HAVE_NETINET_IN_H
6738 # include <netinet/in.h>
6740 #ifdef HAVE_NETINET_IN_SYSTM_H
6741 # include <netinet/in_systm.h>
6743 #ifdef HAVE_NETINET_IP_H
6744 # include <netinet/ip.h>
6746 #ifdef HAVE_NETINET_IP_VAR_H
6747 # include <netinet/ip_var.h>
6749 #ifdef HAVE_NETINET_IP_ICMP_H
6750 # include <netinet/ip_icmp.h>
6752 #ifdef HAVE_NETINET_UDP_H
6753 # include <netinet/udp.h>
6755 #ifdef HAVE_NETINET_TCP_H
6756 # include <netinet/tcp.h>
6758 #ifdef HAVE_NETINET_TCP_TIMER_H
6759 #include <netinet/tcp_timer.h>
6762 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6763 cat >>confdefs.h
<<_ACEOF
6764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6772 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6774 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6775 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6776 #ifdef HAVE_ASM_TYPES_H
6777 # include <asm/types.h>
6779 #ifdef HAVE_SYS_SOCKET_H
6780 # include <sys/socket.h>
6782 #ifdef HAVE_LINUX_TYPES_H
6783 # include <linux/types.h>
6786 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6787 cat >>confdefs.h
<<_ACEOF
6788 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6796 for ac_header
in mach-o
/dyld_images.h
6798 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6799 # include <stdbool.h>
6801 #ifdef HAVE_STDINT_H
6802 # include <stdint.h>
6805 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6806 cat >>confdefs.h
<<_ACEOF
6807 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6815 for ac_header
in resolv.h
6817 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6818 #ifdef HAVE_SYS_SOCKET_H
6819 # include <sys/socket.h>
6821 #ifdef HAVE_NETINET_IN_H
6822 # include <netinet/in.h>
6824 #ifdef HAVE_ARPA_NAMESER_H
6825 # include <arpa/nameser.h>
6828 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6829 cat >>confdefs.h
<<_ACEOF
6830 #define HAVE_RESOLV_H 1
6838 for ac_header
in ifaddrs.h
6840 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6842 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6843 cat >>confdefs.h
<<_ACEOF
6844 #define HAVE_IFADDRS_H 1
6852 for ac_header
in sys
/ucontext.h
6854 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6856 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6857 cat >>confdefs.h
<<_ACEOF
6858 #define HAVE_SYS_UCONTEXT_H 1
6866 for ac_header
in sys
/thr.h
6868 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6869 #ifdef HAVE_SYS_UCONTEXT_H
6870 #include <sys/ucontext.h>
6873 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6874 cat >>confdefs.h
<<_ACEOF
6875 #define HAVE_SYS_THR_H 1
6883 for ac_header
in pthread_np.h
6885 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6886 #include <pthread.h>
6889 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6890 cat >>confdefs.h
<<_ACEOF
6891 #define HAVE_PTHREAD_NP_H 1
6899 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6901 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6902 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6903 #include <sys/time.h>
6905 #include <sys/types.h>
6906 #ifdef HAVE_ASM_TYPES_H
6907 #include <asm/types.h>
6910 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6911 cat >>confdefs.h
<<_ACEOF
6912 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6920 for ac_header
in libprocstat.h
6922 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6923 #include <sys/param.h>
6925 #ifdef HAVE_SYS_QUEUE_H
6926 #include <sys/queue.h>
6928 #ifdef HAVE_SYS_SOCKET_H
6929 #include <sys/socket.h>
6932 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6933 cat >>confdefs.h
<<_ACEOF
6934 #define HAVE_LIBPROCSTAT_H 1
6943 dlldir
="\${libdir}/wine"
6947 DLLFLAGS
="-D_REENTRANT"
6956 STATIC_IMPLIBEXT
="def.a"
6957 # Extract the first word of "ldd", so it can be a program name with args.
6958 set dummy ldd
; ac_word
=$2
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6960 $as_echo_n "checking for $ac_word... " >&6; }
6961 if ${ac_cv_path_LDD+:} false
; then :
6962 $as_echo_n "(cached) " >&6
6966 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6970 as_dummy
="/sbin:/usr/sbin:$PATH"
6971 for as_dir
in $as_dummy
6974 test -z "$as_dir" && as_dir
=.
6975 for ac_exec_ext
in '' $ac_executable_extensions; do
6976 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6977 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6985 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6990 if test -n "$LDD"; then
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6992 $as_echo "$LDD" >&6; }
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6995 $as_echo "no" >&6; }
6999 if test -n "$ac_tool_prefix"; then
7000 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7001 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7003 $as_echo_n "checking for $ac_word... " >&6; }
7004 if ${ac_cv_prog_READELF+:} false
; then :
7005 $as_echo_n "(cached) " >&6
7007 if test -n "$READELF"; then
7008 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7014 test -z "$as_dir" && as_dir
=.
7015 for ac_exec_ext
in '' $ac_executable_extensions; do
7016 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7017 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7027 READELF
=$ac_cv_prog_READELF
7028 if test -n "$READELF"; then
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7030 $as_echo "$READELF" >&6; }
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7033 $as_echo "no" >&6; }
7038 if test -z "$ac_cv_prog_READELF"; then
7039 ac_ct_READELF
=$READELF
7040 # Extract the first word of "readelf", so it can be a program name with args.
7041 set dummy readelf
; ac_word
=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 $as_echo_n "checking for $ac_word... " >&6; }
7044 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7045 $as_echo_n "(cached) " >&6
7047 if test -n "$ac_ct_READELF"; then
7048 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7054 test -z "$as_dir" && as_dir
=.
7055 for ac_exec_ext
in '' $ac_executable_extensions; do
7056 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7057 ac_cv_prog_ac_ct_READELF
="readelf"
7058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7067 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7068 if test -n "$ac_ct_READELF"; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7070 $as_echo "$ac_ct_READELF" >&6; }
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073 $as_echo "no" >&6; }
7076 if test "x$ac_ct_READELF" = x
; then
7079 case $cross_compiling:$ac_tool_warned in
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7083 ac_tool_warned
=yes ;;
7085 READELF
=$ac_ct_READELF
7088 READELF
="$ac_cv_prog_READELF"
7091 wine_rules_file
=conf$
$rules.
make
7092 rm -f $wine_rules_file
7094 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7095 ALL_TEST_RESOURCES
=""
7098 wine_fn_append_file
()
7100 as_fn_append
$1 " \\$as_nl $2"
7103 wine_fn_ignore_file
()
7106 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7107 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7108 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7112 wine_fn_append_rule
()
7114 $as_echo "$1" >>$wine_rules_file
7119 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7122 wine_fn_depend_rules
()
7124 wine_fn_append_rule \
7125 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7126 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7127 depend: $ac_dir/depend
7128 .PHONY: $ac_dir/depend
7129 $ac_dir/depend: \$(MAKEDEP) dummy
7130 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7133 wine_fn_pot_rules
()
7135 test "x$with_gettextpo" = xyes ||
return
7137 if wine_fn_has_flag mc
7139 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7140 wine_fn_append_rule \
7141 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7142 @cd $ac_dir && \$(MAKE) msg.pot
7143 $ac_dir/msg.pot: tools/wmc include"
7145 if wine_fn_has_flag po
7147 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7148 wine_fn_append_rule \
7149 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7150 @cd $ac_dir && \$(MAKE) rsrc.pot
7151 $ac_dir/rsrc.pot: tools/wrc include"
7155 wine_fn_all_rules
()
7157 wine_fn_depend_rules
7158 wine_fn_append_rule \
7161 $ac_dir: $ac_dir/Makefile dummy
7162 @cd $ac_dir && \$(MAKE)"
7165 wine_fn_install_rules
()
7167 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7169 wine_fn_append_rule \
7170 ".PHONY: $ac_dir/install $ac_dir/uninstall
7171 $ac_dir/install:: $ac_dir
7172 @cd $ac_dir && \$(MAKE) install
7173 $ac_dir/uninstall:: $ac_dir/Makefile
7174 @cd $ac_dir && \$(MAKE) uninstall
7175 install:: $ac_dir/install
7176 __uninstall__: $ac_dir/uninstall"
7178 if wine_fn_has_flag install-lib
7180 wine_fn_append_rule \
7181 ".PHONY: $ac_dir/install-lib
7182 $ac_dir/install-lib:: $ac_dir
7183 @cd $ac_dir && \$(MAKE) install-lib
7184 install-lib:: $ac_dir/install-lib"
7187 if wine_fn_has_flag install-dev
7189 wine_fn_append_rule \
7190 ".PHONY: $ac_dir/install-dev
7191 $ac_dir/install-dev:: $ac_dir
7192 @cd $ac_dir && \$(MAKE) install-dev
7193 install-dev:: $ac_dir/install-dev"
7197 wine_fn_clean_rules
()
7200 ac_extraclean
="$ac_dir/Makefile"
7201 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7203 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7206 if wine_fn_has_flag clean
7208 wine_fn_append_rule \
7209 "__clean__: $ac_dir/clean
7210 .PHONY: $ac_dir/clean
7211 $ac_dir/clean: $ac_dir/Makefile
7212 @cd $ac_dir && \$(MAKE) clean
7213 \$(RM) $ac_extraclean"
7215 wine_fn_append_rule \
7216 "__clean__: $ac_dir/clean
7217 .PHONY: $ac_dir/clean
7218 $ac_dir/clean: dummy
7219 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7223 wine_fn_disabled_rules
()
7226 ac_extraclean
="$ac_dir/Makefile"
7227 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7229 wine_fn_append_rule \
7230 "__clean__: $ac_dir/clean
7231 .PHONY: $ac_dir/clean
7232 $ac_dir/clean: dummy
7233 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7236 wine_fn_config_makefile
()
7242 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7243 wine_fn_disabled_rules
; return
7246 wine_fn_install_rules
7250 wine_fn_config_lib
()
7254 ac_dir
=dlls
/$ac_name
7257 if test "x$enable_tools" = xno
; then :
7260 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7265 wine_fn_append_rule \
7266 ".PHONY: $ac_dir/install $ac_dir/uninstall
7267 $ac_dir/install:: $ac_dir
7268 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7270 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7271 install install-dev:: $ac_dir/install
7272 __uninstall__: $ac_dir/uninstall
7273 __builddeps__: $ac_dir
7277 wine_fn_config_dll
()
7280 ac_dir
=dlls
/$ac_name
7283 ac_implib
=${4:-$ac_name}
7284 ac_file
=$ac_dir/lib
$ac_implib
7289 if test "x$enable_tools" = xno
; then :
7292 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7295 *16) ac_implibflags
=" -m16" ;;
7297 *) ac_dll
=$ac_dll.dll
;;
7301 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7302 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7303 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7304 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7306 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7307 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7309 wine_fn_depend_rules
7310 wine_fn_clean_rules
$ac_clean
7312 wine_fn_disabled_rules
$ac_clean
7317 wine_fn_clean_rules
$ac_clean
7318 wine_fn_append_rule \
7319 "$ac_dir: __builddeps__
7320 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7321 @cd $ac_dir && \$(MAKE) \$@
7322 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7323 install install-lib:: $ac_dir/install-lib
7324 __uninstall__: $ac_dir/uninstall"
7325 if test -n "$DLLEXT"
7327 wine_fn_append_rule \
7328 "$ac_dir/install-lib:: $ac_dir
7329 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7330 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7332 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7334 wine_fn_append_rule \
7335 "$ac_dir/install-lib:: $ac_dir
7336 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7338 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7344 if wine_fn_has_flag staticimplib
7346 wine_fn_append_rule \
7347 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7348 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7349 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7350 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7351 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7352 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7353 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7354 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7355 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7357 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7358 install install-dev:: $ac_dir/install-dev
7359 __uninstall__: $ac_dir/uninstall"
7361 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7363 wine_fn_append_rule \
7364 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7365 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7367 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7370 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7372 wine_fn_append_rule \
7373 "__builddeps__: $ac_file.cross.a
7374 $ac_file.cross.a: $ac_dir/Makefile dummy
7375 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7378 elif wine_fn_has_flag implib
7380 wine_fn_append_rule \
7381 "__builddeps__: $ac_file.$IMPLIBEXT
7382 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7383 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7384 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7385 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7386 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7387 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7388 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7390 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7391 install install-dev:: $ac_dir/install-dev
7392 __uninstall__: $ac_dir/uninstall"
7393 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7395 wine_fn_append_rule \
7396 "__builddeps__: $ac_file.cross.a
7397 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7398 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7401 if test "$ac_name" != "$ac_implib"
7403 wine_fn_append_rule \
7404 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7405 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7406 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7408 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7409 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7410 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7412 wine_fn_append_rule \
7413 "__builddeps__: dlls/lib$ac_implib.cross.a
7414 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7415 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7417 \$(RM) dlls/lib$ac_implib.cross.a"
7418 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7424 wine_fn_config_program
()
7427 ac_dir
=programs
/$ac_name
7434 *) ac_program
=$ac_program.exe
;;
7438 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7439 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7440 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7441 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7443 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7444 wine_fn_disabled_rules
$ac_clean; return
7448 wine_fn_clean_rules
$ac_clean
7449 wine_fn_append_rule
"$ac_dir: __builddeps__"
7452 wine_fn_has_flag
install ||
return
7453 wine_fn_append_rule \
7454 ".PHONY: $ac_dir/install $ac_dir/uninstall
7455 install install-lib:: $ac_dir/install
7456 __uninstall__: $ac_dir/uninstall"
7458 if test -n "$DLLEXT"
7460 wine_fn_append_rule \
7461 "$ac_dir/install:: $ac_dir
7462 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7463 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7465 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7467 if test -z "$with_wine64" && wine_fn_has_flag installbin
7469 wine_fn_append_rule \
7470 "$ac_dir/install:: __tooldeps__
7471 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7473 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7476 wine_fn_append_rule \
7477 "$ac_dir/install:: $ac_dir
7478 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7480 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7483 if test -z "$with_wine64" && wine_fn_has_flag manpage
7485 wine_fn_append_rule \
7486 "$ac_dir/install:: $ac_dir
7487 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7489 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7493 wine_fn_config_test
()
7500 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7501 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7503 if test "x$enable_tests" = xno
; then :
7504 wine_fn_disabled_rules
$ac_clean; return
7507 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7509 wine_fn_clean_rules
$ac_clean
7511 wine_fn_append_rule \
7512 "$ac_dir: programs/winetest/Makefile __builddeps__
7513 programs/winetest: $ac_dir
7514 check test: $ac_dir/test
7515 .PHONY: $ac_dir/test
7517 @cd $ac_dir && \$(MAKE) test
7519 \$(RM) $ac_dir/*.ok"
7521 if test -n "$CROSSTARGET"
7523 wine_fn_append_rule \
7524 "crosstest: $ac_dir/crosstest
7525 .PHONY: $ac_dir/crosstest
7526 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7527 @cd $ac_dir && \$(MAKE) crosstest"
7531 wine_fn_config_tool
()
7535 if test "x$enable_tools" = xno
; then :
7540 wine_fn_install_rules
7543 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7544 wine_fn_append_rule
"$ac_dir: libs/port"
7546 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7550 wine_fn_config_symlink
()
7553 if test "x$1" = "x-d"
7559 wine_fn_append_rule \
7561 @./config.status \$@
7564 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7565 test -n "$ac_linkdir" ||
return
7566 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7570 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7571 loader_programs
="$wine_binary wine-installed"
7572 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7577 install install-lib:: wine-installed
7578 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7581 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7587 if test -n "$ac_tool_prefix"; then
7588 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7589 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7591 $as_echo_n "checking for $ac_word... " >&6; }
7592 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7593 $as_echo_n "(cached) " >&6
7595 if test -n "$DLLTOOL"; then
7596 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7602 test -z "$as_dir" && as_dir
=.
7603 for ac_exec_ext
in '' $ac_executable_extensions; do
7604 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7605 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7615 DLLTOOL
=$ac_cv_prog_DLLTOOL
7616 if test -n "$DLLTOOL"; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7618 $as_echo "$DLLTOOL" >&6; }
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7621 $as_echo "no" >&6; }
7626 if test -z "$ac_cv_prog_DLLTOOL"; then
7627 ac_ct_DLLTOOL
=$DLLTOOL
7628 # Extract the first word of "dlltool", so it can be a program name with args.
7629 set dummy dlltool
; ac_word
=$2
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7631 $as_echo_n "checking for $ac_word... " >&6; }
7632 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7633 $as_echo_n "(cached) " >&6
7635 if test -n "$ac_ct_DLLTOOL"; then
7636 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7642 test -z "$as_dir" && as_dir
=.
7643 for ac_exec_ext
in '' $ac_executable_extensions; do
7644 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7645 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7655 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7656 if test -n "$ac_ct_DLLTOOL"; then
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7658 $as_echo "$ac_ct_DLLTOOL" >&6; }
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7661 $as_echo "no" >&6; }
7664 if test "x$ac_ct_DLLTOOL" = x
; then
7667 case $cross_compiling:$ac_tool_warned in
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7671 ac_tool_warned
=yes ;;
7673 DLLTOOL
=$ac_ct_DLLTOOL
7676 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7682 STATIC_IMPLIBEXT
="a"
7683 enable_iphlpapi
=${enable_iphlpapi:-no}
7684 enable_kernel32
=${enable_kernel32:-no}
7685 enable_msvcrt
=${enable_msvcrt:-no}
7686 enable_ntdll
=${enable_ntdll:-no}
7687 enable_ws2_32
=${enable_ws2_32:-no}
7688 enable_loader
=${enable_loader:-no}
7689 enable_server
=${enable_server:-no}
7690 with_x
=${with_x:-no}
7691 with_pthread
=${with_pthread:-no}
7697 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7701 libwine_targets
="libwine.dll libwine.a"
7703 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7705 all: libwine.dll libwine.a
7707 libwine.a: \$(srcdir)/wine.def
7708 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7710 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7711 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7713 install install-lib:: libwine.dll
7714 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7716 install install-dev:: libwine.a
7717 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7720 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7727 DLLFLAGS
="$DLLFLAGS -fPIC"
7728 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7729 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7730 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7731 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7733 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7735 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7737 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7739 CORESERVICES_LIBS
="-framework CoreServices"
7741 APPKIT_LIBS
="-framework AppKit"
7743 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7745 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7746 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7747 $as_echo_n "(cached) " >&6
7749 ac_wine_try_cflags_saved
=$CFLAGS
7750 CFLAGS
="$CFLAGS -Wl,-no_pie"
7751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h. */
7753 int main(int argc, char **argv) { return 0; }
7755 if ac_fn_c_try_link
"$LINENO"; then :
7756 ac_cv_cflags__Wl__no_pie
=yes
7758 ac_cv_cflags__Wl__no_pie
=no
7760 rm -f core conftest.err conftest.
$ac_objext \
7761 conftest
$ac_exeext conftest.
$ac_ext
7762 CFLAGS
=$ac_wine_try_cflags_saved
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7765 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7766 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7767 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7769 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7771 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7774 if test "$ac_cv_header_Security_Security_h" = "yes"
7776 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7778 ac_save_LIBS
="$LIBS"
7779 LIBS
="$LIBS $SECURITY_LIBS"
7780 for ac_func
in SSLCopyPeerCertificates
7782 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7783 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7784 cat >>confdefs.h
<<_ACEOF
7785 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7791 LIBS
="$ac_save_LIBS"
7792 with_gnutls
=${with_gnutls:-no}
7794 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7796 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7798 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7801 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7804 ac_save_LIBS
="$LIBS"
7805 LIBS
="$LIBS $COREAUDIO_LIBS"
7806 for ac_func
in AUGraphAddNode
7808 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7809 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7810 cat >>confdefs.h
<<_ACEOF
7811 #define HAVE_AUGRAPHADDNODE 1
7817 LIBS
="$ac_save_LIBS"
7819 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7821 OPENAL_LIBS
="-framework OpenAL"
7824 cat >>confdefs.h
<<_ACEOF
7825 #define HAVE_OPENAL 1
7828 ac_cv_lib_openal
=yes
7830 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7832 OPENCL_LIBS
="-framework OpenCL"
7834 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7836 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7838 ac_save_LIBS
="$LIBS"
7839 LIBS
="$LIBS $IOKIT_LIBS"
7840 for ac_func
in IOHIDManagerCreate
7842 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7843 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7844 cat >>confdefs.h
<<_ACEOF
7845 #define HAVE_IOHIDMANAGERCREATE 1
7851 LIBS
="$ac_save_LIBS"
7853 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7855 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7857 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7859 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7861 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7863 CARBON_LIBS
="-framework Carbon"
7867 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7869 ac_save_LIBS
="$LIBS"
7870 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7871 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7872 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7873 enable_winemac_drv
=${enable_winemac_drv:-yes}
7876 LIBS
="$ac_save_LIBS"
7879 if test "x$enable_win16" = "xyes"
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7882 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7883 if test "$cross_compiling" = yes; then :
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7885 $as_echo "cross-compiling, assuming yes" >&6; }
7887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h. */
7891 "good:\tnop;nop\n\t"
7892 ".globl _testfunc\n"
7893 "_testfunc:\tcallw good");
7894 extern void testfunc();
7898 unsigned short *p = (unsigned short *)testfunc;
7899 return p[0] != 0xe866 || p[1] != 0xfffa
7904 if ac_fn_c_try_run
"$LINENO"; then :
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7906 $as_echo "yes" >&6; }
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7909 $as_echo "no" >&6; }
7910 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
7912 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7913 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7918 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7920 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7924 libwine.$libwine_version.dylib: \$(OBJS)
7925 \$(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 \$@
7927 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7928 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7930 libwine.dylib: libwine.$libwine_soversion.dylib
7931 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7933 install install-lib:: libwine.$libwine_version.dylib
7934 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7935 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7937 install install-dev::
7938 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7941 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7945 as_fn_append LOADER_RULES
"
7946 $wine_binary: main.o wine_info.plist
7947 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7949 wine-installed: main.o wine_info.plist
7950 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7955 DLLFLAGS
="$DLLFLAGS -fPIC"
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7960 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7961 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7962 $as_echo_n "(cached) " >&6
7964 ac_wine_try_cflags_saved
=$CFLAGS
7965 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7967 /* end confdefs.h. */
7968 int main(int argc, char **argv) { return 0; }
7970 if ac_fn_c_try_link
"$LINENO"; then :
7971 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7973 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7975 rm -f core conftest.err conftest.
$ac_objext \
7976 conftest
$ac_exeext conftest.
$ac_ext
7977 CFLAGS
=$ac_wine_try_cflags_saved
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7980 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7981 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7982 LDEXECFLAGS
="-Wl,--export-dynamic"
7984 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7986 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7987 if eval \
${$as_ac_var+:} false
; then :
7988 $as_echo_n "(cached) " >&6
7990 ac_wine_try_cflags_saved
=$CFLAGS
7991 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7993 /* end confdefs.h. */
7994 int main(int argc, char **argv) { return 0; }
7996 if ac_fn_c_try_link
"$LINENO"; then :
7997 eval "$as_ac_var=yes"
7999 eval "$as_ac_var=no"
8001 rm -f core conftest.err conftest.
$ac_objext \
8002 conftest
$ac_exeext conftest.
$ac_ext
8003 CFLAGS
=$ac_wine_try_cflags_saved
8005 eval ac_res
=\$
$as_ac_var
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8007 $as_echo "$ac_res" >&6; }
8008 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8009 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8010 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8012 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8014 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8015 if eval \
${$as_ac_var+:} false
; then :
8016 $as_echo_n "(cached) " >&6
8018 ac_wine_try_cflags_saved
=$CFLAGS
8019 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8021 /* end confdefs.h. */
8022 int main(int argc, char **argv) { return 0; }
8024 if ac_fn_c_try_link
"$LINENO"; then :
8025 eval "$as_ac_var=yes"
8027 eval "$as_ac_var=no"
8029 rm -f core conftest.err conftest.
$ac_objext \
8030 conftest
$ac_exeext conftest.
$ac_ext
8031 CFLAGS
=$ac_wine_try_cflags_saved
8033 eval ac_res
=\$
$as_ac_var
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8035 $as_echo "$ac_res" >&6; }
8036 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8037 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8038 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8043 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8044 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8045 $as_echo_n "(cached) " >&6
8047 ac_wine_try_cflags_saved
=$CFLAGS
8048 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8050 /* end confdefs.h. */
8051 int main(int argc, char **argv) { return 0; }
8053 if ac_fn_c_try_link
"$LINENO"; then :
8054 ac_cv_cflags__Wl___enable_new_dtags
=yes
8056 ac_cv_cflags__Wl___enable_new_dtags
=no
8058 rm -f core conftest.err conftest.
$ac_objext \
8059 conftest
$ac_exeext conftest.
$ac_ext
8060 CFLAGS
=$ac_wine_try_cflags_saved
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8063 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8064 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8065 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8069 *i
[3456789]86* | x86_64
)
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8071 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8072 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8073 $as_echo_n "(cached) " >&6
8075 ac_wine_try_cflags_saved
=$CFLAGS
8076 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8078 /* end confdefs.h. */
8079 int main(int argc, char **argv) { return 0; }
8081 if ac_fn_c_try_link
"$LINENO"; then :
8082 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8084 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8086 rm -f core conftest.err conftest.
$ac_objext \
8087 conftest
$ac_exeext conftest.
$ac_ext
8088 CFLAGS
=$ac_wine_try_cflags_saved
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8091 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8092 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8093 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8098 libwine_targets
="libwine.so"
8100 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8104 libwine.so: \$(OBJS)
8105 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8107 install install-lib:: libwine.so
8108 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8111 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8115 as_fn_append LOADER_RULES
"
8116 $wine_binary: main.o
8117 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8119 wine-installed: main.o
8120 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8125 DLLFLAGS
="$DLLFLAGS -fPIC"
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8128 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8129 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8130 $as_echo_n "(cached) " >&6
8132 ac_wine_try_cflags_saved
=$CFLAGS
8133 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8135 /* end confdefs.h. */
8138 if ac_fn_c_try_link
"$LINENO"; then :
8139 ac_cv_c_dll_gnuelf
="yes"
8141 ac_cv_c_dll_gnuelf
="no"
8143 rm -f core conftest.err conftest.
$ac_objext \
8144 conftest
$ac_exeext conftest.
$ac_ext
8145 CFLAGS
=$ac_wine_try_cflags_saved
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8148 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8149 if test "$ac_cv_c_dll_gnuelf" = "yes"
8151 LDSHARED
="\$(CC) -shared"
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8153 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8154 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8155 $as_echo_n "(cached) " >&6
8157 ac_wine_try_cflags_saved
=$CFLAGS
8158 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8160 /* end confdefs.h. */
8161 int main(int argc, char **argv) { return 0; }
8163 if ac_fn_c_try_link
"$LINENO"; then :
8164 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8166 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8168 rm -f core conftest.err conftest.
$ac_objext \
8169 conftest
$ac_exeext conftest.
$ac_ext
8170 CFLAGS
=$ac_wine_try_cflags_saved
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8173 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8174 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8175 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8178 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8179 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8180 $as_echo_n "(cached) " >&6
8182 ac_wine_try_cflags_saved
=$CFLAGS
8183 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8185 /* end confdefs.h. */
8186 int main(int argc, char **argv) { return 0; }
8188 if ac_fn_c_try_link
"$LINENO"; then :
8189 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8191 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8193 rm -f core conftest.err conftest.
$ac_objext \
8194 conftest
$ac_exeext conftest.
$ac_ext
8195 CFLAGS
=$ac_wine_try_cflags_saved
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8198 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8199 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8200 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8204 echo '{ global: *; };' >conftest.map
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8206 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8207 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8208 $as_echo_n "(cached) " >&6
8210 ac_wine_try_cflags_saved
=$CFLAGS
8211 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8213 /* end confdefs.h. */
8214 int main(int argc, char **argv) { return 0; }
8216 if ac_fn_c_try_link
"$LINENO"; then :
8217 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8219 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8221 rm -f core conftest.err conftest.
$ac_objext \
8222 conftest
$ac_exeext conftest.
$ac_ext
8223 CFLAGS
=$ac_wine_try_cflags_saved
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8226 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8227 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8228 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8233 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8234 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8235 $as_echo_n "(cached) " >&6
8237 ac_wine_try_cflags_saved
=$CFLAGS
8238 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8240 /* end confdefs.h. */
8241 int main(int argc, char **argv) { return 0; }
8243 if ac_fn_c_try_link
"$LINENO"; then :
8244 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8246 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8248 rm -f core conftest.err conftest.
$ac_objext \
8249 conftest
$ac_exeext conftest.
$ac_ext
8250 CFLAGS
=$ac_wine_try_cflags_saved
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8253 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8254 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8255 LDEXECFLAGS
="-Wl,--export-dynamic"
8258 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8260 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8261 if eval \
${$as_ac_var+:} false
; then :
8262 $as_echo_n "(cached) " >&6
8264 ac_wine_try_cflags_saved
=$CFLAGS
8265 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8267 /* end confdefs.h. */
8268 int main(int argc, char **argv) { return 0; }
8270 if ac_fn_c_try_link
"$LINENO"; then :
8271 eval "$as_ac_var=yes"
8273 eval "$as_ac_var=no"
8275 rm -f core conftest.err conftest.
$ac_objext \
8276 conftest
$ac_exeext conftest.
$ac_ext
8277 CFLAGS
=$ac_wine_try_cflags_saved
8279 eval ac_res
=\$
$as_ac_var
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8281 $as_echo "$ac_res" >&6; }
8282 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8283 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8284 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8286 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8288 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8289 if eval \
${$as_ac_var+:} false
; then :
8290 $as_echo_n "(cached) " >&6
8292 ac_wine_try_cflags_saved
=$CFLAGS
8293 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8295 /* end confdefs.h. */
8296 int main(int argc, char **argv) { return 0; }
8298 if ac_fn_c_try_link
"$LINENO"; then :
8299 eval "$as_ac_var=yes"
8301 eval "$as_ac_var=no"
8303 rm -f core conftest.err conftest.
$ac_objext \
8304 conftest
$ac_exeext conftest.
$ac_ext
8305 CFLAGS
=$ac_wine_try_cflags_saved
8307 eval ac_res
=\$
$as_ac_var
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8309 $as_echo "$ac_res" >&6; }
8310 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8311 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8312 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8317 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8318 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8319 $as_echo_n "(cached) " >&6
8321 ac_wine_try_cflags_saved
=$CFLAGS
8322 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8324 /* end confdefs.h. */
8325 int main(int argc, char **argv) { return 0; }
8327 if ac_fn_c_try_link
"$LINENO"; then :
8328 ac_cv_cflags__Wl___enable_new_dtags
=yes
8330 ac_cv_cflags__Wl___enable_new_dtags
=no
8332 rm -f core conftest.err conftest.
$ac_objext \
8333 conftest
$ac_exeext conftest.
$ac_ext
8334 CFLAGS
=$ac_wine_try_cflags_saved
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8337 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8338 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8339 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8343 *i
[3456789]86* | x86_64
)
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8345 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8346 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8347 $as_echo_n "(cached) " >&6
8349 ac_wine_try_cflags_saved
=$CFLAGS
8350 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8353 int main(int argc, char **argv) { return 0; }
8355 if ac_fn_c_try_link
"$LINENO"; then :
8356 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8358 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8360 rm -f core conftest.err conftest.
$ac_objext \
8361 conftest
$ac_exeext conftest.
$ac_ext
8362 CFLAGS
=$ac_wine_try_cflags_saved
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8365 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8366 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8368 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8369 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8373 # Extract the first word of "prelink", so it can be a program name with args.
8374 set dummy prelink
; ac_word
=$2
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8376 $as_echo_n "checking for $ac_word... " >&6; }
8377 if ${ac_cv_path_PRELINK+:} false
; then :
8378 $as_echo_n "(cached) " >&6
8382 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8386 for as_dir
in /sbin
/usr
/sbin
$PATH
8389 test -z "$as_dir" && as_dir
=.
8390 for ac_exec_ext
in '' $ac_executable_extensions; do
8391 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8392 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8400 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8404 PRELINK
=$ac_cv_path_PRELINK
8405 if test -n "$PRELINK"; then
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8407 $as_echo "$PRELINK" >&6; }
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8410 $as_echo "no" >&6; }
8414 if test "x$PRELINK" = xfalse
8416 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8423 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8424 if ${ac_cv_c_dll_unixware+:} false
; then :
8425 $as_echo_n "(cached) " >&6
8427 ac_wine_try_cflags_saved
=$CFLAGS
8428 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8430 /* end confdefs.h. */
8433 if ac_fn_c_try_link
"$LINENO"; then :
8434 ac_cv_c_dll_unixware
="yes"
8436 ac_cv_c_dll_unixware
="no"
8438 rm -f core conftest.err conftest.
$ac_objext \
8439 conftest
$ac_exeext conftest.
$ac_ext
8440 CFLAGS
=$ac_wine_try_cflags_saved
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8443 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8444 if test "$ac_cv_c_dll_unixware" = "yes"
8446 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8449 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8451 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8455 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8456 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8458 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8459 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8461 libwine.so: libwine.so.$libwine_soversion
8462 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8464 install install-lib:: libwine.so.$libwine_version
8465 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8466 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8468 install install-dev::
8469 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8472 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8476 as_fn_append LOADER_RULES
"
8477 $wine_binary: main.o
8478 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8480 wine-installed: main.o
8481 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8486 as_fn_append LIBWINE_RULES
"
8487 EXTRA_TARGETS = $libwine_targets
8490 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8491 enable_winemac_drv
=${enable_winemac_drv:-no}
8495 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8499 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
8502 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 " ;;
8504 ac_prefix_list
="" ;;
8506 for ac_prog
in $ac_prefix_list
8508 # Extract the first word of "$ac_prog", so it can be a program name with args.
8509 set dummy
$ac_prog; ac_word
=$2
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8511 $as_echo_n "checking for $ac_word... " >&6; }
8512 if ${ac_cv_prog_CROSSCC+:} false
; then :
8513 $as_echo_n "(cached) " >&6
8515 if test -n "$CROSSCC"; then
8516 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8522 test -z "$as_dir" && as_dir
=.
8523 for ac_exec_ext
in '' $ac_executable_extensions; do
8524 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8525 ac_cv_prog_CROSSCC
="$ac_prog"
8526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8535 CROSSCC
=$ac_cv_prog_CROSSCC
8536 if test -n "$CROSSCC"; then
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8538 $as_echo "$CROSSCC" >&6; }
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8541 $as_echo "no" >&6; }
8545 test -n "$CROSSCC" && break
8547 test -n "$CROSSCC" || CROSSCC
="false"
8549 if test "$CROSSCC" != "false"
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8554 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8566 if ac_fn_c_try_compile
"$LINENO"; then :
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8568 $as_echo "yes" >&6; }
8574 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8580 $as_echo "no" >&6; }
8582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8588 if test "$ac_cv_header_pthread_h" = "yes"
8590 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8591 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8595 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8596 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8597 $as_echo_n "(cached) " >&6
8599 ac_check_lib_save_LIBS
=$LIBS
8600 LIBS
="-lpthread $LIBS"
8601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8602 /* end confdefs.h. */
8604 /* Override any GCC internal prototype to avoid an error.
8605 Use char because int might match the return type of a GCC
8606 builtin and then its argument prototype would still apply. */
8610 char pthread_create ();
8614 return pthread_create ();
8619 if ac_fn_c_try_link
"$LINENO"; then :
8620 ac_cv_lib_pthread_pthread_create
=yes
8622 ac_cv_lib_pthread_pthread_create
=no
8624 rm -f core conftest.err conftest.
$ac_objext \
8625 conftest
$ac_exeext conftest.
$ac_ext
8626 LIBS
=$ac_check_lib_save_LIBS
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8629 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8630 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8631 PTHREAD_LIBS
="-lpthread"
8638 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8639 case "x$with_pthread" in
8641 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8642 Wine cannot support threads without libpthread.
8643 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8649 $as_echo_n "checking for X... " >&6; }
8652 # Check whether --with-x was given.
8653 if test "${with_x+set}" = set; then :
8657 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8658 if test "x$with_x" = xno
; then
8659 # The user explicitly disabled X.
8662 case $x_includes,$x_libraries in #(
8663 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8664 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8665 $as_echo_n "(cached) " >&6
8667 # One or both of the vars are not set, and there is no cached value.
8668 ac_x_includes
=no ac_x_libraries
=no
8669 rm -f -r conftest.dir
8670 if mkdir conftest.dir
; then
8672 cat >Imakefile
<<'_ACEOF'
8674 @echo incroot='${INCROOT}'
8676 @echo usrlibdir='${USRLIBDIR}'
8678 @echo libdir='${LIBDIR}'
8680 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8681 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8682 for ac_var
in incroot usrlibdir libdir
; do
8683 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8685 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8686 for ac_extension
in a so sl dylib la dll
; do
8687 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8688 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8689 ac_im_usrlibdir
=$ac_im_libdir; break
8692 # Screen out bogus values from the imake configuration. They are
8693 # bogus both because they are the default anyway, and because
8694 # using them would break gcc on systems where it needs fixed includes.
8695 case $ac_im_incroot in
8696 /usr
/include
) ac_x_includes
= ;;
8697 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8699 case $ac_im_usrlibdir in
8700 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8701 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8705 rm -f -r conftest.dir
8708 # Standard set of common directories for X headers.
8709 # Check X11 before X11Rn because it is often a symlink to the current release.
8723 /usr/local/X11/include
8724 /usr/local/X11R7/include
8725 /usr/local/X11R6/include
8726 /usr/local/X11R5/include
8727 /usr/local/X11R4/include
8729 /usr/local/include/X11
8730 /usr/local/include/X11R7
8731 /usr/local/include/X11R6
8732 /usr/local/include/X11R5
8733 /usr/local/include/X11R4
8737 /usr/XFree86/include/X11
8741 /usr/unsupported/include
8743 /usr/local/x11r5/include
8744 /usr/lpp/Xamples/include
8746 /usr/openwin/include
8747 /usr/openwin/share/include'
8749 if test "$ac_x_includes" = no
; then
8750 # Guess where to find include files, by looking for Xlib.h.
8751 # First, try using that file with no special directory specified.
8752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8753 /* end confdefs.h. */
8754 #include <X11/Xlib.h>
8756 if ac_fn_c_try_cpp
"$LINENO"; then :
8757 # We can compile using X headers with no special include directory.
8760 for ac_dir
in $ac_x_header_dirs; do
8761 if test -r "$ac_dir/X11/Xlib.h"; then
8762 ac_x_includes
=$ac_dir
8767 rm -f conftest.err conftest.i conftest.
$ac_ext
8768 fi # $ac_x_includes = no
8770 if test "$ac_x_libraries" = no
; then
8771 # Check for the libraries.
8772 # See if we find them without any special options.
8773 # Don't add to $LIBS permanently.
8776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8777 /* end confdefs.h. */
8778 #include <X11/Xlib.h>
8787 if ac_fn_c_try_link
"$LINENO"; then :
8789 # We can link X programs with no special library path.
8793 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8795 # Don't even attempt the hair of trying to link an X program!
8796 for ac_extension
in a so sl dylib la dll
; do
8797 if test -r "$ac_dir/libX11.$ac_extension"; then
8798 ac_x_libraries
=$ac_dir
8804 rm -f core conftest.err conftest.
$ac_objext \
8805 conftest
$ac_exeext conftest.
$ac_ext
8806 fi # $ac_x_libraries = no
8808 case $ac_x_includes,$ac_x_libraries in #(
8810 # Didn't find X, or a directory has "'" in its name.
8811 ac_cv_have_x
="have_x=no";; #(
8813 # Record where we found X for the cache.
8814 ac_cv_have_x
="have_x=yes\
8815 ac_x_includes='$ac_x_includes'\
8816 ac_x_libraries='$ac_x_libraries'"
8822 eval "$ac_cv_have_x"
8825 if test "$have_x" != yes; then
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8827 $as_echo "$have_x" >&6; }
8830 # If each of the values was on the command line, it overrides each guess.
8831 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8832 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8833 # Update the cache value to reflect the command line values.
8834 ac_cv_have_x
="have_x=yes\
8835 ac_x_includes='$x_includes'\
8836 ac_x_libraries='$x_libraries'"
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8838 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8841 if test "$no_x" = yes; then
8842 # Not all programs may use this symbol, but it does not hurt to define it.
8844 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8846 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8848 if test -n "$x_includes"; then
8849 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8852 # It would also be nice to do this for all -L options, not just this one.
8853 if test -n "$x_libraries"; then
8854 X_LIBS
="$X_LIBS -L$x_libraries"
8855 # For Solaris; some versions of Sun CC require a space after -R and
8856 # others require no space. Words are not sufficient . . . .
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8858 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8859 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8860 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8861 ac_c_werror_flag
=yes
8862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8863 /* end confdefs.h. */
8873 if ac_fn_c_try_link
"$LINENO"; then :
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8875 $as_echo "no" >&6; }
8876 X_LIBS
="$X_LIBS -R$x_libraries"
8878 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8880 /* end confdefs.h. */
8890 if ac_fn_c_try_link
"$LINENO"; then :
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8892 $as_echo "yes" >&6; }
8893 X_LIBS
="$X_LIBS -R $x_libraries"
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8896 $as_echo "neither works" >&6; }
8898 rm -f core conftest.err conftest.
$ac_objext \
8899 conftest
$ac_exeext conftest.
$ac_ext
8901 rm -f core conftest.err conftest.
$ac_objext \
8902 conftest
$ac_exeext conftest.
$ac_ext
8903 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8907 # Check for system-dependent libraries X programs must link with.
8908 # Do this before checking for the system-independent R6 libraries
8909 # (-lICE), since we may need -lsocket or whatever for X linking.
8911 if test "$ISC" = yes; then
8912 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8914 # Martyn Johnson says this is needed for Ultrix, if the X
8915 # libraries were built with DECnet support. And Karl Berry says
8916 # the Alpha needs dnet_stub (dnet does not exist).
8917 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8919 /* end confdefs.h. */
8921 /* Override any GCC internal prototype to avoid an error.
8922 Use char because int might match the return type of a GCC
8923 builtin and then its argument prototype would still apply. */
8927 char XOpenDisplay ();
8931 return XOpenDisplay ();
8936 if ac_fn_c_try_link
"$LINENO"; then :
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8940 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8941 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8942 $as_echo_n "(cached) " >&6
8944 ac_check_lib_save_LIBS
=$LIBS
8946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8947 /* end confdefs.h. */
8949 /* Override any GCC internal prototype to avoid an error.
8950 Use char because int might match the return type of a GCC
8951 builtin and then its argument prototype would still apply. */
8959 return dnet_ntoa ();
8964 if ac_fn_c_try_link
"$LINENO"; then :
8965 ac_cv_lib_dnet_dnet_ntoa
=yes
8967 ac_cv_lib_dnet_dnet_ntoa
=no
8969 rm -f core conftest.err conftest.
$ac_objext \
8970 conftest
$ac_exeext conftest.
$ac_ext
8971 LIBS
=$ac_check_lib_save_LIBS
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8974 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8975 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8976 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8979 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8981 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8982 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8983 $as_echo_n "(cached) " >&6
8985 ac_check_lib_save_LIBS
=$LIBS
8986 LIBS
="-ldnet_stub $LIBS"
8987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8988 /* end confdefs.h. */
8990 /* Override any GCC internal prototype to avoid an error.
8991 Use char because int might match the return type of a GCC
8992 builtin and then its argument prototype would still apply. */
9000 return dnet_ntoa ();
9005 if ac_fn_c_try_link
"$LINENO"; then :
9006 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9008 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9010 rm -f core conftest.err conftest.
$ac_objext \
9011 conftest
$ac_exeext conftest.
$ac_ext
9012 LIBS
=$ac_check_lib_save_LIBS
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9015 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9016 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9017 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9022 rm -f core conftest.err conftest.
$ac_objext \
9023 conftest
$ac_exeext conftest.
$ac_ext
9024 LIBS
="$ac_xsave_LIBS"
9026 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9027 # to get the SysV transport functions.
9028 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9030 # The nsl library prevents programs from opening the X display
9031 # on Irix 5.2, according to T.E. Dickey.
9032 # The functions gethostbyname, getservbyname, and inet_addr are
9033 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9034 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9035 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9039 if test $ac_cv_func_gethostbyname = no
; then
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9041 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9042 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9043 $as_echo_n "(cached) " >&6
9045 ac_check_lib_save_LIBS
=$LIBS
9047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9050 /* Override any GCC internal prototype to avoid an error.
9051 Use char because int might match the return type of a GCC
9052 builtin and then its argument prototype would still apply. */
9056 char gethostbyname ();
9060 return gethostbyname ();
9065 if ac_fn_c_try_link
"$LINENO"; then :
9066 ac_cv_lib_nsl_gethostbyname
=yes
9068 ac_cv_lib_nsl_gethostbyname
=no
9070 rm -f core conftest.err conftest.
$ac_objext \
9071 conftest
$ac_exeext conftest.
$ac_ext
9072 LIBS
=$ac_check_lib_save_LIBS
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9075 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9076 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9077 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9080 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9082 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9083 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9084 $as_echo_n "(cached) " >&6
9086 ac_check_lib_save_LIBS
=$LIBS
9088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9089 /* end confdefs.h. */
9091 /* Override any GCC internal prototype to avoid an error.
9092 Use char because int might match the return type of a GCC
9093 builtin and then its argument prototype would still apply. */
9097 char gethostbyname ();
9101 return gethostbyname ();
9106 if ac_fn_c_try_link
"$LINENO"; then :
9107 ac_cv_lib_bsd_gethostbyname
=yes
9109 ac_cv_lib_bsd_gethostbyname
=no
9111 rm -f core conftest.err conftest.
$ac_objext \
9112 conftest
$ac_exeext conftest.
$ac_ext
9113 LIBS
=$ac_check_lib_save_LIBS
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9116 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9117 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9118 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9124 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9125 # socket/setsockopt and other routines are undefined under SCO ODT
9126 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9127 # on later versions), says Simon Leinen: it contains gethostby*
9128 # variants that don't use the name server (or something). -lsocket
9129 # must be given before -lnsl if both are needed. We assume that
9130 # if connect needs -lnsl, so does gethostbyname.
9131 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9132 if test "x$ac_cv_func_connect" = xyes
; then :
9136 if test $ac_cv_func_connect = no
; then
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9138 $as_echo_n "checking for connect in -lsocket... " >&6; }
9139 if ${ac_cv_lib_socket_connect+:} false
; then :
9140 $as_echo_n "(cached) " >&6
9142 ac_check_lib_save_LIBS
=$LIBS
9143 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9147 /* Override any GCC internal prototype to avoid an error.
9148 Use char because int might match the return type of a GCC
9149 builtin and then its argument prototype would still apply. */
9162 if ac_fn_c_try_link
"$LINENO"; then :
9163 ac_cv_lib_socket_connect
=yes
9165 ac_cv_lib_socket_connect
=no
9167 rm -f core conftest.err conftest.
$ac_objext \
9168 conftest
$ac_exeext conftest.
$ac_ext
9169 LIBS
=$ac_check_lib_save_LIBS
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9172 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9173 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9174 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9179 # Guillermo Gomez says -lposix is necessary on A/UX.
9180 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9181 if test "x$ac_cv_func_remove" = xyes
; then :
9185 if test $ac_cv_func_remove = no
; then
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9187 $as_echo_n "checking for remove in -lposix... " >&6; }
9188 if ${ac_cv_lib_posix_remove+:} false
; then :
9189 $as_echo_n "(cached) " >&6
9191 ac_check_lib_save_LIBS
=$LIBS
9192 LIBS
="-lposix $LIBS"
9193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9194 /* end confdefs.h. */
9196 /* Override any GCC internal prototype to avoid an error.
9197 Use char because int might match the return type of a GCC
9198 builtin and then its argument prototype would still apply. */
9211 if ac_fn_c_try_link
"$LINENO"; then :
9212 ac_cv_lib_posix_remove
=yes
9214 ac_cv_lib_posix_remove
=no
9216 rm -f core conftest.err conftest.
$ac_objext \
9217 conftest
$ac_exeext conftest.
$ac_ext
9218 LIBS
=$ac_check_lib_save_LIBS
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9221 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9222 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9223 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9228 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9229 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9230 if test "x$ac_cv_func_shmat" = xyes
; then :
9234 if test $ac_cv_func_shmat = no
; then
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9236 $as_echo_n "checking for shmat in -lipc... " >&6; }
9237 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9238 $as_echo_n "(cached) " >&6
9240 ac_check_lib_save_LIBS
=$LIBS
9242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9245 /* Override any GCC internal prototype to avoid an error.
9246 Use char because int might match the return type of a GCC
9247 builtin and then its argument prototype would still apply. */
9260 if ac_fn_c_try_link
"$LINENO"; then :
9261 ac_cv_lib_ipc_shmat
=yes
9263 ac_cv_lib_ipc_shmat
=no
9265 rm -f core conftest.err conftest.
$ac_objext \
9266 conftest
$ac_exeext conftest.
$ac_ext
9267 LIBS
=$ac_check_lib_save_LIBS
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9270 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9271 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9272 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9278 # Check for libraries that X11R6 Xt/Xaw programs need.
9279 ac_save_LDFLAGS
=$LDFLAGS
9280 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9281 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9282 # check for ICE first), but we must link in the order -lSM -lICE or
9283 # we get undefined symbols. So assume we have SM if we have ICE.
9284 # These have to be linked with before -lX11, unlike the other
9285 # libraries we check for below, so use a different variable.
9286 # John Interrante, Karl Berry
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9288 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9289 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9290 $as_echo_n "(cached) " >&6
9292 ac_check_lib_save_LIBS
=$LIBS
9293 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9295 /* end confdefs.h. */
9297 /* Override any GCC internal prototype to avoid an error.
9298 Use char because int might match the return type of a GCC
9299 builtin and then its argument prototype would still apply. */
9303 char IceConnectionNumber ();
9307 return IceConnectionNumber ();
9312 if ac_fn_c_try_link
"$LINENO"; then :
9313 ac_cv_lib_ICE_IceConnectionNumber
=yes
9315 ac_cv_lib_ICE_IceConnectionNumber
=no
9317 rm -f core conftest.err conftest.
$ac_objext \
9318 conftest
$ac_exeext conftest.
$ac_ext
9319 LIBS
=$ac_check_lib_save_LIBS
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9322 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9323 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9324 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9327 LDFLAGS
=$ac_save_LDFLAGS
9332 if test "$have_x" = "yes"
9334 ac_save_CPPFLAGS
="$CPPFLAGS"
9335 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9338 $as_echo_n "checking for -lX11... " >&6; }
9339 if ${ac_cv_lib_soname_X11+:} false
; then :
9340 $as_echo_n "(cached) " >&6
9342 ac_check_soname_save_LIBS
=$LIBS
9343 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9345 /* end confdefs.h. */
9347 /* Override any GCC internal prototype to avoid an error.
9348 Use char because int might match the return type of a GCC
9349 builtin and then its argument prototype would still apply. */
9353 char XCreateWindow ();
9357 return XCreateWindow ();
9362 if ac_fn_c_try_link
"$LINENO"; then :
9364 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9365 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'` ;;
9366 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9367 if ${ac_cv_lib_soname_X11:+false} :; then :
9368 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9372 rm -f core conftest.err conftest.
$ac_objext \
9373 conftest
$ac_exeext conftest.
$ac_ext
9374 LIBS
=$ac_check_soname_save_LIBS
9376 if ${ac_cv_lib_soname_X11:+false} :; then :
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9378 $as_echo "not found" >&6; }
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9382 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9384 cat >>confdefs.h
<<_ACEOF
9385 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9391 $as_echo_n "checking for -lXext... " >&6; }
9392 if ${ac_cv_lib_soname_Xext+:} false
; then :
9393 $as_echo_n "(cached) " >&6
9395 ac_check_soname_save_LIBS
=$LIBS
9396 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9398 /* end confdefs.h. */
9400 /* Override any GCC internal prototype to avoid an error.
9401 Use char because int might match the return type of a GCC
9402 builtin and then its argument prototype would still apply. */
9406 char XextCreateExtension ();
9410 return XextCreateExtension ();
9415 if ac_fn_c_try_link
"$LINENO"; then :
9417 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9418 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'` ;;
9419 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9420 if ${ac_cv_lib_soname_Xext:+false} :; then :
9421 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9425 rm -f core conftest.err conftest.
$ac_objext \
9426 conftest
$ac_exeext conftest.
$ac_ext
9427 LIBS
=$ac_check_soname_save_LIBS
9429 if ${ac_cv_lib_soname_Xext:+false} :; then :
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9431 $as_echo "not found" >&6; }
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9435 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9437 cat >>confdefs.h
<<_ACEOF
9438 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9441 X_LIBS
="$X_LIBS -lXext"
9443 X_LIBS
="$X_LIBS -lX11"
9445 for ac_header
in X11
/Xlib.h \
9448 X11
/Xcursor
/Xcursor.h \
9449 X11
/extensions
/shape.h \
9450 X11
/extensions
/XInput.h \
9451 X11
/extensions
/XInput2.h \
9452 X11
/extensions
/XShm.h \
9453 X11
/extensions
/Xcomposite.h \
9454 X11
/extensions
/Xinerama.h \
9455 X11
/extensions
/Xrandr.h \
9456 X11
/extensions
/Xrender.h \
9457 X11
/extensions
/xf86vmode.h \
9458 X11
/extensions
/xf86vmproto.h
9460 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9461 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9462 # include <X11/Xlib.h>
9464 #ifdef HAVE_X11_XUTIL_H
9465 # include <X11/Xutil.h>
9468 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9469 cat >>confdefs.h
<<_ACEOF
9470 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9478 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9481 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9482 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9483 $as_echo_n "(cached) " >&6
9485 ac_check_lib_save_LIBS
=$LIBS
9486 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9490 /* Override any GCC internal prototype to avoid an error.
9491 Use char because int might match the return type of a GCC
9492 builtin and then its argument prototype would still apply. */
9496 char XkbQueryExtension ();
9500 return XkbQueryExtension ();
9505 if ac_fn_c_try_link
"$LINENO"; then :
9506 ac_cv_lib_X11_XkbQueryExtension
=yes
9508 ac_cv_lib_X11_XkbQueryExtension
=no
9510 rm -f core conftest.err conftest.
$ac_objext \
9511 conftest
$ac_exeext conftest.
$ac_ext
9512 LIBS
=$ac_check_lib_save_LIBS
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9515 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9516 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9518 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9524 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9527 $as_echo_n "checking for -lXcursor... " >&6; }
9528 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9529 $as_echo_n "(cached) " >&6
9531 ac_check_soname_save_LIBS
=$LIBS
9532 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h. */
9536 /* Override any GCC internal prototype to avoid an error.
9537 Use char because int might match the return type of a GCC
9538 builtin and then its argument prototype would still apply. */
9542 char XcursorImageLoadCursor ();
9546 return XcursorImageLoadCursor ();
9551 if ac_fn_c_try_link
"$LINENO"; then :
9553 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9554 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'` ;;
9555 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9556 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9557 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9561 rm -f core conftest.err conftest.
$ac_objext \
9562 conftest
$ac_exeext conftest.
$ac_ext
9563 LIBS
=$ac_check_soname_save_LIBS
9565 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9567 $as_echo "not found" >&6; }
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9571 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9573 cat >>confdefs.h
<<_ACEOF
9574 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9580 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9581 case "x$with_xcursor" in
9582 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9584 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9585 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9589 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9592 $as_echo_n "checking for -lXi... " >&6; }
9593 if ${ac_cv_lib_soname_Xi+:} false
; then :
9594 $as_echo_n "(cached) " >&6
9596 ac_check_soname_save_LIBS
=$LIBS
9597 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9599 /* end confdefs.h. */
9601 /* Override any GCC internal prototype to avoid an error.
9602 Use char because int might match the return type of a GCC
9603 builtin and then its argument prototype would still apply. */
9607 char XOpenDevice ();
9611 return XOpenDevice ();
9616 if ac_fn_c_try_link
"$LINENO"; then :
9618 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9619 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'` ;;
9620 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9621 if ${ac_cv_lib_soname_Xi:+false} :; then :
9622 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9626 rm -f core conftest.err conftest.
$ac_objext \
9627 conftest
$ac_exeext conftest.
$ac_ext
9628 LIBS
=$ac_check_soname_save_LIBS
9630 if ${ac_cv_lib_soname_Xi:+false} :; then :
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9632 $as_echo "not found" >&6; }
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9636 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9638 cat >>confdefs.h
<<_ACEOF
9639 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9645 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9646 case "x$with_xinput" in
9647 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9649 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9650 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9654 if test "x$ac_cv_lib_soname_Xi" != x
9656 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9657 case "x$with_xinput2" in
9658 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9660 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9661 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9666 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9669 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9670 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9671 $as_echo_n "(cached) " >&6
9673 ac_check_lib_save_LIBS
=$LIBS
9674 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9676 /* end confdefs.h. */
9678 /* Override any GCC internal prototype to avoid an error.
9679 Use char because int might match the return type of a GCC
9680 builtin and then its argument prototype would still apply. */
9684 char XShmQueryExtension ();
9688 return XShmQueryExtension ();
9693 if ac_fn_c_try_link
"$LINENO"; then :
9694 ac_cv_lib_Xext_XShmQueryExtension
=yes
9696 ac_cv_lib_Xext_XShmQueryExtension
=no
9698 rm -f core conftest.err conftest.
$ac_objext \
9699 conftest
$ac_exeext conftest.
$ac_ext
9700 LIBS
=$ac_check_lib_save_LIBS
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9703 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9704 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9706 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9711 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9712 case "x$with_xshm" in
9713 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9715 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9716 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9720 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9723 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9724 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9725 $as_echo_n "(cached) " >&6
9727 ac_check_lib_save_LIBS
=$LIBS
9728 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9730 /* end confdefs.h. */
9732 /* Override any GCC internal prototype to avoid an error.
9733 Use char because int might match the return type of a GCC
9734 builtin and then its argument prototype would still apply. */
9738 char XShapeQueryExtension ();
9742 return XShapeQueryExtension ();
9747 if ac_fn_c_try_link
"$LINENO"; then :
9748 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9750 ac_cv_lib_Xext_XShapeQueryExtension
=no
9752 rm -f core conftest.err conftest.
$ac_objext \
9753 conftest
$ac_exeext conftest.
$ac_ext
9754 LIBS
=$ac_check_lib_save_LIBS
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9757 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9758 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9760 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9765 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9766 case "x$with_xshape" in
9767 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9769 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9770 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9774 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9777 $as_echo_n "checking for -lXxf86vm... " >&6; }
9778 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9779 $as_echo_n "(cached) " >&6
9781 ac_check_soname_save_LIBS
=$LIBS
9782 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9784 /* end confdefs.h. */
9786 /* Override any GCC internal prototype to avoid an error.
9787 Use char because int might match the return type of a GCC
9788 builtin and then its argument prototype would still apply. */
9792 char XF86VidModeQueryExtension ();
9796 return XF86VidModeQueryExtension ();
9801 if ac_fn_c_try_link
"$LINENO"; then :
9803 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9804 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'` ;;
9805 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9806 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9807 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9811 rm -f core conftest.err conftest.
$ac_objext \
9812 conftest
$ac_exeext conftest.
$ac_ext
9813 LIBS
=$ac_check_soname_save_LIBS
9815 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9817 $as_echo "not found" >&6; }
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9821 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9823 cat >>confdefs.h
<<_ACEOF
9824 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9830 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9831 case "x$with_xxf86vm" in
9832 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9834 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9835 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9839 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9842 $as_echo_n "checking for -lXrender... " >&6; }
9843 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9844 $as_echo_n "(cached) " >&6
9846 ac_check_soname_save_LIBS
=$LIBS
9847 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9851 /* Override any GCC internal prototype to avoid an error.
9852 Use char because int might match the return type of a GCC
9853 builtin and then its argument prototype would still apply. */
9857 char XRenderQueryExtension ();
9861 return XRenderQueryExtension ();
9866 if ac_fn_c_try_link
"$LINENO"; then :
9868 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9869 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'` ;;
9870 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9871 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9872 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9876 rm -f core conftest.err conftest.
$ac_objext \
9877 conftest
$ac_exeext conftest.
$ac_ext
9878 LIBS
=$ac_check_soname_save_LIBS
9880 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9882 $as_echo "not found" >&6; }
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9886 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9888 cat >>confdefs.h
<<_ACEOF
9889 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9893 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9894 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9895 $as_echo_n "(cached) " >&6
9897 ac_check_lib_save_LIBS
=$LIBS
9898 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9900 /* end confdefs.h. */
9902 /* Override any GCC internal prototype to avoid an error.
9903 Use char because int might match the return type of a GCC
9904 builtin and then its argument prototype would still apply. */
9908 char XRenderSetPictureTransform ();
9912 return XRenderSetPictureTransform ();
9917 if ac_fn_c_try_link
"$LINENO"; then :
9918 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9920 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9922 rm -f core conftest.err conftest.
$ac_objext \
9923 conftest
$ac_exeext conftest.
$ac_ext
9924 LIBS
=$ac_check_lib_save_LIBS
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9927 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9928 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9930 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9935 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9936 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9937 $as_echo_n "(cached) " >&6
9939 ac_check_lib_save_LIBS
=$LIBS
9940 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9942 /* end confdefs.h. */
9944 /* Override any GCC internal prototype to avoid an error.
9945 Use char because int might match the return type of a GCC
9946 builtin and then its argument prototype would still apply. */
9950 char XRenderCreateLinearGradient ();
9954 return XRenderCreateLinearGradient ();
9959 if ac_fn_c_try_link
"$LINENO"; then :
9960 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9962 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9964 rm -f core conftest.err conftest.
$ac_objext \
9965 conftest
$ac_exeext conftest.
$ac_ext
9966 LIBS
=$ac_check_lib_save_LIBS
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9969 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9970 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9972 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9979 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9980 case "x$with_xrender" in
9981 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9983 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9984 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9988 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
9992 #include <X11/Xlib.h>
9993 #include <X11/extensions/Xrandr.h>
9997 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10002 if ac_fn_c_try_compile
"$LINENO"; then :
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10004 $as_echo_n "checking for -lXrandr... " >&6; }
10005 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10006 $as_echo_n "(cached) " >&6
10008 ac_check_soname_save_LIBS
=$LIBS
10009 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10013 /* Override any GCC internal prototype to avoid an error.
10014 Use char because int might match the return type of a GCC
10015 builtin and then its argument prototype would still apply. */
10019 char XRRQueryExtension ();
10023 return XRRQueryExtension ();
10028 if ac_fn_c_try_link
"$LINENO"; then :
10030 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10031 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'` ;;
10032 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10033 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10034 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10038 rm -f core conftest.err conftest.
$ac_objext \
10039 conftest
$ac_exeext conftest.
$ac_ext
10040 LIBS
=$ac_check_soname_save_LIBS
10042 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10044 $as_echo "not found" >&6; }
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10048 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10050 cat >>confdefs.h
<<_ACEOF
10051 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10055 /* end confdefs.h. */
10056 #include <X11/Xlib.h>
10057 #include <X11/extensions/Xrandr.h>
10061 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10066 if ac_fn_c_try_compile
"$LINENO"; then :
10068 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10076 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10077 case "x$with_xrandr" in
10078 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10080 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10081 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10085 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10088 /* end confdefs.h. */
10089 #include <X11/Xlib.h>
10090 #include <X11/extensions/Xinerama.h>
10094 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10099 if ac_fn_c_try_compile
"$LINENO"; then :
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10101 $as_echo_n "checking for -lXinerama... " >&6; }
10102 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10103 $as_echo_n "(cached) " >&6
10105 ac_check_soname_save_LIBS
=$LIBS
10106 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10108 /* end confdefs.h. */
10110 /* Override any GCC internal prototype to avoid an error.
10111 Use char because int might match the return type of a GCC
10112 builtin and then its argument prototype would still apply. */
10116 char XineramaQueryScreens ();
10120 return XineramaQueryScreens ();
10125 if ac_fn_c_try_link
"$LINENO"; then :
10127 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10128 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'` ;;
10129 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10130 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10131 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10135 rm -f core conftest.err conftest.
$ac_objext \
10136 conftest
$ac_exeext conftest.
$ac_ext
10137 LIBS
=$ac_check_soname_save_LIBS
10139 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10141 $as_echo "not found" >&6; }
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10145 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10147 cat >>confdefs.h
<<_ACEOF
10148 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10156 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10157 case "x$with_xinerama" in
10158 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10160 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10161 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10165 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10168 $as_echo_n "checking for -lXcomposite... " >&6; }
10169 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10170 $as_echo_n "(cached) " >&6
10172 ac_check_soname_save_LIBS
=$LIBS
10173 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10175 /* end confdefs.h. */
10177 /* Override any GCC internal prototype to avoid an error.
10178 Use char because int might match the return type of a GCC
10179 builtin and then its argument prototype would still apply. */
10183 char XCompositeRedirectWindow ();
10187 return XCompositeRedirectWindow ();
10192 if ac_fn_c_try_link
"$LINENO"; then :
10194 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10195 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'` ;;
10196 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10197 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10198 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10202 rm -f core conftest.err conftest.
$ac_objext \
10203 conftest
$ac_exeext conftest.
$ac_ext
10204 LIBS
=$ac_check_soname_save_LIBS
10206 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10208 $as_echo "not found" >&6; }
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10212 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10214 cat >>confdefs.h
<<_ACEOF
10215 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10221 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10222 case "x$with_xcomposite" in
10223 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10225 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10226 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10230 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10231 #include <X11/Xlib.h>
10234 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10236 cat >>confdefs.h
<<_ACEOF
10237 #define HAVE_XICCALLBACK_CALLBACK 1
10242 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10243 #include <X11/Xlib.h>
10246 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10248 cat >>confdefs.h
<<_ACEOF
10249 #define HAVE_XEVENT_XCOOKIE 1
10258 if test "x$with_opengl" != "xno"
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10261 $as_echo_n "checking for -lGL... " >&6; }
10262 if ${ac_cv_lib_soname_GL+:} false
; then :
10263 $as_echo_n "(cached) " >&6
10265 ac_check_soname_save_LIBS
=$LIBS
10266 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10268 /* end confdefs.h. */
10270 /* Override any GCC internal prototype to avoid an error.
10271 Use char because int might match the return type of a GCC
10272 builtin and then its argument prototype would still apply. */
10276 char glXCreateContext ();
10280 return glXCreateContext ();
10285 if ac_fn_c_try_link
"$LINENO"; then :
10287 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10288 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'` ;;
10289 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10290 if ${ac_cv_lib_soname_GL:+false} :; then :
10291 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10295 rm -f core conftest.err conftest.
$ac_objext \
10296 conftest
$ac_exeext conftest.
$ac_ext
10297 LIBS
=$ac_check_soname_save_LIBS
10299 if ${ac_cv_lib_soname_GL:+false} :; then :
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10301 $as_echo "not found" >&6; }
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10303 $as_echo_n "checking for -lGL... " >&6; }
10304 if ${ac_cv_lib_soname_GL+:} false
; then :
10305 $as_echo_n "(cached) " >&6
10307 ac_check_soname_save_LIBS
=$LIBS
10308 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"
10309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10310 /* end confdefs.h. */
10312 /* Override any GCC internal prototype to avoid an error.
10313 Use char because int might match the return type of a GCC
10314 builtin and then its argument prototype would still apply. */
10318 char glXCreateContext ();
10322 return glXCreateContext ();
10327 if ac_fn_c_try_link
"$LINENO"; then :
10329 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10330 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'` ;;
10331 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10332 if ${ac_cv_lib_soname_GL:+false} :; then :
10333 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10337 rm -f core conftest.err conftest.
$ac_objext \
10338 conftest
$ac_exeext conftest.
$ac_ext
10339 LIBS
=$ac_check_soname_save_LIBS
10341 if ${ac_cv_lib_soname_GL:+false} :; then :
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10343 $as_echo "not found" >&6; }
10344 if test -f /usr
/X11R
6/lib
/libGL.a
10346 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10347 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10349 opengl_msg
="No OpenGL library found on this system."
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10353 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10355 cat >>confdefs.h
<<_ACEOF
10356 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10359 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"
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10363 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10365 cat >>confdefs.h
<<_ACEOF
10366 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10371 if test "x$with_glu" != "xno"
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10374 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10375 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10376 $as_echo_n "(cached) " >&6
10378 ac_check_lib_save_LIBS
=$LIBS
10379 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10383 /* Override any GCC internal prototype to avoid an error.
10384 Use char because int might match the return type of a GCC
10385 builtin and then its argument prototype would still apply. */
10393 return gluLookAt ();
10398 if ac_fn_c_try_link
"$LINENO"; then :
10399 ac_cv_lib_GLU_gluLookAt
=yes
10401 ac_cv_lib_GLU_gluLookAt
=no
10403 rm -f core conftest.err conftest.
$ac_objext \
10404 conftest
$ac_exeext conftest.
$ac_ext
10405 LIBS
=$ac_check_lib_save_LIBS
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10408 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10409 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10413 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10414 case "x$with_glu" in
10415 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10417 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10418 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10423 if test "x$with_osmesa" != "xno"
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10426 $as_echo_n "checking for -lOSMesa... " >&6; }
10427 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10428 $as_echo_n "(cached) " >&6
10430 ac_check_soname_save_LIBS
=$LIBS
10431 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10433 /* end confdefs.h. */
10435 /* Override any GCC internal prototype to avoid an error.
10436 Use char because int might match the return type of a GCC
10437 builtin and then its argument prototype would still apply. */
10450 if ac_fn_c_try_link
"$LINENO"; then :
10452 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10453 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'` ;;
10454 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10455 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10456 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10460 rm -f core conftest.err conftest.
$ac_objext \
10461 conftest
$ac_exeext conftest.
$ac_ext
10462 LIBS
=$ac_check_soname_save_LIBS
10464 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10466 $as_echo "not found" >&6; }
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10470 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10472 cat >>confdefs.h
<<_ACEOF
10473 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10478 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10479 case "x$with_osmesa" in
10480 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10482 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10483 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10488 if test -n "$opengl_msg"; then :
10489 case "x$with_opengl" in
10490 x
) as_fn_append wine_warnings
"|$opengl_msg
10491 OpenGL and Direct3D won't be supported." ;;
10493 *) as_fn_error $?
"$opengl_msg
10494 OpenGL and Direct3D won't be supported.
10495 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10499 CPPFLAGS
="$ac_save_CPPFLAGS"
10503 enable_winex11_drv
=${enable_winex11_drv:-no}
10505 if test "x$X_LIBS" = "x"; then :
10508 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10509 without X support, which probably isn't what you want. You will need
10510 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10511 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10515 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10517 if test "$ac_cv_header_CL_cl_h" = "yes"
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10520 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10521 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10522 $as_echo_n "(cached) " >&6
10524 ac_check_lib_save_LIBS
=$LIBS
10525 LIBS
="-lOpenCL $LIBS"
10526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10527 /* end confdefs.h. */
10529 /* Override any GCC internal prototype to avoid an error.
10530 Use char because int might match the return type of a GCC
10531 builtin and then its argument prototype would still apply. */
10535 char clGetPlatformInfo ();
10539 return clGetPlatformInfo ();
10544 if ac_fn_c_try_link
"$LINENO"; then :
10545 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10547 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10549 rm -f core conftest.err conftest.
$ac_objext \
10550 conftest
$ac_exeext conftest.
$ac_ext
10551 LIBS
=$ac_check_lib_save_LIBS
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10554 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10555 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10556 OPENCL_LIBS
="-lOpenCL"
10561 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10562 case "x$with_opencl" in
10563 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10565 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10566 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10569 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10571 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10574 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10575 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10576 $as_echo_n "(cached) " >&6
10578 ac_check_lib_save_LIBS
=$LIBS
10579 LIBS
="-lpcap $LIBS"
10580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10581 /* end confdefs.h. */
10583 /* Override any GCC internal prototype to avoid an error.
10584 Use char because int might match the return type of a GCC
10585 builtin and then its argument prototype would still apply. */
10589 char pcap_create ();
10593 return pcap_create ();
10598 if ac_fn_c_try_link
"$LINENO"; then :
10599 ac_cv_lib_pcap_pcap_create
=yes
10601 ac_cv_lib_pcap_pcap_create
=no
10603 rm -f core conftest.err conftest.
$ac_objext \
10604 conftest
$ac_exeext conftest.
$ac_ext
10605 LIBS
=$ac_check_lib_save_LIBS
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10608 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10609 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10615 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10616 case "x$with_pcap" in
10617 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10619 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10620 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10623 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10626 if test "x$with_xml" != "xno"
10628 if ${XML2_CFLAGS:+false} :; then :
10629 if ${PKG_CONFIG+:} false
; then :
10630 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10633 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10634 if ${XML2_LIBS:+false} :; then :
10635 if ${PKG_CONFIG+:} false
; then :
10636 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10639 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10640 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10641 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10642 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10643 ac_save_CPPFLAGS
=$CPPFLAGS
10644 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10645 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10647 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10648 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10649 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10650 cat >>confdefs.h
<<_ACEOF
10651 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10658 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"
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10661 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10662 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10663 $as_echo_n "(cached) " >&6
10665 ac_check_lib_save_LIBS
=$LIBS
10666 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10670 /* Override any GCC internal prototype to avoid an error.
10671 Use char because int might match the return type of a GCC
10672 builtin and then its argument prototype would still apply. */
10676 char xmlParseMemory ();
10680 return xmlParseMemory ();
10685 if ac_fn_c_try_link
"$LINENO"; then :
10686 ac_cv_lib_xml2_xmlParseMemory
=yes
10688 ac_cv_lib_xml2_xmlParseMemory
=no
10690 rm -f core conftest.err conftest.
$ac_objext \
10691 conftest
$ac_exeext conftest.
$ac_ext
10692 LIBS
=$ac_check_lib_save_LIBS
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10695 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10696 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10698 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10705 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10706 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10707 $as_echo_n "(cached) " >&6
10709 ac_check_lib_save_LIBS
=$LIBS
10710 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10712 /* end confdefs.h. */
10714 /* Override any GCC internal prototype to avoid an error.
10715 Use char because int might match the return type of a GCC
10716 builtin and then its argument prototype would still apply. */
10720 char xmlReadMemory ();
10724 return xmlReadMemory ();
10729 if ac_fn_c_try_link
"$LINENO"; then :
10730 ac_cv_lib_xml2_xmlReadMemory
=yes
10732 ac_cv_lib_xml2_xmlReadMemory
=no
10734 rm -f core conftest.err conftest.
$ac_objext \
10735 conftest
$ac_exeext conftest.
$ac_ext
10736 LIBS
=$ac_check_lib_save_LIBS
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10739 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10740 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10742 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10747 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10748 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10749 $as_echo_n "(cached) " >&6
10751 ac_check_lib_save_LIBS
=$LIBS
10752 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10756 /* Override any GCC internal prototype to avoid an error.
10757 Use char because int might match the return type of a GCC
10758 builtin and then its argument prototype would still apply. */
10762 char xmlNewDocPI ();
10766 return xmlNewDocPI ();
10771 if ac_fn_c_try_link
"$LINENO"; then :
10772 ac_cv_lib_xml2_xmlNewDocPI
=yes
10774 ac_cv_lib_xml2_xmlNewDocPI
=no
10776 rm -f core conftest.err conftest.
$ac_objext \
10777 conftest
$ac_exeext conftest.
$ac_ext
10778 LIBS
=$ac_check_lib_save_LIBS
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10781 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10782 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10784 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10789 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10790 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10791 $as_echo_n "(cached) " >&6
10793 ac_check_lib_save_LIBS
=$LIBS
10794 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10796 /* end confdefs.h. */
10798 /* Override any GCC internal prototype to avoid an error.
10799 Use char because int might match the return type of a GCC
10800 builtin and then its argument prototype would still apply. */
10804 char xmlSchemaSetParserStructuredErrors ();
10808 return xmlSchemaSetParserStructuredErrors ();
10813 if ac_fn_c_try_link
"$LINENO"; then :
10814 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10816 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10818 rm -f core conftest.err conftest.
$ac_objext \
10819 conftest
$ac_exeext conftest.
$ac_ext
10820 LIBS
=$ac_check_lib_save_LIBS
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10823 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10824 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10826 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10831 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10832 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10833 $as_echo_n "(cached) " >&6
10835 ac_check_lib_save_LIBS
=$LIBS
10836 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10840 /* Override any GCC internal prototype to avoid an error.
10841 Use char because int might match the return type of a GCC
10842 builtin and then its argument prototype would still apply. */
10846 char xmlSchemaSetValidStructuredErrors ();
10850 return xmlSchemaSetValidStructuredErrors ();
10855 if ac_fn_c_try_link
"$LINENO"; then :
10856 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10858 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10860 rm -f core conftest.err conftest.
$ac_objext \
10861 conftest
$ac_exeext conftest.
$ac_ext
10862 LIBS
=$ac_check_lib_save_LIBS
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10865 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10866 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10868 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10873 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10874 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10875 $as_echo_n "(cached) " >&6
10877 ac_check_lib_save_LIBS
=$LIBS
10878 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10880 /* end confdefs.h. */
10882 /* Override any GCC internal prototype to avoid an error.
10883 Use char because int might match the return type of a GCC
10884 builtin and then its argument prototype would still apply. */
10888 char xmlFirstElementChild ();
10892 return xmlFirstElementChild ();
10897 if ac_fn_c_try_link
"$LINENO"; then :
10898 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10900 ac_cv_lib_xml2_xmlFirstElementChild
=no
10902 rm -f core conftest.err conftest.
$ac_objext \
10903 conftest
$ac_exeext conftest.
$ac_ext
10904 LIBS
=$ac_check_lib_save_LIBS
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10907 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10908 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10910 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10914 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10916 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10918 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10926 CPPFLAGS
=$ac_save_CPPFLAGS
10927 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10928 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10931 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10932 case "x$with_xml" in
10933 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10935 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10936 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10940 if test "x$with_xslt" != "xno"
10942 if ${XSLT_CFLAGS:+false} :; then :
10943 if ${PKG_CONFIG+:} false
; then :
10944 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10947 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10948 if ${XSLT_LIBS:+false} :; then :
10949 if ${PKG_CONFIG+:} false
; then :
10950 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10953 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10954 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10955 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10956 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10957 ac_save_CPPFLAGS
=$CPPFLAGS
10958 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10959 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10961 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10962 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10963 # include <libxslt/pattern.h>
10966 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10967 cat >>confdefs.h
<<_ACEOF
10968 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10975 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10978 $as_echo_n "checking for -lxslt... " >&6; }
10979 if ${ac_cv_lib_soname_xslt+:} false
; then :
10980 $as_echo_n "(cached) " >&6
10982 ac_check_soname_save_LIBS
=$LIBS
10983 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10985 /* end confdefs.h. */
10987 /* Override any GCC internal prototype to avoid an error.
10988 Use char because int might match the return type of a GCC
10989 builtin and then its argument prototype would still apply. */
10993 char xsltCompilePattern ();
10997 return xsltCompilePattern ();
11002 if ac_fn_c_try_link
"$LINENO"; then :
11004 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11005 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'` ;;
11006 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11007 if ${ac_cv_lib_soname_xslt:+false} :; then :
11008 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11012 rm -f core conftest.err conftest.
$ac_objext \
11013 conftest
$ac_exeext conftest.
$ac_ext
11014 LIBS
=$ac_check_soname_save_LIBS
11016 if ${ac_cv_lib_soname_xslt:+false} :; then :
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11018 $as_echo "not found" >&6; }
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11022 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11024 cat >>confdefs.h
<<_ACEOF
11025 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11033 CPPFLAGS
=$ac_save_CPPFLAGS
11034 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11035 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11038 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11039 case "x$with_xslt" in
11040 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11042 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11043 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11047 if test "x$with_dbus" != "xno"
11049 if ${DBUS_CFLAGS:+false} :; then :
11050 if ${PKG_CONFIG+:} false
; then :
11051 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11055 if ${DBUS_LIBS:+false} :; then :
11056 if ${PKG_CONFIG+:} false
; then :
11057 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11062 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11063 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11064 ac_save_CPPFLAGS
=$CPPFLAGS
11065 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11066 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11067 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11069 $as_echo_n "checking for -ldbus-1... " >&6; }
11070 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11071 $as_echo_n "(cached) " >&6
11073 ac_check_soname_save_LIBS
=$LIBS
11074 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11076 /* end confdefs.h. */
11078 /* Override any GCC internal prototype to avoid an error.
11079 Use char because int might match the return type of a GCC
11080 builtin and then its argument prototype would still apply. */
11084 char dbus_connection_close ();
11088 return dbus_connection_close ();
11093 if ac_fn_c_try_link
"$LINENO"; then :
11095 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11096 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'` ;;
11097 *) 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'`
11098 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11099 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11103 rm -f core conftest.err conftest.
$ac_objext \
11104 conftest
$ac_exeext conftest.
$ac_ext
11105 LIBS
=$ac_check_soname_save_LIBS
11107 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11109 $as_echo "not found" >&6; }
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11113 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11115 cat >>confdefs.h
<<_ACEOF
11116 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11126 CPPFLAGS
=$ac_save_CPPFLAGS
11127 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11128 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11131 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11132 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11133 case "x$with_dbus" in
11134 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11136 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11137 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11141 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11143 if ${HAL_CFLAGS:+false} :; then :
11144 if ${PKG_CONFIG+:} false
; then :
11145 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11149 if ${HAL_LIBS:+false} :; then :
11150 if ${PKG_CONFIG+:} false
; then :
11151 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11155 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11156 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11157 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11158 ac_save_CPPFLAGS
=$CPPFLAGS
11159 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11160 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11161 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11163 $as_echo_n "checking for -lhal... " >&6; }
11164 if ${ac_cv_lib_soname_hal+:} false
; then :
11165 $as_echo_n "(cached) " >&6
11167 ac_check_soname_save_LIBS
=$LIBS
11168 LIBS
="-lhal $HAL_LIBS $LIBS"
11169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11170 /* end confdefs.h. */
11172 /* Override any GCC internal prototype to avoid an error.
11173 Use char because int might match the return type of a GCC
11174 builtin and then its argument prototype would still apply. */
11178 char libhal_ctx_new ();
11182 return libhal_ctx_new ();
11187 if ac_fn_c_try_link
"$LINENO"; then :
11189 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11190 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'` ;;
11191 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11192 if ${ac_cv_lib_soname_hal:+false} :; then :
11193 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11197 rm -f core conftest.err conftest.
$ac_objext \
11198 conftest
$ac_exeext conftest.
$ac_ext
11199 LIBS
=$ac_check_soname_save_LIBS
11201 if ${ac_cv_lib_soname_hal:+false} :; then :
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11203 $as_echo "not found" >&6; }
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11207 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11209 cat >>confdefs.h
<<_ACEOF
11210 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11220 CPPFLAGS
=$ac_save_CPPFLAGS
11221 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11222 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11224 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11225 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11226 case "x$with_hal" in
11227 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11229 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11230 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11235 if test "x$with_gnutls" != "xno"
11237 if ${GNUTLS_CFLAGS:+false} :; then :
11238 if ${PKG_CONFIG+:} false
; then :
11239 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11243 if ${GNUTLS_LIBS:+false} :; then :
11244 if ${PKG_CONFIG+:} false
; then :
11245 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11250 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11251 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11252 ac_save_CPPFLAGS
=$CPPFLAGS
11253 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11254 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11255 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11257 /* end confdefs.h. */
11258 #include <gnutls/gnutls.h>
11259 #include <gnutls/crypto.h>
11263 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11268 if ac_fn_c_try_compile
"$LINENO"; then :
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11270 $as_echo_n "checking for -lgnutls... " >&6; }
11271 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11272 $as_echo_n "(cached) " >&6
11274 ac_check_soname_save_LIBS
=$LIBS
11275 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11279 /* Override any GCC internal prototype to avoid an error.
11280 Use char because int might match the return type of a GCC
11281 builtin and then its argument prototype would still apply. */
11285 char gnutls_global_init ();
11289 return gnutls_global_init ();
11294 if ac_fn_c_try_link
"$LINENO"; then :
11296 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11297 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'` ;;
11298 *) 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'`
11299 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11300 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'`
11304 rm -f core conftest.err conftest.
$ac_objext \
11305 conftest
$ac_exeext conftest.
$ac_ext
11306 LIBS
=$ac_check_soname_save_LIBS
11308 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11310 $as_echo "not found" >&6; }
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11314 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11316 cat >>confdefs.h
<<_ACEOF
11317 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11329 CPPFLAGS
=$ac_save_CPPFLAGS
11330 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11331 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11334 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11335 case "x$with_gnutls" in
11336 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11338 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11339 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11344 if test "$ac_cv_header_ncurses_h" = "yes"
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11347 $as_echo_n "checking for -lncurses... " >&6; }
11348 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11349 $as_echo_n "(cached) " >&6
11351 ac_check_soname_save_LIBS
=$LIBS
11352 LIBS
="-lncurses $LIBS"
11353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11371 if ac_fn_c_try_link
"$LINENO"; then :
11373 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11374 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'` ;;
11375 *) 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'`
11376 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11377 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11381 rm -f core conftest.err conftest.
$ac_objext \
11382 conftest
$ac_exeext conftest.
$ac_ext
11383 LIBS
=$ac_check_soname_save_LIBS
11385 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11387 $as_echo "not found" >&6; }
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11391 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11393 cat >>confdefs.h
<<_ACEOF
11394 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11397 CURSES_LIBS
="-lncurses"
11399 elif test "$ac_cv_header_curses_h" = "yes"
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11402 $as_echo_n "checking for -lcurses... " >&6; }
11403 if ${ac_cv_lib_soname_curses+:} false
; then :
11404 $as_echo_n "(cached) " >&6
11406 ac_check_soname_save_LIBS
=$LIBS
11407 LIBS
="-lcurses $LIBS"
11408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11411 /* Override any GCC internal prototype to avoid an error.
11412 Use char because int might match the return type of a GCC
11413 builtin and then its argument prototype would still apply. */
11426 if ac_fn_c_try_link
"$LINENO"; then :
11428 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11429 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'` ;;
11430 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11431 if ${ac_cv_lib_soname_curses:+false} :; then :
11432 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11436 rm -f core conftest.err conftest.
$ac_objext \
11437 conftest
$ac_exeext conftest.
$ac_ext
11438 LIBS
=$ac_check_soname_save_LIBS
11440 if ${ac_cv_lib_soname_curses:+false} :; then :
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11442 $as_echo "not found" >&6; }
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11446 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11448 cat >>confdefs.h
<<_ACEOF
11449 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11452 CURSES_LIBS
="-lcurses"
11455 ac_save_LIBS
="$LIBS"
11456 LIBS
="$LIBS $CURSES_LIBS"
11457 for ac_func
in mousemask
11459 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11460 if test "x$ac_cv_func_mousemask" = xyes
; then :
11461 cat >>confdefs.h
<<_ACEOF
11462 #define HAVE_MOUSEMASK 1
11468 LIBS
="$ac_save_LIBS"
11469 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11470 case "x$with_curses" in
11471 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11473 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11474 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11478 if test "x$with_sane" != "xno"
11480 if ${SANE_CFLAGS:+false} :; then :
11481 if ${PKG_CONFIG+:} false
; then :
11482 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11485 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11486 if ${SANE_LIBS:+false} :; then :
11487 if ${PKG_CONFIG+:} false
; then :
11488 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11491 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11493 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11494 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11495 ac_save_CPPFLAGS
=$CPPFLAGS
11496 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11497 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11498 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11500 $as_echo_n "checking for -lsane... " >&6; }
11501 if ${ac_cv_lib_soname_sane+:} false
; then :
11502 $as_echo_n "(cached) " >&6
11504 ac_check_soname_save_LIBS
=$LIBS
11505 LIBS
="-lsane $SANE_LIBS $LIBS"
11506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11509 /* Override any GCC internal prototype to avoid an error.
11510 Use char because int might match the return type of a GCC
11511 builtin and then its argument prototype would still apply. */
11519 return sane_init ();
11524 if ac_fn_c_try_link
"$LINENO"; then :
11526 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11527 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'` ;;
11528 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11529 if ${ac_cv_lib_soname_sane:+false} :; then :
11530 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11534 rm -f core conftest.err conftest.
$ac_objext \
11535 conftest
$ac_exeext conftest.
$ac_ext
11536 LIBS
=$ac_check_soname_save_LIBS
11538 if ${ac_cv_lib_soname_sane:+false} :; then :
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11540 $as_echo "not found" >&6; }
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11544 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11546 cat >>confdefs.h
<<_ACEOF
11547 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11557 CPPFLAGS
=$ac_save_CPPFLAGS
11558 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11559 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11562 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11563 case "x$with_sane" in
11564 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11566 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11567 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11571 if test "x$with_v4l" != "xno"
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11574 $as_echo_n "checking for -lv4l1... " >&6; }
11575 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11576 $as_echo_n "(cached) " >&6
11578 ac_check_soname_save_LIBS
=$LIBS
11579 LIBS
="-lv4l1 $LIBS"
11580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11581 /* end confdefs.h. */
11583 /* Override any GCC internal prototype to avoid an error.
11584 Use char because int might match the return type of a GCC
11585 builtin and then its argument prototype would still apply. */
11593 return v4l1_open ();
11598 if ac_fn_c_try_link
"$LINENO"; then :
11600 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11601 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'` ;;
11602 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11603 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11604 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11608 rm -f core conftest.err conftest.
$ac_objext \
11609 conftest
$ac_exeext conftest.
$ac_ext
11610 LIBS
=$ac_check_soname_save_LIBS
11612 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11614 $as_echo "not found" >&6; }
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11618 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11620 cat >>confdefs.h
<<_ACEOF
11621 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11627 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11628 case "x$with_v4l" in
11629 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11631 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11632 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11636 if test "x$with_gphoto" != "xno"
11638 if ${GPHOTO2_CFLAGS:+false} :; then :
11639 if ${PKG_CONFIG+:} false
; then :
11640 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11643 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11644 if ${GPHOTO2_LIBS:+false} :; then :
11645 if ${PKG_CONFIG+:} false
; then :
11646 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11649 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11650 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11651 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11652 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11653 ac_save_CPPFLAGS
=$CPPFLAGS
11654 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11655 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11656 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11658 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11659 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11660 $as_echo_n "(cached) " >&6
11662 ac_check_lib_save_LIBS
=$LIBS
11663 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11665 /* end confdefs.h. */
11667 /* Override any GCC internal prototype to avoid an error.
11668 Use char because int might match the return type of a GCC
11669 builtin and then its argument prototype would still apply. */
11673 char gp_camera_new ();
11677 return gp_camera_new ();
11682 if ac_fn_c_try_link
"$LINENO"; then :
11683 ac_cv_lib_gphoto2_gp_camera_new
=yes
11685 ac_cv_lib_gphoto2_gp_camera_new
=no
11687 rm -f core conftest.err conftest.
$ac_objext \
11688 conftest
$ac_exeext conftest.
$ac_ext
11689 LIBS
=$ac_check_lib_save_LIBS
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11692 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11693 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11695 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11698 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11702 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11706 CPPFLAGS
=$ac_save_CPPFLAGS
11707 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11708 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11710 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11711 if ${PKG_CONFIG+:} false
; then :
11712 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11715 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11716 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11717 if ${PKG_CONFIG+:} false
; then :
11718 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11721 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11722 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11723 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11724 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11725 ac_save_CPPFLAGS
=$CPPFLAGS
11726 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11727 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11728 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11730 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11731 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11732 $as_echo_n "(cached) " >&6
11734 ac_check_lib_save_LIBS
=$LIBS
11735 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11737 /* end confdefs.h. */
11739 /* Override any GCC internal prototype to avoid an error.
11740 Use char because int might match the return type of a GCC
11741 builtin and then its argument prototype would still apply. */
11745 char gp_port_info_list_new ();
11749 return gp_port_info_list_new ();
11754 if ac_fn_c_try_link
"$LINENO"; then :
11755 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11757 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11759 rm -f core conftest.err conftest.
$ac_objext \
11760 conftest
$ac_exeext conftest.
$ac_ext
11761 LIBS
=$ac_check_lib_save_LIBS
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11764 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11765 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11767 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11770 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11774 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11778 CPPFLAGS
=$ac_save_CPPFLAGS
11779 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11780 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11783 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11784 case "x$with_gphoto" in
11785 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11787 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11788 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11791 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11792 case "x$with_gphoto" in
11793 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11795 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11796 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11801 if test "$ac_cv_header_resolv_h" = "yes"
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11804 $as_echo_n "checking for resolver library... " >&6; }
11805 if ${ac_cv_have_resolv+:} false
; then :
11806 $as_echo_n "(cached) " >&6
11808 ac_save_LIBS
="$LIBS"
11809 for lib
in '' -lresolv
11811 LIBS
="$lib $ac_save_LIBS"
11812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11814 #ifdef HAVE_NETINET_IN_H
11815 #include <netinet/in.h>
11817 #include <resolv.h>
11821 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11826 if ac_fn_c_try_link
"$LINENO"; then :
11827 ac_cv_have_resolv
=${lib:-"none required"}
11829 ac_cv_have_resolv
="not found"
11831 rm -f core conftest.err conftest.
$ac_objext \
11832 conftest
$ac_exeext conftest.
$ac_ext
11833 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11835 LIBS
="$ac_save_LIBS"
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11838 $as_echo "$ac_cv_have_resolv" >&6; }
11840 case "$ac_cv_have_resolv" in
11844 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11847 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11849 RESOLV_LIBS
=$ac_cv_have_resolv
11854 if test "x$with_lcms2" != "xno"
11856 if ${LCMS2_CFLAGS:+false} :; then :
11857 if ${PKG_CONFIG+:} false
; then :
11858 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11862 if ${LCMS2_LIBS:+false} :; then :
11863 if ${PKG_CONFIG+:} false
; then :
11864 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11868 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11869 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11870 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11871 ac_save_CPPFLAGS
=$CPPFLAGS
11872 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11873 for ac_header
in lcms2.h
11875 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11876 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11877 cat >>confdefs.h
<<_ACEOF
11878 #define HAVE_LCMS2_H 1
11885 if test "$ac_cv_header_lcms2_h" = "yes"
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11888 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11889 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11890 $as_echo_n "(cached) " >&6
11892 ac_check_lib_save_LIBS
=$LIBS
11893 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11895 /* end confdefs.h. */
11897 /* Override any GCC internal prototype to avoid an error.
11898 Use char because int might match the return type of a GCC
11899 builtin and then its argument prototype would still apply. */
11903 char cmsOpenProfileFromFile ();
11907 return cmsOpenProfileFromFile ();
11912 if ac_fn_c_try_link
"$LINENO"; then :
11913 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11915 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11917 rm -f core conftest.err conftest.
$ac_objext \
11918 conftest
$ac_exeext conftest.
$ac_ext
11919 LIBS
=$ac_check_lib_save_LIBS
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11922 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11923 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11925 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11935 CPPFLAGS
=$ac_save_CPPFLAGS
11936 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11937 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11940 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11941 case "x$with_cms" in
11942 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11944 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11945 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11949 if test "x$with_freetype" != "xno"
11951 if ${FREETYPE_CFLAGS:+false} :; then :
11952 if ${PKG_CONFIG+:} false
; then :
11953 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11956 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11957 if ${FREETYPE_LIBS:+false} :; then :
11958 if ${PKG_CONFIG+:} false
; then :
11959 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11962 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11963 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11964 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11965 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11966 ac_save_CPPFLAGS
=$CPPFLAGS
11967 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11968 for ac_header
in ft2build.h
11970 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11971 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11972 cat >>confdefs.h
<<_ACEOF
11973 #define HAVE_FT2BUILD_H 1
11980 if test "$ac_cv_header_ft2build_h" = "yes"
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11983 $as_echo_n "checking for -lfreetype... " >&6; }
11984 if ${ac_cv_lib_soname_freetype+:} false
; then :
11985 $as_echo_n "(cached) " >&6
11987 ac_check_soname_save_LIBS
=$LIBS
11988 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11990 /* end confdefs.h. */
11992 /* Override any GCC internal prototype to avoid an error.
11993 Use char because int might match the return type of a GCC
11994 builtin and then its argument prototype would still apply. */
11998 char FT_Init_FreeType ();
12002 return FT_Init_FreeType ();
12007 if ac_fn_c_try_link
"$LINENO"; then :
12009 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12010 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'` ;;
12011 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12012 if ${ac_cv_lib_soname_freetype:+false} :; then :
12013 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12017 rm -f core conftest.err conftest.
$ac_objext \
12018 conftest
$ac_exeext conftest.
$ac_ext
12019 LIBS
=$ac_check_soname_save_LIBS
12021 if ${ac_cv_lib_soname_freetype:+false} :; then :
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12023 $as_echo "not found" >&6; }
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12027 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12029 cat >>confdefs.h
<<_ACEOF
12030 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12034 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12036 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12037 #include FT_MODULE_H
12039 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12041 cat >>confdefs.h
<<_ACEOF
12042 #define HAVE_FT_TRUETYPEENGINETYPE 1
12053 CPPFLAGS
=$ac_save_CPPFLAGS
12054 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12055 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12058 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12059 case "x$with_freetype" in
12061 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12062 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12065 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12068 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12069 if ${ac_cv_c_ppdev+:} false
; then :
12070 $as_echo_n "(cached) " >&6
12072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12074 #ifdef HAVE_SYS_IOCTL_H
12075 # include <sys/ioctl.h>
12077 #include <linux/ppdev.h>
12081 ioctl (1,PPCLAIM,0)
12086 if ac_fn_c_try_compile
"$LINENO"; then :
12087 ac_cv_c_ppdev
="yes"
12091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12094 $as_echo "$ac_cv_c_ppdev" >&6; }
12095 if test "$ac_cv_c_ppdev" = "yes"
12098 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12102 ac_wine_check_funcs_save_LIBS
="$LIBS"
12103 LIBS
="$LIBS $PTHREAD_LIBS"
12105 pthread_attr_get_np \
12106 pthread_getattr_np \
12107 pthread_getthreadid_np \
12108 pthread_get_stackaddr_np \
12109 pthread_get_stacksize_np
12111 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12112 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12113 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12114 cat >>confdefs.h
<<_ACEOF
12115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12121 LIBS
="$ac_wine_check_funcs_save_LIBS"
12123 if test "$ac_cv_header_zlib_h" = "yes"
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12126 $as_echo_n "checking for inflate in -lz... " >&6; }
12127 if ${ac_cv_lib_z_inflate+:} false
; then :
12128 $as_echo_n "(cached) " >&6
12130 ac_check_lib_save_LIBS
=$LIBS
12132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12133 /* end confdefs.h. */
12135 /* Override any GCC internal prototype to avoid an error.
12136 Use char because int might match the return type of a GCC
12137 builtin and then its argument prototype would still apply. */
12150 if ac_fn_c_try_link
"$LINENO"; then :
12151 ac_cv_lib_z_inflate
=yes
12153 ac_cv_lib_z_inflate
=no
12155 rm -f core conftest.err conftest.
$ac_objext \
12156 conftest
$ac_exeext conftest.
$ac_ext
12157 LIBS
=$ac_check_lib_save_LIBS
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12160 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12161 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12163 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12170 if test "x$Z_LIBS" = "x"; then :
12171 case "x$with_zlib" in
12172 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12174 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12175 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12179 if test "x$enable_tools" != xno
12181 if test "$ac_cv_header_gettext_po_h" = "yes"
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12184 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12185 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12186 $as_echo_n "(cached) " >&6
12188 ac_check_lib_save_LIBS
=$LIBS
12189 LIBS
="-lgettextpo $LIBS"
12190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12191 /* end confdefs.h. */
12193 /* Override any GCC internal prototype to avoid an error.
12194 Use char because int might match the return type of a GCC
12195 builtin and then its argument prototype would still apply. */
12199 char po_message_msgctxt ();
12203 return po_message_msgctxt ();
12208 if ac_fn_c_try_link
"$LINENO"; then :
12209 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12211 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12213 rm -f core conftest.err conftest.
$ac_objext \
12214 conftest
$ac_exeext conftest.
$ac_ext
12215 LIBS
=$ac_check_lib_save_LIBS
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12218 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12219 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12221 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12223 GETTEXTPO_LIBS
="-lgettextpo"
12228 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12229 case "x$with_gettextpo" in
12230 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12232 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12233 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12238 if test "x$with_gstreamer" != "xno"
12240 if ${GSTREAMER_CFLAGS:+false} :; then :
12241 if ${PKG_CONFIG+:} false
; then :
12242 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12246 if ${GSTREAMER_LIBS:+false} :; then :
12247 if ${PKG_CONFIG+:} false
; then :
12248 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12253 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12254 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12255 ac_save_CPPFLAGS
=$CPPFLAGS
12256 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12258 for i
in $GSTREAMER_CFLAGS
12261 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12264 GSTREAMER_CFLAGS
=$ac_gst_incl
12265 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12266 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12267 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12268 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12269 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12271 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12273 /* end confdefs.h. */
12274 #include <gst/app/gstappsink.h>
12278 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12283 if ac_fn_c_try_compile
"$LINENO"; then :
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12285 $as_echo "yes" >&6; }
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12287 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12288 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12289 $as_echo_n "(cached) " >&6
12291 ac_check_lib_save_LIBS
=$LIBS
12292 LIBS
="-lgstreamer-0.10 $LIBS"
12293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12296 /* Override any GCC internal prototype to avoid an error.
12297 Use char because int might match the return type of a GCC
12298 builtin and then its argument prototype would still apply. */
12302 char gst_pad_get_caps_reffed ();
12306 return gst_pad_get_caps_reffed ();
12311 if ac_fn_c_try_link
"$LINENO"; then :
12312 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12314 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12316 rm -f core conftest.err conftest.
$ac_objext \
12317 conftest
$ac_exeext conftest.
$ac_ext
12318 LIBS
=$ac_check_lib_save_LIBS
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12321 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12322 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12324 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12325 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12326 $as_echo_n "(cached) " >&6
12328 ac_check_lib_save_LIBS
=$LIBS
12329 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12331 /* end confdefs.h. */
12333 /* Override any GCC internal prototype to avoid an error.
12334 Use char because int might match the return type of a GCC
12335 builtin and then its argument prototype would still apply. */
12339 char gst_app_buffer_new ();
12343 return gst_app_buffer_new ();
12348 if ac_fn_c_try_link
"$LINENO"; then :
12349 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12351 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12353 rm -f core conftest.err conftest.
$ac_objext \
12354 conftest
$ac_exeext conftest.
$ac_ext
12355 LIBS
=$ac_check_lib_save_LIBS
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12358 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12359 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12367 $as_echo "no" >&6; }
12369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12374 GSTREAMER_CFLAGS
=""
12378 CPPFLAGS
=$ac_save_CPPFLAGS
12379 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12380 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12383 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12384 case "x$with_gstreamer" in
12385 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12387 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12388 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12391 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12395 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12398 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12399 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12400 $as_echo_n "(cached) " >&6
12402 ac_check_lib_save_LIBS
=$LIBS
12403 LIBS
="-lasound $LIBS"
12404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12405 /* end confdefs.h. */
12407 /* Override any GCC internal prototype to avoid an error.
12408 Use char because int might match the return type of a GCC
12409 builtin and then its argument prototype would still apply. */
12413 char snd_pcm_hw_params_get_access_mask ();
12417 return snd_pcm_hw_params_get_access_mask ();
12422 if ac_fn_c_try_link
"$LINENO"; then :
12423 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12425 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12427 rm -f core conftest.err conftest.
$ac_objext \
12428 conftest
$ac_exeext conftest.
$ac_ext
12429 LIBS
=$ac_check_lib_save_LIBS
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12432 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12433 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12435 /* end confdefs.h. */
12436 #ifdef HAVE_ALSA_ASOUNDLIB_H
12437 #include <alsa/asoundlib.h>
12438 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12439 #include <sys/asoundlib.h>
12444 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12449 if ac_fn_c_try_compile
"$LINENO"; then :
12450 ALSA_LIBS
="-lasound"
12452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12457 if test "x$with_oss" != xno
12459 ac_save_CPPFLAGS
="$CPPFLAGS"
12460 if test -f /etc
/oss.conf
12464 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12465 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12466 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12467 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12468 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12470 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12472 cat >>confdefs.h
<<_ACEOF
12473 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12476 OSS4_CFLAGS
="$ac_oss_incl"
12483 CPPFLAGS
="$ac_save_CPPFLAGS"
12484 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12486 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12490 if test "x$with_capi" != "xno"
12492 if ${CAPI20_CFLAGS:+false} :; then :
12493 if ${PKG_CONFIG+:} false
; then :
12494 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12498 if ${CAPI20_LIBS:+false} :; then :
12499 if ${PKG_CONFIG+:} false
; then :
12500 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12505 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12506 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12507 ac_save_CPPFLAGS
=$CPPFLAGS
12508 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12509 for ac_header
in capi20.h linux
/capi.h
12511 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12512 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12514 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12515 cat >>confdefs.h
<<_ACEOF
12516 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12523 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12526 $as_echo_n "checking for -lcapi20... " >&6; }
12527 if ${ac_cv_lib_soname_capi20+:} false
; then :
12528 $as_echo_n "(cached) " >&6
12530 ac_check_soname_save_LIBS
=$LIBS
12531 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12535 /* Override any GCC internal prototype to avoid an error.
12536 Use char because int might match the return type of a GCC
12537 builtin and then its argument prototype would still apply. */
12541 char capi20_register ();
12545 return capi20_register ();
12550 if ac_fn_c_try_link
"$LINENO"; then :
12552 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12553 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'` ;;
12554 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12555 if ${ac_cv_lib_soname_capi20:+false} :; then :
12556 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12560 rm -f core conftest.err conftest.
$ac_objext \
12561 conftest
$ac_exeext conftest.
$ac_ext
12562 LIBS
=$ac_check_soname_save_LIBS
12564 if ${ac_cv_lib_soname_capi20:+false} :; then :
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12566 $as_echo "not found" >&6; }
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12570 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12572 cat >>confdefs.h
<<_ACEOF
12573 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12579 CPPFLAGS
=$ac_save_CPPFLAGS
12580 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12581 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12584 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12585 case "x$with_capi" in
12586 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12588 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12589 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12595 if test "x$with_cups" != "xno"
12597 ac_save_CPPFLAGS
="$CPPFLAGS"
12598 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12599 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12600 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12601 for ac_header
in cups
/cups.h
12603 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12604 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12605 cat >>confdefs.h
<<_ACEOF
12606 #define HAVE_CUPS_CUPS_H 1
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12609 $as_echo_n "checking for -lcups... " >&6; }
12610 if ${ac_cv_lib_soname_cups+:} false
; then :
12611 $as_echo_n "(cached) " >&6
12613 ac_check_soname_save_LIBS
=$LIBS
12614 LIBS
="-lcups $ac_cups_libs $LIBS"
12615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h. */
12618 /* Override any GCC internal prototype to avoid an error.
12619 Use char because int might match the return type of a GCC
12620 builtin and then its argument prototype would still apply. */
12624 char cupsGetDefault ();
12628 return cupsGetDefault ();
12633 if ac_fn_c_try_link
"$LINENO"; then :
12635 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12636 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'` ;;
12637 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12638 if ${ac_cv_lib_soname_cups:+false} :; then :
12639 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12643 rm -f core conftest.err conftest.
$ac_objext \
12644 conftest
$ac_exeext conftest.
$ac_ext
12645 LIBS
=$ac_check_soname_save_LIBS
12647 if ${ac_cv_lib_soname_cups:+false} :; then :
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12649 $as_echo "not found" >&6; }
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12653 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12655 cat >>confdefs.h
<<_ACEOF
12656 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12659 CUPS_CFLAGS
="$ac_cups_cflags"
12665 CPPFLAGS
="$ac_save_CPPFLAGS"
12667 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12668 case "x$with_cups" in
12669 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12671 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12672 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12676 if test "x$with_fontconfig" != "xno"
12678 if ${FONTCONFIG_CFLAGS:+false} :; then :
12679 if ${PKG_CONFIG+:} false
; then :
12680 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12683 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12684 if ${FONTCONFIG_LIBS:+false} :; then :
12685 if ${PKG_CONFIG+:} false
; then :
12686 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12689 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12691 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12692 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12693 ac_save_CPPFLAGS
=$CPPFLAGS
12694 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12695 for ac_header
in fontconfig
/fontconfig.h
12697 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12698 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12699 cat >>confdefs.h
<<_ACEOF
12700 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12707 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12710 $as_echo_n "checking for -lfontconfig... " >&6; }
12711 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12712 $as_echo_n "(cached) " >&6
12714 ac_check_soname_save_LIBS
=$LIBS
12715 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12717 /* end confdefs.h. */
12719 /* Override any GCC internal prototype to avoid an error.
12720 Use char because int might match the return type of a GCC
12721 builtin and then its argument prototype would still apply. */
12734 if ac_fn_c_try_link
"$LINENO"; then :
12736 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12737 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'` ;;
12738 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12739 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12740 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12744 rm -f core conftest.err conftest.
$ac_objext \
12745 conftest
$ac_exeext conftest.
$ac_ext
12746 LIBS
=$ac_check_soname_save_LIBS
12748 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12750 $as_echo "not found" >&6; }
12751 FONTCONFIG_CFLAGS
=""
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12754 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12756 cat >>confdefs.h
<<_ACEOF
12757 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12763 FONTCONFIG_CFLAGS
=""
12765 CPPFLAGS
=$ac_save_CPPFLAGS
12766 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12767 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12770 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12771 case "x$with_fontconfig" in
12772 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12774 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12775 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12779 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12782 $as_echo_n "checking for -lgsm... " >&6; }
12783 if ${ac_cv_lib_soname_gsm+:} false
; then :
12784 $as_echo_n "(cached) " >&6
12786 ac_check_soname_save_LIBS
=$LIBS
12788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12789 /* end confdefs.h. */
12791 /* Override any GCC internal prototype to avoid an error.
12792 Use char because int might match the return type of a GCC
12793 builtin and then its argument prototype would still apply. */
12797 char gsm_create ();
12801 return gsm_create ();
12806 if ac_fn_c_try_link
"$LINENO"; then :
12808 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12809 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'` ;;
12810 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12811 if ${ac_cv_lib_soname_gsm:+false} :; then :
12812 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12816 rm -f core conftest.err conftest.
$ac_objext \
12817 conftest
$ac_exeext conftest.
$ac_ext
12818 LIBS
=$ac_check_soname_save_LIBS
12820 if ${ac_cv_lib_soname_gsm:+false} :; then :
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12822 $as_echo "not found" >&6; }
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12826 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12828 cat >>confdefs.h
<<_ACEOF
12829 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12835 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12836 case "x$with_gsm" in
12837 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12839 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12840 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12844 if test "x$with_jpeg" != "xno"
12846 if ${JPEG_CFLAGS:+false} :; then :
12847 if ${PKG_CONFIG+:} false
; then :
12848 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12852 if ${JPEG_LIBS:+false} :; then :
12853 if ${PKG_CONFIG+:} false
; then :
12854 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12859 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12860 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12861 ac_save_CPPFLAGS
=$CPPFLAGS
12862 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12863 for ac_header
in jpeglib.h
12865 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12866 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12867 cat >>confdefs.h
<<_ACEOF
12868 #define HAVE_JPEGLIB_H 1
12875 if test "$ac_cv_header_jpeglib_h" = "yes"
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12878 $as_echo_n "checking for -ljpeg... " >&6; }
12879 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12880 $as_echo_n "(cached) " >&6
12882 ac_check_soname_save_LIBS
=$LIBS
12883 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12885 /* end confdefs.h. */
12887 /* Override any GCC internal prototype to avoid an error.
12888 Use char because int might match the return type of a GCC
12889 builtin and then its argument prototype would still apply. */
12893 char jpeg_start_decompress ();
12897 return jpeg_start_decompress ();
12902 if ac_fn_c_try_link
"$LINENO"; then :
12904 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12905 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'` ;;
12906 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12907 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12908 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12912 rm -f core conftest.err conftest.
$ac_objext \
12913 conftest
$ac_exeext conftest.
$ac_ext
12914 LIBS
=$ac_check_soname_save_LIBS
12916 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12918 $as_echo "not found" >&6; }
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12922 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12924 cat >>confdefs.h
<<_ACEOF
12925 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12933 CPPFLAGS
=$ac_save_CPPFLAGS
12934 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12935 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12938 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12939 case "x$with_jpeg" in
12940 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12942 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12943 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12947 if test "x$with_png" != "xno"
12949 if ${PNG_CFLAGS:+false} :; then :
12950 if ${PKG_CONFIG+:} false
; then :
12951 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12954 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12955 if ${PNG_LIBS:+false} :; then :
12956 if ${PKG_CONFIG+:} false
; then :
12957 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12960 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12962 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12963 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12964 ac_save_CPPFLAGS
=$CPPFLAGS
12965 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12966 for ac_header
in png.h
12968 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12969 if test "x$ac_cv_header_png_h" = xyes
; then :
12970 cat >>confdefs.h
<<_ACEOF
12971 #define HAVE_PNG_H 1
12978 if test "$ac_cv_header_png_h" = "yes"
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12981 $as_echo_n "checking for -lpng... " >&6; }
12982 if ${ac_cv_lib_soname_png+:} false
; then :
12983 $as_echo_n "(cached) " >&6
12985 ac_check_soname_save_LIBS
=$LIBS
12986 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12988 /* end confdefs.h. */
12990 /* Override any GCC internal prototype to avoid an error.
12991 Use char because int might match the return type of a GCC
12992 builtin and then its argument prototype would still apply. */
12996 char png_create_read_struct ();
13000 return png_create_read_struct ();
13005 if ac_fn_c_try_link
"$LINENO"; then :
13007 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13008 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'` ;;
13009 *) 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'`
13010 if ${ac_cv_lib_soname_png:+false} :; then :
13011 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13015 rm -f core conftest.err conftest.
$ac_objext \
13016 conftest
$ac_exeext conftest.
$ac_ext
13017 LIBS
=$ac_check_soname_save_LIBS
13019 if ${ac_cv_lib_soname_png:+false} :; then :
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13021 $as_echo "not found" >&6; }
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13025 $as_echo "$ac_cv_lib_soname_png" >&6; }
13027 cat >>confdefs.h
<<_ACEOF
13028 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13032 /* end confdefs.h. */
13037 typeof(png_set_expand_gray_1_2_4_to_8) *p
13042 if ac_fn_c_try_compile
"$LINENO"; then :
13044 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13052 CPPFLAGS
=$ac_save_CPPFLAGS
13053 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13054 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13057 if test "x$ac_cv_lib_soname_png" = "x"; then :
13058 case "x$with_png" in
13059 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13061 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13062 This is an error since --with-png was requested." "$LINENO" 5 ;;
13066 if test "x$with_tiff" != "xno"
13068 if ${TIFF_CFLAGS:+false} :; then :
13069 if ${PKG_CONFIG+:} false
; then :
13070 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13074 if ${TIFF_LIBS:+false} :; then :
13075 if ${PKG_CONFIG+:} false
; then :
13076 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13081 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13082 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13083 ac_save_CPPFLAGS
=$CPPFLAGS
13084 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13085 for ac_header
in tiffio.h
13087 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13088 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13089 cat >>confdefs.h
<<_ACEOF
13090 #define HAVE_TIFFIO_H 1
13097 if test "$ac_cv_header_tiffio_h" = "yes"
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13100 $as_echo_n "checking for -ltiff... " >&6; }
13101 if ${ac_cv_lib_soname_tiff+:} false
; then :
13102 $as_echo_n "(cached) " >&6
13104 ac_check_soname_save_LIBS
=$LIBS
13105 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 /* Override any GCC internal prototype to avoid an error.
13110 Use char because int might match the return type of a GCC
13111 builtin and then its argument prototype would still apply. */
13115 char TIFFClientOpen ();
13119 return TIFFClientOpen ();
13124 if ac_fn_c_try_link
"$LINENO"; then :
13126 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13127 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'` ;;
13128 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13129 if ${ac_cv_lib_soname_tiff:+false} :; then :
13130 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13134 rm -f core conftest.err conftest.
$ac_objext \
13135 conftest
$ac_exeext conftest.
$ac_ext
13136 LIBS
=$ac_check_soname_save_LIBS
13138 if ${ac_cv_lib_soname_tiff:+false} :; then :
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13140 $as_echo "not found" >&6; }
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13144 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13146 cat >>confdefs.h
<<_ACEOF
13147 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13153 CPPFLAGS
=$ac_save_CPPFLAGS
13154 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13155 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13158 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13159 case "x$with_tiff" in
13160 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13162 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13163 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13167 if test "x$with_mpg123" != "xno"
13169 if ${MPG123_CFLAGS:+false} :; then :
13170 if ${PKG_CONFIG+:} false
; then :
13171 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13175 if ${MPG123_LIBS:+false} :; then :
13176 if ${PKG_CONFIG+:} false
; then :
13177 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13181 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13182 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13183 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13184 ac_save_CPPFLAGS
=$CPPFLAGS
13185 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13186 for ac_header
in mpg123.h
13188 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13189 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13190 cat >>confdefs.h
<<_ACEOF
13191 #define HAVE_MPG123_H 1
13198 if test "$ac_cv_header_mpg123_h" = "yes"
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13201 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13202 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13203 $as_echo_n "(cached) " >&6
13205 ac_check_lib_save_LIBS
=$LIBS
13206 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13208 /* end confdefs.h. */
13210 /* Override any GCC internal prototype to avoid an error.
13211 Use char because int might match the return type of a GCC
13212 builtin and then its argument prototype would still apply. */
13216 char mpg123_feed ();
13220 return mpg123_feed ();
13225 if ac_fn_c_try_link
"$LINENO"; then :
13226 ac_cv_lib_mpg123_mpg123_feed
=yes
13228 ac_cv_lib_mpg123_mpg123_feed
=no
13230 rm -f core conftest.err conftest.
$ac_objext \
13231 conftest
$ac_exeext conftest.
$ac_ext
13232 LIBS
=$ac_check_lib_save_LIBS
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13235 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13236 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13246 CPPFLAGS
=$ac_save_CPPFLAGS
13247 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13248 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13251 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13252 case "x$with_mpg123" in
13253 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13255 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13256 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13259 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}
13261 if test "$ac_cv_header_AL_al_h" = "yes"
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13264 $as_echo_n "checking for -lopenal... " >&6; }
13265 if ${ac_cv_lib_soname_openal+:} false
; then :
13266 $as_echo_n "(cached) " >&6
13268 ac_check_soname_save_LIBS
=$LIBS
13269 LIBS
="-lopenal $LIBS"
13270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13271 /* end confdefs.h. */
13273 /* Override any GCC internal prototype to avoid an error.
13274 Use char because int might match the return type of a GCC
13275 builtin and then its argument prototype would still apply. */
13279 char alGetSource3i ();
13283 return alGetSource3i ();
13288 if ac_fn_c_try_link
"$LINENO"; then :
13290 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13291 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'` ;;
13292 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13293 if ${ac_cv_lib_soname_openal:+false} :; then :
13294 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13298 rm -f core conftest.err conftest.
$ac_objext \
13299 conftest
$ac_exeext conftest.
$ac_ext
13300 LIBS
=$ac_check_soname_save_LIBS
13302 if ${ac_cv_lib_soname_openal:+false} :; then :
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13304 $as_echo "not found" >&6; }
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13308 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13310 cat >>confdefs.h
<<_ACEOF
13311 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13314 OPENAL_LIBS
="-lopenal"
13316 ac_cv_lib_openal
=yes
13318 cat >>confdefs.h
<<_ACEOF
13319 #define HAVE_OPENAL 1
13324 if test "x$ac_cv_lib_openal" != xyes
; then :
13325 case "x$with_openal" in
13326 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13328 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13329 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13332 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13334 if test "$ac_cv_header_kstat_h" = "yes"
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13337 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13338 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13339 $as_echo_n "(cached) " >&6
13341 ac_check_lib_save_LIBS
=$LIBS
13342 LIBS
="-lkstat $LIBS"
13343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h. */
13346 /* Override any GCC internal prototype to avoid an error.
13347 Use char because int might match the return type of a GCC
13348 builtin and then its argument prototype would still apply. */
13352 char kstat_open ();
13356 return kstat_open ();
13361 if ac_fn_c_try_link
"$LINENO"; then :
13362 ac_cv_lib_kstat_kstat_open
=yes
13364 ac_cv_lib_kstat_kstat_open
=no
13366 rm -f core conftest.err conftest.
$ac_objext \
13367 conftest
$ac_exeext conftest.
$ac_ext
13368 LIBS
=$ac_check_lib_save_LIBS
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13371 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13372 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13374 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13376 KSTAT_LIBS
="-lkstat"
13382 if test "$ac_cv_header_libprocstat_h" = "yes"
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13385 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13386 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13387 $as_echo_n "(cached) " >&6
13389 ac_check_lib_save_LIBS
=$LIBS
13390 LIBS
="-lprocstat $LIBS"
13391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13392 /* end confdefs.h. */
13394 /* Override any GCC internal prototype to avoid an error.
13395 Use char because int might match the return type of a GCC
13396 builtin and then its argument prototype would still apply. */
13400 char procstat_open_sysctl ();
13404 return procstat_open_sysctl ();
13409 if ac_fn_c_try_link
"$LINENO"; then :
13410 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13412 ac_cv_lib_procstat_procstat_open_sysctl
=no
13414 rm -f core conftest.err conftest.
$ac_objext \
13415 conftest
$ac_exeext conftest.
$ac_ext
13416 LIBS
=$ac_check_lib_save_LIBS
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13419 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13420 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13422 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13424 PROCSTAT_LIBS
="-lprocstat"
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13431 $as_echo_n "checking for -lodbc... " >&6; }
13432 if ${ac_cv_lib_soname_odbc+:} false
; then :
13433 $as_echo_n "(cached) " >&6
13435 ac_check_soname_save_LIBS
=$LIBS
13436 LIBS
="-lodbc $LIBS"
13437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13438 /* end confdefs.h. */
13440 /* Override any GCC internal prototype to avoid an error.
13441 Use char because int might match the return type of a GCC
13442 builtin and then its argument prototype would still apply. */
13446 char SQLConnect ();
13450 return SQLConnect ();
13455 if ac_fn_c_try_link
"$LINENO"; then :
13457 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13458 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'` ;;
13459 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13460 if ${ac_cv_lib_soname_odbc:+false} :; then :
13461 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13465 rm -f core conftest.err conftest.
$ac_objext \
13466 conftest
$ac_exeext conftest.
$ac_ext
13467 LIBS
=$ac_check_soname_save_LIBS
13469 if ${ac_cv_lib_soname_odbc:+false} :; then :
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13471 $as_echo "not found" >&6; }
13472 cat >>confdefs.h
<<_ACEOF
13473 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13478 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13480 cat >>confdefs.h
<<_ACEOF
13481 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13487 if test "x$with_netapi" != "xno"
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13490 $as_echo_n "checking for -lnetapi... " >&6; }
13491 if ${ac_cv_lib_soname_netapi+:} false
; then :
13492 $as_echo_n "(cached) " >&6
13494 ac_check_soname_save_LIBS
=$LIBS
13495 LIBS
="-lnetapi $LIBS"
13496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13497 /* end confdefs.h. */
13499 /* Override any GCC internal prototype to avoid an error.
13500 Use char because int might match the return type of a GCC
13501 builtin and then its argument prototype would still apply. */
13505 char libnetapi_init ();
13509 return libnetapi_init ();
13514 if ac_fn_c_try_link
"$LINENO"; then :
13516 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13517 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'` ;;
13518 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13519 if ${ac_cv_lib_soname_netapi:+false} :; then :
13520 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13524 rm -f core conftest.err conftest.
$ac_objext \
13525 conftest
$ac_exeext conftest.
$ac_ext
13526 LIBS
=$ac_check_soname_save_LIBS
13528 if ${ac_cv_lib_soname_netapi:+false} :; then :
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13530 $as_echo "not found" >&6; }
13531 cat >>confdefs.h
<<_ACEOF
13532 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13537 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13539 cat >>confdefs.h
<<_ACEOF
13540 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13547 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13548 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13549 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13550 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13552 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13553 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13554 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13556 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13562 if test "x${GCC}" = "xyes"
13564 EXTRACFLAGS
="-Wall -pipe"
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13567 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13568 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13569 $as_echo_n "(cached) " >&6
13571 if test "$cross_compiling" = yes; then :
13572 ac_cv_c_gcc_strength_bug
="yes"
13574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h. */
13576 int L[4] = {0,1,2,3};
13580 static int Array[3];
13581 unsigned int B = 3;
13583 for(i=0; i<B; i++) Array[i] = i - 3;
13584 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13586 return (Array[1] != -2 || L[2] != 3)
13591 if ac_fn_c_try_run
"$LINENO"; then :
13592 ac_cv_c_gcc_strength_bug
="no"
13594 ac_cv_c_gcc_strength_bug
="yes"
13596 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13597 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13602 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13603 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13605 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13609 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13610 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13611 $as_echo_n "(cached) " >&6
13613 ac_wine_try_cflags_saved
=$CFLAGS
13614 CFLAGS
="$CFLAGS -fno-builtin"
13615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13616 /* end confdefs.h. */
13617 int main(int argc, char **argv) { return 0; }
13619 if ac_fn_c_try_link
"$LINENO"; then :
13620 ac_cv_cflags__fno_builtin
=yes
13622 ac_cv_cflags__fno_builtin
=no
13624 rm -f core conftest.err conftest.
$ac_objext \
13625 conftest
$ac_exeext conftest.
$ac_ext
13626 CFLAGS
=$ac_wine_try_cflags_saved
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13629 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13630 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13631 BUILTINFLAG
="-fno-builtin"
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13635 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13636 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13637 $as_echo_n "(cached) " >&6
13639 ac_wine_try_cflags_saved
=$CFLAGS
13640 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13642 /* end confdefs.h. */
13643 int main(int argc, char **argv) { return 0; }
13645 if ac_fn_c_try_link
"$LINENO"; then :
13646 ac_cv_cflags__fno_strict_aliasing
=yes
13648 ac_cv_cflags__fno_strict_aliasing
=no
13650 rm -f core conftest.err conftest.
$ac_objext \
13651 conftest
$ac_exeext conftest.
$ac_ext
13652 CFLAGS
=$ac_wine_try_cflags_saved
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13655 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13656 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13657 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13659 saved_CFLAGS
=$CFLAGS
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13661 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13662 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13663 $as_echo_n "(cached) " >&6
13665 ac_wine_try_cflags_saved
=$CFLAGS
13666 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13668 /* end confdefs.h. */
13669 int main(int argc, char **argv) { return 0; }
13671 if ac_fn_c_try_link
"$LINENO"; then :
13672 ac_cv_cflags__Werror_unknown_warning_option
=yes
13674 ac_cv_cflags__Werror_unknown_warning_option
=no
13676 rm -f core conftest.err conftest.
$ac_objext \
13677 conftest
$ac_exeext conftest.
$ac_ext
13678 CFLAGS
=$ac_wine_try_cflags_saved
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13681 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13682 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13683 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13686 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13687 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13688 $as_echo_n "(cached) " >&6
13690 ac_wine_try_cflags_saved
=$CFLAGS
13691 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13693 /* end confdefs.h. */
13694 int main(int argc, char **argv) { return 0; }
13696 if ac_fn_c_try_link
"$LINENO"; then :
13697 ac_cv_cflags__Wdeclaration_after_statement
=yes
13699 ac_cv_cflags__Wdeclaration_after_statement
=no
13701 rm -f core conftest.err conftest.
$ac_objext \
13702 conftest
$ac_exeext conftest.
$ac_ext
13703 CFLAGS
=$ac_wine_try_cflags_saved
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13706 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13707 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13708 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13711 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13712 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13713 $as_echo_n "(cached) " >&6
13715 ac_wine_try_cflags_saved
=$CFLAGS
13716 CFLAGS
="$CFLAGS -Wempty-body"
13717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13718 /* end confdefs.h. */
13719 int main(int argc, char **argv) { return 0; }
13721 if ac_fn_c_try_link
"$LINENO"; then :
13722 ac_cv_cflags__Wempty_body
=yes
13724 ac_cv_cflags__Wempty_body
=no
13726 rm -f core conftest.err conftest.
$ac_objext \
13727 conftest
$ac_exeext conftest.
$ac_ext
13728 CFLAGS
=$ac_wine_try_cflags_saved
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13731 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13732 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13733 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13736 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13737 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13738 $as_echo_n "(cached) " >&6
13740 ac_wine_try_cflags_saved
=$CFLAGS
13741 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13743 /* end confdefs.h. */
13744 int main(int argc, char **argv) { return 0; }
13746 if ac_fn_c_try_link
"$LINENO"; then :
13747 ac_cv_cflags__Wignored_qualifiers
=yes
13749 ac_cv_cflags__Wignored_qualifiers
=no
13751 rm -f core conftest.err conftest.
$ac_objext \
13752 conftest
$ac_exeext conftest.
$ac_ext
13753 CFLAGS
=$ac_wine_try_cflags_saved
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13756 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13757 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13758 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13761 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13762 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13763 $as_echo_n "(cached) " >&6
13765 ac_wine_try_cflags_saved
=$CFLAGS
13766 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13769 int main(int argc, char **argv) { return 0; }
13771 if ac_fn_c_try_link
"$LINENO"; then :
13772 ac_cv_cflags__Wstrict_prototypes
=yes
13774 ac_cv_cflags__Wstrict_prototypes
=no
13776 rm -f core conftest.err conftest.
$ac_objext \
13777 conftest
$ac_exeext conftest.
$ac_ext
13778 CFLAGS
=$ac_wine_try_cflags_saved
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13781 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13782 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13783 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13786 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13787 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13788 $as_echo_n "(cached) " >&6
13790 ac_wine_try_cflags_saved
=$CFLAGS
13791 CFLAGS
="$CFLAGS -Wtype-limits"
13792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13793 /* end confdefs.h. */
13794 int main(int argc, char **argv) { return 0; }
13796 if ac_fn_c_try_link
"$LINENO"; then :
13797 ac_cv_cflags__Wtype_limits
=yes
13799 ac_cv_cflags__Wtype_limits
=no
13801 rm -f core conftest.err conftest.
$ac_objext \
13802 conftest
$ac_exeext conftest.
$ac_ext
13803 CFLAGS
=$ac_wine_try_cflags_saved
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13806 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13807 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13808 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13811 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13812 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13813 $as_echo_n "(cached) " >&6
13815 ac_wine_try_cflags_saved
=$CFLAGS
13816 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13819 int main(int argc, char **argv) { return 0; }
13821 if ac_fn_c_try_link
"$LINENO"; then :
13822 ac_cv_cflags__Wunused_but_set_parameter
=yes
13824 ac_cv_cflags__Wunused_but_set_parameter
=no
13826 rm -f core conftest.err conftest.
$ac_objext \
13827 conftest
$ac_exeext conftest.
$ac_ext
13828 CFLAGS
=$ac_wine_try_cflags_saved
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13831 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13832 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13833 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13836 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13837 if ${ac_cv_cflags__Wvla+:} false
; then :
13838 $as_echo_n "(cached) " >&6
13840 ac_wine_try_cflags_saved
=$CFLAGS
13841 CFLAGS
="$CFLAGS -Wvla"
13842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13844 int main(int argc, char **argv) { return 0; }
13846 if ac_fn_c_try_link
"$LINENO"; then :
13847 ac_cv_cflags__Wvla
=yes
13849 ac_cv_cflags__Wvla
=no
13851 rm -f core conftest.err conftest.
$ac_objext \
13852 conftest
$ac_exeext conftest.
$ac_ext
13853 CFLAGS
=$ac_wine_try_cflags_saved
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13856 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13857 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13858 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13861 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13862 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13863 $as_echo_n "(cached) " >&6
13865 ac_wine_try_cflags_saved
=$CFLAGS
13866 CFLAGS
="$CFLAGS -Wwrite-strings"
13867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13868 /* end confdefs.h. */
13869 int main(int argc, char **argv) { return 0; }
13871 if ac_fn_c_try_link
"$LINENO"; then :
13872 ac_cv_cflags__Wwrite_strings
=yes
13874 ac_cv_cflags__Wwrite_strings
=no
13876 rm -f core conftest.err conftest.
$ac_objext \
13877 conftest
$ac_exeext conftest.
$ac_ext
13878 CFLAGS
=$ac_wine_try_cflags_saved
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13881 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13882 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13883 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13887 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13888 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13889 $as_echo_n "(cached) " >&6
13891 ac_wine_try_cflags_saved
=$CFLAGS
13892 CFLAGS
="$CFLAGS -Wpointer-arith"
13893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13895 int main(int argc, char **argv) { return 0; }
13897 if ac_fn_c_try_link
"$LINENO"; then :
13898 ac_cv_cflags__Wpointer_arith
=yes
13900 ac_cv_cflags__Wpointer_arith
=no
13902 rm -f core conftest.err conftest.
$ac_objext \
13903 conftest
$ac_exeext conftest.
$ac_ext
13904 CFLAGS
=$ac_wine_try_cflags_saved
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13907 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13908 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13909 saved_string_h_CFLAGS
=$CFLAGS
13910 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13912 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13913 if ${ac_cv_c_string_h_warnings+:} false
; then :
13914 $as_echo_n "(cached) " >&6
13916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13917 /* end confdefs.h. */
13918 #include <string.h>
13927 if ac_fn_c_try_compile
"$LINENO"; then :
13928 ac_cv_c_string_h_warnings
=no
13930 ac_cv_c_string_h_warnings
=yes
13932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13935 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13936 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13937 CFLAGS
=$saved_string_h_CFLAGS
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13941 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13942 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13943 $as_echo_n "(cached) " >&6
13945 ac_wine_try_cflags_saved
=$CFLAGS
13946 CFLAGS
="$CFLAGS -Wlogical-op"
13947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13949 int main(int argc, char **argv) { return 0; }
13951 if ac_fn_c_try_link
"$LINENO"; then :
13952 ac_cv_cflags__Wlogical_op
=yes
13954 ac_cv_cflags__Wlogical_op
=no
13956 rm -f core conftest.err conftest.
$ac_objext \
13957 conftest
$ac_exeext conftest.
$ac_ext
13958 CFLAGS
=$ac_wine_try_cflags_saved
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13961 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13962 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13963 saved_string_h_CFLAGS
=$CFLAGS
13964 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13966 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13967 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13968 $as_echo_n "(cached) " >&6
13970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13972 #include <string.h>
13973 char*f(const char *h,char n) {return strchr(h,n);}
13982 if ac_fn_c_try_compile
"$LINENO"; then :
13983 ac_cv_c_logicalop_noisy
=no
13985 ac_cv_c_logicalop_noisy
=yes
13987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13990 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13991 CFLAGS
=$saved_string_h_CFLAGS
13992 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13995 CFLAGS
=$saved_CFLAGS
13997 for ac_flag
in $CFLAGS; do
13999 -g) case $host_os in
14000 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14001 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14002 if ${ac_cv_cflags__gstabsp+:} false
; then :
14003 $as_echo_n "(cached) " >&6
14005 ac_wine_try_cflags_saved
=$CFLAGS
14006 CFLAGS
="$CFLAGS -gstabs+"
14007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14008 /* end confdefs.h. */
14009 int main(int argc, char **argv) { return 0; }
14011 if ac_fn_c_try_link
"$LINENO"; then :
14012 ac_cv_cflags__gstabsp
=yes
14014 ac_cv_cflags__gstabsp
=no
14016 rm -f core conftest.err conftest.
$ac_objext \
14017 conftest
$ac_exeext conftest.
$ac_ext
14018 CFLAGS
=$ac_wine_try_cflags_saved
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14021 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14022 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14023 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14025 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14026 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14027 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14028 $as_echo_n "(cached) " >&6
14030 ac_wine_try_cflags_saved
=$CFLAGS
14031 CFLAGS
="$CFLAGS -gdwarf-2"
14032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14034 int main(int argc, char **argv) { return 0; }
14036 if ac_fn_c_try_link
"$LINENO"; then :
14037 ac_cv_cflags__gdwarf_2
=yes
14039 ac_cv_cflags__gdwarf_2
=no
14041 rm -f core conftest.err conftest.
$ac_objext \
14042 conftest
$ac_exeext conftest.
$ac_ext
14043 CFLAGS
=$ac_wine_try_cflags_saved
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14046 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14047 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14048 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14051 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14052 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14053 $as_echo_n "(cached) " >&6
14055 ac_wine_try_cflags_saved
=$CFLAGS
14056 CFLAGS
="$CFLAGS -gstrict-dwarf"
14057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14058 /* end confdefs.h. */
14059 int main(int argc, char **argv) { return 0; }
14061 if ac_fn_c_try_link
"$LINENO"; then :
14062 ac_cv_cflags__gstrict_dwarf
=yes
14064 ac_cv_cflags__gstrict_dwarf
=no
14066 rm -f core conftest.err conftest.
$ac_objext \
14067 conftest
$ac_exeext conftest.
$ac_ext
14068 CFLAGS
=$ac_wine_try_cflags_saved
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14071 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14072 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14073 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14080 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14081 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14082 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14083 $as_echo_n "(cached) " >&6
14085 ac_wine_try_cflags_saved
=$CFLAGS
14086 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14088 /* end confdefs.h. */
14089 int main(int argc, char **argv) { return 0; }
14091 if ac_fn_c_try_link
"$LINENO"; then :
14092 ac_cv_cflags__fno_omit_frame_pointer
=yes
14094 ac_cv_cflags__fno_omit_frame_pointer
=no
14096 rm -f core conftest.err conftest.
$ac_objext \
14097 conftest
$ac_exeext conftest.
$ac_ext
14098 CFLAGS
=$ac_wine_try_cflags_saved
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14101 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14102 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14103 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14108 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14109 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14110 if ${ac_cv_cflags__Wno_format+:} false
; then :
14111 $as_echo_n "(cached) " >&6
14113 ac_wine_try_cflags_saved
=$CFLAGS
14114 CFLAGS
="$CFLAGS -Wno-format"
14115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14116 /* end confdefs.h. */
14117 int main(int argc, char **argv) { return 0; }
14119 if ac_fn_c_try_link
"$LINENO"; then :
14120 ac_cv_cflags__Wno_format
=yes
14122 ac_cv_cflags__Wno_format
=no
14124 rm -f core conftest.err conftest.
$ac_objext \
14125 conftest
$ac_exeext conftest.
$ac_ext
14126 CFLAGS
=$ac_wine_try_cflags_saved
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14129 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14130 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14131 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14135 if test "x$enable_maintainer_mode" = "xyes"
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14138 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14139 if ${ac_cv_cflags__Werror+:} false
; then :
14140 $as_echo_n "(cached) " >&6
14142 ac_wine_try_cflags_saved
=$CFLAGS
14143 CFLAGS
="$CFLAGS -Werror"
14144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14145 /* end confdefs.h. */
14146 int main(int argc, char **argv) { return 0; }
14148 if ac_fn_c_try_link
"$LINENO"; then :
14149 ac_cv_cflags__Werror
=yes
14151 ac_cv_cflags__Werror
=no
14153 rm -f core conftest.err conftest.
$ac_objext \
14154 conftest
$ac_exeext conftest.
$ac_ext
14155 CFLAGS
=$ac_wine_try_cflags_saved
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14158 $as_echo "$ac_cv_cflags__Werror" >&6; }
14159 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14160 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14164 saved_CFLAGS
="$CFLAGS"
14165 CFLAGS
="$CFLAGS -Werror"
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14167 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14168 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14169 $as_echo_n "(cached) " >&6
14171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14173 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14182 if ac_fn_c_try_compile
"$LINENO"; then :
14183 ac_cv_have_ms_hook_prologue
="yes"
14185 ac_cv_have_ms_hook_prologue
="no"
14187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14190 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14191 CFLAGS
="$saved_CFLAGS"
14192 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14195 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14198 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14205 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14206 if ${ac_cv_c_fortify_enabled+:} false
; then :
14207 $as_echo_n "(cached) " >&6
14209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14210 /* end confdefs.h. */
14211 #include <string.h>
14215 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14216 #error Fortify enabled
14222 if ac_fn_c_try_compile
"$LINENO"; then :
14223 ac_cv_c_fortify_enabled
=no
14225 ac_cv_c_fortify_enabled
=yes
14227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14230 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14231 if test "$ac_cv_c_fortify_enabled" = yes
14233 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14238 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14239 if ${ac_cv_c_extern_prefix+:} false
; then :
14240 $as_echo_n "(cached) " >&6
14242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14243 /* end confdefs.h. */
14244 extern int ac_test;
14248 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14253 if ac_fn_c_try_link
"$LINENO"; then :
14254 ac_cv_c_extern_prefix
="yes"
14256 ac_cv_c_extern_prefix
="no"
14258 rm -f core conftest.err conftest.
$ac_objext \
14259 conftest
$ac_exeext conftest.
$ac_ext
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14262 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14267 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14268 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14269 $as_echo_n "(cached) " >&6
14271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14272 /* end confdefs.h. */
14274 #define __stdcall __attribute__((__stdcall__))
14276 int __stdcall ac_test(int i) { return i; }
14280 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14285 if ac_fn_c_try_link
"$LINENO"; then :
14286 ac_cv_c_stdcall_suffix
="yes"
14288 ac_cv_c_stdcall_suffix
="no"
14290 rm -f core conftest.err conftest.
$ac_objext \
14291 conftest
$ac_exeext conftest.
$ac_ext
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14294 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14295 *) ac_cv_c_stdcall_suffix
="no" ;;
14299 if test "$ac_cv_c_extern_prefix" = "yes"
14301 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14303 asm_name_prefix
="_"
14305 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14311 if test "$ac_cv_c_stdcall_suffix" = "yes"
14313 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14316 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14322 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14323 if ${ac_cv_asm_func_def+:} false
; then :
14324 $as_echo_n "(cached) " >&6
14326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14327 /* end confdefs.h. */
14332 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14337 if ac_fn_c_try_link
"$LINENO"; then :
14338 ac_cv_asm_func_def
=".def"
14340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14341 /* end confdefs.h. */
14346 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14351 if ac_fn_c_try_link
"$LINENO"; then :
14352 ac_cv_asm_func_def
=".type @function"
14354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14360 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14365 if ac_fn_c_try_link
"$LINENO"; then :
14366 ac_cv_asm_func_def
=".type 2"
14368 ac_cv_asm_func_def
="unknown"
14370 rm -f core conftest.err conftest.
$ac_objext \
14371 conftest
$ac_exeext conftest.
$ac_ext
14373 rm -f core conftest.err conftest.
$ac_objext \
14374 conftest
$ac_exeext conftest.
$ac_ext
14376 rm -f core conftest.err conftest.
$ac_objext \
14377 conftest
$ac_exeext conftest.
$ac_ext
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14380 $as_echo "$ac_cv_asm_func_def" >&6; }
14383 case "$ac_cv_asm_func_def" in
14385 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14387 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14389 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14391 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14393 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14395 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14397 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14399 asm_func_header
="" ;;
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14403 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14404 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14405 $as_echo_n "(cached) " >&6
14407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14409 asm(".text\n\t.long 0");
14418 if ac_fn_c_try_compile
"$LINENO"; then :
14419 ac_cv_c_asm_outside_funcs
="yes"
14421 ac_cv_c_asm_outside_funcs
="no"
14423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14426 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14429 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14430 if ${ac_cv_c_dot_previous+:} false
; then :
14431 $as_echo_n "(cached) " >&6
14433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14434 /* end confdefs.h. */
14439 asm(".text\nac_test:\t.long 0\n\t.previous");
14444 if ac_fn_c_try_link
"$LINENO"; then :
14445 ac_cv_c_dot_previous
="yes"
14447 ac_cv_c_dot_previous
="no"
14449 rm -f core conftest.err conftest.
$ac_objext \
14450 conftest
$ac_exeext conftest.
$ac_ext
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14453 $as_echo "$ac_cv_c_dot_previous" >&6; }
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14456 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14457 if ${ac_cv_c_cfi_support+:} false
; then :
14458 $as_echo_n "(cached) " >&6
14460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14461 /* end confdefs.h. */
14462 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14471 if ac_fn_c_try_compile
"$LINENO"; then :
14472 ac_cv_c_cfi_support
="yes"
14474 ac_cv_c_cfi_support
="no"
14476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14479 $as_echo "$ac_cv_c_cfi_support" >&6; }
14481 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14482 asm_func_trailer
=""
14483 if test "$ac_cv_c_dot_previous" = "yes"
14485 asm_func_trailer
="\\n\\t.previous"
14487 if test "$ac_cv_c_cfi_support" = "yes"
14489 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14490 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14492 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14494 UNWINDFLAGS
=-fasynchronous-unwind-tables
14497 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14501 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14504 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14506 cat >>confdefs.h
<<_ACEOF
14507 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14511 cat >>confdefs.h
<<_ACEOF
14512 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14517 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14520 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14525 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14532 *i
[3456789]86*|x86_64
*)
14533 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14534 loader_programs
="$loader_programs $wine_binary-preloader"
14535 as_fn_append LOADER_RULES
"
14536 $wine_binary-preloader: preloader.o
14537 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14539 install install-lib:: $wine_binary-preloader
14540 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14543 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14545 preloader_EXTRADEFS = $BUILTINFLAG
14550 as_fn_append LOADER_RULES
"
14551 PROGRAMS = $loader_programs
14555 ac_save_CFLAGS
="$CFLAGS"
14556 CFLAGS
="$CFLAGS $BUILTINFLAG"
14633 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14634 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14635 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14636 cat >>confdefs.h
<<_ACEOF
14637 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14643 CFLAGS
="$ac_save_CFLAGS"
14645 if test "$ac_cv_func_dlopen" = no
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14648 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14649 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14650 $as_echo_n "(cached) " >&6
14652 ac_check_lib_save_LIBS
=$LIBS
14654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14657 /* Override any GCC internal prototype to avoid an error.
14658 Use char because int might match the return type of a GCC
14659 builtin and then its argument prototype would still apply. */
14672 if ac_fn_c_try_link
"$LINENO"; then :
14673 ac_cv_lib_dl_dlopen
=yes
14675 ac_cv_lib_dl_dlopen
=no
14677 rm -f core conftest.err conftest.
$ac_objext \
14678 conftest
$ac_exeext conftest.
$ac_ext
14679 LIBS
=$ac_check_lib_save_LIBS
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14682 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14683 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14684 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14690 ac_wine_check_funcs_save_LIBS
="$LIBS"
14691 LIBS
="$LIBS $DL_LIBS"
14692 for ac_func
in dladdr
14694 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14695 if test "x$ac_cv_func_dladdr" = xyes
; then :
14696 cat >>confdefs.h
<<_ACEOF
14697 #define HAVE_DLADDR 1
14703 LIBS
="$ac_wine_check_funcs_save_LIBS"
14705 if test "$ac_cv_func_poll" = no
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14708 $as_echo_n "checking for poll in -lpoll... " >&6; }
14709 if ${ac_cv_lib_poll_poll+:} false
; then :
14710 $as_echo_n "(cached) " >&6
14712 ac_check_lib_save_LIBS
=$LIBS
14713 LIBS
="-lpoll $LIBS"
14714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14715 /* end confdefs.h. */
14717 /* Override any GCC internal prototype to avoid an error.
14718 Use char because int might match the return type of a GCC
14719 builtin and then its argument prototype would still apply. */
14732 if ac_fn_c_try_link
"$LINENO"; then :
14733 ac_cv_lib_poll_poll
=yes
14735 ac_cv_lib_poll_poll
=no
14737 rm -f core conftest.err conftest.
$ac_objext \
14738 conftest
$ac_exeext conftest.
$ac_ext
14739 LIBS
=$ac_check_lib_save_LIBS
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14742 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14743 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14744 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14752 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14753 if ${ac_cv_search_gethostbyname+:} false
; then :
14754 $as_echo_n "(cached) " >&6
14756 ac_func_search_save_LIBS
=$LIBS
14757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h. */
14760 /* Override any GCC internal prototype to avoid an error.
14761 Use char because int might match the return type of a GCC
14762 builtin and then its argument prototype would still apply. */
14766 char gethostbyname ();
14770 return gethostbyname ();
14775 for ac_lib
in '' nsl
; do
14776 if test -z "$ac_lib"; then
14777 ac_res
="none required"
14780 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14782 if ac_fn_c_try_link
"$LINENO"; then :
14783 ac_cv_search_gethostbyname
=$ac_res
14785 rm -f core conftest.err conftest.
$ac_objext \
14787 if ${ac_cv_search_gethostbyname+:} false
; then :
14791 if ${ac_cv_search_gethostbyname+:} false
; then :
14794 ac_cv_search_gethostbyname
=no
14796 rm conftest.
$ac_ext
14797 LIBS
=$ac_func_search_save_LIBS
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14800 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14801 ac_res
=$ac_cv_search_gethostbyname
14802 if test "$ac_res" != no
; then :
14803 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14809 $as_echo_n "checking for library containing connect... " >&6; }
14810 if ${ac_cv_search_connect+:} false
; then :
14811 $as_echo_n "(cached) " >&6
14813 ac_func_search_save_LIBS
=$LIBS
14814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14817 /* Override any GCC internal prototype to avoid an error.
14818 Use char because int might match the return type of a GCC
14819 builtin and then its argument prototype would still apply. */
14832 for ac_lib
in '' socket
; do
14833 if test -z "$ac_lib"; then
14834 ac_res
="none required"
14837 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14839 if ac_fn_c_try_link
"$LINENO"; then :
14840 ac_cv_search_connect
=$ac_res
14842 rm -f core conftest.err conftest.
$ac_objext \
14844 if ${ac_cv_search_connect+:} false
; then :
14848 if ${ac_cv_search_connect+:} false
; then :
14851 ac_cv_search_connect
=no
14853 rm conftest.
$ac_ext
14854 LIBS
=$ac_func_search_save_LIBS
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14857 $as_echo "$ac_cv_search_connect" >&6; }
14858 ac_res
=$ac_cv_search_connect
14859 if test "$ac_res" != no
; then :
14860 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14866 $as_echo_n "checking for library containing inet_aton... " >&6; }
14867 if ${ac_cv_search_inet_aton+:} false
; then :
14868 $as_echo_n "(cached) " >&6
14870 ac_func_search_save_LIBS
=$LIBS
14871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14872 /* end confdefs.h. */
14874 /* Override any GCC internal prototype to avoid an error.
14875 Use char because int might match the return type of a GCC
14876 builtin and then its argument prototype would still apply. */
14884 return inet_aton ();
14889 for ac_lib
in '' resolv
; do
14890 if test -z "$ac_lib"; then
14891 ac_res
="none required"
14894 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14896 if ac_fn_c_try_link
"$LINENO"; then :
14897 ac_cv_search_inet_aton
=$ac_res
14899 rm -f core conftest.err conftest.
$ac_objext \
14901 if ${ac_cv_search_inet_aton+:} false
; then :
14905 if ${ac_cv_search_inet_aton+:} false
; then :
14908 ac_cv_search_inet_aton
=no
14910 rm conftest.
$ac_ext
14911 LIBS
=$ac_func_search_save_LIBS
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14914 $as_echo "$ac_cv_search_inet_aton" >&6; }
14915 ac_res
=$ac_cv_search_inet_aton
14916 if test "$ac_res" != no
; then :
14917 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14937 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14938 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14939 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14940 cat >>confdefs.h
<<_ACEOF
14941 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14950 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14951 if ${ac_cv_search_clock_gettime+:} false
; then :
14952 $as_echo_n "(cached) " >&6
14954 ac_func_search_save_LIBS
=$LIBS
14955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14958 /* Override any GCC internal prototype to avoid an error.
14959 Use char because int might match the return type of a GCC
14960 builtin and then its argument prototype would still apply. */
14964 char clock_gettime ();
14968 return clock_gettime ();
14973 for ac_lib
in '' rt
; do
14974 if test -z "$ac_lib"; then
14975 ac_res
="none required"
14978 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14980 if ac_fn_c_try_link
"$LINENO"; then :
14981 ac_cv_search_clock_gettime
=$ac_res
14983 rm -f core conftest.err conftest.
$ac_objext \
14985 if ${ac_cv_search_clock_gettime+:} false
; then :
14989 if ${ac_cv_search_clock_gettime+:} false
; then :
14992 ac_cv_search_clock_gettime
=no
14994 rm conftest.
$ac_ext
14995 LIBS
=$ac_func_search_save_LIBS
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14998 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14999 ac_res
=$ac_cv_search_clock_gettime
15000 if test "$ac_res" != no
; then :
15001 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15003 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15005 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15013 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15015 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15017 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15019 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15020 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15021 $as_echo_n "(cached) " >&6
15023 ac_check_lib_save_LIBS
=$LIBS
15024 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15026 /* end confdefs.h. */
15028 /* Override any GCC internal prototype to avoid an error.
15029 Use char because int might match the return type of a GCC
15030 builtin and then its argument prototype would still apply. */
15034 char ldap_initialize ();
15038 return ldap_initialize ();
15043 if ac_fn_c_try_link
"$LINENO"; then :
15044 ac_cv_lib_ldap_r_ldap_initialize
=yes
15046 ac_cv_lib_ldap_r_ldap_initialize
=no
15048 rm -f core conftest.err conftest.
$ac_objext \
15049 conftest
$ac_exeext conftest.
$ac_ext
15050 LIBS
=$ac_check_lib_save_LIBS
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15053 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15054 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15056 $as_echo_n "checking for ber_init in -llber... " >&6; }
15057 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15058 $as_echo_n "(cached) " >&6
15060 ac_check_lib_save_LIBS
=$LIBS
15061 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h. */
15065 /* Override any GCC internal prototype to avoid an error.
15066 Use char because int might match the return type of a GCC
15067 builtin and then its argument prototype would still apply. */
15075 return ber_init ();
15080 if ac_fn_c_try_link
"$LINENO"; then :
15081 ac_cv_lib_lber_ber_init
=yes
15083 ac_cv_lib_lber_ber_init
=no
15085 rm -f core conftest.err conftest.
$ac_objext \
15086 conftest
$ac_exeext conftest.
$ac_ext
15087 LIBS
=$ac_check_lib_save_LIBS
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15090 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15091 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15093 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15095 LDAP_LIBS
="-lldap_r -llber"
15102 ac_wine_check_funcs_save_LIBS
="$LIBS"
15103 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15105 ldap_count_references \
15106 ldap_first_reference \
15107 ldap_next_reference \
15108 ldap_parse_reference \
15109 ldap_parse_sort_control \
15110 ldap_parse_sortresponse_control \
15111 ldap_parse_vlv_control \
15112 ldap_parse_vlvresponse_control
15114 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15115 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15116 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15117 cat >>confdefs.h
<<_ACEOF
15118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15124 LIBS
="$ac_wine_check_funcs_save_LIBS"
15126 if test "x$LDAP_LIBS" = "x"; then :
15127 case "x$with_ldap" in
15128 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15130 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15131 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15136 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15137 if ${wine_cv_one_arg_mkdir+:} false
; then :
15138 $as_echo_n "(cached) " >&6
15140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15141 /* end confdefs.h. */
15142 #include <sys/stat.h>
15151 if ac_fn_c_try_compile
"$LINENO"; then :
15152 wine_cv_one_arg_mkdir
=yes
15154 wine_cv_one_arg_mkdir
=no
15156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15159 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15160 if test "$wine_cv_one_arg_mkdir" = "yes"
15163 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15168 $as_echo_n "checking for sched_setaffinity... " >&6; }
15169 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15170 $as_echo_n "(cached) " >&6
15172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h. */
15174 #define _GNU_SOURCE
15179 sched_setaffinity(0, 0, 0);
15184 if ac_fn_c_try_link
"$LINENO"; then :
15185 wine_cv_have_sched_setaffinity
=yes
15187 wine_cv_have_sched_setaffinity
=no
15189 rm -f core conftest.err conftest.
$ac_objext \
15190 conftest
$ac_exeext conftest.
$ac_ext
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15193 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15194 if test "$wine_cv_have_sched_setaffinity" = "yes"
15197 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15202 $as_echo_n "checking for fallocate... " >&6; }
15203 if ${wine_cv_have_fallocate+:} false
; then :
15204 $as_echo_n "(cached) " >&6
15206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15207 /* end confdefs.h. */
15208 #define _GNU_SOURCE
15213 fallocate(-1, 0, 0, 0);
15218 if ac_fn_c_try_link
"$LINENO"; then :
15219 wine_cv_have_fallocate
=yes
15221 wine_cv_have_fallocate
=no
15223 rm -f core conftest.err conftest.
$ac_objext \
15224 conftest
$ac_exeext conftest.
$ac_ext
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15227 $as_echo "$wine_cv_have_fallocate" >&6; }
15228 if test "$wine_cv_have_fallocate" = "yes"
15231 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15237 $as_echo_n "checking for inline... " >&6; }
15238 if ${ac_cv_c_inline+:} false
; then :
15239 $as_echo_n "(cached) " >&6
15242 for ac_kw
in inline __inline__ __inline
; do
15243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h. */
15245 #ifndef __cplusplus
15247 static $ac_kw foo_t static_foo () {return 0; }
15248 $ac_kw foo_t foo () {return 0; }
15252 if ac_fn_c_try_compile
"$LINENO"; then :
15253 ac_cv_c_inline
=$ac_kw
15255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15256 test "$ac_cv_c_inline" != no
&& break
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15261 $as_echo "$ac_cv_c_inline" >&6; }
15263 case $ac_cv_c_inline in
15266 case $ac_cv_c_inline in
15268 *) ac_val
=$ac_cv_c_inline;;
15270 cat >>confdefs.h
<<_ACEOF
15271 #ifndef __cplusplus
15272 #define inline $ac_val
15278 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15279 if test "x$ac_cv_type_mode_t" = xyes
; then :
15281 cat >>confdefs.h
<<_ACEOF
15282 #define HAVE_MODE_T 1
15287 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15288 if test "x$ac_cv_type_off_t" = xyes
; then :
15290 cat >>confdefs.h
<<_ACEOF
15291 #define HAVE_OFF_T 1
15296 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15297 if test "x$ac_cv_type_pid_t" = xyes
; then :
15299 cat >>confdefs.h
<<_ACEOF
15300 #define HAVE_PID_T 1
15305 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15306 if test "x$ac_cv_type_size_t" = xyes
; then :
15308 cat >>confdefs.h
<<_ACEOF
15309 #define HAVE_SIZE_T 1
15314 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15315 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15317 cat >>confdefs.h
<<_ACEOF
15318 #define HAVE_SSIZE_T 1
15323 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15324 if test "x$ac_cv_type_long_long" = xyes
; then :
15326 cat >>confdefs.h
<<_ACEOF
15327 #define HAVE_LONG_LONG 1
15332 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15333 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15335 cat >>confdefs.h
<<_ACEOF
15336 #define HAVE_FSBLKCNT_T 1
15341 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15342 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15344 cat >>confdefs.h
<<_ACEOF
15345 #define HAVE_FSFILCNT_T 1
15351 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15352 #include <signal.h>
15354 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15356 cat >>confdefs.h
<<_ACEOF
15357 #define HAVE_SIGSET_T 1
15363 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15365 if test "x$ac_cv_type_request_sense" = xyes
; then :
15367 cat >>confdefs.h
<<_ACEOF
15368 #define HAVE_REQUEST_SENSE 1
15375 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15376 #ifdef HAVE_SYS_SOCKET_H
15377 #include <sys/socket.h>
15379 #ifdef HAVE_SYS_SOCKETVAR_H
15380 #include <sys/socketvar.h>
15382 #ifdef HAVE_NET_ROUTE_H
15383 #include <net/route.h>
15385 #ifdef HAVE_NETINET_IN_H
15386 #include <netinet/in.h>
15388 #ifdef HAVE_NETINET_IN_SYSTM_H
15389 #include <netinet/in_systm.h>
15391 #ifdef HAVE_NETINET_IP_H
15392 #include <netinet/ip.h>
15394 #ifdef HAVE_NETINET_IN_PCB_H
15395 #include <netinet/in_pcb.h>
15398 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15400 cat >>confdefs.h
<<_ACEOF
15401 #define HAVE_STRUCT_XINPGEN 1
15408 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15411 #ifdef HAVE_SYS_LINK_H
15412 #include <sys/link.h>
15415 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15417 cat >>confdefs.h
<<_ACEOF
15418 #define HAVE_STRUCT_R_DEBUG 1
15423 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15426 #ifdef HAVE_SYS_LINK_H
15427 #include <sys/link.h>
15430 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15432 cat >>confdefs.h
<<_ACEOF
15433 #define HAVE_STRUCT_LINK_MAP 1
15440 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15441 #include <linux/input.h>
15444 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15446 cat >>confdefs.h
<<_ACEOF
15447 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15455 $as_echo_n "checking for sigaddset... " >&6; }
15456 if ${wine_cv_have_sigaddset+:} false
; then :
15457 $as_echo_n "(cached) " >&6
15459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15460 /* end confdefs.h. */
15461 #include <signal.h>
15465 sigset_t set; sigaddset(&set,SIGTERM);
15470 if ac_fn_c_try_link
"$LINENO"; then :
15471 wine_cv_have_sigaddset
=yes
15473 wine_cv_have_sigaddset
=no
15475 rm -f core conftest.err conftest.
$ac_objext \
15476 conftest
$ac_exeext conftest.
$ac_ext
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15479 $as_echo "$wine_cv_have_sigaddset" >&6; }
15480 if test "$wine_cv_have_sigaddset" = "yes"
15483 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15489 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15490 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15491 $as_echo_n "(cached) " >&6
15493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15494 /* end confdefs.h. */
15502 struct hostent *result;
15509 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15510 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15516 if ac_fn_c_try_link
"$LINENO"; then :
15517 wine_cv_linux_gethostbyname_r_6
=yes
15519 wine_cv_linux_gethostbyname_r_6
=no
15522 rm -f core conftest.err conftest.
$ac_objext \
15523 conftest
$ac_exeext conftest.
$ac_ext
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15527 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15528 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15531 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15535 if test "$ac_cv_header_linux_joystick_h" = "yes"
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15538 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15539 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15540 $as_echo_n "(cached) " >&6
15542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15543 /* end confdefs.h. */
15545 #include <sys/ioctl.h>
15546 #include <sys/types.h>
15547 #include <linux/joystick.h>
15549 struct js_event blub;
15550 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15551 #error "no 2.2 header"
15562 if ac_fn_c_try_compile
"$LINENO"; then :
15563 wine_cv_linux_joystick_22_api
=yes
15565 wine_cv_linux_joystick_22_api
=no
15567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15571 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15572 if test "$wine_cv_linux_joystick_22_api" = "yes"
15575 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15581 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15582 #ifdef HAVE_SYS_PARAM_H
15583 # include <sys/param.h>
15585 #ifdef HAVE_SYS_MOUNT_H
15586 # include <sys/mount.h>
15588 #ifdef HAVE_SYS_VFS_H
15589 # include <sys/vfs.h>
15591 #ifdef HAVE_SYS_STATFS_H
15592 # include <sys/statfs.h>
15595 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15597 cat >>confdefs.h
<<_ACEOF
15598 #define HAVE_STRUCT_STATFS_F_BFREE 1
15603 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15604 #ifdef HAVE_SYS_PARAM_H
15605 # include <sys/param.h>
15607 #ifdef HAVE_SYS_MOUNT_H
15608 # include <sys/mount.h>
15610 #ifdef HAVE_SYS_VFS_H
15611 # include <sys/vfs.h>
15613 #ifdef HAVE_SYS_STATFS_H
15614 # include <sys/statfs.h>
15617 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15619 cat >>confdefs.h
<<_ACEOF
15620 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15625 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15626 #ifdef HAVE_SYS_PARAM_H
15627 # include <sys/param.h>
15629 #ifdef HAVE_SYS_MOUNT_H
15630 # include <sys/mount.h>
15632 #ifdef HAVE_SYS_VFS_H
15633 # include <sys/vfs.h>
15635 #ifdef HAVE_SYS_STATFS_H
15636 # include <sys/statfs.h>
15639 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15641 cat >>confdefs.h
<<_ACEOF
15642 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15647 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15648 #ifdef HAVE_SYS_PARAM_H
15649 # include <sys/param.h>
15651 #ifdef HAVE_SYS_MOUNT_H
15652 # include <sys/mount.h>
15654 #ifdef HAVE_SYS_VFS_H
15655 # include <sys/vfs.h>
15657 #ifdef HAVE_SYS_STATFS_H
15658 # include <sys/statfs.h>
15661 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15663 cat >>confdefs.h
<<_ACEOF
15664 #define HAVE_STRUCT_STATFS_F_FFREE 1
15669 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15670 #ifdef HAVE_SYS_PARAM_H
15671 # include <sys/param.h>
15673 #ifdef HAVE_SYS_MOUNT_H
15674 # include <sys/mount.h>
15676 #ifdef HAVE_SYS_VFS_H
15677 # include <sys/vfs.h>
15679 #ifdef HAVE_SYS_STATFS_H
15680 # include <sys/statfs.h>
15683 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15685 cat >>confdefs.h
<<_ACEOF
15686 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15691 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15692 #ifdef HAVE_SYS_PARAM_H
15693 # include <sys/param.h>
15695 #ifdef HAVE_SYS_MOUNT_H
15696 # include <sys/mount.h>
15698 #ifdef HAVE_SYS_VFS_H
15699 # include <sys/vfs.h>
15701 #ifdef HAVE_SYS_STATFS_H
15702 # include <sys/statfs.h>
15705 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15707 cat >>confdefs.h
<<_ACEOF
15708 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15715 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15716 #include <sys/statvfs.h>
15719 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15721 cat >>confdefs.h
<<_ACEOF
15722 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15729 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15730 #include <dirent.h>
15733 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15735 cat >>confdefs.h
<<_ACEOF
15736 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15743 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15744 #ifdef HAVE_SYS_SOCKET_H
15745 # include <sys/socket.h>
15747 #ifdef HAVE_SYS_UN_H
15748 # include <sys/un.h>
15751 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15753 cat >>confdefs.h
<<_ACEOF
15754 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15759 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15760 #ifdef HAVE_SYS_SOCKET_H
15761 # include <sys/socket.h>
15763 #ifdef HAVE_SYS_UN_H
15764 # include <sys/un.h>
15767 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15769 cat >>confdefs.h
<<_ACEOF
15770 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15775 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15776 #ifdef HAVE_SYS_SOCKET_H
15777 # include <sys/socket.h>
15779 #ifdef HAVE_SYS_UN_H
15780 # include <sys/un.h>
15783 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15785 cat >>confdefs.h
<<_ACEOF
15786 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15793 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15794 #ifdef HAVE_SCSI_SG_H
15795 #include <scsi/sg.h>
15798 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15800 cat >>confdefs.h
<<_ACEOF
15801 #define HAVE_SCSIREQ_T_CMD 1
15806 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>
15807 #ifdef HAVE_SCSI_SG_H
15808 #include <scsi/sg.h>
15811 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15813 cat >>confdefs.h
<<_ACEOF
15814 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15821 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15823 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15825 cat >>confdefs.h
<<_ACEOF
15826 #define HAVE_SIGINFO_T_SI_FD 1
15833 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15834 #ifdef HAVE_SYS_MTIO_H
15835 #include <sys/mtio.h>
15838 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15840 cat >>confdefs.h
<<_ACEOF
15841 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15846 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15847 #ifdef HAVE_SYS_MTIO_H
15848 #include <sys/mtio.h>
15851 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15853 cat >>confdefs.h
<<_ACEOF
15854 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15859 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15860 #ifdef HAVE_SYS_MTIO_H
15861 #include <sys/mtio.h>
15864 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15866 cat >>confdefs.h
<<_ACEOF
15867 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15874 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15875 #include <getopt.h>
15878 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15880 cat >>confdefs.h
<<_ACEOF
15881 #define HAVE_STRUCT_OPTION_NAME 1
15888 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15889 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15891 cat >>confdefs.h
<<_ACEOF
15892 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15897 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15898 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15900 cat >>confdefs.h
<<_ACEOF
15901 #define HAVE_STRUCT_STAT_ST_MTIM 1
15906 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15907 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15909 cat >>confdefs.h
<<_ACEOF
15910 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15915 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15916 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15918 cat >>confdefs.h
<<_ACEOF
15919 #define HAVE_STRUCT_STAT_ST_CTIM 1
15924 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15925 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15927 cat >>confdefs.h
<<_ACEOF
15928 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15933 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15934 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15936 cat >>confdefs.h
<<_ACEOF
15937 #define HAVE_STRUCT_STAT_ST_ATIM 1
15942 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15943 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15945 cat >>confdefs.h
<<_ACEOF
15946 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15951 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15952 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15954 cat >>confdefs.h
<<_ACEOF
15955 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15960 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15961 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15963 cat >>confdefs.h
<<_ACEOF
15964 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15969 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15970 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15972 cat >>confdefs.h
<<_ACEOF
15973 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15978 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15979 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15981 cat >>confdefs.h
<<_ACEOF
15982 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15987 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15988 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15990 cat >>confdefs.h
<<_ACEOF
15991 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15998 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
15999 #include <sys/types.h>
16001 #ifdef HAVE_NETINET_IN_H
16002 #include <netinet/in.h>
16005 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16007 cat >>confdefs.h
<<_ACEOF
16008 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16015 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16016 #include <resolv.h>
16019 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16021 cat >>confdefs.h
<<_ACEOF
16022 #define HAVE_STRUCT___RES_STATE 1
16029 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
16030 #include <resolv.h>
16033 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16035 cat >>confdefs.h
<<_ACEOF
16036 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16043 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16044 #include <sys/types.h>
16046 #ifdef HAVE_NETINET_IN_H
16047 # include <netinet/in.h>
16049 #ifdef HAVE_ARPA_NAMESER_H
16050 # include <arpa/nameser.h>
16053 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16055 cat >>confdefs.h
<<_ACEOF
16056 #define HAVE_NS_MSG__MSG_PTR 1
16063 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16064 #include <sys/types.h>
16066 #ifdef HAVE_NETINET_IP_H
16067 #include <netinet/ip.h>
16069 #ifdef HAVE_NETINET_IP_ICMP_H
16070 #include <netinet/ip_icmp.h>
16072 #ifdef HAVE_NETINET_ICMP_VAR_H
16073 #include <netinet/icmp_var.h>
16076 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16078 cat >>confdefs.h
<<_ACEOF
16079 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16086 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16087 #include <sys/types.h>
16089 #ifdef HAVE_ALIAS_H
16092 #ifdef HAVE_SYS_SOCKET_H
16093 #include <sys/socket.h>
16095 #ifdef HAVE_SYS_SOCKETVAR_H
16096 #include <sys/socketvar.h>
16098 #ifdef HAVE_SYS_TIMEOUT_H
16099 #include <sys/timeout.h>
16101 #ifdef HAVE_NETINET_IN_H
16102 #include <netinet/in.h>
16104 #ifdef HAVE_NETINET_IN_SYSTM_H
16105 #include <netinet/in_systm.h>
16107 #ifdef HAVE_NETINET_IP_H
16108 #include <netinet/ip.h>
16110 #ifdef HAVE_NETINET_IP_VAR_H
16111 #include <netinet/ip_var.h>
16113 #ifdef HAVE_NETINET_IP_ICMP_H
16114 #include <netinet/ip_icmp.h>
16116 #ifdef HAVE_NETINET_ICMP_VAR_H
16117 #include <netinet/icmp_var.h>
16120 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16122 cat >>confdefs.h
<<_ACEOF
16123 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16130 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16131 #include <sys/types.h>
16133 #ifdef HAVE_SYS_SOCKETVAR_H
16134 #include <sys/socketvar.h>
16136 #ifdef HAVE_NETINET_IN_H
16137 #include <netinet/in.h>
16139 #ifdef HAVE_NETINET_IP_VAR_H
16140 #include <netinet/ip_var.h>
16143 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16145 cat >>confdefs.h
<<_ACEOF
16146 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16153 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
16154 #include <netinet/ip_var.h>
16157 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16159 cat >>confdefs.h
<<_ACEOF
16160 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16167 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16168 #include <sys/types.h>
16170 #ifdef HAVE_SYS_SOCKETVAR_H
16171 #include <sys/socketvar.h>
16173 #ifdef HAVE_NETINET_IN_H
16174 #include <netinet/in.h>
16176 #ifdef HAVE_NETINET_TCP_H
16177 #include <netinet/tcp.h>
16179 #ifdef HAVE_NETINET_TCP_VAR_H
16180 #include <netinet/tcp_var.h>
16183 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16185 cat >>confdefs.h
<<_ACEOF
16186 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16193 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
16194 #include <netinet/tcp_var.h>
16197 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16199 cat >>confdefs.h
<<_ACEOF
16200 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16207 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16208 #include <sys/types.h>
16210 #ifdef HAVE_NETINET_IN_H
16211 #include <netinet/in.h>
16213 #ifdef HAVE_NETINET_IP_VAR_H
16214 #include <netinet/ip_var.h>
16216 #ifdef HAVE_NETINET_UDP_H
16217 #include <netinet/udp.h>
16219 #ifdef HAVE_NETINET_UDP_VAR_H
16220 #include <netinet/udp_var.h>
16223 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16225 cat >>confdefs.h
<<_ACEOF
16226 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16233 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16234 #include <sys/types.h>
16236 #ifdef HAVE_NET_IF_H
16237 # include <net/if.h>
16240 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16242 cat >>confdefs.h
<<_ACEOF
16243 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16251 $as_echo_n "checking for timezone variable... " >&6; }
16252 if ${ac_cv_have_timezone+:} false
; then :
16253 $as_echo_n "(cached) " >&6
16255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16256 /* end confdefs.h. */
16266 if ac_fn_c_try_link
"$LINENO"; then :
16267 ac_cv_have_timezone
="yes"
16269 ac_cv_have_timezone
="no"
16271 rm -f core conftest.err conftest.
$ac_objext \
16272 conftest
$ac_exeext conftest.
$ac_ext
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16275 $as_echo "$ac_cv_have_timezone" >&6; }
16276 if test "$ac_cv_have_timezone" = "yes"
16279 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16283 $as_echo_n "checking for daylight variable... " >&6; }
16284 if ${ac_cv_have_daylight+:} false
; then :
16285 $as_echo_n "(cached) " >&6
16287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16288 /* end confdefs.h. */
16298 if ac_fn_c_try_link
"$LINENO"; then :
16299 ac_cv_have_daylight
="yes"
16301 ac_cv_have_daylight
="no"
16303 rm -f core conftest.err conftest.
$ac_objext \
16304 conftest
$ac_exeext conftest.
$ac_ext
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16307 $as_echo "$ac_cv_have_daylight" >&6; }
16308 if test "$ac_cv_have_daylight" = "yes"
16311 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16315 ac_save_LIBS
="$LIBS"
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16318 $as_echo_n "checking for isfinite... " >&6; }
16319 if ${ac_cv_have_isfinite+:} false
; then :
16320 $as_echo_n "(cached) " >&6
16322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16323 /* end confdefs.h. */
16324 #define _GNU_SOURCE
16329 float f = 0.0; return isfinite(f)
16334 if ac_fn_c_try_link
"$LINENO"; then :
16335 ac_cv_have_isfinite
="yes"
16337 ac_cv_have_isfinite
="no"
16339 rm -f core conftest.err conftest.
$ac_objext \
16340 conftest
$ac_exeext conftest.
$ac_ext
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16343 $as_echo "$ac_cv_have_isfinite" >&6; }
16344 if test "$ac_cv_have_isfinite" = "yes"
16347 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16352 $as_echo_n "checking for isinf... " >&6; }
16353 if ${ac_cv_have_isinf+:} false
; then :
16354 $as_echo_n "(cached) " >&6
16356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16357 /* end confdefs.h. */
16362 float f = 0.0; return isinf(f)
16367 if ac_fn_c_try_link
"$LINENO"; then :
16368 ac_cv_have_isinf
="yes"
16370 ac_cv_have_isinf
="no"
16372 rm -f core conftest.err conftest.
$ac_objext \
16373 conftest
$ac_exeext conftest.
$ac_ext
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16376 $as_echo "$ac_cv_have_isinf" >&6; }
16377 if test "$ac_cv_have_isinf" = "yes"
16380 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16385 $as_echo_n "checking for isnan... " >&6; }
16386 if ${ac_cv_have_isnan+:} false
; then :
16387 $as_echo_n "(cached) " >&6
16389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16390 /* end confdefs.h. */
16395 float f = 0.0; return isnan(f)
16400 if ac_fn_c_try_link
"$LINENO"; then :
16401 ac_cv_have_isnan
="yes"
16403 ac_cv_have_isnan
="no"
16405 rm -f core conftest.err conftest.
$ac_objext \
16406 conftest
$ac_exeext conftest.
$ac_ext
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16409 $as_echo "$ac_cv_have_isnan" >&6; }
16410 if test "$ac_cv_have_isnan" = "yes"
16413 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16440 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16441 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16442 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16443 cat >>confdefs.h
<<_ACEOF
16444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16450 LIBS
="$ac_save_LIBS"
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16453 $as_echo_n "checking for __builtin_clz... " >&6; }
16454 if ${ac_cv_have___builtin_clz+:} false
; then :
16455 $as_echo_n "(cached) " >&6
16457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16463 return __builtin_clz(1)
16468 if ac_fn_c_try_link
"$LINENO"; then :
16469 ac_cv_have___builtin_clz
="yes"
16471 ac_cv_have___builtin_clz
="no"
16473 rm -f core conftest.err conftest.
$ac_objext \
16474 conftest
$ac_exeext conftest.
$ac_ext
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16477 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16478 if test "$ac_cv_have___builtin_clz" = "yes"
16481 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16487 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16488 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16489 if ${ac_cv_cpp_def___i386__+:} false
; then :
16490 $as_echo_n "(cached) " >&6
16492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16493 /* end confdefs.h. */
16498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16499 $EGREP "yes" >/dev
/null
2>&1; then :
16500 ac_cv_cpp_def___i386__
=yes
16502 ac_cv_cpp_def___i386__
=no
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16508 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16509 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16510 CFLAGS
="$CFLAGS -D__i386__"
16511 LINTFLAGS
="$LINTFLAGS -D__i386__"
16513 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16514 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16515 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16516 $as_echo_n "(cached) " >&6
16518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16519 /* end confdefs.h. */
16524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16525 $EGREP "yes" >/dev
/null
2>&1; then :
16526 ac_cv_cpp_def___x86_64__
=yes
16528 ac_cv_cpp_def___x86_64__
=no
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16534 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16535 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16536 CFLAGS
="$CFLAGS -D__x86_64__"
16537 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16539 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16540 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16541 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16542 $as_echo_n "(cached) " >&6
16544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16545 /* end confdefs.h. */
16546 #ifndef __sparc64__
16550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16551 $EGREP "yes" >/dev
/null
2>&1; then :
16552 ac_cv_cpp_def___sparc64__
=yes
16554 ac_cv_cpp_def___sparc64__
=no
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16560 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16561 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16562 CFLAGS
="$CFLAGS -D__sparc64__"
16563 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16565 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16566 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16567 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16568 $as_echo_n "(cached) " >&6
16570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16577 $EGREP "yes" >/dev
/null
2>&1; then :
16578 ac_cv_cpp_def___sparc__
=yes
16580 ac_cv_cpp_def___sparc__
=no
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16586 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16587 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16588 CFLAGS
="$CFLAGS -D__sparc__"
16589 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16591 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16592 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16593 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16594 $as_echo_n "(cached) " >&6
16596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16597 /* end confdefs.h. */
16598 #ifndef __powerpc64__
16602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16603 $EGREP "yes" >/dev
/null
2>&1; then :
16604 ac_cv_cpp_def___powerpc64__
=yes
16606 ac_cv_cpp_def___powerpc64__
=no
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16612 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16613 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16614 CFLAGS
="$CFLAGS -D__powerpc64__"
16615 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16617 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16618 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16619 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16620 $as_echo_n "(cached) " >&6
16622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16623 /* end confdefs.h. */
16624 #ifndef __powerpc__
16628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16629 $EGREP "yes" >/dev
/null
2>&1; then :
16630 ac_cv_cpp_def___powerpc__
=yes
16632 ac_cv_cpp_def___powerpc__
=no
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16638 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16639 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16640 CFLAGS
="$CFLAGS -D__powerpc__"
16641 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16643 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16644 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16645 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16646 $as_echo_n "(cached) " >&6
16648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16649 /* end confdefs.h. */
16650 #ifndef __aarch64__
16654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16655 $EGREP "yes" >/dev
/null
2>&1; then :
16656 ac_cv_cpp_def___aarch64__
=yes
16658 ac_cv_cpp_def___aarch64__
=no
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16664 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16665 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16666 CFLAGS
="$CFLAGS -D__aarch64__"
16667 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16669 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16670 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16671 if ${ac_cv_cpp_def___arm__+:} false
; then :
16672 $as_echo_n "(cached) " >&6
16674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16675 /* end confdefs.h. */
16680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16681 $EGREP "yes" >/dev
/null
2>&1; then :
16682 ac_cv_cpp_def___arm__
=yes
16684 ac_cv_cpp_def___arm__
=no
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16690 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16691 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16692 CFLAGS
="$CFLAGS -D__arm__"
16693 LINTFLAGS
="$LINTFLAGS -D__arm__"
16697 case $host_vendor in
16698 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16699 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16700 if ${ac_cv_cpp_def___sun__+:} false
; then :
16701 $as_echo_n "(cached) " >&6
16703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16704 /* end confdefs.h. */
16709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16710 $EGREP "yes" >/dev
/null
2>&1; then :
16711 ac_cv_cpp_def___sun__
=yes
16713 ac_cv_cpp_def___sun__
=no
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16719 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16720 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16721 CFLAGS
="$CFLAGS -D__sun__"
16722 LINTFLAGS
="$LINTFLAGS -D__sun__"
16730 ac_config_commands
="$ac_config_commands include/stamp-h"
16732 $as_echo_n "creating Makefile rules..." >&6
16734 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16735 SOCKET_LIBS = $SOCKET_LIBS
16736 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16737 IOKIT_LIBS = $IOKIT_LIBS
16738 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16739 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16740 CORESERVICES_LIBS = $CORESERVICES_LIBS
16741 APPKIT_LIBS = $APPKIT_LIBS
16742 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16743 SECURITY_LIBS = $SECURITY_LIBS
16744 COREAUDIO_LIBS = $COREAUDIO_LIBS
16745 OPENAL_LIBS = $OPENAL_LIBS
16746 OPENCL_LIBS = $OPENCL_LIBS
16747 QUICKTIME_LIBS = $QUICKTIME_LIBS
16748 CARBON_LIBS = $CARBON_LIBS
16749 PTHREAD_LIBS = $PTHREAD_LIBS
16750 X_CFLAGS = $X_CFLAGS
16751 X_PRE_LIBS = $X_PRE_LIBS
16753 X_EXTRA_LIBS = $X_EXTRA_LIBS
16754 XML2_CFLAGS = $XML2_CFLAGS
16755 XML2_LIBS = $XML2_LIBS
16756 XSLT_CFLAGS = $XSLT_CFLAGS
16757 XSLT_LIBS = $XSLT_LIBS
16758 DBUS_CFLAGS = $DBUS_CFLAGS
16759 DBUS_LIBS = $DBUS_LIBS
16760 HAL_CFLAGS = $HAL_CFLAGS
16761 HAL_LIBS = $HAL_LIBS
16762 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16763 GNUTLS_LIBS = $GNUTLS_LIBS
16764 SANE_CFLAGS = $SANE_CFLAGS
16765 SANE_LIBS = $SANE_LIBS
16766 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16767 GPHOTO2_LIBS = $GPHOTO2_LIBS
16768 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16769 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16770 RESOLV_LIBS = $RESOLV_LIBS
16771 LCMS2_CFLAGS = $LCMS2_CFLAGS
16772 LCMS2_LIBS = $LCMS2_LIBS
16773 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16774 FREETYPE_LIBS = $FREETYPE_LIBS
16776 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16777 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16778 GSTREAMER_LIBS = $GSTREAMER_LIBS
16779 ALSA_LIBS = $ALSA_LIBS
16780 OSS4_CFLAGS = $OSS4_CFLAGS
16781 CAPI20_CFLAGS = $CAPI20_CFLAGS
16782 CAPI20_LIBS = $CAPI20_LIBS
16783 CUPS_CFLAGS = $CUPS_CFLAGS
16784 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16785 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16786 JPEG_CFLAGS = $JPEG_CFLAGS
16787 JPEG_LIBS = $JPEG_LIBS
16788 PNG_CFLAGS = $PNG_CFLAGS
16789 PNG_LIBS = $PNG_LIBS
16790 TIFF_CFLAGS = $TIFF_CFLAGS
16791 TIFF_LIBS = $TIFF_LIBS
16792 MPG123_CFLAGS = $MPG123_CFLAGS
16793 MPG123_LIBS = $MPG123_LIBS
16794 KSTAT_LIBS = $KSTAT_LIBS
16795 PROCSTAT_LIBS = $PROCSTAT_LIBS
16797 POLL_LIBS = $POLL_LIBS
16799 LDAP_LIBS = $LDAP_LIBS
16804 wine_fn_append_rule
"
16805 # Rules automatically generated by configure
16807 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16812 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16813 @./config.status Make.tmp Makefile"
16815 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16816 .gitignore: config.status
16817 @./config.status .gitignore"
16819 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16820 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16822 if test "x$enable_fonts" != xno
; then
16823 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16824 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16825 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16826 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16827 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16829 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16830 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16831 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16832 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16833 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16834 wine_fn_config_symlink wine
16835 if test "x$enable_win64" != xno
; then
16836 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16837 wine_fn_config_symlink wine64
16840 wine_fn_config_dll acledit enable_acledit
16841 wine_fn_config_dll aclui enable_aclui implib
16842 wine_fn_config_dll activeds enable_activeds implib
16843 wine_fn_config_dll actxprxy enable_actxprxy clean
16844 wine_fn_config_lib adsiid
16845 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16846 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16847 wine_fn_config_dll advpack enable_advpack implib
16848 wine_fn_config_test dlls
/advpack
/tests advpack_test
16849 wine_fn_config_dll amstream enable_amstream clean
16850 wine_fn_config_test dlls
/amstream
/tests amstream_test
16851 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16852 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16853 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16854 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16855 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16856 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16857 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16858 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16859 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16860 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16861 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16862 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16863 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16864 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16865 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16866 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16867 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16868 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16869 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16870 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16871 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16872 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16873 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16874 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16875 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16876 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16877 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16878 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16879 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16880 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16881 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16882 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16883 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16884 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16885 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16886 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16887 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16888 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16889 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16890 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16891 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16892 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16893 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16894 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16895 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16896 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16897 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16898 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16899 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16900 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16901 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16902 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16903 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16904 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16905 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16906 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16907 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16908 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16909 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16910 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16911 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16912 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16913 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16914 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16915 wine_fn_config_dll apphelp enable_apphelp
16916 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16917 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16918 wine_fn_config_dll atl enable_atl clean
,implib
16919 wine_fn_config_test dlls
/atl
/tests atl_test
16920 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16921 wine_fn_config_test dlls
/atl100
/tests atl100_test
16922 wine_fn_config_dll atl110 enable_atl110 clean
16923 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16924 wine_fn_config_test dlls
/atl80
/tests atl80_test
16925 wine_fn_config_dll atl90 enable_atl90 clean
16926 wine_fn_config_dll authz enable_authz
16927 wine_fn_config_dll avicap32 enable_avicap32 implib
16928 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16929 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16930 wine_fn_config_dll avifile.dll16 enable_win16
16931 wine_fn_config_dll avrt enable_avrt implib
16932 wine_fn_config_dll bcrypt enable_bcrypt
16933 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16934 wine_fn_config_dll browseui enable_browseui clean
,po
16935 wine_fn_config_test dlls
/browseui
/tests browseui_test
16936 wine_fn_config_dll cabinet enable_cabinet implib
16937 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16938 wine_fn_config_dll capi2032 enable_capi2032 implib
16939 wine_fn_config_dll cards enable_cards implib
16940 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16941 wine_fn_config_dll clusapi enable_clusapi implib
16942 wine_fn_config_dll combase enable_combase
16943 wine_fn_config_dll comcat enable_comcat
16944 wine_fn_config_test dlls
/comcat
/tests comcat_test
16945 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16946 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16947 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16948 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16949 wine_fn_config_dll
comm.drv16 enable_win16
16950 wine_fn_config_dll commdlg.dll16 enable_win16
16951 wine_fn_config_dll compobj.dll16 enable_win16
16952 wine_fn_config_dll compstui enable_compstui implib
16953 wine_fn_config_dll comsvcs enable_comsvcs implib
16954 wine_fn_config_dll credui enable_credui implib
,po
16955 wine_fn_config_test dlls
/credui
/tests credui_test
16956 wine_fn_config_dll crtdll enable_crtdll implib
16957 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16958 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16959 wine_fn_config_dll cryptdlg enable_cryptdlg po
16960 wine_fn_config_dll cryptdll enable_cryptdll implib
16961 wine_fn_config_dll cryptext enable_cryptext
16962 wine_fn_config_dll cryptnet enable_cryptnet implib
16963 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16964 wine_fn_config_dll cryptui enable_cryptui implib
,po
16965 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16966 wine_fn_config_dll ctapi32 enable_ctapi32
16967 wine_fn_config_dll ctl3d.dll16 enable_win16
16968 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16969 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16970 wine_fn_config_dll d2d1 enable_d2d1 implib
16971 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16972 wine_fn_config_dll d3d10 enable_d3d10 implib
16973 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16974 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16975 wine_fn_config_dll d3d10core enable_d3d10core implib
16976 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16977 wine_fn_config_dll d3d11 enable_d3d11
16978 wine_fn_config_dll d3d8 enable_d3d8 implib
16979 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16980 wine_fn_config_dll d3d9 enable_d3d9 implib
16981 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16982 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16983 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16984 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16985 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16986 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16987 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16988 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16989 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16990 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16991 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16992 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16993 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16994 wine_fn_config_dll d3dim enable_d3dim implib
16995 wine_fn_config_dll d3drm enable_d3drm implib
16996 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16997 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16998 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16999 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17000 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17001 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17002 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17003 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17004 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17005 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17006 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17007 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17008 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17009 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17010 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17011 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17012 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17013 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17014 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17015 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17016 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17017 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17018 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17019 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17020 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17021 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17022 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17023 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17024 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17025 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17026 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17027 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17028 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17029 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17030 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17031 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17032 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17033 wine_fn_config_dll dbgeng enable_dbgeng implib
17034 wine_fn_config_dll dbghelp enable_dbghelp implib
17035 wine_fn_config_dll dciman32 enable_dciman32 implib
17036 wine_fn_config_dll ddeml.dll16 enable_win16
17037 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17038 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17039 wine_fn_config_dll ddrawex enable_ddrawex clean
17040 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17041 wine_fn_config_dll devenum enable_devenum clean
,po
17042 wine_fn_config_test dlls
/devenum
/tests devenum_test
17043 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17044 wine_fn_config_dll difxapi enable_difxapi
17045 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17046 wine_fn_config_test dlls
/dinput
/tests dinput_test
17047 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17048 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17049 wine_fn_config_dll dispdib.dll16 enable_win16
17050 wine_fn_config_dll dispex enable_dispex clean
17051 wine_fn_config_test dlls
/dispex
/tests dispex_test
17052 wine_fn_config_dll display.drv16 enable_win16
17053 wine_fn_config_dll dmband enable_dmband clean
17054 wine_fn_config_test dlls
/dmband
/tests dmband_test
17055 wine_fn_config_dll dmcompos enable_dmcompos clean
17056 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17057 wine_fn_config_dll dmime enable_dmime clean
17058 wine_fn_config_test dlls
/dmime
/tests dmime_test
17059 wine_fn_config_dll dmloader enable_dmloader clean
17060 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17061 wine_fn_config_dll dmscript enable_dmscript clean
17062 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17063 wine_fn_config_dll dmstyle enable_dmstyle clean
17064 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17065 wine_fn_config_dll dmsynth enable_dmsynth clean
17066 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17067 wine_fn_config_dll dmusic enable_dmusic clean
17068 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17069 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17070 wine_fn_config_dll dnsapi enable_dnsapi implib
17071 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17072 wine_fn_config_dll dplay enable_dplay implib
17073 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17074 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17075 wine_fn_config_dll dpnaddr enable_dpnaddr
17076 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17077 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17078 wine_fn_config_dll dpnhpast enable_dpnhpast
17079 wine_fn_config_dll dpnlobby enable_dpnlobby
17080 wine_fn_config_dll dpvoice enable_dpvoice clean
17081 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17082 wine_fn_config_dll dpwsockx enable_dpwsockx
17083 wine_fn_config_dll drmclien enable_drmclien
17084 wine_fn_config_dll dsound enable_dsound clean
,implib
17085 wine_fn_config_test dlls
/dsound
/tests dsound_test
17086 wine_fn_config_dll dssenh enable_dssenh
17087 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17088 wine_fn_config_dll dswave enable_dswave clean
17089 wine_fn_config_test dlls
/dswave
/tests dswave_test
17090 wine_fn_config_dll dwmapi enable_dwmapi implib
17091 wine_fn_config_dll dwrite enable_dwrite implib
17092 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17093 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17094 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17095 wine_fn_config_lib dxerr8
17096 wine_fn_config_lib dxerr9
17097 wine_fn_config_dll dxgi enable_dxgi implib
17098 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17099 wine_fn_config_lib dxguid
17100 wine_fn_config_dll dxva2 enable_dxva2
17101 wine_fn_config_dll explorerframe enable_explorerframe clean
17102 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17103 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17104 wine_fn_config_dll faultrep enable_faultrep implib
17105 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17106 wine_fn_config_dll fltlib enable_fltlib
17107 wine_fn_config_dll fntcache enable_fntcache
17108 wine_fn_config_dll fontsub enable_fontsub
17109 wine_fn_config_dll fusion enable_fusion
17110 wine_fn_config_test dlls
/fusion
/tests fusion_test
17111 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17112 wine_fn_config_dll gameux enable_gameux clean
17113 wine_fn_config_test dlls
/gameux
/tests gameux_test
17114 wine_fn_config_dll gdi.exe16 enable_win16
17115 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17116 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17117 wine_fn_config_dll gdiplus enable_gdiplus implib
17118 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17119 wine_fn_config_dll glu32 enable_glu32 implib
17120 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17121 wine_fn_config_dll gpkcsp enable_gpkcsp
17122 wine_fn_config_dll hal enable_hal
17123 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17124 wine_fn_config_dll hid enable_hid implib
17125 wine_fn_config_dll hlink enable_hlink clean
,implib
17126 wine_fn_config_test dlls
/hlink
/tests hlink_test
17127 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17128 wine_fn_config_dll httpapi enable_httpapi
17129 wine_fn_config_dll iccvid enable_iccvid po
17130 wine_fn_config_dll icmp enable_icmp
17131 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17132 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17133 wine_fn_config_dll ifsmgr.vxd enable_win16
17134 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17135 wine_fn_config_dll imagehlp enable_imagehlp implib
17136 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17137 wine_fn_config_dll imm.dll16 enable_win16
17138 wine_fn_config_dll imm32 enable_imm32 implib
17139 wine_fn_config_test dlls
/imm32
/tests imm32_test
17140 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17141 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17142 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17143 wine_fn_config_dll inetmib1 enable_inetmib1
17144 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17145 wine_fn_config_dll infosoft enable_infosoft clean
17146 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17147 wine_fn_config_dll initpki enable_initpki
17148 wine_fn_config_dll inkobj enable_inkobj
17149 wine_fn_config_dll inseng enable_inseng clean
17150 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17151 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17152 wine_fn_config_dll itircl enable_itircl
17153 wine_fn_config_dll itss enable_itss clean
17154 wine_fn_config_test dlls
/itss
/tests itss_test
17155 wine_fn_config_dll joy.cpl enable_joy_cpl po
17156 wine_fn_config_dll jscript enable_jscript clean
,po
17157 wine_fn_config_test dlls
/jscript
/tests jscript_test
17158 wine_fn_config_dll jsproxy enable_jsproxy implib
17159 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17160 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17161 wine_fn_config_dll keyboard.drv16 enable_win16
17162 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17163 wine_fn_config_dll ksuser enable_ksuser
17164 wine_fn_config_dll ktmw32 enable_ktmw32
17165 wine_fn_config_dll loadperf enable_loadperf implib
17166 wine_fn_config_dll localspl enable_localspl po
17167 wine_fn_config_test dlls
/localspl
/tests localspl_test
17168 wine_fn_config_dll localui enable_localui po
17169 wine_fn_config_test dlls
/localui
/tests localui_test
17170 wine_fn_config_dll lz32 enable_lz32 implib
17171 wine_fn_config_test dlls
/lz32
/tests lz32_test
17172 wine_fn_config_dll lzexpand.dll16 enable_win16
17173 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17174 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17175 wine_fn_config_dll mapistub enable_mapistub
17176 wine_fn_config_dll mciavi32 enable_mciavi32
17177 wine_fn_config_dll mcicda enable_mcicda
17178 wine_fn_config_dll mciqtz32 enable_mciqtz32
17179 wine_fn_config_dll mciseq enable_mciseq
17180 wine_fn_config_dll mciwave enable_mciwave
17181 wine_fn_config_dll mfplat enable_mfplat
17182 wine_fn_config_dll mgmtapi enable_mgmtapi
17183 wine_fn_config_dll midimap enable_midimap
17184 wine_fn_config_dll mlang enable_mlang clean
,implib
17185 wine_fn_config_test dlls
/mlang
/tests mlang_test
17186 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17187 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17188 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17189 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17190 wine_fn_config_dll mmdevldr.vxd enable_win16
17191 wine_fn_config_dll mmsystem.dll16 enable_win16
17192 wine_fn_config_dll monodebg.vxd enable_win16
17193 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17194 wine_fn_config_dll mouse.drv16 enable_win16
17195 wine_fn_config_dll mpr enable_mpr implib
,po
17196 wine_fn_config_test dlls
/mpr
/tests mpr_test
17197 wine_fn_config_dll mprapi enable_mprapi implib
17198 wine_fn_config_dll msacm.dll16 enable_win16
17199 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17200 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17201 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17202 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17203 wine_fn_config_dll msasn1 enable_msasn1 implib
17204 wine_fn_config_dll mscat32 enable_mscat32
17205 wine_fn_config_dll mscms enable_mscms implib
17206 wine_fn_config_test dlls
/mscms
/tests mscms_test
17207 wine_fn_config_dll mscoree enable_mscoree clean
17208 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17209 wine_fn_config_dll msctf enable_msctf clean
17210 wine_fn_config_test dlls
/msctf
/tests msctf_test
17211 wine_fn_config_dll msdaps enable_msdaps clean
17212 wine_fn_config_dll msdmo enable_msdmo implib
17213 wine_fn_config_dll msftedit enable_msftedit
17214 wine_fn_config_dll msg711.acm enable_msg711_acm
17215 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17216 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17217 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17218 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17219 wine_fn_config_dll msi enable_msi clean
,implib
,po
17220 wine_fn_config_test dlls
/msi
/tests msi_test
17221 wine_fn_config_dll msident enable_msident clean
17222 wine_fn_config_dll msimg32 enable_msimg32 implib
17223 wine_fn_config_dll msimsg enable_msimsg
17224 wine_fn_config_dll msimtf enable_msimtf clean
17225 wine_fn_config_dll msisip enable_msisip
17226 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17227 wine_fn_config_dll msls31 enable_msls31
17228 wine_fn_config_dll msnet32 enable_msnet32
17229 wine_fn_config_dll mspatcha enable_mspatcha
17230 wine_fn_config_dll msrle32 enable_msrle32 po
17231 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17232 wine_fn_config_dll mssign32 enable_mssign32
17233 wine_fn_config_dll mssip32 enable_mssip32
17234 wine_fn_config_dll mstask enable_mstask clean
17235 wine_fn_config_test dlls
/mstask
/tests mstask_test
17236 wine_fn_config_dll msvcirt enable_msvcirt
17237 wine_fn_config_dll msvcm80 enable_msvcm80
17238 wine_fn_config_dll msvcm90 enable_msvcm90
17239 wine_fn_config_dll msvcp100 enable_msvcp100
17240 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17241 wine_fn_config_dll msvcp110 enable_msvcp110
17242 wine_fn_config_dll msvcp120 enable_msvcp120
17243 wine_fn_config_dll msvcp60 enable_msvcp60
17244 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17245 wine_fn_config_dll msvcp70 enable_msvcp70
17246 wine_fn_config_dll msvcp71 enable_msvcp71
17247 wine_fn_config_dll msvcp80 enable_msvcp80
17248 wine_fn_config_dll msvcp90 enable_msvcp90
17249 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17250 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17251 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17252 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17253 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17254 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17255 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17256 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17257 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17258 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17259 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17260 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17261 wine_fn_config_dll msvcrt enable_msvcrt implib
17262 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17263 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17264 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17265 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17266 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17267 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17268 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17269 wine_fn_config_dll msvidc32 enable_msvidc32 po
17270 wine_fn_config_dll msvideo.dll16 enable_win16
17271 wine_fn_config_dll mswsock enable_mswsock implib
17272 wine_fn_config_dll msxml enable_msxml clean
17273 wine_fn_config_dll msxml2 enable_msxml2 clean
17274 wine_fn_config_dll msxml3 enable_msxml3 clean
17275 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17276 wine_fn_config_dll msxml4 enable_msxml4 clean
17277 wine_fn_config_dll msxml6 enable_msxml6 clean
17278 wine_fn_config_dll nddeapi enable_nddeapi implib
17279 wine_fn_config_dll ndis.sys enable_ndis_sys
17280 wine_fn_config_dll netapi32 enable_netapi32 implib
17281 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17282 wine_fn_config_dll netcfgx enable_netcfgx clean
17283 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17284 wine_fn_config_dll netprofm enable_netprofm clean
17285 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17286 wine_fn_config_dll newdev enable_newdev implib
17287 wine_fn_config_dll normaliz enable_normaliz implib
17288 wine_fn_config_dll npmshtml enable_npmshtml
17289 wine_fn_config_dll npptools enable_npptools
17290 wine_fn_config_dll ntdll enable_ntdll implib
17291 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17292 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17293 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17294 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17295 wine_fn_config_dll ntprint enable_ntprint
17296 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17297 wine_fn_config_dll objsel enable_objsel clean
17298 wine_fn_config_dll odbc32 enable_odbc32 implib
17299 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17300 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17301 wine_fn_config_dll odbccu32 enable_odbccu32
17302 wine_fn_config_dll ole2.dll16 enable_win16
17303 wine_fn_config_dll ole2conv.dll16 enable_win16
17304 wine_fn_config_dll ole2disp.dll16 enable_win16
17305 wine_fn_config_dll ole2nls.dll16 enable_win16
17306 wine_fn_config_dll ole2prox.dll16 enable_win16
17307 wine_fn_config_dll ole2thk.dll16 enable_win16
17308 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17309 wine_fn_config_test dlls
/ole32
/tests ole32_test
17310 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17311 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17312 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17313 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17314 wine_fn_config_dll olecli.dll16 enable_win16
17315 wine_fn_config_dll olecli32 enable_olecli32 implib
17316 wine_fn_config_dll oledb32 enable_oledb32 clean
17317 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17318 wine_fn_config_dll oledlg enable_oledlg implib
,po
17319 wine_fn_config_dll olepro32 enable_olepro32 implib
17320 wine_fn_config_dll olesvr.dll16 enable_win16
17321 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17322 wine_fn_config_dll olethk32 enable_olethk32
17323 wine_fn_config_dll openal32 enable_openal32
17324 wine_fn_config_dll opencl enable_opencl
17325 wine_fn_config_dll opengl32 enable_opengl32 implib
17326 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17327 wine_fn_config_dll packager enable_packager clean
17328 wine_fn_config_test dlls
/packager
/tests packager_test
17329 wine_fn_config_dll pdh enable_pdh implib
17330 wine_fn_config_test dlls
/pdh
/tests pdh_test
17331 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17332 wine_fn_config_dll pidgen enable_pidgen
17333 wine_fn_config_dll powrprof enable_powrprof implib
17334 wine_fn_config_dll printui enable_printui
17335 wine_fn_config_dll prntvpt enable_prntvpt
17336 wine_fn_config_dll propsys enable_propsys clean
,implib
17337 wine_fn_config_test dlls
/propsys
/tests propsys_test
17338 wine_fn_config_dll psapi enable_psapi implib
17339 wine_fn_config_test dlls
/psapi
/tests psapi_test
17340 wine_fn_config_dll pstorec enable_pstorec clean
17341 wine_fn_config_dll qcap enable_qcap
17342 wine_fn_config_test dlls
/qcap
/tests qcap_test
17343 wine_fn_config_dll qedit enable_qedit clean
17344 wine_fn_config_test dlls
/qedit
/tests qedit_test
17345 wine_fn_config_dll qmgr enable_qmgr clean
17346 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17347 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17348 wine_fn_config_dll quartz enable_quartz clean
,implib
17349 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17350 wine_fn_config_dll query enable_query
17351 wine_fn_config_dll rasapi16.dll16 enable_win16
17352 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17353 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17354 wine_fn_config_dll rasdlg enable_rasdlg implib
17355 wine_fn_config_dll regapi enable_regapi
17356 wine_fn_config_dll resutils enable_resutils implib
17357 wine_fn_config_dll riched20 enable_riched20 implib
17358 wine_fn_config_test dlls
/riched20
/tests riched20_test
17359 wine_fn_config_dll riched32 enable_riched32
17360 wine_fn_config_test dlls
/riched32
/tests riched32_test
17361 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17362 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17363 wine_fn_config_dll rsabase enable_rsabase
17364 wine_fn_config_dll rsaenh enable_rsaenh implib
17365 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17366 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17367 wine_fn_config_dll rtutils enable_rtutils implib
17368 wine_fn_config_dll samlib enable_samlib
17369 wine_fn_config_dll sane.ds enable_sane_ds po
17370 wine_fn_config_dll scarddlg enable_scarddlg
17371 wine_fn_config_dll sccbase enable_sccbase
17372 wine_fn_config_dll schannel enable_schannel
17373 wine_fn_config_test dlls
/schannel
/tests schannel_test
17374 wine_fn_config_dll schedsvc enable_schedsvc clean
17375 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17376 wine_fn_config_dll scrrun enable_scrrun clean
17377 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17378 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17379 wine_fn_config_dll secur32 enable_secur32 implib
17380 wine_fn_config_test dlls
/secur32
/tests secur32_test
17381 wine_fn_config_dll security enable_security
17382 wine_fn_config_dll sensapi enable_sensapi implib
17383 wine_fn_config_dll serialui enable_serialui implib
,po
17384 wine_fn_config_test dlls
/serialui
/tests serialui_test
17385 wine_fn_config_dll setupapi enable_setupapi implib
,po
17386 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17387 wine_fn_config_dll setupx.dll16 enable_win16
17388 wine_fn_config_dll sfc enable_sfc implib
17389 wine_fn_config_dll sfc_os enable_sfc_os implib
17390 wine_fn_config_dll shdoclc enable_shdoclc po
17391 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17392 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17393 wine_fn_config_dll shell.dll16 enable_win16
17394 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17395 wine_fn_config_test dlls
/shell32
/tests shell32_test
17396 wine_fn_config_dll shfolder enable_shfolder implib
17397 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17398 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17399 wine_fn_config_dll slbcsp enable_slbcsp
17400 wine_fn_config_dll slc enable_slc implib
17401 wine_fn_config_dll snmpapi enable_snmpapi implib
17402 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17403 wine_fn_config_dll softpub enable_softpub
17404 wine_fn_config_dll sound.drv16 enable_win16
17405 wine_fn_config_dll spoolss enable_spoolss implib
17406 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17407 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17408 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17409 wine_fn_config_dll sti enable_sti clean
,implib
17410 wine_fn_config_test dlls
/sti
/tests sti_test
17411 wine_fn_config_dll storage.dll16 enable_win16
17412 wine_fn_config_dll stress.dll16 enable_win16
17413 wine_fn_config_lib strmbase
17414 wine_fn_config_lib strmiids
17415 wine_fn_config_dll svrapi enable_svrapi
17416 wine_fn_config_dll sxs enable_sxs implib
17417 wine_fn_config_test dlls
/sxs
/tests sxs_test
17418 wine_fn_config_dll system.drv16 enable_win16
17419 wine_fn_config_dll t2embed enable_t2embed
17420 wine_fn_config_dll tapi32 enable_tapi32 implib
17421 wine_fn_config_dll taskschd enable_taskschd clean
17422 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17423 wine_fn_config_dll toolhelp.dll16 enable_win16
17424 wine_fn_config_dll traffic enable_traffic
17425 wine_fn_config_dll twain.dll16 enable_win16
17426 wine_fn_config_dll twain_32 enable_twain_32
17427 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17428 wine_fn_config_dll typelib.dll16 enable_win16
17429 wine_fn_config_dll unicows enable_unicows implib
17430 wine_fn_config_dll updspapi enable_updspapi
17431 wine_fn_config_dll url enable_url implib
17432 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17433 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17434 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17435 wine_fn_config_dll user.exe16 enable_win16
17436 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17437 wine_fn_config_test dlls
/user32
/tests user32_test
17438 wine_fn_config_dll userenv enable_userenv implib
17439 wine_fn_config_test dlls
/userenv
/tests userenv_test
17440 wine_fn_config_dll usp10 enable_usp10 implib
17441 wine_fn_config_test dlls
/usp10
/tests usp10_test
17442 wine_fn_config_lib uuid
17443 wine_fn_config_dll uxtheme enable_uxtheme implib
17444 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17445 wine_fn_config_dll vbscript enable_vbscript clean
17446 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17447 wine_fn_config_dll vcomp enable_vcomp
17448 wine_fn_config_dll vcomp100 enable_vcomp100
17449 wine_fn_config_dll vcomp90 enable_vcomp90
17450 wine_fn_config_dll vdhcp.vxd enable_win16
17451 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17452 wine_fn_config_dll ver.dll16 enable_win16
17453 wine_fn_config_dll version enable_version implib
17454 wine_fn_config_test dlls
/version
/tests version_test
17455 wine_fn_config_dll vmm.vxd enable_win16
17456 wine_fn_config_dll vnbt.vxd enable_win16
17457 wine_fn_config_dll vnetbios.vxd enable_win16
17458 wine_fn_config_dll vssapi enable_vssapi
17459 wine_fn_config_dll vtdapi.vxd enable_win16
17460 wine_fn_config_dll vwin32.vxd enable_win16
17461 wine_fn_config_dll w32skrnl enable_win16
17462 wine_fn_config_dll w32sys.dll16 enable_win16
17463 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17464 wine_fn_config_dll wbemprox enable_wbemprox clean
17465 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17466 wine_fn_config_dll webservices enable_webservices implib
17467 wine_fn_config_dll wer enable_wer implib
17468 wine_fn_config_test dlls
/wer
/tests wer_test
17469 wine_fn_config_dll wevtapi enable_wevtapi
17470 wine_fn_config_dll wiaservc enable_wiaservc clean
17471 wine_fn_config_dll win32s16.dll16 enable_win16
17472 wine_fn_config_dll win87em.dll16 enable_win16
17473 wine_fn_config_dll winaspi.dll16 enable_win16
17474 wine_fn_config_dll windebug.dll16 enable_win16
17475 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17476 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17477 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17478 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17479 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17480 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17481 wine_fn_config_lib winecrt0
17482 wine_fn_config_dll wined3d enable_wined3d implib
17483 wine_fn_config_dll winegstreamer enable_winegstreamer
17484 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17485 wine_fn_config_dll winemac.drv enable_winemac_drv
17486 wine_fn_config_dll winemapi enable_winemapi
17487 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17488 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17489 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17490 wine_fn_config_dll wineps16.drv16 enable_win16
17491 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17492 wine_fn_config_dll winex11.drv enable_winex11_drv
17493 wine_fn_config_dll wing.dll16 enable_win16
17494 wine_fn_config_dll wing32 enable_wing32
17495 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17496 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17497 wine_fn_config_dll wininet enable_wininet implib
,po
17498 wine_fn_config_test dlls
/wininet
/tests wininet_test
17499 wine_fn_config_dll winmm enable_winmm implib
,po
17500 wine_fn_config_test dlls
/winmm
/tests winmm_test
17501 wine_fn_config_dll winnls.dll16 enable_win16
17502 wine_fn_config_dll winnls32 enable_winnls32 implib
17503 wine_fn_config_dll winscard enable_winscard implib
17504 wine_fn_config_dll winsock.dll16 enable_win16
17505 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17506 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17507 wine_fn_config_dll winsta enable_winsta
17508 wine_fn_config_dll wintab.dll16 enable_win16
17509 wine_fn_config_dll wintab32 enable_wintab32 implib
17510 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17511 wine_fn_config_dll wintrust enable_wintrust implib
17512 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17513 wine_fn_config_dll wlanapi enable_wlanapi
17514 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17515 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17516 wine_fn_config_dll wmi enable_wmi
17517 wine_fn_config_dll wmiutils enable_wmiutils clean
17518 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17519 wine_fn_config_dll wmp enable_wmp clean
17520 wine_fn_config_test dlls
/wmp
/tests wmp_test
17521 wine_fn_config_dll wmvcore enable_wmvcore
17522 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17523 wine_fn_config_dll wow32 enable_win16 implib
17524 wine_fn_config_dll wpcap enable_wpcap
17525 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17526 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17527 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17528 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17529 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17530 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17531 wine_fn_config_dll wsock32 enable_wsock32 implib
17532 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17533 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17534 wine_fn_config_dll wuapi enable_wuapi clean
17535 wine_fn_config_dll wuaueng enable_wuaueng
17536 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17537 wine_fn_config_dll xinput1_1 enable_xinput1_1
17538 wine_fn_config_dll xinput1_2 enable_xinput1_2
17539 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17540 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17541 wine_fn_config_dll xinput1_4 enable_xinput1_4
17542 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17543 wine_fn_config_dll xmllite enable_xmllite implib
17544 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17545 wine_fn_config_dll xolehlp enable_xolehlp
17546 wine_fn_config_dll xpsprint enable_xpsprint
17547 wine_fn_config_dll xpssvcs enable_xpssvcs
17548 wine_fn_config_makefile documentation enable_documentation clean
17549 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17550 wine_fn_config_makefile include enable_include clean
,install-dev
17551 wine_fn_config_makefile libs
/port enable_libs_port
17552 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17553 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17554 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17555 wine_fn_config_program arp enable_arp
install
17556 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17557 wine_fn_config_program attrib enable_attrib
install,po
17558 wine_fn_config_program cabarc enable_cabarc
install
17559 wine_fn_config_program cacls enable_cacls
install
17560 wine_fn_config_program
clock enable_clock
install,po
17561 wine_fn_config_program cmd enable_cmd
install,po
17562 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17563 wine_fn_config_program conhost enable_conhost
install
17564 wine_fn_config_program control enable_control
install
17565 wine_fn_config_program cscript enable_cscript clean
,install
17566 wine_fn_config_program dpnsvr enable_dpnsvr
install
17567 wine_fn_config_program dxdiag enable_dxdiag
install,po
17568 wine_fn_config_program eject enable_eject
install
17569 wine_fn_config_program
expand enable_expand
install
17570 wine_fn_config_program explorer enable_explorer
install,po
17571 wine_fn_config_program extrac32 enable_extrac32
install
17572 wine_fn_config_program findstr enable_findstr
install
17573 wine_fn_config_program hh enable_hh
install
17574 wine_fn_config_program hostname enable_hostname
install,po
17575 wine_fn_config_program icinfo enable_icinfo
install
17576 wine_fn_config_program iexplore enable_iexplore
install
17577 wine_fn_config_program ipconfig enable_ipconfig
install,po
17578 wine_fn_config_program lodctr enable_lodctr
install
17579 wine_fn_config_program mofcomp enable_mofcomp
install
17580 wine_fn_config_program mshta enable_mshta
install
17581 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17582 wine_fn_config_program net enable_net
install,po
17583 wine_fn_config_program netsh enable_netsh
install
17584 wine_fn_config_program netstat enable_netstat
install,po
17585 wine_fn_config_program ngen enable_ngen
install
17586 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17587 wine_fn_config_program oleview enable_oleview
install,po
17588 wine_fn_config_program
ping enable_ping
install
17589 wine_fn_config_program plugplay enable_plugplay
install
17590 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17591 wine_fn_config_program progman enable_progman
install,po
17592 wine_fn_config_program reg enable_reg
install,po
17593 wine_fn_config_test programs
/reg
/tests reg.exe_test
17594 wine_fn_config_program regasm enable_regasm
install
17595 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17596 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17597 wine_fn_config_program regsvcs enable_regsvcs
install
17598 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17599 wine_fn_config_program rpcss enable_rpcss clean
,install
17600 wine_fn_config_program rundll.exe16 enable_win16
install
17601 wine_fn_config_program rundll32 enable_rundll32
install
17602 wine_fn_config_program sc enable_sc
install
17603 wine_fn_config_program schtasks enable_schtasks
install
17604 wine_fn_config_program sdbinst enable_sdbinst
install
17605 wine_fn_config_program secedit enable_secedit
install
17606 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17607 wine_fn_config_program services enable_services clean
,install
17608 wine_fn_config_test programs
/services
/tests services.exe_test
17609 wine_fn_config_program spoolsv enable_spoolsv
install
17610 wine_fn_config_program start enable_start
install,po
17611 wine_fn_config_program svchost enable_svchost
install
17612 wine_fn_config_program systeminfo enable_systeminfo
install
17613 wine_fn_config_program taskkill enable_taskkill
install,po
17614 wine_fn_config_program tasklist enable_tasklist
install
17615 wine_fn_config_program taskmgr enable_taskmgr
install,po
17616 wine_fn_config_program termsv enable_termsv
install
17617 wine_fn_config_program uninstaller enable_uninstaller
install,po
17618 wine_fn_config_program unlodctr enable_unlodctr
install
17619 wine_fn_config_program view enable_view
install,po
17620 wine_fn_config_program wevtutil enable_wevtutil
install
17621 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17622 wine_fn_config_program winebrowser enable_winebrowser
install
17623 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17624 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17625 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17626 wine_fn_config_program winedevice enable_winedevice
install
17627 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17628 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17629 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17630 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17631 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17632 wine_fn_config_program winetest enable_winetest clean
17633 wine_fn_config_program winevdm enable_win16
install
17634 wine_fn_config_program winhelp.exe16 enable_win16
install
17635 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17636 wine_fn_config_program winoldap.mod16 enable_win16
install
17637 wine_fn_config_program winver enable_winver
install
17638 wine_fn_config_program wmic enable_wmic
install,po
17639 wine_fn_config_program wordpad enable_wordpad
install,po
17640 wine_fn_config_program
write enable_write
install,po
17641 wine_fn_config_program wscript enable_wscript clean
,install
17642 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17643 wine_fn_config_program wusa enable_wusa
install
17644 wine_fn_config_program xcopy enable_xcopy
install,po
17645 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17646 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17647 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17648 wine_fn_config_tool tools
/sfnt2fon clean
17649 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17650 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17651 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17652 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17653 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17654 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17706 wine_fn_ignore_file
".gitignore"
17707 wine_fn_ignore_file
"Makefile"
17708 wine_fn_ignore_file
"TAGS"
17709 wine_fn_ignore_file
"tags"
17710 wine_fn_ignore_file
"autom4te.cache"
17711 wine_fn_ignore_file
"config.cache"
17712 wine_fn_ignore_file
"config.log"
17713 wine_fn_ignore_file
"config.status"
17714 wine_fn_ignore_file
"configure.lineno"
17715 wine_fn_ignore_file
"include/config.h"
17716 wine_fn_ignore_file
"include/stamp-h"
17717 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17719 if test "x$enable_tools" != xno
17721 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17722 ac_config_commands
="$ac_config_commands tools/makedep"
17726 ac_config_commands
="$ac_config_commands Makefile"
17729 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17733 if test "x$enable_maintainer_mode" = xyes
17735 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17736 autoconf --warnings=all
17737 include/config.h.in: include/stamp-h.in
17738 include/stamp-h.in: configure.ac aclocal.m4
17739 autoheader --warnings=all
17740 @echo timestamp > \$@"
17743 if test "x$with_gettextpo" = xyes
17745 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17746 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17747 \$(LINGUAS:%=po/%.po): po/wine.pot
17748 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17749 po/wine.pot: \$(ALL_POT_FILES)
17750 msgcat -o \$@ \$(ALL_POT_FILES)"
17753 if test "$MSGFMT" != false
17755 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17757 \$(RM) \$(LINGUAS:%=po/%.mo)"
17760 test "$srcdir" = . || posrc
="$srcdir/po"
17763 wine_fn_ignore_file
"po/$i.mo"
17764 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17765 \$(MSGFMT) -o \$@ $posrc/$i.po"
17771 if test "x$enable_tools" != xno
17773 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17774 @./config.status tools/makedep
17775 Makefile: tools/makedep$ac_exeext
17777 \$(RM) tools/makedep$ac_exeext"
17779 wine_fn_append_rule
"\$(MAKEDEP):
17780 @echo \"You need to run make in $TOOLSDIR first\" && false"
17783 if test -n "$with_wine64"
17785 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17786 fonts server tools:
17787 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17788 $with_wine64/loader/wine:
17789 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17790 $with_wine64/loader/wine-preloader:
17791 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17793 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17795 as_fn_append LOADER_RULES
"
17796 install install-lib:: wine.inf install-man-pages
17797 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17798 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17801 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17805 if test "$srcdir" = .
17807 ac_config_commands
="$ac_config_commands .gitignore"
17811 $as_echo " done" >&6
17812 cat >confcache
<<\_ACEOF
17813 # This file is a shell script that caches the results of configure
17814 # tests run on this system so they can be shared between configure
17815 # scripts and configure runs, see configure's option --config-cache.
17816 # It is not useful on other systems. If it contains results you don't
17817 # want to keep, you may remove or edit it.
17819 # config.status only pays attention to the cache file if you give it
17820 # the --recheck option to rerun configure.
17822 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17823 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17824 # following values.
17828 # The following way of writing the cache mishandles newlines in values,
17829 # but we know of no workaround that is simple, portable, and efficient.
17830 # So, we kill variables containing newlines.
17831 # Ultrix sh set writes to stderr and can't be redirected directly,
17832 # and sets the high bit in the cache file unless we assign to the vars.
17834 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17835 eval ac_val
=\$
$ac_var
17839 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17840 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17843 _ | IFS | as_nl
) ;; #(
17844 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17845 *) { eval $ac_var=; unset $ac_var;} ;;
17851 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17852 *${as_nl}ac_space
=\
*)
17853 # `set' does not quote correctly, so add quotes: double-quote
17854 # substitution turns \\\\ into \\, and sed turns \\ into \.
17857 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17860 # `set' quotes correctly as required by POSIX, so do not add quotes.
17861 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17870 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17872 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17874 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17875 if test -w "$cache_file"; then
17876 if test "x$cache_file" != "x/dev/null"; then
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17878 $as_echo "$as_me: updating cache $cache_file" >&6;}
17879 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17880 cat confcache
>"$cache_file"
17882 case $cache_file in #(
17884 mv -f confcache
"$cache_file"$$
&&
17885 mv -f "$cache_file"$$
"$cache_file" ;; #(
17887 mv -f confcache
"$cache_file" ;;
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17893 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17898 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17899 # Let make expand exec_prefix.
17900 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17902 DEFS
=-DHAVE_CONFIG_H
17907 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17908 # 1. Remove the extension, and $U if already installed.
17909 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17910 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17911 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17912 # will be set to the directory where LIBOBJS objects are built.
17913 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17914 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17916 LIBOBJS
=$ac_libobjs
17918 LTLIBOBJS
=$ac_ltlibobjs
17922 : "${CONFIG_STATUS=./config.status}"
17924 ac_clean_files_save
=$ac_clean_files
17925 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17927 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17929 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17931 # Generated by $as_me.
17932 # Run this file to recreate the current configuration.
17933 # Compiler output produced by configure, useful for debugging
17934 # configure, is in config.log if it exists.
17937 ac_cs_recheck=false
17940 SHELL=\${CONFIG_SHELL-$SHELL}
17943 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17944 ## -------------------- ##
17945 ## M4sh Initialization. ##
17946 ## -------------------- ##
17948 # Be more Bourne compatible
17949 DUALCASE
=1; export DUALCASE
# for MKS sh
17950 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17953 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17954 # is contrary to our usage. Disable this feature.
17955 alias -g '${1+"$@"}'='"$@"'
17956 setopt NO_GLOB_SUBST
17958 case `(set -o) 2>/dev/null` in #(
17970 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17971 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17972 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17973 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17974 # Prefer a ksh shell builtin over an external printf program on Solaris,
17975 # but without wasting forks for bash or zsh.
17976 if test -z "$BASH_VERSION$ZSH_VERSION" \
17977 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17978 as_echo='print
-r --'
17979 as_echo_n='print
-rn --'
17980 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17981 as_echo='printf %s
\n'
17982 as_echo_n='printf %s
'
17984 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17985 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17986 as_echo_n='/usr
/ucb
/echo -n'
17988 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17989 as_echo_n_body='eval
17993 expr "X$arg" : "X\\(.*\\)$as_nl";
17994 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17996 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17998 export as_echo_n_body
17999 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18001 export as_echo_body
18002 as_echo='sh
-c $as_echo_body as_echo
'
18005 # The user is always right.
18006 if test "${PATH_SEPARATOR+set}" != set; then
18008 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18009 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18016 # We need space, tab and new line, in precisely that order. Quoting is
18017 # there to prevent editors from complaining about space-tab.
18018 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18019 # splitting by setting IFS to empty value.)
18022 # Find who we are. Look in the path if we contain no directory separator.
18025 *[\\/]* ) as_myself=$0 ;;
18026 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18027 for as_dir in $PATH
18030 test -z "$as_dir" && as_dir=.
18031 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18037 # We did not find ourselves, most probably we were run as `sh COMMAND'
18038 # in which case we are not to be found in the path.
18039 if test "x$as_myself" = x
; then
18042 if test ! -f "$as_myself"; then
18043 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18047 # Unset variables that we do not need and which cause bugs (e.g. in
18048 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18049 # suppresses any "Segmentation fault" message there. '((' could
18050 # trigger a bug in pdksh 5.2.14.
18051 for as_var
in BASH_ENV ENV MAIL MAILPATH
18052 do eval test x\
${$as_var+set} = xset \
18053 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18066 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18069 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18070 # ----------------------------------------
18071 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18072 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18073 # script with STATUS, using 1 if that was 0.
18076 as_status
=$1; test $as_status -eq 0 && as_status
=1
18078 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18079 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18081 $as_echo "$as_me: error: $2" >&2
18082 as_fn_exit
$as_status
18086 # as_fn_set_status STATUS
18087 # -----------------------
18088 # Set $? to STATUS, without forking.
18089 as_fn_set_status
()
18092 } # as_fn_set_status
18094 # as_fn_exit STATUS
18095 # -----------------
18096 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18100 as_fn_set_status
$1
18106 # Portably unset VAR.
18109 { eval $1=; unset $1;}
18111 as_unset
=as_fn_unset
18112 # as_fn_append VAR VALUE
18113 # ----------------------
18114 # Append the text in VALUE to the end of the definition contained in VAR. Take
18115 # advantage of any shell optimizations that allow amortized linear growth over
18116 # repeated appends, instead of the typical quadratic growth present in naive
18118 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18119 eval 'as_fn_append ()
18130 # as_fn_arith ARG...
18131 # ------------------
18132 # Perform arithmetic evaluation on the ARGs, and store the result in the
18133 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18134 # must be portable across $(()) and expr.
18135 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18136 eval 'as_fn_arith ()
18143 as_val
=`expr "$@" || test $? -eq 1`
18148 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18149 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18155 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18156 as_basename
=basename
18161 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18167 as_me
=`$as_basename -- "$0" ||
18168 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18169 X"$0" : 'X\(//\)$' \| \
18170 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18172 sed '/^.*\/\([^/][^/]*\)\/*$/{
18186 # Avoid depending upon Character Ranges.
18187 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18188 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18189 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18190 as_cr_digits
='0123456789'
18191 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18193 ECHO_C
= ECHO_N
= ECHO_T
=
18194 case `echo -n x` in #(((((
18196 case `echo 'xy\c'` in
18197 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18199 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18206 rm -f conf$$ conf$$.exe conf$$.
file
18207 if test -d conf$$.dir
; then
18208 rm -f conf$$.dir
/conf$$.
file
18211 mkdir conf$$.dir
2>/dev
/null
18213 if (echo >conf$$.
file) 2>/dev
/null
; then
18214 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18216 # ... but there are two gotchas:
18217 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18218 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18219 # In both cases, we have to default to `cp -pR'.
18220 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18222 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18230 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18231 rmdir conf$$.dir
2>/dev
/null
18236 # Create "$as_dir" as a directory, including parents if necessary.
18241 -*) as_dir
=.
/$as_dir;;
18243 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18247 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18248 *) as_qdir
=$as_dir;;
18250 as_dirs
="'$as_qdir' $as_dirs"
18251 as_dir
=`$as_dirname -- "$as_dir" ||
18252 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18253 X"$as_dir" : 'X\(//\)[^/]' \| \
18254 X"$as_dir" : 'X\(//\)$' \| \
18255 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18256 $as_echo X"$as_dir" |
18257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18261 /^X\(\/\/\)[^/].*/{
18274 test -d "$as_dir" && break
18276 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18277 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18281 if mkdir
-p .
2>/dev
/null
; then
18282 as_mkdir_p
='mkdir -p "$as_dir"'
18284 test -d .
/-p && rmdir .
/-p
18289 # as_fn_executable_p FILE
18290 # -----------------------
18291 # Test if FILE is an executable regular file.
18292 as_fn_executable_p
()
18294 test -f "$1" && test -x "$1"
18295 } # as_fn_executable_p
18296 as_test_x
='test -x'
18297 as_executable_p
=as_fn_executable_p
18299 # Sed expression to map a string onto a valid CPP name.
18300 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18302 # Sed expression to map a string onto a valid variable name.
18303 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18307 ## ----------------------------------- ##
18308 ## Main body of $CONFIG_STATUS script. ##
18309 ## ----------------------------------- ##
18311 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18314 # Save the log message, to keep $0 and so on meaningful, and to
18315 # report actual input values of CONFIG_FILES etc. instead of their
18316 # values after options handling.
18318 This file was extended by Wine $as_me 1.7.32, which was
18319 generated by GNU Autoconf 2.69. Invocation command line was
18321 CONFIG_FILES = $CONFIG_FILES
18322 CONFIG_HEADERS = $CONFIG_HEADERS
18323 CONFIG_LINKS = $CONFIG_LINKS
18324 CONFIG_COMMANDS = $CONFIG_COMMANDS
18327 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18332 case $ac_config_files in *"
18333 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18336 case $ac_config_headers in *"
18337 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18342 # Files that config.status was made for.
18343 config_files="$ac_config_files"
18344 config_headers="$ac_config_headers"
18345 config_links="$ac_config_links"
18346 config_commands="$ac_config_commands"
18350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18352 \`$as_me' instantiates files and other configuration actions
18353 from templates according to the current configuration. Unless the files
18354 and actions are specified as TAGs, all are instantiated by default.
18356 Usage: $0 [OPTION]... [TAG]...
18358 -h, --help print this help, then exit
18359 -V, --version print version number and configuration settings, then exit
18360 --config print configuration, then exit
18361 -q, --quiet, --silent
18362 do not print progress messages
18363 -d, --debug don't remove temporary files
18364 --recheck update $as_me by reconfiguring in the same conditions
18365 --file=FILE[:TEMPLATE]
18366 instantiate the configuration file FILE
18367 --header=FILE[:TEMPLATE]
18368 instantiate the configuration header FILE
18370 Configuration files:
18373 Configuration headers:
18376 Configuration links:
18379 Configuration commands:
18382 Report bugs to <wine-devel@winehq.org>.
18383 Wine home page: <http://www.winehq.org>."
18386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18387 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18389 Wine config.status 1.7.32
18390 configured by $0, generated by GNU Autoconf 2.69,
18391 with options \\"\$ac_cs_config\\"
18393 Copyright (C) 2012 Free Software Foundation, Inc.
18394 This config.status script is free software; the Free Software Foundation
18395 gives unlimited permission to copy, distribute and modify it."
18399 test -n "\$AWK" || AWK=awk
18402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18403 # The default lists apply if the user does not specify any file.
18409 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18410 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18414 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18426 # Handling of the options.
18427 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18429 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18430 $as_echo "$ac_cs_version"; exit ;;
18431 --config |
--confi |
--conf |
--con |
--co |
--c )
18432 $as_echo "$ac_cs_config"; exit ;;
18433 --debug |
--debu |
--deb |
--de |
--d |
-d )
18435 --file |
--fil |
--fi |
--f )
18438 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18439 '') as_fn_error $?
"missing file argument" ;;
18441 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18442 ac_need_defaults
=false
;;
18443 --header |
--heade |
--head |
--hea )
18446 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18448 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18449 ac_need_defaults
=false
;;
18451 # Conflict between --help and --header
18452 as_fn_error $?
"ambiguous option: \`$1'
18453 Try \`$0 --help' for more information.";;
18454 --help |
--hel |
-h )
18455 $as_echo "$ac_cs_usage"; exit ;;
18456 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18457 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18460 # This is an error.
18461 -*) as_fn_error $?
"unrecognized option: \`$1'
18462 Try \`$0 --help' for more information." ;;
18464 *) as_fn_append ac_config_targets
" $1"
18465 ac_need_defaults
=false
;;
18471 ac_configure_extra_args
=
18473 if $ac_cs_silent; then
18475 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18480 if \$ac_cs_recheck; then
18481 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18483 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18484 CONFIG_SHELL='$SHELL'
18485 export CONFIG_SHELL
18490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18494 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18495 ## Running $as_me. ##
18501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18505 wine_fn_output_makedep ()
18507 as_dir=tools; as_fn_mkdir_p
18508 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18510 wine_fn_output_makefile ()
18512 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18513 `cat $wine_rules_file`
18515 as_fn_error $? "could not create Makefile" "$LINENO" 5
18517 wine_fn_output_gitignore ()
18519 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18522 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18529 # Handling of arguments.
18530 for ac_config_target
in $ac_config_targets
18532 case $ac_config_target in
18533 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18534 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18535 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18536 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18537 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18538 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18539 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18540 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18541 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18542 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18543 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18544 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18545 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18546 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18548 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18553 # If the user did not use the arguments to specify the items to instantiate,
18554 # then the envvar interface is used. Set only those that are not.
18555 # We use the long form for the default assignment because of an extremely
18556 # bizarre bug on SunOS 4.1.3.
18557 if $ac_need_defaults; then
18558 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18559 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18560 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18561 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18564 # Have a temporary directory for convenience. Make it in the build tree
18565 # simply because there is no reason against having it here, and in addition,
18566 # creating and moving files from /tmp can sometimes cause problems.
18567 # Hook for its removal unless debugging.
18568 # Note that there is a small window in which the directory will not be cleaned:
18569 # after its creation but before its name has been assigned to `$tmp'.
18573 trap 'exit_status=$?
18574 : "${ac_tmp:=$tmp}"
18575 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18577 trap 'as_fn_exit 1' 1 2 13 15
18579 # Create a (secure) tmp directory for tmp files.
18582 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18586 tmp
=.
/conf$$
-$RANDOM
18587 (umask 077 && mkdir
"$tmp")
18588 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18591 # Set up the scripts for CONFIG_FILES section.
18592 # No need to generate them if there are no CONFIG_FILES.
18593 # This happens for instance with `./config.status config.h'.
18594 if test -n "$CONFIG_FILES"; then
18597 ac_cr
=`echo X | tr X '\015'`
18598 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18599 # But we know of no other shell where ac_cr would be empty at this
18600 # point, so we can use a bashism as a fallback.
18601 if test "x$ac_cr" = x
; then
18602 eval ac_cr
=\$
\'\\r
\'
18604 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18605 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18608 ac_cs_awk_cr
=$ac_cr
18611 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18616 echo "cat >conf$$subs.awk <<_ACEOF" &&
18617 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18619 } >conf$$subs.sh ||
18620 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18621 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18623 for ac_last_try in false false false false false :; do
18624 . ./conf$$subs.sh ||
18625 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18627 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18628 if test $ac_delim_n = $ac_delim_num; then
18630 elif $ac_last_try; then
18631 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18633 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18636 rm -f conf$$subs.sh
18638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18639 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18643 s/^/S["/; s
/!.
*/"]=/
18653 s/\(.\{148\}\)..*/\1/
18655 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18660 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18667 s/\(.\{148\}\)..*/\1/
18669 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18673 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18678 ' <conf$$subs.awk | sed '
18683 ' >>$CONFIG_STATUS || ac_write_fail=1
18684 rm -f conf$$subs.awk
18685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18687 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18688 for (key in S) S_is_set[key] = 1
18694 nfields = split(line, field, "@
")
18696 len = length(field[1])
18697 for (i = 2; i < nfields; i++) {
18699 keylen = length(key)
18700 if (S_is_set[key]) {
18702 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18703 len += length(value) + length(field[++i])
18714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18715 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18716 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18719 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18720 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18723 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18724 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18725 # trailing colons and then remove the whole line if VPATH becomes empty
18726 # (actually we leave an empty line to preserve line numbers).
18727 if test "x
$srcdir" = x.; then
18728 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18747 fi # test -n "$CONFIG_FILES"
18749 # Set up the scripts for CONFIG_HEADERS section.
18750 # No need to generate them if there are no CONFIG_HEADERS.
18751 # This happens for instance with `./config.status Makefile'.
18752 if test -n "$CONFIG_HEADERS"; then
18753 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18757 # Transform confdefs.h into an awk script `defines.awk', embedded as
18758 # here-document in config.status, that substitutes the proper values into
18759 # config.h.in to produce config.h.
18761 # Create a delimiter string that does not exist in confdefs.h, to ease
18762 # handling of long lines.
18764 for ac_last_try in false false :; do
18765 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18766 if test -z "$ac_tt"; then
18768 elif $ac_last_try; then
18769 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18771 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18775 # For the awk script, D is an array of macro values keyed by name,
18776 # likewise P contains macro parameters if any. Preserve backslash
18777 # newline sequences.
18779 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18781 s/.\{148\}/&'"$ac_delim"'/g
18784 s/^[ ]*#[ ]*define[ ][ ]*/ /
18791 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18793 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18797 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18798 D["\
1"]=" \
3\\\\\\n
"\\/p
18800 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18805 s/.\{148\}/&'"$ac_delim"'/g
18810 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18813 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18815 ' <confdefs.h | sed '
18816 s/'"$ac_delim"'/"\\\
18817 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18820 for (key in D) D_is_set[key] = 1
18823 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18825 split(line, arg, " ")
18826 if (arg[1] == "#") {
18830 defundef
= substr
(arg
[1], 2)
18833 split(mac1
, mac2
, "(") #)
18835 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18836 if (D_is_set
[macro
]) {
18837 # Preserve the white space surrounding the "#".
18838 print prefix
"define", macro P
[macro
] D
[macro
]
18841 # Replace #undef with comments. This is necessary, for example,
18842 # in the case of _POSIX_SOURCE, which is predefined and required
18843 # on some systems where configure will not decide to define it.
18844 if (defundef
== "undef") {
18845 print
"/*", prefix defundef
, macro
, "*/"
18853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18854 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18855 fi # test -n "$CONFIG_HEADERS"
18858 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18863 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18865 case $ac_mode$ac_tag in
18867 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18868 :[FH
]-) ac_tag
=-:-;;
18869 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18886 -) ac_f
="$ac_tmp/stdin";;
18887 *) # Look for the file first in the build tree, then in the source tree
18888 # (if the path is not absolute). The absolute path cannot be DOS-style,
18889 # because $ac_f cannot contain `:'.
18893 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18895 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18897 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18898 as_fn_append ac_file_inputs
" '$ac_f'"
18901 # Let's still pretend it is `configure' which instantiates (i.e., don't
18902 # use $as_me), people would be surprised to read:
18903 # /* config.h. Generated by config.status. */
18904 configure_input
='Generated from '`
18905 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18907 if test x
"$ac_file" != x-
; then
18908 configure_input
="$ac_file. $configure_input"
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18910 $as_echo "$as_me: creating $ac_file" >&6;}
18912 # Neutralize special characters interpreted by sed in replacement strings.
18913 case $configure_input in #(
18914 *\
&* |
*\|
* |
*\\* )
18915 ac_sed_conf_input
=`$as_echo "$configure_input" |
18916 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18917 *) ac_sed_conf_input
=$configure_input;;
18921 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18922 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18927 ac_dir
=`$as_dirname -- "$ac_file" ||
18928 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18929 X"$ac_file" : 'X\(//\)[^/]' \| \
18930 X"$ac_file" : 'X\(//\)$' \| \
18931 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18932 $as_echo X"$ac_file" |
18933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18937 /^X\(\/\/\)[^/].*/{
18950 as_dir
="$ac_dir"; as_fn_mkdir_p
18954 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18956 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18957 # A ".." for each directory in $ac_dir_suffix.
18958 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18959 case $ac_top_builddir_sub in
18960 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18961 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18964 ac_abs_top_builddir
=$ac_pwd
18965 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18966 # for backward compatibility:
18967 ac_top_builddir
=$ac_top_build_prefix
18970 .
) # We are building in place.
18972 ac_top_srcdir
=$ac_top_builddir_sub
18973 ac_abs_top_srcdir
=$ac_pwd ;;
18974 [\\/]* | ?
:[\\/]* ) # Absolute name.
18975 ac_srcdir
=$srcdir$ac_dir_suffix;
18976 ac_top_srcdir
=$srcdir
18977 ac_abs_top_srcdir
=$srcdir ;;
18978 *) # Relative name.
18979 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18980 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18981 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18983 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18995 # If the template does not know about datarootdir, expand it.
18996 # FIXME: This hack should be removed a few years after 2.60.
18997 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19008 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19009 *datarootdir
*) ac_datarootdir_seen
=yes;;
19010 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19012 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19015 ac_datarootdir_hack='
19016 s&@datadir@&$datadir&g
19017 s&@docdir@&$docdir&g
19018 s&@infodir@&$infodir&g
19019 s&@localedir@&$localedir&g
19020 s&@mandir@&$mandir&g
19021 s&\\\${datarootdir}&$datarootdir&g' ;;
19025 # Neutralize VPATH when `$srcdir' = `.'.
19026 # Shell code in configure.ac might set extrasub.
19027 # FIXME: do we really want to maintain this feature?
19028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19029 ac_sed_extra="$ac_vpsub
19032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19034 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19035 s|@configure_input@|
$ac_sed_conf_input|
;t t
19036 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19037 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19038 s
&@srcdir@
&$ac_srcdir&;t t
19039 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19040 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19041 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19042 s
&@builddir@
&$ac_builddir&;t t
19043 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19044 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19045 $ac_datarootdir_hack
19047 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19048 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19050 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19051 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19052 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19053 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19055 which seems to be undefined. Please make sure it is defined" >&5
19056 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19057 which seems to be undefined. Please make sure it is defined" >&2;}
19059 rm -f "$ac_tmp/stdin"
19061 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19062 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19064 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19070 if test x"$ac_file" != x-; then
19072 $as_echo "/* $configure_input */" \
19073 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19074 } >"$ac_tmp/config.h" \
19075 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19076 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19078 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19081 mv "$ac_tmp/config.h" "$ac_file" \
19082 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19085 $as_echo "/* $configure_input */" \
19086 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19087 || as_fn_error $? "could not create -" "$LINENO" 5
19095 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19098 # Prefer the file from the source tree if names are identical.
19099 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19100 ac_source=$srcdir/$ac_source
19103 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19104 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19106 if test ! -r "$ac_source"; then
19107 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19111 # Try a relative symlink, then a hard link, then a copy.
19113 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19114 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19116 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19117 ln "$ac_source" "$ac_file" 2>/dev/null ||
19118 cp -p "$ac_source" "$ac_file" ||
19119 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19122 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19123 $as_echo "$as_me: executing $ac_file commands" >&6;}
19128 case $ac_file$ac_mode in
19129 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19130 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19131 "Makefile":C) wine_fn_output_makefile Makefile ;;
19132 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19140 ac_clean_files=$ac_clean_files_save
19142 test $ac_write_fail = 0 ||
19143 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19146 # configure is writing to config.log, and then calls config.status.
19147 # config.status does its own redirection, appending to config.log.
19148 # Unfortunately, on DOS this fails, as config.log is still kept open
19149 # by configure, so config.status won't be able to
write to it
; its
19150 # output is simply discarded. So we exec the FD to /dev/null,
19151 # effectively closing config.log, so it can be properly (re)opened and
19152 # appended to by config.status. When coming back to configure, we
19153 # need to make the FD available again.
19154 if test "$no_create" != yes; then
19156 ac_config_status_args
=
19157 test "$silent" = yes &&
19158 ac_config_status_args
="$ac_config_status_args --quiet"
19160 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19162 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19163 # would make configure fail if this is the last instruction.
19164 $ac_cs_success || as_fn_exit
1
19166 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19168 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19172 if test "$no_create" = "yes"
19178 if test "x$wine_notices != "x
; then
19181 for msg
in $wine_notices; do
19183 if ${msg:+false} :; then :
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19187 $as_echo "$as_me: $msg" >&6;}
19192 for msg
in $wine_warnings; do
19194 if ${msg:+false} :; then :
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19199 $as_echo "$as_me: WARNING: $msg" >&2;}
19205 $as_me: Finished. Do '${ac_make}' to compile Wine.