2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.34.
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.34'
584 PACKAGE_STRING
='Wine 1.7.34'
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
783 program_transform_name
796 enable_option_checking
800 enable_maintainer_mode
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_1
862 enable_api_ms_win_core_errorhandling_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_2
864 enable_api_ms_win_core_fibers_l1_1_0
865 enable_api_ms_win_core_fibers_l1_1_1
866 enable_api_ms_win_core_file_l1_2_0
867 enable_api_ms_win_core_file_l2_1_0
868 enable_api_ms_win_core_file_l2_1_1
869 enable_api_ms_win_core_handle_l1_1_0
870 enable_api_ms_win_core_heap_l1_2_0
871 enable_api_ms_win_core_heap_obsolete_l1_1_0
872 enable_api_ms_win_core_interlocked_l1_2_0
873 enable_api_ms_win_core_io_l1_1_1
874 enable_api_ms_win_core_kernel32_legacy_l1_1_0
875 enable_api_ms_win_core_libraryloader_l1_1_1
876 enable_api_ms_win_core_localization_l1_2_0
877 enable_api_ms_win_core_localization_l1_2_1
878 enable_api_ms_win_core_localization_obsolete_l1_1_0
879 enable_api_ms_win_core_localregistry_l1_1_0
880 enable_api_ms_win_core_memory_l1_1_1
881 enable_api_ms_win_core_namedpipe_l1_2_0
882 enable_api_ms_win_core_processenvironment_l1_2_0
883 enable_api_ms_win_core_processthreads_l1_1_0
884 enable_api_ms_win_core_processthreads_l1_1_1
885 enable_api_ms_win_core_processthreads_l1_1_2
886 enable_api_ms_win_core_profile_l1_1_0
887 enable_api_ms_win_core_psapi_l1_1_0
888 enable_api_ms_win_core_registry_l1_1_0
889 enable_api_ms_win_core_rtlsupport_l1_2_0
890 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
891 enable_api_ms_win_core_string_l1_1_0
892 enable_api_ms_win_core_synch_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_0
894 enable_api_ms_win_core_sysinfo_l1_2_1
895 enable_api_ms_win_core_threadpool_legacy_l1_1_0
896 enable_api_ms_win_core_timezone_l1_1_0
897 enable_api_ms_win_core_url_l1_1_0
898 enable_api_ms_win_core_util_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_0
900 enable_api_ms_win_core_winrt_error_l1_1_1
901 enable_api_ms_win_core_winrt_l1_1_0
902 enable_api_ms_win_core_winrt_string_l1_1_0
903 enable_api_ms_win_core_xstate_l2_1_0
904 enable_api_ms_win_downlevel_advapi32_l1_1_0
905 enable_api_ms_win_downlevel_advapi32_l2_1_0
906 enable_api_ms_win_downlevel_normaliz_l1_1_0
907 enable_api_ms_win_downlevel_ole32_l1_1_0
908 enable_api_ms_win_downlevel_shell32_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l1_1_0
910 enable_api_ms_win_downlevel_shlwapi_l2_1_0
911 enable_api_ms_win_downlevel_user32_l1_1_0
912 enable_api_ms_win_downlevel_version_l1_1_0
913 enable_api_ms_win_eventing_provider_l1_1_0
914 enable_api_ms_win_ntuser_dc_access_l1_1_0
915 enable_api_ms_win_security_base_l1_1_0
916 enable_api_ms_win_security_base_l1_2_0
917 enable_api_ms_win_security_sddl_l1_1_0
918 enable_api_ms_win_service_core_l1_1_1
919 enable_api_ms_win_service_management_l1_1_0
920 enable_api_ms_win_service_winsvc_l1_2_0
962 enable_d3dcompiler_33
963 enable_d3dcompiler_34
964 enable_d3dcompiler_35
965 enable_d3dcompiler_36
966 enable_d3dcompiler_37
967 enable_d3dcompiler_38
968 enable_d3dcompiler_39
969 enable_d3dcompiler_40
970 enable_d3dcompiler_41
971 enable_d3dcompiler_42
972 enable_d3dcompiler_43
1047 enable_explorerframe
1048 enable_ext_ms_win_gdi_devcaps_l1_1_0
1202 enable_photometadatahandler
1284 enable_windowscodecs
1285 enable_windowscodecsext
1287 enable_winecoreaudio_drv
1289 enable_winegstreamer
1290 enable_winejoystick_drv
1296 enable_wineqtdecoder
1335 enable_documentation
1343 enable_aspnet_regiis
1376 enable_presentationfontcache
1389 enable_servicemodelreg
1410 enable_winemenubuilder
1412 enable_winemsibuilder
1426 ac_precious_vars
='build_alias
1475 # Initialize some variables set by options.
1477 ac_init_version
=false
1478 ac_unrecognized_opts
=
1479 ac_unrecognized_sep
=
1480 # The variables have the same names as the options, with
1481 # dashes changed to underlines.
1482 cache_file
=/dev
/null
1489 program_transform_name
=s
,x
,x
,
1497 # Installation directory options.
1498 # These are left unexpanded so users can "make install exec_prefix=/foo"
1499 # and all the variables that are supposed to be based on exec_prefix
1500 # by default will actually change.
1501 # Use braces instead of parens because sh, perl, etc. also accept them.
1502 # (The list follows the same order as the GNU Coding Standards.)
1503 bindir
='${exec_prefix}/bin'
1504 sbindir
='${exec_prefix}/sbin'
1505 libexecdir
='${exec_prefix}/libexec'
1506 datarootdir
='${prefix}/share'
1507 datadir
='${datarootdir}'
1508 sysconfdir
='${prefix}/etc'
1509 sharedstatedir
='${prefix}/com'
1510 localstatedir
='${prefix}/var'
1511 includedir
='${prefix}/include'
1512 oldincludedir
='/usr/include'
1513 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1514 infodir
='${datarootdir}/info'
1519 libdir
='${exec_prefix}/lib'
1520 localedir
='${datarootdir}/locale'
1521 mandir
='${datarootdir}/man'
1527 # If the previous option needs an argument, assign it.
1528 if test -n "$ac_prev"; then
1529 eval $ac_prev=\
$ac_option
1535 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1540 # Accept the important Cygnus configure options, so we can diagnose typos.
1542 case $ac_dashdash$ac_option in
1546 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1548 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1549 bindir
=$ac_optarg ;;
1551 -build |
--build |
--buil |
--bui |
--bu)
1552 ac_prev
=build_alias
;;
1553 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1554 build_alias
=$ac_optarg ;;
1556 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1557 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1558 ac_prev
=cache_file
;;
1559 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1560 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1561 cache_file
=$ac_optarg ;;
1563 --config-cache |
-C)
1564 cache_file
=config.cache
;;
1566 -datadir |
--datadir |
--datadi |
--datad)
1568 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1569 datadir
=$ac_optarg ;;
1571 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1572 |
--dataroo |
--dataro |
--datar)
1573 ac_prev
=datarootdir
;;
1574 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1575 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1576 datarootdir
=$ac_optarg ;;
1578 -disable-* |
--disable-*)
1579 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1580 # Reject names that are not valid shell variable names.
1581 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1582 as_fn_error $?
"invalid feature name: $ac_useropt"
1583 ac_useropt_orig
=$ac_useropt
1584 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1585 case $ac_user_opts in
1587 "enable_
$ac_useropt"
1589 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1590 ac_unrecognized_sep
=', ';;
1592 eval enable_
$ac_useropt=no
;;
1594 -docdir |
--docdir |
--docdi |
--doc |
--do)
1596 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1597 docdir
=$ac_optarg ;;
1599 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1601 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1602 dvidir
=$ac_optarg ;;
1604 -enable-* |
--enable-*)
1605 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1606 # Reject names that are not valid shell variable names.
1607 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1608 as_fn_error $?
"invalid feature name: $ac_useropt"
1609 ac_useropt_orig
=$ac_useropt
1610 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1611 case $ac_user_opts in
1613 "enable_
$ac_useropt"
1615 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1616 ac_unrecognized_sep
=', ';;
1618 eval enable_
$ac_useropt=\
$ac_optarg ;;
1620 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1621 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1622 |
--exec |
--exe |
--ex)
1623 ac_prev
=exec_prefix
;;
1624 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1625 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1626 |
--exec=* |
--exe=* |
--ex=*)
1627 exec_prefix
=$ac_optarg ;;
1629 -gas |
--gas |
--ga |
--g)
1630 # Obsolete; use --with-gas.
1633 -help |
--help |
--hel |
--he |
-h)
1634 ac_init_help
=long
;;
1635 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1636 ac_init_help
=recursive
;;
1637 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1638 ac_init_help
=short
;;
1640 -host |
--host |
--hos |
--ho)
1641 ac_prev
=host_alias
;;
1642 -host=* |
--host=* |
--hos=* |
--ho=*)
1643 host_alias
=$ac_optarg ;;
1645 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1647 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1649 htmldir
=$ac_optarg ;;
1651 -includedir |
--includedir |
--includedi |
--included |
--include \
1652 |
--includ |
--inclu |
--incl |
--inc)
1653 ac_prev
=includedir
;;
1654 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1655 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1656 includedir
=$ac_optarg ;;
1658 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1660 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1661 infodir
=$ac_optarg ;;
1663 -libdir |
--libdir |
--libdi |
--libd)
1665 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1666 libdir
=$ac_optarg ;;
1668 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1669 |
--libexe |
--libex |
--libe)
1670 ac_prev
=libexecdir
;;
1671 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1672 |
--libexe=* |
--libex=* |
--libe=*)
1673 libexecdir
=$ac_optarg ;;
1675 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1676 ac_prev
=localedir
;;
1677 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1678 localedir
=$ac_optarg ;;
1680 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1681 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1682 ac_prev
=localstatedir
;;
1683 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1684 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1685 localstatedir
=$ac_optarg ;;
1687 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1689 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1690 mandir
=$ac_optarg ;;
1692 -nfp |
--nfp |
--nf)
1693 # Obsolete; use --without-fp.
1696 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1697 |
--no-cr |
--no-c |
-n)
1700 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1701 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1704 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1705 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1706 |
--oldin |
--oldi |
--old |
--ol |
--o)
1707 ac_prev
=oldincludedir
;;
1708 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1709 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1710 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1711 oldincludedir
=$ac_optarg ;;
1713 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1715 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1716 prefix
=$ac_optarg ;;
1718 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1719 |
--program-pre |
--program-pr |
--program-p)
1720 ac_prev
=program_prefix
;;
1721 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1722 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1723 program_prefix
=$ac_optarg ;;
1725 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1726 |
--program-suf |
--program-su |
--program-s)
1727 ac_prev
=program_suffix
;;
1728 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1729 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1730 program_suffix
=$ac_optarg ;;
1732 -program-transform-name |
--program-transform-name \
1733 |
--program-transform-nam |
--program-transform-na \
1734 |
--program-transform-n |
--program-transform- \
1735 |
--program-transform |
--program-transfor \
1736 |
--program-transfo |
--program-transf \
1737 |
--program-trans |
--program-tran \
1738 |
--progr-tra |
--program-tr |
--program-t)
1739 ac_prev
=program_transform_name
;;
1740 -program-transform-name=* |
--program-transform-name=* \
1741 |
--program-transform-nam=* |
--program-transform-na=* \
1742 |
--program-transform-n=* |
--program-transform-=* \
1743 |
--program-transform=* |
--program-transfor=* \
1744 |
--program-transfo=* |
--program-transf=* \
1745 |
--program-trans=* |
--program-tran=* \
1746 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1747 program_transform_name
=$ac_optarg ;;
1749 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1751 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1752 pdfdir
=$ac_optarg ;;
1754 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1756 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1759 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1760 |
-silent |
--silent |
--silen |
--sile |
--sil)
1763 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1765 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1767 sbindir
=$ac_optarg ;;
1769 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1770 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1771 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1773 ac_prev
=sharedstatedir
;;
1774 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1775 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1776 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1778 sharedstatedir
=$ac_optarg ;;
1780 -site |
--site |
--sit)
1782 -site=* |
--site=* |
--sit=*)
1785 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1787 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1788 srcdir
=$ac_optarg ;;
1790 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1791 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1792 ac_prev
=sysconfdir
;;
1793 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1794 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1795 sysconfdir
=$ac_optarg ;;
1797 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1798 ac_prev
=target_alias
;;
1799 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1800 target_alias
=$ac_optarg ;;
1802 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1805 -version |
--version |
--versio |
--versi |
--vers |
-V)
1806 ac_init_version
=: ;;
1809 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1810 # Reject names that are not valid shell variable names.
1811 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1812 as_fn_error $?
"invalid package name: $ac_useropt"
1813 ac_useropt_orig
=$ac_useropt
1814 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1815 case $ac_user_opts in
1819 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1820 ac_unrecognized_sep
=', ';;
1822 eval with_
$ac_useropt=\
$ac_optarg ;;
1824 -without-* |
--without-*)
1825 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1826 # Reject names that are not valid shell variable names.
1827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1828 as_fn_error $?
"invalid package name: $ac_useropt"
1829 ac_useropt_orig
=$ac_useropt
1830 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1831 case $ac_user_opts in
1835 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1836 ac_unrecognized_sep
=', ';;
1838 eval with_
$ac_useropt=no
;;
1841 # Obsolete; use --with-x.
1844 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1845 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1846 ac_prev
=x_includes
;;
1847 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1848 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1849 x_includes
=$ac_optarg ;;
1851 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1852 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1853 ac_prev
=x_libraries
;;
1854 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1855 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1856 x_libraries
=$ac_optarg ;;
1858 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1859 Try \`$0 --help' for more information"
1863 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1864 # Reject names that are not valid shell variable names.
1865 case $ac_envvar in #(
1866 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1867 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1869 eval $ac_envvar=\
$ac_optarg
1870 export $ac_envvar ;;
1873 # FIXME: should be removed in autoconf 3.0.
1874 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1875 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1876 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1877 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1883 if test -n "$ac_prev"; then
1884 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1885 as_fn_error $?
"missing argument to $ac_option"
1888 if test -n "$ac_unrecognized_opts"; then
1889 case $enable_option_checking in
1891 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1892 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1896 # Check all directory arguments for consistency.
1897 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1898 datadir sysconfdir sharedstatedir localstatedir includedir \
1899 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1900 libdir localedir mandir
1902 eval ac_val
=\$
$ac_var
1903 # Remove trailing slashes.
1906 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1907 eval $ac_var=\
$ac_val;;
1909 # Be sure to have absolute directory names.
1911 [\\/$
]* | ?
:[\\/]* ) continue;;
1912 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1914 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1917 # There might be people who depend on the old broken behavior: `$host'
1918 # used to hold the argument of --host etc.
1919 # FIXME: To remove some day.
1922 target
=$target_alias
1924 # FIXME: To remove some day.
1925 if test "x$host_alias" != x
; then
1926 if test "x$build_alias" = x
; then
1927 cross_compiling
=maybe
1928 elif test "x$build_alias" != "x$host_alias"; then
1934 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1936 test "$silent" = yes && exec 6>/dev
/null
1939 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1940 ac_ls_di
=`ls -di .` &&
1941 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1942 as_fn_error $?
"working directory cannot be determined"
1943 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1944 as_fn_error $?
"pwd does not report name of working directory"
1947 # Find the source files, if location was not specified.
1948 if test -z "$srcdir"; then
1949 ac_srcdir_defaulted
=yes
1950 # Try the directory containing this script, then the parent directory.
1951 ac_confdir
=`$as_dirname -- "$as_myself" ||
1952 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1953 X"$as_myself" : 'X\(//\)[^/]' \| \
1954 X"$as_myself" : 'X\(//\)$' \| \
1955 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1956 $as_echo X"$as_myself" |
1957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1975 if test ! -r "$srcdir/$ac_unique_file"; then
1979 ac_srcdir_defaulted
=no
1981 if test ! -r "$srcdir/$ac_unique_file"; then
1982 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1983 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1985 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1987 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1989 # When building in place, set srcdir=.
1990 if test "$ac_abs_confdir" = "$ac_pwd"; then
1993 # Remove unnecessary trailing slashes from srcdir.
1994 # Double slashes in file names in object file debugging info
1995 # mess up M-x gdb in Emacs.
1997 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1999 for ac_var
in $ac_precious_vars; do
2000 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2001 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2002 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2003 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2007 # Report the --help message.
2009 if test "$ac_init_help" = "long"; then
2010 # Omit some internal or obsolete options to make the list less imposing.
2011 # This message is too long to be a string in the A/UX 3.1 sh.
2013 \`configure' configures Wine 1.7.34 to adapt to many kinds of systems.
2015 Usage: $0 [OPTION]... [VAR=VALUE]...
2017 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2018 VAR=VALUE. See below for descriptions of some of the useful variables.
2020 Defaults for the options are specified in brackets.
2023 -h, --help display this help and exit
2024 --help=short display options specific to this package
2025 --help=recursive display the short help of all the included packages
2026 -V, --version display version information and exit
2027 -q, --quiet, --silent do not print \`checking ...' messages
2028 --cache-file=FILE cache test results in FILE [disabled]
2029 -C, --config-cache alias for \`--cache-file=config.cache'
2030 -n, --no-create do not create output files
2031 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2033 Installation directories:
2034 --prefix=PREFIX install architecture-independent files in PREFIX
2035 [$ac_default_prefix]
2036 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2039 By default, \`make install' will install all the files in
2040 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2041 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2042 for instance \`--prefix=\$HOME'.
2044 For better control, use the options below.
2046 Fine tuning of the installation directories:
2047 --bindir=DIR user executables [EPREFIX/bin]
2048 --sbindir=DIR system admin executables [EPREFIX/sbin]
2049 --libexecdir=DIR program executables [EPREFIX/libexec]
2050 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2051 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2052 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2053 --libdir=DIR object code libraries [EPREFIX/lib]
2054 --includedir=DIR C header files [PREFIX/include]
2055 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2056 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2057 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2058 --infodir=DIR info documentation [DATAROOTDIR/info]
2059 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2060 --mandir=DIR man documentation [DATAROOTDIR/man]
2061 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2062 --htmldir=DIR html documentation [DOCDIR]
2063 --dvidir=DIR dvi documentation [DOCDIR]
2064 --pdfdir=DIR pdf documentation [DOCDIR]
2065 --psdir=DIR ps documentation [DOCDIR]
2071 --x-includes=DIR X include files are
in DIR
2072 --x-libraries=DIR X library files are
in DIR
2075 --build=BUILD configure
for building on BUILD
[guessed
]
2076 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2080 if test -n "$ac_init_help"; then
2081 case $ac_init_help in
2082 short | recursive
) echo "Configuration of Wine 1.7.34:";;
2087 --disable-option-checking ignore unrecognized
--enable/--with options
2088 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2089 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2090 --disable-win16 do not include Win16 support
2091 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2093 --disable-tests do not build the regression tests
2094 --enable-maintainer-mode
2095 enable maintainer-specific build rules
2096 --disable-largefile omit support for large files
2099 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2100 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2101 --without-alsa do not use the Alsa sound support
2102 --without-capi do not use CAPI (ISDN support)
2103 --without-cms do not use CMS (color management support)
2104 --without-coreaudio do not use the CoreAudio sound support
2105 --without-cups do not use CUPS
2106 --without-curses do not use (n)curses
2107 --without-dbus do not use DBus (dynamic device support)
2108 --without-fontconfig do not use fontconfig
2109 --without-freetype do not use the FreeType library
2110 --without-gettext do not use gettext
2111 --with-gettextpo use the GetTextPO library to rebuild po files
2112 --without-gphoto do not use gphoto (Digital Camera support)
2113 --without-glu do not use the GLU library
2114 --without-gnutls do not use GnuTLS (schannel support)
2115 --without-gsm do not use libgsm (GSM 06.10 codec support)
2116 --without-gstreamer do not use GStreamer (codecs support)
2117 --without-hal do not use HAL (dynamic device support)
2118 --without-jpeg do not use JPEG
2119 --without-ldap do not use LDAP
2120 --without-mpg123 do not use the mpg123 library
2121 --without-netapi do not use the Samba NetAPI library
2122 --without-openal do not use OpenAL
2123 --without-opencl do not use OpenCL
2124 --without-opengl do not use OpenGL
2125 --without-osmesa do not use the OSMesa library
2126 --without-oss do not use the OSS sound support
2127 --without-pcap do not use the Packet Capture library
2128 --without-png do not use PNG
2129 --without-pthread do not use the pthread library
2130 --without-sane do not use SANE (scanner support)
2131 --without-tiff do not use TIFF
2132 --without-v4l do not use v4l1 (v4l support)
2133 --without-xcomposite do not use the Xcomposite extension
2134 --without-xcursor do not use the Xcursor extension
2135 --without-xinerama do not use Xinerama (multi-monitor support)
2136 --without-xinput do not use the Xinput extension
2137 --without-xinput2 do not use the Xinput 2 extension
2138 --without-xml do not use XML
2139 --without-xrandr do not use Xrandr (resolution changes)
2140 --without-xrender do not use the Xrender extension
2141 --without-xshape do not use the Xshape extension
2142 --without-xshm do not use XShm (shared memory extension)
2143 --without-xslt do not use XSLT
2144 --without-xxf86vm do not use XFree video mode extension
2145 --without-zlib do not use Zlib (data compression)
2146 --with-wine-tools=DIR use Wine tools from directory DIR
2147 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2148 --with-x use the X Window System
2150 Some influential environment variables:
2151 CC C compiler command
2152 CFLAGS C compiler flags
2153 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2154 nonstandard directory <lib dir>
2155 LIBS libraries to pass to the linker, e.g. -l<library>
2156 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2157 you have headers in a nonstandard directory <include dir>
2158 CXX C++ compiler command
2159 CXXFLAGS C++ compiler flags
2161 XMKMF Path to xmkmf, Makefile generator for X Window System
2162 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2163 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2164 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2165 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2166 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2167 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2168 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2169 HAL_LIBS Linker flags for hal, overriding pkg-config
2171 C compiler flags for gnutls, overriding pkg-config
2172 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2173 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2174 SANE_LIBS Linker flags for libsane, overriding pkg-config
2176 C compiler flags for libgphoto2, overriding pkg-config
2178 Linker flags for libgphoto2, overriding pkg-config
2180 C compiler flags for libgphoto2_port, overriding pkg-config
2182 Linker flags for libgphoto2_port, overriding pkg-config
2184 C compiler flags for lcms2, overriding pkg-config
2185 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2187 C compiler flags for freetype2, overriding pkg-config
2189 Linker flags for freetype2, overriding pkg-config
2191 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2193 Linker flags for gstreamer-app-0.10, overriding pkg-config
2195 C compiler flags for capi20, overriding pkg-config
2196 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2198 C compiler flags for fontconfig, overriding pkg-config
2200 Linker flags for fontconfig, overriding pkg-config
2201 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2202 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2203 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2204 PNG_LIBS Linker flags for libpng, overriding pkg-config
2205 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2206 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2208 C compiler flags for libmpg123, overriding pkg-config
2209 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2211 Use these variables to override the choices made by `configure' or to
help
2212 it to
find libraries and programs with nonstandard names
/locations.
2214 Report bugs to
<wine-devel@winehq.org
>.
2215 Wine home page
: <http
://www.winehq.org
>.
2220 if test "$ac_init_help" = "recursive"; then
2221 # If there are subdirs, report their specific --help.
2222 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2223 test -d "$ac_dir" ||
2224 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2229 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2231 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2232 # A ".." for each directory in $ac_dir_suffix.
2233 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2234 case $ac_top_builddir_sub in
2235 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2236 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2239 ac_abs_top_builddir
=$ac_pwd
2240 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2241 # for backward compatibility:
2242 ac_top_builddir
=$ac_top_build_prefix
2245 .
) # We are building in place.
2247 ac_top_srcdir
=$ac_top_builddir_sub
2248 ac_abs_top_srcdir
=$ac_pwd ;;
2249 [\\/]* | ?
:[\\/]* ) # Absolute name.
2250 ac_srcdir
=$srcdir$ac_dir_suffix;
2251 ac_top_srcdir
=$srcdir
2252 ac_abs_top_srcdir
=$srcdir ;;
2254 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2255 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2256 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2258 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2260 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2261 # Check for guested configure.
2262 if test -f "$ac_srcdir/configure.gnu"; then
2264 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2265 elif test -f "$ac_srcdir/configure"; then
2267 $SHELL "$ac_srcdir/configure" --help=recursive
2269 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2271 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2275 test -n "$ac_init_help" && exit $ac_status
2276 if $ac_init_version; then
2278 Wine configure
1.7.34
2279 generated by GNU Autoconf
2.69
2281 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2282 This configure
script is free software
; the Free Software Foundation
2283 gives unlimited permission to copy
, distribute and modify it.
2288 ## ------------------------ ##
2289 ## Autoconf initialization. ##
2290 ## ------------------------ ##
2292 # ac_fn_c_try_compile LINENO
2293 # --------------------------
2294 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2295 ac_fn_c_try_compile
()
2297 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2298 rm -f conftest.
$ac_objext
2299 if { { ac_try
="$ac_compile"
2301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2302 *) ac_try_echo=$ac_try;;
2304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2305 $as_echo "$ac_try_echo"; } >&5
2306 (eval "$ac_compile") 2>conftest.err
2308 if test -s conftest.err; then
2309 grep -v '^ *+' conftest.err >conftest.er1
2310 cat conftest.er1 >&5
2311 mv -f conftest.er1 conftest.err
2313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2314 test $ac_status = 0; } && {
2315 test -z "$ac_c_werror_flag" ||
2316 test ! -s conftest.err
2317 } && test -s conftest.$ac_objext; then :
2320 $as_echo "$as_me: failed program was:" >&5
2321 sed 's/^/| /' conftest.$ac_ext >&5
2325 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2326 as_fn_set_status $ac_retval
2328 } # ac_fn_c_try_compile
2330 # ac_fn_cxx_try_compile LINENO
2331 # ----------------------------
2332 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2333 ac_fn_cxx_try_compile ()
2335 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2336 rm -f conftest.$ac_objext
2337 if { { ac_try="$ac_compile"
2339 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2340 *) ac_try_echo
=$ac_try;;
2342 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2343 $as_echo "$ac_try_echo"; } >&5
2344 (eval "$ac_compile") 2>conftest.err
2346 if test -s conftest.err
; then
2347 grep -v '^ *+' conftest.err
>conftest.er1
2348 cat conftest.er1
>&5
2349 mv -f conftest.er1 conftest.err
2351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2352 test $ac_status = 0; } && {
2353 test -z "$ac_cxx_werror_flag" ||
2354 test ! -s conftest.err
2355 } && test -s conftest.
$ac_objext; then :
2358 $as_echo "$as_me: failed program was:" >&5
2359 sed 's/^/| /' conftest.
$ac_ext >&5
2363 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2364 as_fn_set_status
$ac_retval
2366 } # ac_fn_cxx_try_compile
2368 # ac_fn_c_try_link LINENO
2369 # -----------------------
2370 # Try to link conftest.$ac_ext, and return whether this succeeded.
2373 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2374 rm -f conftest.
$ac_objext conftest
$ac_exeext
2375 if { { ac_try
="$ac_link"
2377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2381 $as_echo "$ac_try_echo"; } >&5
2382 (eval "$ac_link") 2>conftest.err
2384 if test -s conftest.err; then
2385 grep -v '^ *+' conftest.err >conftest.er1
2386 cat conftest.er1 >&5
2387 mv -f conftest.er1 conftest.err
2389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2390 test $ac_status = 0; } && {
2391 test -z "$ac_c_werror_flag" ||
2392 test ! -s conftest.err
2393 } && test -s conftest$ac_exeext && {
2394 test "$cross_compiling" = yes ||
2395 test -x conftest$ac_exeext
2399 $as_echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.$ac_ext >&5
2404 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2405 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2406 # interfere with the next link command; also delete a directory that is
2407 # left behind by Apple's compiler. We do this before executing the actions.
2408 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2409 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2410 as_fn_set_status $ac_retval
2412 } # ac_fn_c_try_link
2414 # ac_fn_c_try_cpp LINENO
2415 # ----------------------
2416 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2419 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2420 if { { ac_try="$ac_cpp conftest.$ac_ext"
2422 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2423 *) ac_try_echo
=$ac_try;;
2425 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2426 $as_echo "$ac_try_echo"; } >&5
2427 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2429 if test -s conftest.err
; then
2430 grep -v '^ *+' conftest.err
>conftest.er1
2431 cat conftest.er1
>&5
2432 mv -f conftest.er1 conftest.err
2434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2435 test $ac_status = 0; } > conftest.i
&& {
2436 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2437 test ! -s conftest.err
2441 $as_echo "$as_me: failed program was:" >&5
2442 sed 's/^/| /' conftest.
$ac_ext >&5
2446 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2447 as_fn_set_status
$ac_retval
2451 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2452 # -------------------------------------------------------
2453 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2454 # the include files in INCLUDES and setting the cache variable VAR
2456 ac_fn_c_check_header_mongrel
()
2458 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2459 if eval \
${$3+:} false
; then :
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2461 $as_echo_n "checking for $2... " >&6; }
2462 if eval \
${$3+:} false
; then :
2463 $as_echo_n "(cached) " >&6
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2467 $as_echo "$ac_res" >&6; }
2469 # Is the header compilable?
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2471 $as_echo_n "checking $2 usability... " >&6; }
2472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2473 /* end confdefs.h. */
2477 if ac_fn_c_try_compile
"$LINENO"; then :
2478 ac_header_compiler
=yes
2480 ac_header_compiler
=no
2482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2484 $as_echo "$ac_header_compiler" >&6; }
2486 # Is the header present?
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2488 $as_echo_n "checking $2 presence... " >&6; }
2489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2490 /* end confdefs.h. */
2493 if ac_fn_c_try_cpp
"$LINENO"; then :
2494 ac_header_preproc
=yes
2496 ac_header_preproc
=no
2498 rm -f conftest.err conftest.i conftest.
$ac_ext
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2500 $as_echo "$ac_header_preproc" >&6; }
2502 # So? What about this header?
2503 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2506 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2508 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2512 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2514 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2516 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2518 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2520 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2521 ( $as_echo "## ------------------------------------ ##
2522 ## Report this to wine-devel@winehq.org ##
2523 ## ------------------------------------ ##"
2524 ) |
sed "s/^/$as_me: WARNING: /" >&2
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2528 $as_echo_n "checking for $2... " >&6; }
2529 if eval \
${$3+:} false
; then :
2530 $as_echo_n "(cached) " >&6
2532 eval "$3=\$ac_header_compiler"
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2536 $as_echo "$ac_res" >&6; }
2538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2540 } # ac_fn_c_check_header_mongrel
2542 # ac_fn_c_try_run LINENO
2543 # ----------------------
2544 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2545 # that executables *can* be run.
2548 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2549 if { { ac_try
="$ac_link"
2551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2552 *) ac_try_echo=$ac_try;;
2554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2555 $as_echo "$ac_try_echo"; } >&5
2556 (eval "$ac_link") 2>&5
2558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2559 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2560 { { case "(($ac_try" in
2561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2562 *) ac_try_echo
=$ac_try;;
2564 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2565 $as_echo "$ac_try_echo"; } >&5
2566 (eval "$ac_try") 2>&5
2568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2569 test $ac_status = 0; }; }; then :
2572 $as_echo "$as_me: program exited with status $ac_status" >&5
2573 $as_echo "$as_me: failed program was:" >&5
2574 sed 's/^/| /' conftest.
$ac_ext >&5
2576 ac_retval
=$ac_status
2578 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2580 as_fn_set_status
$ac_retval
2584 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2585 # -------------------------------------------------------
2586 # Tests whether HEADER exists and can be compiled using the include files in
2587 # INCLUDES, setting the cache variable VAR accordingly.
2588 ac_fn_c_check_header_compile
()
2590 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2592 $as_echo_n "checking for $2... " >&6; }
2593 if eval \
${$3+:} false
; then :
2594 $as_echo_n "(cached) " >&6
2596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2597 /* end confdefs.h. */
2601 if ac_fn_c_try_compile
"$LINENO"; then :
2606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2610 $as_echo "$ac_res" >&6; }
2611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2613 } # ac_fn_c_check_header_compile
2615 # ac_fn_c_check_func LINENO FUNC VAR
2616 # ----------------------------------
2617 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2618 ac_fn_c_check_func
()
2620 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2622 $as_echo_n "checking for $2... " >&6; }
2623 if eval \
${$3+:} false
; then :
2624 $as_echo_n "(cached) " >&6
2626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2627 /* end confdefs.h. */
2628 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2630 #define $2 innocuous_$2
2632 /* System header to define __stub macros and hopefully few prototypes,
2633 which can conflict with char $2 (); below.
2634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2635 <limits.h> exists even on freestanding compilers. */
2638 # include <limits.h>
2640 # include <assert.h>
2645 /* Override any GCC internal prototype to avoid an error.
2646 Use char because int might match the return type of a GCC
2647 builtin and then its argument prototype would still apply. */
2652 /* The GNU C library defines this for functions which it implements
2653 to always fail with ENOSYS. Some functions are actually named
2654 something starting with __ and the normal name is an alias. */
2655 #if defined __stub_$2 || defined __stub___$2
2667 if ac_fn_c_try_link
"$LINENO"; then :
2672 rm -f core conftest.err conftest.
$ac_objext \
2673 conftest
$ac_exeext conftest.
$ac_ext
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2677 $as_echo "$ac_res" >&6; }
2678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2680 } # ac_fn_c_check_func
2682 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2683 # ----------------------------------------------------
2684 # Tries to find if the field MEMBER exists in type AGGR, after including
2685 # INCLUDES, setting cache variable VAR accordingly.
2686 ac_fn_c_check_member
()
2688 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2690 $as_echo_n "checking for $2.$3... " >&6; }
2691 if eval \
${$4+:} false
; then :
2692 $as_echo_n "(cached) " >&6
2694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2695 /* end confdefs.h. */
2707 if ac_fn_c_try_compile
"$LINENO"; then :
2710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2711 /* end confdefs.h. */
2717 if (sizeof ac_aggr.$3)
2723 if ac_fn_c_try_compile
"$LINENO"; then :
2728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2734 $as_echo "$ac_res" >&6; }
2735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2737 } # ac_fn_c_check_member
2739 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2740 # -------------------------------------------
2741 # Tests whether TYPE exists after having included INCLUDES, setting cache
2742 # variable VAR accordingly.
2743 ac_fn_c_check_type
()
2745 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2747 $as_echo_n "checking for $2... " >&6; }
2748 if eval \
${$3+:} false
; then :
2749 $as_echo_n "(cached) " >&6
2752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2753 /* end confdefs.h. */
2764 if ac_fn_c_try_compile
"$LINENO"; then :
2765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2766 /* end confdefs.h. */
2777 if ac_fn_c_try_compile
"$LINENO"; then :
2782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2788 $as_echo "$ac_res" >&6; }
2789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2791 } # ac_fn_c_check_type
2792 cat >config.log
<<_ACEOF
2793 This file contains any messages produced by compilers while
2794 running configure, to aid debugging if configure makes a mistake.
2796 It was created by Wine $as_me 1.7.34, which was
2797 generated by GNU Autoconf 2.69. Invocation command line was
2809 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2810 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2811 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2812 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2813 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2815 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2816 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2818 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2819 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2820 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2821 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2822 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2823 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2824 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2832 test -z "$as_dir" && as_dir
=.
2833 $as_echo "PATH: $as_dir"
2849 # Keep a trace of the command line.
2850 # Strip out --no-create and --no-recursion so they do not pile up.
2851 # Strip out --silent because we don't want to record it for future runs.
2852 # Also quote any args containing shell meta-characters.
2853 # Make two passes to allow for proper duplicate-argument suppression.
2857 ac_must_keep_next
=false
2863 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2864 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2865 |
-silent |
--silent |
--silen |
--sile |
--sil)
2868 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2871 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2873 as_fn_append ac_configure_args1
" '$ac_arg'"
2874 if test $ac_must_keep_next = true
; then
2875 ac_must_keep_next
=false
# Got value, back to normal.
2878 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2879 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2880 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2881 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2882 case "$ac_configure_args0 " in
2883 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2886 -* ) ac_must_keep_next
=true
;;
2889 as_fn_append ac_configure_args
" '$ac_arg'"
2894 { ac_configure_args0
=; unset ac_configure_args0
;}
2895 { ac_configure_args1
=; unset ac_configure_args1
;}
2897 # When interrupted or exit'd, cleanup temporary files, and complete
2898 # config.log. We remove comments because anyway the quotes in there
2899 # would cause problems or look ugly.
2900 # WARNING: Use '\'' to represent an apostrophe within the trap.
2901 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2902 trap 'exit_status=$?
2903 # Save into config.log some information that might help in debugging.
2907 $as_echo "## ---------------- ##
2908 ## Cache variables. ##
2909 ## ---------------- ##"
2911 # The following way of writing the cache mishandles newlines in values,
2913 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2914 eval ac_val=\$$ac_var
2918 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2919 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2922 _ | IFS | as_nl) ;; #(
2923 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2924 *) { eval $ac_var=; unset $ac_var;} ;;
2929 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2930 *${as_nl}ac_space=\ *)
2932 "s/'\''/'\''\\\\'\'''\''/g;
2933 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2936 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2943 $as_echo "## ----------------- ##
2944 ## Output variables. ##
2945 ## ----------------- ##"
2947 for ac_var in $ac_subst_vars
2949 eval ac_val=\$$ac_var
2951 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2953 $as_echo "$ac_var='\''$ac_val'\''"
2957 if test -n "$ac_subst_files"; then
2958 $as_echo "## ------------------- ##
2959 ## File substitutions. ##
2960 ## ------------------- ##"
2962 for ac_var
in $ac_subst_files
2964 eval ac_val
=\$
$ac_var
2966 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2968 $as_echo "$ac_var='\''$ac_val'\''"
2973 if test -s confdefs.h; then
2974 $as_echo "## ----------- ##
2981 test "$ac_signal" != 0 &&
2982 $as_echo "$as_me: caught signal $ac_signal"
2983 $as_echo "$as_me: exit $exit_status"
2985 rm -f core *.core core.conftest.* &&
2986 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2989 for ac_signal
in 1 2 13 15; do
2990 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2994 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2995 rm -f -r conftest
* confdefs.h
2997 $as_echo "/* confdefs.h */" > confdefs.h
2999 # Predefined preprocessor variables.
3001 cat >>confdefs.h
<<_ACEOF
3002 #define PACKAGE_NAME "$PACKAGE_NAME"
3005 cat >>confdefs.h
<<_ACEOF
3006 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3009 cat >>confdefs.h
<<_ACEOF
3010 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3013 cat >>confdefs.h
<<_ACEOF
3014 #define PACKAGE_STRING "$PACKAGE_STRING"
3017 cat >>confdefs.h
<<_ACEOF
3018 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3021 cat >>confdefs.h
<<_ACEOF
3022 #define PACKAGE_URL "$PACKAGE_URL"
3026 # Let the site file select an alternate cache file if it wants to.
3027 # Prefer an explicitly selected file to automatically selected ones.
3030 if test -n "$CONFIG_SITE"; then
3031 # We do not want a PATH search for config.site.
3032 case $CONFIG_SITE in #((
3033 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3034 */*) ac_site_file1
=$CONFIG_SITE;;
3035 *) ac_site_file1
=.
/$CONFIG_SITE;;
3037 elif test "x$prefix" != xNONE
; then
3038 ac_site_file1
=$prefix/share
/config.site
3039 ac_site_file2
=$prefix/etc
/config.site
3041 ac_site_file1
=$ac_default_prefix/share
/config.site
3042 ac_site_file2
=$ac_default_prefix/etc
/config.site
3044 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3046 test "x$ac_site_file" = xNONE
&& continue
3047 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3049 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3050 sed 's/^/| /' "$ac_site_file" >&5
3052 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3054 as_fn_error $?
"failed to load site script $ac_site_file
3055 See \`config.log' for more details" "$LINENO" 5; }
3059 if test -r "$cache_file"; then
3060 # Some versions of bash will fail to source /dev/null (special files
3061 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3062 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3064 $as_echo "$as_me: loading cache $cache_file" >&6;}
3066 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3067 *) .
"./$cache_file";;
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3072 $as_echo "$as_me: creating cache $cache_file" >&6;}
3076 # Check that the precious variables saved in the cache have kept the same
3078 ac_cache_corrupted
=false
3079 for ac_var
in $ac_precious_vars; do
3080 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3081 eval ac_new_set
=\
$ac_env_${ac_var}_set
3082 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3083 eval ac_new_val
=\
$ac_env_${ac_var}_value
3084 case $ac_old_set,$ac_new_set in
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3087 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3088 ac_cache_corrupted
=: ;;
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3091 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3092 ac_cache_corrupted
=: ;;
3095 if test "x$ac_old_val" != "x$ac_new_val"; then
3096 # differences in whitespace do not lead to failure.
3097 ac_old_val_w
=`echo x $ac_old_val`
3098 ac_new_val_w
=`echo x $ac_new_val`
3099 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3101 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3102 ac_cache_corrupted
=:
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3105 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3106 eval $ac_var=\
$ac_old_val
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3109 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3111 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3114 # Pass precious variables to config.status.
3115 if test "$ac_new_set" = set; then
3117 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3118 *) ac_arg
=$ac_var=$ac_new_val ;;
3120 case " $ac_configure_args " in
3121 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3122 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3126 if $ac_cache_corrupted; then
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3130 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3131 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3133 ## -------------------- ##
3134 ## Main body of script. ##
3135 ## -------------------- ##
3138 ac_cpp
='$CPP $CPPFLAGS'
3139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3145 ac_config_headers
="$ac_config_headers include/config.h"
3148 for ac_dir
in tools
"$srcdir"/tools
; do
3149 if test -f "$ac_dir/install-sh"; then
3151 ac_install_sh
="$ac_aux_dir/install-sh -c"
3153 elif test -f "$ac_dir/install.sh"; then
3155 ac_install_sh
="$ac_aux_dir/install.sh -c"
3157 elif test -f "$ac_dir/shtool"; then
3159 ac_install_sh
="$ac_aux_dir/shtool install -c"
3163 if test -z "$ac_aux_dir"; then
3164 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3167 # These three variables are undocumented and unsupported,
3168 # and are intended to be withdrawn in a future Autoconf release.
3169 # They can cause serious problems if a builder's source tree is in a directory
3170 # whose full name contains unusual characters.
3171 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3172 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3173 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3177 libwine_version
="1.0"
3181 # Check whether --enable-win16 was given.
3182 if test "${enable_win16+set}" = set; then :
3183 enableval
=$enable_win16;
3186 # Check whether --enable-win64 was given.
3187 if test "${enable_win64+set}" = set; then :
3188 enableval
=$enable_win64;
3191 # Check whether --enable-tests was given.
3192 if test "${enable_tests+set}" = set; then :
3193 enableval
=$enable_tests;
3196 # Check whether --enable-maintainer-mode was given.
3197 if test "${enable_maintainer_mode+set}" = set; then :
3198 enableval
=$enable_maintainer_mode;
3203 # Check whether --with-alsa was given.
3204 if test "${with_alsa+set}" = set; then :
3205 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3209 # Check whether --with-capi was given.
3210 if test "${with_capi+set}" = set; then :
3215 # Check whether --with-cms was given.
3216 if test "${with_cms+set}" = set; then :
3221 # Check whether --with-coreaudio was given.
3222 if test "${with_coreaudio+set}" = set; then :
3223 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3227 # Check whether --with-cups was given.
3228 if test "${with_cups+set}" = set; then :
3233 # Check whether --with-curses was given.
3234 if test "${with_curses+set}" = set; then :
3235 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3239 # Check whether --with-dbus was given.
3240 if test "${with_dbus+set}" = set; then :
3245 # Check whether --with-fontconfig was given.
3246 if test "${with_fontconfig+set}" = set; then :
3247 withval
=$with_fontconfig;
3251 # Check whether --with-freetype was given.
3252 if test "${with_freetype+set}" = set; then :
3253 withval
=$with_freetype;
3257 # Check whether --with-gettext was given.
3258 if test "${with_gettext+set}" = set; then :
3259 withval
=$with_gettext;
3263 # Check whether --with-gettextpo was given.
3264 if test "${with_gettextpo+set}" = set; then :
3265 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3269 # Check whether --with-gphoto was given.
3270 if test "${with_gphoto+set}" = set; then :
3271 withval
=$with_gphoto;
3275 # Check whether --with-glu was given.
3276 if test "${with_glu+set}" = set; then :
3281 # Check whether --with-gnutls was given.
3282 if test "${with_gnutls+set}" = set; then :
3283 withval
=$with_gnutls;
3287 # Check whether --with-gsm was given.
3288 if test "${with_gsm+set}" = set; then :
3289 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3293 # Check whether --with-gstreamer was given.
3294 if test "${with_gstreamer+set}" = set; then :
3295 withval
=$with_gstreamer;
3299 # Check whether --with-hal was given.
3300 if test "${with_hal+set}" = set; then :
3305 # Check whether --with-jpeg was given.
3306 if test "${with_jpeg+set}" = set; then :
3311 # Check whether --with-ldap was given.
3312 if test "${with_ldap+set}" = set; then :
3313 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3317 # Check whether --with-mpg123 was given.
3318 if test "${with_mpg123+set}" = set; then :
3319 withval
=$with_mpg123;
3323 # Check whether --with-netapi was given.
3324 if test "${with_netapi+set}" = set; then :
3325 withval
=$with_netapi;
3329 # Check whether --with-openal was given.
3330 if test "${with_openal+set}" = set; then :
3331 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3335 # Check whether --with-opencl was given.
3336 if test "${with_opencl+set}" = set; then :
3337 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3341 # Check whether --with-opengl was given.
3342 if test "${with_opengl+set}" = set; then :
3343 withval
=$with_opengl;
3347 # Check whether --with-osmesa was given.
3348 if test "${with_osmesa+set}" = set; then :
3349 withval
=$with_osmesa;
3353 # Check whether --with-oss was given.
3354 if test "${with_oss+set}" = set; then :
3359 # Check whether --with-pcap was given.
3360 if test "${with_pcap+set}" = set; then :
3361 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3365 # Check whether --with-png was given.
3366 if test "${with_png+set}" = set; then :
3371 # Check whether --with-pthread was given.
3372 if test "${with_pthread+set}" = set; then :
3373 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3377 # Check whether --with-sane was given.
3378 if test "${with_sane+set}" = set; then :
3383 # Check whether --with-tiff was given.
3384 if test "${with_tiff+set}" = set; then :
3389 # Check whether --with-v4l was given.
3390 if test "${with_v4l+set}" = set; then :
3395 # Check whether --with-xcomposite was given.
3396 if test "${with_xcomposite+set}" = set; then :
3397 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3401 # Check whether --with-xcursor was given.
3402 if test "${with_xcursor+set}" = set; then :
3403 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3407 # Check whether --with-xinerama was given.
3408 if test "${with_xinerama+set}" = set; then :
3409 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3413 # Check whether --with-xinput was given.
3414 if test "${with_xinput+set}" = set; then :
3415 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3419 # Check whether --with-xinput2 was given.
3420 if test "${with_xinput2+set}" = set; then :
3421 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3425 # Check whether --with-xml was given.
3426 if test "${with_xml+set}" = set; then :
3431 # Check whether --with-xrandr was given.
3432 if test "${with_xrandr+set}" = set; then :
3433 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3437 # Check whether --with-xrender was given.
3438 if test "${with_xrender+set}" = set; then :
3439 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3443 # Check whether --with-xshape was given.
3444 if test "${with_xshape+set}" = set; then :
3445 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3449 # Check whether --with-xshm was given.
3450 if test "${with_xshm+set}" = set; then :
3451 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3455 # Check whether --with-xslt was given.
3456 if test "${with_xslt+set}" = set; then :
3461 # Check whether --with-xxf86vm was given.
3462 if test "${with_xxf86vm+set}" = set; then :
3463 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
3467 # Check whether --with-zlib was given.
3468 if test "${with_zlib+set}" = set; then :
3469 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3474 # Check whether --with-wine-tools was given.
3475 if test "${with_wine_tools+set}" = set; then :
3476 withval
=$with_wine_tools;
3480 # Check whether --with-wine64 was given.
3481 if test "${with_wine64+set}" = set; then :
3482 withval
=$with_wine64;
3486 # Make sure we can run config.sub.
3487 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3488 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3491 $as_echo_n "checking build system type... " >&6; }
3492 if ${ac_cv_build+:} false
; then :
3493 $as_echo_n "(cached) " >&6
3495 ac_build_alias
=$build_alias
3496 test "x$ac_build_alias" = x
&&
3497 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3498 test "x$ac_build_alias" = x
&&
3499 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3500 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3501 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3505 $as_echo "$ac_cv_build" >&6; }
3506 case $ac_cv_build in
3508 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3511 ac_save_IFS
=$IFS; IFS
='-'
3517 # Remember, the first character of IFS is used to create $*,
3518 # except with old shells:
3521 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3525 $as_echo_n "checking host system type... " >&6; }
3526 if ${ac_cv_host+:} false
; then :
3527 $as_echo_n "(cached) " >&6
3529 if test "x$host_alias" = x
; then
3530 ac_cv_host
=$ac_cv_build
3532 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3533 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3538 $as_echo "$ac_cv_host" >&6; }
3541 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3544 ac_save_IFS
=$IFS; IFS
='-'
3550 # Remember, the first character of IFS is used to create $*,
3551 # except with old shells:
3554 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3560 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3561 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3562 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3568 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3570 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3571 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3572 $as_echo_n "(cached) " >&6
3574 cat >conftest.
make <<\_ACEOF
3577 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3579 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3580 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3582 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3584 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3588 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3590 $as_echo "yes" >&6; }
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3594 $as_echo "no" >&6; }
3595 SET_MAKE
="MAKE=${MAKE-make}"
3599 ac_cpp
='$CPP $CPPFLAGS'
3600 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3601 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3602 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3603 if test -n "$ac_tool_prefix"; then
3604 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3605 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if ${ac_cv_prog_CC+:} false
; then :
3609 $as_echo_n "(cached) " >&6
3611 if test -n "$CC"; then
3612 ac_cv_prog_CC
="$CC" # Let the user override the test.
3614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3618 test -z "$as_dir" && as_dir
=.
3619 for ac_exec_ext
in '' $ac_executable_extensions; do
3620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3621 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3632 if test -n "$CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3634 $as_echo "$CC" >&6; }
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3642 if test -z "$ac_cv_prog_CC"; then
3644 # Extract the first word of "gcc", so it can be a program name with args.
3645 set dummy gcc
; ac_word
=$2
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3649 $as_echo_n "(cached) " >&6
3651 if test -n "$ac_ct_CC"; then
3652 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3658 test -z "$as_dir" && as_dir
=.
3659 for ac_exec_ext
in '' $ac_executable_extensions; do
3660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3661 ac_cv_prog_ac_ct_CC
="gcc"
3662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3671 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3672 if test -n "$ac_ct_CC"; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3674 $as_echo "$ac_ct_CC" >&6; }
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677 $as_echo "no" >&6; }
3680 if test "x$ac_ct_CC" = x
; then
3683 case $cross_compiling:$ac_tool_warned in
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3687 ac_tool_warned
=yes ;;
3695 if test -z "$CC"; then
3696 if test -n "$ac_tool_prefix"; then
3697 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3698 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if ${ac_cv_prog_CC+:} false
; then :
3702 $as_echo_n "(cached) " >&6
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC
="$CC" # Let the user override the test.
3707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3711 test -z "$as_dir" && as_dir
=.
3712 for ac_exec_ext
in '' $ac_executable_extensions; do
3713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3714 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3725 if test -n "$CC"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3727 $as_echo "$CC" >&6; }
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 $as_echo "no" >&6; }
3736 if test -z "$CC"; then
3737 # Extract the first word of "cc", so it can be a program name with args.
3738 set dummy cc
; ac_word
=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if ${ac_cv_prog_CC+:} false
; then :
3742 $as_echo_n "(cached) " >&6
3744 if test -n "$CC"; then
3745 ac_cv_prog_CC
="$CC" # Let the user override the test.
3748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3752 test -z "$as_dir" && as_dir
=.
3753 for ac_exec_ext
in '' $ac_executable_extensions; do
3754 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3755 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3756 ac_prog_rejected
=yes
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3767 if test $ac_prog_rejected = yes; then
3768 # We found a bogon in the path, so make sure we never use it.
3769 set dummy
$ac_cv_prog_CC
3771 if test $# != 0; then
3772 # We chose a different compiler from the bogus one.
3773 # However, it has the same basename, so the bogon will be chosen
3774 # first if we set CC to just the basename; use the full file name.
3776 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3782 if test -n "$CC"; then
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3784 $as_echo "$CC" >&6; }
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3787 $as_echo "no" >&6; }
3792 if test -z "$CC"; then
3793 if test -n "$ac_tool_prefix"; then
3794 for ac_prog
in cl.exe
3796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3797 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if ${ac_cv_prog_CC+:} false
; then :
3801 $as_echo_n "(cached) " >&6
3803 if test -n "$CC"; then
3804 ac_cv_prog_CC
="$CC" # Let the user override the test.
3806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3810 test -z "$as_dir" && as_dir
=.
3811 for ac_exec_ext
in '' $ac_executable_extensions; do
3812 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3813 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 if test -n "$CC"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3826 $as_echo "$CC" >&6; }
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3833 test -n "$CC" && break
3836 if test -z "$CC"; then
3838 for ac_prog
in cl.exe
3840 # Extract the first word of "$ac_prog", so it can be a program name with args.
3841 set dummy
$ac_prog; ac_word
=$2
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3843 $as_echo_n "checking for $ac_word... " >&6; }
3844 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3845 $as_echo_n "(cached) " >&6
3847 if test -n "$ac_ct_CC"; then
3848 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3854 test -z "$as_dir" && as_dir
=.
3855 for ac_exec_ext
in '' $ac_executable_extensions; do
3856 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3857 ac_cv_prog_ac_ct_CC
="$ac_prog"
3858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3867 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3868 if test -n "$ac_ct_CC"; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3870 $as_echo "$ac_ct_CC" >&6; }
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3873 $as_echo "no" >&6; }
3877 test -n "$ac_ct_CC" && break
3880 if test "x$ac_ct_CC" = x
; then
3883 case $cross_compiling:$ac_tool_warned in
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3887 ac_tool_warned
=yes ;;
3896 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3898 as_fn_error $?
"no acceptable C compiler found in \$PATH
3899 See \`config.log' for more details" "$LINENO" 5; }
3901 # Provide some information about the compiler.
3902 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3905 for ac_option
in --version -v -V -qversion; do
3906 { { ac_try
="$ac_compiler $ac_option >&5"
3908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3909 *) ac_try_echo=$ac_try;;
3911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3912 $as_echo "$ac_try_echo"; } >&5
3913 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3915 if test -s conftest.err; then
3917 ... rest of stderr output deleted ...
3918 10q' conftest.err >conftest.er1
3919 cat conftest.er1 >&5
3921 rm -f conftest.er1 conftest.err
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }
3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h. */
3937 ac_clean_files_save=$ac_clean_files
3938 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3939 # Try to create an executable without -o first, disregard a.out.
3940 # It will help us diagnose broken compilers, and finding out an intuition
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3943 $as_echo_n "checking whether the C compiler works... " >&6; }
3944 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3946 # The possible output files:
3947 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3950 for ac_file in $ac_files
3953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3954 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3959 if { { ac_try="$ac_link_default"
3961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3962 *) ac_try_echo
=$ac_try;;
3964 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3965 $as_echo "$ac_try_echo"; } >&5
3966 (eval "$ac_link_default") 2>&5
3968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3969 test $ac_status = 0; }; then :
3970 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3971 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3972 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3973 # so that the user can short-circuit this test for compilers unknown to
3975 for ac_file
in $ac_files ''
3977 test -f "$ac_file" ||
continue
3979 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3982 # We found the default executable, but exeext='' is most
3986 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3988 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3990 # We set ac_cv_exeext here because the later test for it is not
3991 # safe: cross compilers may not add the suffix if given an `-o'
3992 # argument, so we may need to know it at that point already.
3993 # Even if this section looks crufty: it has the advantage of
4000 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4005 if test -z "$ac_file"; then :
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4008 $as_echo "$as_me: failed program was:" >&5
4009 sed 's/^/| /' conftest.
$ac_ext >&5
4011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4013 as_fn_error
77 "C compiler cannot create executables
4014 See \`config.log' for more details" "$LINENO" 5; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4017 $as_echo "yes" >&6; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4020 $as_echo_n "checking for C compiler default output file name... " >&6; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4022 $as_echo "$ac_file" >&6; }
4023 ac_exeext
=$ac_cv_exeext
4025 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4026 ac_clean_files
=$ac_clean_files_save
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4028 $as_echo_n "checking for suffix of executables... " >&6; }
4029 if { { ac_try
="$ac_link"
4031 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4035 $as_echo "$ac_try_echo"; } >&5
4036 (eval "$ac_link") 2>&5
4038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4039 test $ac_status = 0; }; then :
4040 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4041 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4042 # work properly (i.e., refer to `conftest.exe'), while it won't with
4044 for ac_file
in conftest.exe conftest conftest.
*; do
4045 test -f "$ac_file" ||
continue
4047 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4048 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4056 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4057 See \`config.log' for more details" "$LINENO" 5; }
4059 rm -f conftest conftest
$ac_cv_exeext
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4061 $as_echo "$ac_cv_exeext" >&6; }
4063 rm -f conftest.
$ac_ext
4064 EXEEXT
=$ac_cv_exeext
4066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4067 /* end confdefs.h. */
4072 FILE *f = fopen ("conftest.out", "w");
4073 return ferror (f) || fclose (f) != 0;
4079 ac_clean_files
="$ac_clean_files conftest.out"
4080 # Check that the compiler produces executables we can run. If not, either
4081 # the compiler is broken, or we cross compile.
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4083 $as_echo_n "checking whether we are cross compiling... " >&6; }
4084 if test "$cross_compiling" != yes; then
4085 { { ac_try
="$ac_link"
4087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4091 $as_echo "$ac_try_echo"; } >&5
4092 (eval "$ac_link") 2>&5
4094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4095 test $ac_status = 0; }
4096 if { ac_try='./conftest$ac_cv_exeext'
4097 { { case "(($ac_try" in
4098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4099 *) ac_try_echo
=$ac_try;;
4101 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4102 $as_echo "$ac_try_echo"; } >&5
4103 (eval "$ac_try") 2>&5
4105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106 test $ac_status = 0; }; }; then
4109 if test "$cross_compiling" = maybe
; then
4112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4114 as_fn_error $?
"cannot run C compiled programs.
4115 If you meant to cross compile, use \`--host'.
4116 See \`config.log' for more details" "$LINENO" 5; }
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4121 $as_echo "$cross_compiling" >&6; }
4123 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4124 ac_clean_files
=$ac_clean_files_save
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4126 $as_echo_n "checking for suffix of object files... " >&6; }
4127 if ${ac_cv_objext+:} false
; then :
4128 $as_echo_n "(cached) " >&6
4130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4141 rm -f conftest.o conftest.obj
4142 if { { ac_try
="$ac_compile"
4144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4145 *) ac_try_echo=$ac_try;;
4147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4148 $as_echo "$ac_try_echo"; } >&5
4149 (eval "$ac_compile") 2>&5
4151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4152 test $ac_status = 0; }; then :
4153 for ac_file in conftest.o conftest.obj conftest.*; do
4154 test -f "$ac_file" || continue;
4156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4157 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4162 $as_echo "$as_me: failed program was:" >&5
4163 sed 's/^/| /' conftest.$ac_ext >&5
4165 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4167 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4168 See \
`config.log' for more details" "$LINENO" 5; }
4170 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4173 $as_echo "$ac_cv_objext" >&6; }
4174 OBJEXT=$ac_cv_objext
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4177 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4178 if ${ac_cv_c_compiler_gnu+:} false; then :
4179 $as_echo_n "(cached) " >&6
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4195 if ac_fn_c_try_compile "$LINENO"; then :
4200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4201 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4205 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4206 if test $ac_compiler_gnu = yes; then
4211 ac_test_CFLAGS=${CFLAGS+set}
4212 ac_save_CFLAGS=$CFLAGS
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4214 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4215 if ${ac_cv_prog_cc_g+:} false; then :
4216 $as_echo_n "(cached) " >&6
4218 ac_save_c_werror_flag=$ac_c_werror_flag
4219 ac_c_werror_flag=yes
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4233 if ac_fn_c_try_compile "$LINENO"; then :
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4248 if ac_fn_c_try_compile "$LINENO"; then :
4251 ac_c_werror_flag=$ac_save_c_werror_flag
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4264 if ac_fn_c_try_compile "$LINENO"; then :
4267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4272 ac_c_werror_flag=$ac_save_c_werror_flag
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4275 $as_echo "$ac_cv_prog_cc_g" >&6; }
4276 if test "$ac_test_CFLAGS" = set; then
4277 CFLAGS=$ac_save_CFLAGS
4278 elif test $ac_cv_prog_cc_g = yes; then
4279 if test "$GCC" = yes; then
4285 if test "$GCC" = yes; then
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4292 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4293 if ${ac_cv_prog_cc_c89+:} false; then :
4294 $as_echo_n "(cached) " >&6
4296 ac_cv_prog_cc_c89=no
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4303 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4304 struct buf { int x; };
4305 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4306 static char *e (p, i)
4312 static char *f (char * (*g) (char **, int), char **p, ...)
4317 s = g (p, va_arg (v,int));
4322 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4323 function prototypes and stuff, but not '\xHH' hex character constants.
4324 These don't provoke an error unfortunately, instead are silently treated
4325 as 'x'. The following induces an error, until -std is added to get
4326 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4327 array size at least. It's necessary to write '\x00'==0 to get something
4328 that's true only with -std. */
4329 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4331 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4332 inside strings and character constants. */
4334 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4336 int test (int i, double x);
4337 struct s1 {int (*f) (int a);};
4338 struct s2 {int (*f) (double a);};
4339 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4345 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4350 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4351 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4353 CC="$ac_save_CC $ac_arg"
4354 if ac_fn_c_try_compile "$LINENO"; then :
4355 ac_cv_prog_cc_c89=$ac_arg
4357 rm -f core conftest.err conftest.$ac_objext
4358 test "x$ac_cv_prog_cc_c89" != "xno" && break
4360 rm -f conftest.$ac_ext
4365 case "x$ac_cv_prog_cc_c89" in
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4368 $as_echo "none needed" >&6; } ;;
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4371 $as_echo "unsupported" >&6; } ;;
4373 CC="$CC $ac_cv_prog_cc_c89"
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4375 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4377 if test "x$ac_cv_prog_cc_c89" != xno; then :
4382 ac_cpp='$CPP $CPPFLAGS'
4383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4388 ac_cpp='$CXXCPP $CPPFLAGS'
4389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4392 if test -z "$CXX"; then
4393 if test -n "$CCC"; then
4396 if test -n "$ac_tool_prefix"; then
4397 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4399 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4400 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if ${ac_cv_prog_CXX+:} false; then :
4404 $as_echo_n "(cached) " >&6
4406 if test -n "$CXX"; then
4407 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413 test -z "$as_dir" && as_dir=.
4414 for ac_exec_ext in '' $ac_executable_extensions; do
4415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4416 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 if test -n "$CXX"; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4429 $as_echo "$CXX" >&6; }
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4436 test -n "$CXX" && break
4439 if test -z "$CXX"; then
4441 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4443 # Extract the first word of "$ac_prog", so it can be a program name with args.
4444 set dummy $ac_prog; ac_word=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4448 $as_echo_n "(cached) " >&6
4450 if test -n "$ac_ct_CXX"; then
4451 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457 test -z "$as_dir" && as_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4460 ac_cv_prog_ac_ct_CXX="$ac_prog"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4470 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4471 if test -n "$ac_ct_CXX"; then
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4473 $as_echo "$ac_ct_CXX" >&6; }
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4480 test -n "$ac_ct_CXX" && break
4483 if test "x$ac_ct_CXX" = x; then
4486 case $cross_compiling:$ac_tool_warned in
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4490 ac_tool_warned=yes ;;
4498 # Provide some information about the compiler.
4499 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4502 for ac_option in --version -v -V -qversion; do
4503 { { ac_try="$ac_compiler $ac_option >&5"
4505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4506 *) ac_try_echo
=$ac_try;;
4508 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4509 $as_echo "$ac_try_echo"; } >&5
4510 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4512 if test -s conftest.err
; then
4514 ... rest of stderr output deleted ...
4515 10q' conftest.err
>conftest.er1
4516 cat conftest.er1
>&5
4518 rm -f conftest.er1 conftest.err
4519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4520 test $ac_status = 0; }
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4524 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4525 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4526 $as_echo_n "(cached) " >&6
4528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4542 if ac_fn_cxx_try_compile
"$LINENO"; then :
4547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4548 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4552 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4553 if test $ac_compiler_gnu = yes; then
4558 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4559 ac_save_CXXFLAGS
=$CXXFLAGS
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4561 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4562 if ${ac_cv_prog_cxx_g+:} false
; then :
4563 $as_echo_n "(cached) " >&6
4565 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4566 ac_cxx_werror_flag
=yes
4569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4570 /* end confdefs.h. */
4580 if ac_fn_cxx_try_compile
"$LINENO"; then :
4581 ac_cv_prog_cxx_g
=yes
4584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4595 if ac_fn_cxx_try_compile
"$LINENO"; then :
4598 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4601 /* end confdefs.h. */
4611 if ac_fn_cxx_try_compile
"$LINENO"; then :
4612 ac_cv_prog_cxx_g
=yes
4614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4619 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4622 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4623 if test "$ac_test_CXXFLAGS" = set; then
4624 CXXFLAGS
=$ac_save_CXXFLAGS
4625 elif test $ac_cv_prog_cxx_g = yes; then
4626 if test "$GXX" = yes; then
4632 if test "$GXX" = yes; then
4639 ac_cpp
='$CPP $CPPFLAGS'
4640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4644 if test -n "$ac_tool_prefix"; then
4645 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4646 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4648 $as_echo_n "checking for $ac_word... " >&6; }
4649 if ${ac_cv_prog_CPPBIN+:} false
; then :
4650 $as_echo_n "(cached) " >&6
4652 if test -n "$CPPBIN"; then
4653 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4659 test -z "$as_dir" && as_dir
=.
4660 for ac_exec_ext
in '' $ac_executable_extensions; do
4661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4662 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4672 CPPBIN
=$ac_cv_prog_CPPBIN
4673 if test -n "$CPPBIN"; then
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4675 $as_echo "$CPPBIN" >&6; }
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4678 $as_echo "no" >&6; }
4683 if test -z "$ac_cv_prog_CPPBIN"; then
4684 ac_ct_CPPBIN
=$CPPBIN
4685 # Extract the first word of "cpp", so it can be a program name with args.
4686 set dummy cpp
; ac_word
=$2
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4688 $as_echo_n "checking for $ac_word... " >&6; }
4689 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4690 $as_echo_n "(cached) " >&6
4692 if test -n "$ac_ct_CPPBIN"; then
4693 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4699 test -z "$as_dir" && as_dir
=.
4700 for ac_exec_ext
in '' $ac_executable_extensions; do
4701 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4702 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4712 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4713 if test -n "$ac_ct_CPPBIN"; then
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4715 $as_echo "$ac_ct_CPPBIN" >&6; }
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 $as_echo "no" >&6; }
4721 if test "x$ac_ct_CPPBIN" = x
; then
4724 case $cross_compiling:$ac_tool_warned in
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4728 ac_tool_warned
=yes ;;
4730 CPPBIN
=$ac_ct_CPPBIN
4733 CPPBIN
="$ac_cv_prog_CPPBIN"
4737 cat >>confdefs.h
<<_ACEOF
4738 #define EXEEXT "$ac_exeext"
4741 if test -n "$ac_tool_prefix"; then
4742 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4743 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4745 $as_echo_n "checking for $ac_word... " >&6; }
4746 if ${ac_cv_prog_LD+:} false
; then :
4747 $as_echo_n "(cached) " >&6
4749 if test -n "$LD"; then
4750 ac_cv_prog_LD
="$LD" # Let the user override the test.
4752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4756 test -z "$as_dir" && as_dir
=.
4757 for ac_exec_ext
in '' $ac_executable_extensions; do
4758 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4759 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4770 if test -n "$LD"; then
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4772 $as_echo "$LD" >&6; }
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4775 $as_echo "no" >&6; }
4780 if test -z "$ac_cv_prog_LD"; then
4782 # Extract the first word of "ld", so it can be a program name with args.
4783 set dummy ld
; ac_word
=$2
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4785 $as_echo_n "checking for $ac_word... " >&6; }
4786 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4787 $as_echo_n "(cached) " >&6
4789 if test -n "$ac_ct_LD"; then
4790 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4796 test -z "$as_dir" && as_dir
=.
4797 for ac_exec_ext
in '' $ac_executable_extensions; do
4798 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4799 ac_cv_prog_ac_ct_LD
="ld"
4800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4809 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4810 if test -n "$ac_ct_LD"; then
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4812 $as_echo "$ac_ct_LD" >&6; }
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815 $as_echo "no" >&6; }
4818 if test "x$ac_ct_LD" = x
; then
4821 case $cross_compiling:$ac_tool_warned in
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4825 ac_tool_warned
=yes ;;
4836 if test "x$enable_win64" = "xyes"
4841 notice_platform
="64-bit "
4848 notice_platform
="32-bit "
4851 enable_win16
=${enable_win16:-yes}
4853 with_fontconfig
=${with_fontconfig:-no}
4856 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4861 $as_echo_n "checking whether $CC works... " >&6; }
4863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4864 /* end confdefs.h. */
4874 if ac_fn_c_try_link
"$LINENO"; then :
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4876 $as_echo "yes" >&6; }
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 $as_echo "no" >&6; }
4880 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4882 rm -f core conftest.err conftest.
$ac_objext \
4883 conftest
$ac_exeext conftest.
$ac_ext
4885 notice_platform
="32-bit "
4888 enable_win16
=${enable_win16:-yes}
4890 if test "x${GCC}" = "xyes"
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4893 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4895 /* end confdefs.h. */
4900 void func(__builtin_ms_va_list *args);
4905 if ac_fn_c_try_compile
"$LINENO"; then :
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4907 $as_echo "yes" >&6; }
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4910 $as_echo "no" >&6; }
4911 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4921 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4923 /* end confdefs.h. */
4924 int ac_test(int i) { return i; }
4928 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4933 if ac_fn_c_try_link
"$LINENO"; then :
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4935 $as_echo "yes" >&6; }
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4939 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4941 rm -f core conftest.err conftest.
$ac_objext \
4942 conftest
$ac_exeext conftest.
$ac_ext
4943 CFLAGS
="$CFLAGS -marm"
4947 *-mingw32*|
*-cygwin*)
4948 enable_win16
=${enable_win16:-no}
4949 CFLAGS
="$CFLAGS -D_WIN32"
4952 enable_win16
=${enable_win16:-yes}
4956 enable_win16
=${enable_win16:-no}
4957 enable_win64
=${enable_win64:-no}
4959 enable_winetest
=${enable_winetest:-$enable_tests}
4961 if test -n "$with_wine64"
4963 if test "x$enable_win64" = "xyes"
4965 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4966 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4968 enable_fonts
=${enable_fonts:-no}
4969 enable_server
=${enable_server:-no}
4970 elif test "x$enable_win64" = "xyes"
4972 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4976 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4977 if ${wine_cv_toolsdir+:} false
; then :
4978 $as_echo_n "(cached) " >&6
4980 wine_cv_toolsdir
="$with_wine_tools"
4981 if test -z "$with_wine_tools"; then
4982 if test "$cross_compiling" = "yes"; then
4983 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4984 elif test -n "$with_wine64"; then
4985 wine_cv_toolsdir
="$with_wine64"
4988 if test -z "$wine_cv_toolsdir"; then
4989 wine_makedep
=tools
/makedep
4990 wine_cv_toolsdir
="\$(top_builddir)"
4991 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4992 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4993 case "$wine_cv_toolsdir" in
4995 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4997 enable_tools
=${enable_tools:-no}
4998 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5000 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5004 $as_echo "$wine_cv_toolsdir" >&6; }
5005 TOOLSDIR
=$wine_cv_toolsdir
5007 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5009 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5015 # Extract the first word of "$ac_prog", so it can be a program name with args.
5016 set dummy
$ac_prog; ac_word
=$2
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5018 $as_echo_n "checking for $ac_word... " >&6; }
5019 if ${ac_cv_prog_FLEX+:} false
; then :
5020 $as_echo_n "(cached) " >&6
5022 if test -n "$FLEX"; then
5023 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5029 test -z "$as_dir" && as_dir
=.
5030 for ac_exec_ext
in '' $ac_executable_extensions; do
5031 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5032 ac_cv_prog_FLEX
="$ac_prog"
5033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 FLEX
=$ac_cv_prog_FLEX
5043 if test -n "$FLEX"; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5045 $as_echo "$FLEX" >&6; }
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 $as_echo "no" >&6; }
5052 test -n "$FLEX" && break
5054 test -n "$FLEX" || FLEX
="none"
5056 if test "$FLEX" = "none"
5058 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5061 $as_echo_n "checking whether flex is recent enough... " >&6; }
5062 cat >conftest.l
<<EOF
5064 #include "prediluvian.h"
5068 if $FLEX -t conftest.l
>/dev
/null
2>&5
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5071 $as_echo "yes" >&6; }
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5075 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5078 for ac_prog
in bison
5080 # Extract the first word of "$ac_prog", so it can be a program name with args.
5081 set dummy
$ac_prog; ac_word
=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_prog_BISON+:} false
; then :
5085 $as_echo_n "(cached) " >&6
5087 if test -n "$BISON"; then
5088 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5094 test -z "$as_dir" && as_dir
=.
5095 for ac_exec_ext
in '' $ac_executable_extensions; do
5096 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5097 ac_cv_prog_BISON
="$ac_prog"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 BISON
=$ac_cv_prog_BISON
5108 if test -n "$BISON"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5110 $as_echo "$BISON" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5117 test -n "$BISON" && break
5119 test -n "$BISON" || BISON
="none"
5121 if test "$BISON" = "none"
5123 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5126 if test -n "$ac_tool_prefix"; then
5127 for ac_prog
in ar gar
5129 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5130 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if ${ac_cv_prog_AR+:} false
; then :
5134 $as_echo_n "(cached) " >&6
5136 if test -n "$AR"; then
5137 ac_cv_prog_AR
="$AR" # Let the user override the test.
5139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5143 test -z "$as_dir" && as_dir
=.
5144 for ac_exec_ext
in '' $ac_executable_extensions; do
5145 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5146 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5157 if test -n "$AR"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5159 $as_echo "$AR" >&6; }
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5166 test -n "$AR" && break
5169 if test -z "$AR"; then
5171 for ac_prog
in ar gar
5173 # Extract the first word of "$ac_prog", so it can be a program name with args.
5174 set dummy
$ac_prog; ac_word
=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5178 $as_echo_n "(cached) " >&6
5180 if test -n "$ac_ct_AR"; then
5181 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5187 test -z "$as_dir" && as_dir
=.
5188 for ac_exec_ext
in '' $ac_executable_extensions; do
5189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5190 ac_cv_prog_ac_ct_AR
="$ac_prog"
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5200 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5201 if test -n "$ac_ct_AR"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5203 $as_echo "$ac_ct_AR" >&6; }
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5210 test -n "$ac_ct_AR" && break
5213 if test "x$ac_ct_AR" = x
; then
5216 case $cross_compiling:$ac_tool_warned in
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5220 ac_tool_warned
=yes ;;
5226 if test -n "$ac_tool_prefix"; then
5227 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5228 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if ${ac_cv_prog_STRIP+:} false
; then :
5232 $as_echo_n "(cached) " >&6
5234 if test -n "$STRIP"; then
5235 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5241 test -z "$as_dir" && as_dir
=.
5242 for ac_exec_ext
in '' $ac_executable_extensions; do
5243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 STRIP
=$ac_cv_prog_STRIP
5255 if test -n "$STRIP"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5257 $as_echo "$STRIP" >&6; }
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5265 if test -z "$ac_cv_prog_STRIP"; then
5267 # Extract the first word of "strip", so it can be a program name with args.
5268 set dummy strip
; ac_word
=$2
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270 $as_echo_n "checking for $ac_word... " >&6; }
5271 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5272 $as_echo_n "(cached) " >&6
5274 if test -n "$ac_ct_STRIP"; then
5275 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5281 test -z "$as_dir" && as_dir
=.
5282 for ac_exec_ext
in '' $ac_executable_extensions; do
5283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5284 ac_cv_prog_ac_ct_STRIP
="strip"
5285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5295 if test -n "$ac_ct_STRIP"; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5297 $as_echo "$ac_ct_STRIP" >&6; }
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300 $as_echo "no" >&6; }
5303 if test "x$ac_ct_STRIP" = x
; then
5306 case $cross_compiling:$ac_tool_warned in
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5310 ac_tool_warned
=yes ;;
5315 STRIP
="$ac_cv_prog_STRIP"
5320 if test -n "$ac_tool_prefix"; then
5321 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5322 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5324 $as_echo_n "checking for $ac_word... " >&6; }
5325 if ${ac_cv_prog_RANLIB+:} false
; then :
5326 $as_echo_n "(cached) " >&6
5328 if test -n "$RANLIB"; then
5329 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5335 test -z "$as_dir" && as_dir
=.
5336 for ac_exec_ext
in '' $ac_executable_extensions; do
5337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5338 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5348 RANLIB
=$ac_cv_prog_RANLIB
5349 if test -n "$RANLIB"; then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5351 $as_echo "$RANLIB" >&6; }
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5359 if test -z "$ac_cv_prog_RANLIB"; then
5360 ac_ct_RANLIB
=$RANLIB
5361 # Extract the first word of "ranlib", so it can be a program name with args.
5362 set dummy ranlib
; ac_word
=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5366 $as_echo_n "(cached) " >&6
5368 if test -n "$ac_ct_RANLIB"; then
5369 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5375 test -z "$as_dir" && as_dir
=.
5376 for ac_exec_ext
in '' $ac_executable_extensions; do
5377 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5378 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5388 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5389 if test -n "$ac_ct_RANLIB"; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5391 $as_echo "$ac_ct_RANLIB" >&6; }
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5397 if test "x$ac_ct_RANLIB" = x
; then
5400 case $cross_compiling:$ac_tool_warned in
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5404 ac_tool_warned
=yes ;;
5406 RANLIB
=$ac_ct_RANLIB
5409 RANLIB
="$ac_cv_prog_RANLIB"
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5413 $as_echo_n "checking whether ln -s works... " >&6; }
5415 if test "$LN_S" = "ln -s"; then
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5417 $as_echo "yes" >&6; }
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5420 $as_echo "no, using $LN_S" >&6; }
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5424 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5425 if ${ac_cv_path_GREP+:} false
; then :
5426 $as_echo_n "(cached) " >&6
5428 if test -z "$GREP"; then
5429 ac_path_GREP_found
=false
5430 # Loop through the user's path and test for each of PROGNAME-LIST
5431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5432 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5435 test -z "$as_dir" && as_dir
=.
5436 for ac_prog
in grep ggrep
; do
5437 for ac_exec_ext
in '' $ac_executable_extensions; do
5438 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5439 as_fn_executable_p
"$ac_path_GREP" ||
continue
5440 # Check for GNU ac_path_GREP and select it if it is found.
5441 # Check for GNU $ac_path_GREP
5442 case `"$ac_path_GREP" --version 2>&1` in
5444 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5447 $as_echo_n 0123456789 >"conftest.in"
5450 cat "conftest.in" "conftest.in" >"conftest.tmp"
5451 mv "conftest.tmp" "conftest.in"
5452 cp "conftest.in" "conftest.nl"
5453 $as_echo 'GREP' >> "conftest.nl"
5454 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5455 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5456 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5457 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5458 # Best one so far, save it but keep looking for a better one
5459 ac_cv_path_GREP
="$ac_path_GREP"
5460 ac_path_GREP_max
=$ac_count
5462 # 10*(2^10) chars as input seems more than enough
5463 test $ac_count -gt 10 && break
5465 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5468 $ac_path_GREP_found && break 3
5473 if test -z "$ac_cv_path_GREP"; then
5474 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5477 ac_cv_path_GREP
=$GREP
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5482 $as_echo "$ac_cv_path_GREP" >&6; }
5483 GREP
="$ac_cv_path_GREP"
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5487 $as_echo_n "checking for egrep... " >&6; }
5488 if ${ac_cv_path_EGREP+:} false
; then :
5489 $as_echo_n "(cached) " >&6
5491 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5492 then ac_cv_path_EGREP
="$GREP -E"
5494 if test -z "$EGREP"; then
5495 ac_path_EGREP_found
=false
5496 # Loop through the user's path and test for each of PROGNAME-LIST
5497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5498 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5501 test -z "$as_dir" && as_dir
=.
5502 for ac_prog
in egrep; do
5503 for ac_exec_ext
in '' $ac_executable_extensions; do
5504 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5505 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5506 # Check for GNU ac_path_EGREP and select it if it is found.
5507 # Check for GNU $ac_path_EGREP
5508 case `"$ac_path_EGREP" --version 2>&1` in
5510 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5513 $as_echo_n 0123456789 >"conftest.in"
5516 cat "conftest.in" "conftest.in" >"conftest.tmp"
5517 mv "conftest.tmp" "conftest.in"
5518 cp "conftest.in" "conftest.nl"
5519 $as_echo 'EGREP' >> "conftest.nl"
5520 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5521 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5522 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5523 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5524 # Best one so far, save it but keep looking for a better one
5525 ac_cv_path_EGREP
="$ac_path_EGREP"
5526 ac_path_EGREP_max
=$ac_count
5528 # 10*(2^10) chars as input seems more than enough
5529 test $ac_count -gt 10 && break
5531 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5534 $ac_path_EGREP_found && break 3
5539 if test -z "$ac_cv_path_EGREP"; then
5540 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5543 ac_cv_path_EGREP
=$EGREP
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5549 $as_echo "$ac_cv_path_EGREP" >&6; }
5550 EGREP
="$ac_cv_path_EGREP"
5553 # Extract the first word of "ldconfig", so it can be a program name with args.
5554 set dummy ldconfig
; ac_word
=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5556 $as_echo_n "checking for $ac_word... " >&6; }
5557 if ${ac_cv_path_LDCONFIG+:} false
; then :
5558 $as_echo_n "(cached) " >&6
5562 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5566 for as_dir
in /sbin
/usr
/sbin
$PATH
5569 test -z "$as_dir" && as_dir
=.
5570 for ac_exec_ext
in '' $ac_executable_extensions; do
5571 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5572 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5584 LDCONFIG
=$ac_cv_path_LDCONFIG
5585 if test -n "$LDCONFIG"; then
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5587 $as_echo "$LDCONFIG" >&6; }
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590 $as_echo "no" >&6; }
5594 for ac_prog
in msgfmt
5596 # Extract the first word of "$ac_prog", so it can be a program name with args.
5597 set dummy
$ac_prog; ac_word
=$2
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599 $as_echo_n "checking for $ac_word... " >&6; }
5600 if ${ac_cv_prog_MSGFMT+:} false
; then :
5601 $as_echo_n "(cached) " >&6
5603 if test -n "$MSGFMT"; then
5604 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5610 test -z "$as_dir" && as_dir
=.
5611 for ac_exec_ext
in '' $ac_executable_extensions; do
5612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5613 ac_cv_prog_MSGFMT
="$ac_prog"
5614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 MSGFMT
=$ac_cv_prog_MSGFMT
5624 if test -n "$MSGFMT"; then
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5626 $as_echo "$MSGFMT" >&6; }
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629 $as_echo "no" >&6; }
5633 test -n "$MSGFMT" && break
5635 test -n "$MSGFMT" || MSGFMT
="false"
5637 if ${ac_tool_prefix+:} false
; then :
5638 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5639 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641 $as_echo_n "checking for $ac_word... " >&6; }
5642 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5643 $as_echo_n "(cached) " >&6
5645 if test -n "$PKG_CONFIG"; then
5646 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5652 test -z "$as_dir" && as_dir
=.
5653 for ac_exec_ext
in '' $ac_executable_extensions; do
5654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5655 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5665 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5666 if test -n "$PKG_CONFIG"; then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5668 $as_echo "$PKG_CONFIG" >&6; }
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 $as_echo "no" >&6; }
5676 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5677 if test "x$cross_compiling" = xyes
; then :
5680 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5681 # Extract the first word of "pkg-config", so it can be a program name with args.
5682 set dummy pkg-config
; ac_word
=$2
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684 $as_echo_n "checking for $ac_word... " >&6; }
5685 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5686 $as_echo_n "(cached) " >&6
5688 if test -n "$PKG_CONFIG"; then
5689 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5695 test -z "$as_dir" && as_dir
=.
5696 for ac_exec_ext
in '' $ac_executable_extensions; do
5697 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_PKG_CONFIG
="pkg-config"
5699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5709 if test -n "$PKG_CONFIG"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5711 $as_echo "$PKG_CONFIG" >&6; }
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }
5720 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5723 if test "x$enable_maintainer_mode" != "xyes"
5730 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5731 for ac_prog
in fontforge
5733 # Extract the first word of "$ac_prog", so it can be a program name with args.
5734 set dummy
$ac_prog; ac_word
=$2
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736 $as_echo_n "checking for $ac_word... " >&6; }
5737 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5738 $as_echo_n "(cached) " >&6
5740 if test -n "$FONTFORGE"; then
5741 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5747 test -z "$as_dir" && as_dir
=.
5748 for ac_exec_ext
in '' $ac_executable_extensions; do
5749 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5750 ac_cv_prog_FONTFORGE
="$ac_prog"
5751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5760 FONTFORGE
=$ac_cv_prog_FONTFORGE
5761 if test -n "$FONTFORGE"; then
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5763 $as_echo "$FONTFORGE" >&6; }
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5766 $as_echo "no" >&6; }
5770 test -n "$FONTFORGE" && break
5772 test -n "$FONTFORGE" || FONTFORGE
="false"
5776 # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy
$ac_prog; ac_word
=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if ${ac_cv_prog_RSVG+:} false
; then :
5781 $as_echo_n "(cached) " >&6
5783 if test -n "$RSVG"; then
5784 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5790 test -z "$as_dir" && as_dir
=.
5791 for ac_exec_ext
in '' $ac_executable_extensions; do
5792 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5793 ac_cv_prog_RSVG
="$ac_prog"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 RSVG
=$ac_cv_prog_RSVG
5804 if test -n "$RSVG"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5806 $as_echo "$RSVG" >&6; }
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5813 test -n "$RSVG" && break
5815 test -n "$RSVG" || RSVG
="false"
5817 for ac_prog
in convert
5819 # Extract the first word of "$ac_prog", so it can be a program name with args.
5820 set dummy
$ac_prog; ac_word
=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if ${ac_cv_prog_CONVERT+:} false
; then :
5824 $as_echo_n "(cached) " >&6
5826 if test -n "$CONVERT"; then
5827 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5833 test -z "$as_dir" && as_dir
=.
5834 for ac_exec_ext
in '' $ac_executable_extensions; do
5835 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5836 ac_cv_prog_CONVERT
="$ac_prog"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846 CONVERT
=$ac_cv_prog_CONVERT
5847 if test -n "$CONVERT"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5849 $as_echo "$CONVERT" >&6; }
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5856 test -n "$CONVERT" && break
5858 test -n "$CONVERT" || CONVERT
="false"
5860 for ac_prog
in icotool
5862 # Extract the first word of "$ac_prog", so it can be a program name with args.
5863 set dummy
$ac_prog; ac_word
=$2
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5865 $as_echo_n "checking for $ac_word... " >&6; }
5866 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5867 $as_echo_n "(cached) " >&6
5869 if test -n "$ICOTOOL"; then
5870 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5876 test -z "$as_dir" && as_dir
=.
5877 for ac_exec_ext
in '' $ac_executable_extensions; do
5878 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5879 ac_cv_prog_ICOTOOL
="$ac_prog"
5880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 ICOTOOL
=$ac_cv_prog_ICOTOOL
5890 if test -n "$ICOTOOL"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5892 $as_echo "$ICOTOOL" >&6; }
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5895 $as_echo "no" >&6; }
5899 test -n "$ICOTOOL" && break
5901 test -n "$ICOTOOL" || ICOTOOL
="false"
5903 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5904 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5906 if test "$CONVERT" = false
5908 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5911 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5912 convert_version
=`convert --version | head -n1`
5913 if test "x$convert_version" != "x"
5915 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5916 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5917 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5922 if test "$CONVERT" = false
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5925 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5926 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5929 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5933 if test "$ICOTOOL" = false
5935 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5938 $as_echo_n "checking for recent enough icotool... " >&6; }
5939 icotool_version
=`icotool --version | head -n1`
5940 if test "x$icotool_version" != "x"
5942 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5943 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5944 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5947 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5950 if test "$ICOTOOL" = false
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5953 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5954 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5957 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5963 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5966 test "x$with_gettext" != xno || MSGFMT
=false
5967 if test "$MSGFMT" != "false"
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5970 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5971 cat >conftest.po
<<EOF
5977 if $MSGFMT -o /dev
/null conftest.po
2>&5
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5980 $as_echo "yes" >&6; }
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5987 if test "$MSGFMT" = false
; then :
5988 case "x$with_gettext" in
5989 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5991 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5992 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5998 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5999 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6000 $as_echo_n "(cached) " >&6
6002 ac_check_lib_save_LIBS
=$LIBS
6004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6005 /* end confdefs.h. */
6007 /* Override any GCC internal prototype to avoid an error.
6008 Use char because int might match the return type of a GCC
6009 builtin and then its argument prototype would still apply. */
6013 char i386_set_ldt ();
6017 return i386_set_ldt ();
6022 if ac_fn_c_try_link
"$LINENO"; then :
6023 ac_cv_lib_i386_i386_set_ldt
=yes
6025 ac_cv_lib_i386_i386_set_ldt
=no
6027 rm -f core conftest.err conftest.
$ac_objext \
6028 conftest
$ac_exeext conftest.
$ac_ext
6029 LIBS
=$ac_check_lib_save_LIBS
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6032 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6033 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6034 cat >>confdefs.h
<<_ACEOF
6035 #define HAVE_LIBI386 1
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6043 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6044 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6045 $as_echo_n "(cached) " >&6
6047 ac_check_lib_save_LIBS
=$LIBS
6048 LIBS
="-lossaudio $LIBS"
6049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6050 /* end confdefs.h. */
6052 /* Override any GCC internal prototype to avoid an error.
6053 Use char because int might match the return type of a GCC
6054 builtin and then its argument prototype would still apply. */
6062 return _oss_ioctl ();
6067 if ac_fn_c_try_link
"$LINENO"; then :
6068 ac_cv_lib_ossaudio__oss_ioctl
=yes
6070 ac_cv_lib_ossaudio__oss_ioctl
=no
6072 rm -f core conftest.err conftest.
$ac_objext \
6073 conftest
$ac_exeext conftest.
$ac_ext
6074 LIBS
=$ac_check_lib_save_LIBS
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6077 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6078 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6079 cat >>confdefs.h
<<_ACEOF
6080 #define HAVE_LIBOSSAUDIO 1
6083 LIBS
="-lossaudio $LIBS"
6092 # Check whether --enable-largefile was given.
6093 if test "${enable_largefile+set}" = set; then :
6094 enableval
=$enable_largefile;
6097 if test "$enable_largefile" != no
; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6100 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6101 if ${ac_cv_sys_largefile_CC+:} false
; then :
6102 $as_echo_n "(cached) " >&6
6104 ac_cv_sys_largefile_CC
=no
6105 if test "$GCC" != yes; then
6108 # IRIX 6.2 and later do not support large files by default,
6109 # so use the C compiler's -n32 option if that helps.
6110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6111 /* end confdefs.h. */
6112 #include <sys/types.h>
6113 /* Check that off_t can represent 2**63 - 1 correctly.
6114 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6115 since some C++ compilers masquerading as C compilers
6116 incorrectly reject 9223372036854775807. */
6117 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6118 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6119 && LARGE_OFF_T % 2147483647 == 1)
6129 if ac_fn_c_try_compile
"$LINENO"; then :
6132 rm -f core conftest.err conftest.
$ac_objext
6134 if ac_fn_c_try_compile
"$LINENO"; then :
6135 ac_cv_sys_largefile_CC
=' -n32'; break
6137 rm -f core conftest.err conftest.
$ac_objext
6141 rm -f conftest.
$ac_ext
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6145 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6146 if test "$ac_cv_sys_largefile_CC" != no
; then
6147 CC
=$CC$ac_cv_sys_largefile_CC
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6151 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6152 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6153 $as_echo_n "(cached) " >&6
6156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6157 /* end confdefs.h. */
6158 #include <sys/types.h>
6159 /* Check that off_t can represent 2**63 - 1 correctly.
6160 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6161 since some C++ compilers masquerading as C compilers
6162 incorrectly reject 9223372036854775807. */
6163 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6164 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6165 && LARGE_OFF_T % 2147483647 == 1)
6175 if ac_fn_c_try_compile
"$LINENO"; then :
6176 ac_cv_sys_file_offset_bits
=no
; break
6178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6180 /* end confdefs.h. */
6181 #define _FILE_OFFSET_BITS 64
6182 #include <sys/types.h>
6183 /* Check that off_t can represent 2**63 - 1 correctly.
6184 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6185 since some C++ compilers masquerading as C compilers
6186 incorrectly reject 9223372036854775807. */
6187 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6188 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6189 && LARGE_OFF_T % 2147483647 == 1)
6199 if ac_fn_c_try_compile
"$LINENO"; then :
6200 ac_cv_sys_file_offset_bits
=64; break
6202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6203 ac_cv_sys_file_offset_bits
=unknown
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6208 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6209 case $ac_cv_sys_file_offset_bits in #(
6212 cat >>confdefs.h
<<_ACEOF
6213 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6218 if test $ac_cv_sys_file_offset_bits = unknown
; then
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6220 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6221 if ${ac_cv_sys_large_files+:} false
; then :
6222 $as_echo_n "(cached) " >&6
6225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6226 /* end confdefs.h. */
6227 #include <sys/types.h>
6228 /* Check that off_t can represent 2**63 - 1 correctly.
6229 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6230 since some C++ compilers masquerading as C compilers
6231 incorrectly reject 9223372036854775807. */
6232 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6233 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6234 && LARGE_OFF_T % 2147483647 == 1)
6244 if ac_fn_c_try_compile
"$LINENO"; then :
6245 ac_cv_sys_large_files
=no
; break
6247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6249 /* end confdefs.h. */
6250 #define _LARGE_FILES 1
6251 #include <sys/types.h>
6252 /* Check that off_t can represent 2**63 - 1 correctly.
6253 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6254 since some C++ compilers masquerading as C compilers
6255 incorrectly reject 9223372036854775807. */
6256 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6257 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6258 && LARGE_OFF_T % 2147483647 == 1)
6268 if ac_fn_c_try_compile
"$LINENO"; then :
6269 ac_cv_sys_large_files
=1; break
6271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6272 ac_cv_sys_large_files
=unknown
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6277 $as_echo "$ac_cv_sys_large_files" >&6; }
6278 case $ac_cv_sys_large_files in #(
6281 cat >>confdefs.h
<<_ACEOF
6282 #define _LARGE_FILES $ac_cv_sys_large_files
6294 ac_cpp
='$CPP $CPPFLAGS'
6295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6299 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6300 # On Suns, sometimes $CPP names a directory.
6301 if test -n "$CPP" && test -d "$CPP"; then
6304 if test -z "$CPP"; then
6305 if ${ac_cv_prog_CPP+:} false
; then :
6306 $as_echo_n "(cached) " >&6
6308 # Double quotes because CPP needs to be expanded
6309 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6312 for ac_c_preproc_warn_flag
in '' yes
6314 # Use a header file that comes with gcc, so configuring glibc
6315 # with a fresh cross-compiler works.
6316 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6317 # <limits.h> exists even on freestanding compilers.
6318 # On the NeXT, cc -E runs the code through the compiler's parser,
6319 # not just through cpp. "Syntax error" is here to catch this case.
6320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6323 # include <limits.h>
6325 # include <assert.h>
6329 if ac_fn_c_try_cpp
"$LINENO"; then :
6332 # Broken: fails on valid input.
6335 rm -f conftest.err conftest.i conftest.
$ac_ext
6337 # OK, works on sane cases. Now check whether nonexistent headers
6338 # can be detected and how.
6339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6340 /* end confdefs.h. */
6341 #include <ac_nonexistent.h>
6343 if ac_fn_c_try_cpp
"$LINENO"; then :
6344 # Broken: success on invalid input.
6347 # Passes both tests.
6351 rm -f conftest.err conftest.i conftest.
$ac_ext
6354 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6355 rm -f conftest.i conftest.err conftest.
$ac_ext
6356 if $ac_preproc_ok; then :
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6369 $as_echo "$CPP" >&6; }
6371 for ac_c_preproc_warn_flag
in '' yes
6373 # Use a header file that comes with gcc, so configuring glibc
6374 # with a fresh cross-compiler works.
6375 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6376 # <limits.h> exists even on freestanding compilers.
6377 # On the NeXT, cc -E runs the code through the compiler's parser,
6378 # not just through cpp. "Syntax error" is here to catch this case.
6379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6382 # include <limits.h>
6384 # include <assert.h>
6388 if ac_fn_c_try_cpp
"$LINENO"; then :
6391 # Broken: fails on valid input.
6394 rm -f conftest.err conftest.i conftest.
$ac_ext
6396 # OK, works on sane cases. Now check whether nonexistent headers
6397 # can be detected and how.
6398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6399 /* end confdefs.h. */
6400 #include <ac_nonexistent.h>
6402 if ac_fn_c_try_cpp
"$LINENO"; then :
6403 # Broken: success on invalid input.
6406 # Passes both tests.
6410 rm -f conftest.err conftest.i conftest.
$ac_ext
6413 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6414 rm -f conftest.i conftest.err conftest.
$ac_ext
6415 if $ac_preproc_ok; then :
6418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6420 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6421 See \`config.log' for more details" "$LINENO" 5; }
6425 ac_cpp
='$CPP $CPPFLAGS'
6426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6432 $as_echo_n "checking for ANSI C header files... " >&6; }
6433 if ${ac_cv_header_stdc+:} false
; then :
6434 $as_echo_n "(cached) " >&6
6436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6437 /* end confdefs.h. */
6451 if ac_fn_c_try_compile
"$LINENO"; then :
6452 ac_cv_header_stdc
=yes
6454 ac_cv_header_stdc
=no
6456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6458 if test $ac_cv_header_stdc = yes; then
6459 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6461 /* end confdefs.h. */
6465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6466 $EGREP "memchr" >/dev
/null
2>&1; then :
6469 ac_cv_header_stdc
=no
6475 if test $ac_cv_header_stdc = yes; then
6476 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6478 /* end confdefs.h. */
6482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6483 $EGREP "free" >/dev
/null
2>&1; then :
6486 ac_cv_header_stdc
=no
6492 if test $ac_cv_header_stdc = yes; then
6493 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6494 if test "$cross_compiling" = yes; then :
6497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6498 /* end confdefs.h. */
6501 #if ((' ' & 0x0FF) == 0x020)
6502 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6503 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6505 # define ISLOWER(c) \
6506 (('a' <= (c) && (c) <= 'i') \
6507 || ('j' <= (c) && (c) <= 'r') \
6508 || ('s' <= (c) && (c) <= 'z'))
6509 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6512 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6517 for (i = 0; i < 256; i++)
6518 if (XOR (islower (i), ISLOWER (i))
6519 || toupper (i) != TOUPPER (i))
6524 if ac_fn_c_try_run
"$LINENO"; then :
6527 ac_cv_header_stdc
=no
6529 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6530 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6536 $as_echo "$ac_cv_header_stdc" >&6; }
6537 if test $ac_cv_header_stdc = yes; then
6539 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6543 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6544 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6545 inttypes.h stdint.h unistd.h
6547 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6548 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6550 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6551 cat >>confdefs.h
<<_ACEOF
6552 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6562 ApplicationServices
/ApplicationServices.h \
6563 AudioToolbox
/AudioConverter.h \
6564 AudioUnit
/AudioUnit.h \
6565 AudioUnit
/AudioComponent.h \
6568 CoreAudio
/CoreAudio.h \
6569 CoreServices
/CoreServices.h \
6570 DiskArbitration
/DiskArbitration.h \
6572 IOKit
/hid
/IOHIDLib.h \
6575 QuickTime
/ImageCompression.h \
6576 Security
/Security.h \
6627 netinet
/in_systm.h \
6689 valgrind
/memcheck.h \
6690 valgrind
/valgrind.h \
6694 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6695 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6696 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6697 cat >>confdefs.h
<<_ACEOF
6698 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6706 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6707 if ${ac_cv_header_stat_broken+:} false
; then :
6708 $as_echo_n "(cached) " >&6
6710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6711 /* end confdefs.h. */
6712 #include <sys/types.h>
6713 #include <sys/stat.h>
6715 #if defined S_ISBLK && defined S_IFDIR
6716 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6719 #if defined S_ISBLK && defined S_IFCHR
6720 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6723 #if defined S_ISLNK && defined S_IFREG
6724 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6727 #if defined S_ISSOCK && defined S_IFREG
6728 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6732 if ac_fn_c_try_compile
"$LINENO"; then :
6733 ac_cv_header_stat_broken
=no
6735 ac_cv_header_stat_broken
=yes
6737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6740 $as_echo "$ac_cv_header_stat_broken" >&6; }
6741 if test $ac_cv_header_stat_broken = yes; then
6743 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6749 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6751 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6752 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6753 #ifdef HAVE_SYS_PARAM_H
6754 # include <sys/param.h>
6757 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6758 cat >>confdefs.h
<<_ACEOF
6759 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6774 netinet
/if_ether.h \
6775 netinet
/if_inarp.h \
6784 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6785 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6786 #ifdef HAVE_SYS_SOCKET_H
6787 # include <sys/socket.h>
6789 #ifdef HAVE_SYS_SOCKETVAR_H
6790 # include <sys/socketvar.h>
6792 #ifdef HAVE_NET_ROUTE_H
6793 # include <net/route.h>
6795 #ifdef HAVE_NETINET_IN_H
6796 # include <netinet/in.h>
6798 #ifdef HAVE_NETINET_IN_SYSTM_H
6799 # include <netinet/in_systm.h>
6801 #ifdef HAVE_NET_IF_H
6802 # include <net/if.h>
6804 #ifdef HAVE_NETINET_IP_H
6805 # include <netinet/ip.h>
6808 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6809 cat >>confdefs.h
<<_ACEOF
6810 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6818 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6820 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6821 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6825 #ifdef HAVE_SYS_SOCKET_H
6826 # include <sys/socket.h>
6828 #ifdef HAVE_SYS_SOCKETVAR_H
6829 # include <sys/socketvar.h>
6831 #ifdef HAVE_SYS_TIMEOUT_H
6832 # include <sys/timeout.h>
6834 #ifdef HAVE_NETINET_IN_H
6835 # include <netinet/in.h>
6837 #ifdef HAVE_NETINET_IN_SYSTM_H
6838 # include <netinet/in_systm.h>
6840 #ifdef HAVE_NETINET_IP_H
6841 # include <netinet/ip.h>
6843 #ifdef HAVE_NETINET_IP_VAR_H
6844 # include <netinet/ip_var.h>
6846 #ifdef HAVE_NETINET_IP_ICMP_H
6847 # include <netinet/ip_icmp.h>
6849 #ifdef HAVE_NETINET_UDP_H
6850 # include <netinet/udp.h>
6852 #ifdef HAVE_NETINET_TCP_H
6853 # include <netinet/tcp.h>
6855 #ifdef HAVE_NETINET_TCP_TIMER_H
6856 #include <netinet/tcp_timer.h>
6859 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6860 cat >>confdefs.h
<<_ACEOF
6861 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6869 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6871 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6872 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6873 #ifdef HAVE_ASM_TYPES_H
6874 # include <asm/types.h>
6876 #ifdef HAVE_SYS_SOCKET_H
6877 # include <sys/socket.h>
6879 #ifdef HAVE_LINUX_TYPES_H
6880 # include <linux/types.h>
6883 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6884 cat >>confdefs.h
<<_ACEOF
6885 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6893 for ac_header
in mach-o
/dyld_images.h
6895 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6896 # include <stdbool.h>
6898 #ifdef HAVE_STDINT_H
6899 # include <stdint.h>
6902 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6903 cat >>confdefs.h
<<_ACEOF
6904 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6912 for ac_header
in resolv.h
6914 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6915 #ifdef HAVE_SYS_SOCKET_H
6916 # include <sys/socket.h>
6918 #ifdef HAVE_NETINET_IN_H
6919 # include <netinet/in.h>
6921 #ifdef HAVE_ARPA_NAMESER_H
6922 # include <arpa/nameser.h>
6925 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6926 cat >>confdefs.h
<<_ACEOF
6927 #define HAVE_RESOLV_H 1
6935 for ac_header
in ifaddrs.h
6937 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6939 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6940 cat >>confdefs.h
<<_ACEOF
6941 #define HAVE_IFADDRS_H 1
6949 for ac_header
in sys
/ucontext.h
6951 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6953 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6954 cat >>confdefs.h
<<_ACEOF
6955 #define HAVE_SYS_UCONTEXT_H 1
6963 for ac_header
in sys
/thr.h
6965 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6966 #ifdef HAVE_SYS_UCONTEXT_H
6967 #include <sys/ucontext.h>
6970 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6971 cat >>confdefs.h
<<_ACEOF
6972 #define HAVE_SYS_THR_H 1
6980 for ac_header
in pthread_np.h
6982 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6983 #include <pthread.h>
6986 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6987 cat >>confdefs.h
<<_ACEOF
6988 #define HAVE_PTHREAD_NP_H 1
6996 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6998 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6999 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7000 #include <sys/time.h>
7002 #include <sys/types.h>
7003 #ifdef HAVE_ASM_TYPES_H
7004 #include <asm/types.h>
7007 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7008 cat >>confdefs.h
<<_ACEOF
7009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7017 for ac_header
in libprocstat.h
7019 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7020 #include <sys/param.h>
7022 #ifdef HAVE_SYS_QUEUE_H
7023 #include <sys/queue.h>
7025 #ifdef HAVE_SYS_SOCKET_H
7026 #include <sys/socket.h>
7029 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7030 cat >>confdefs.h
<<_ACEOF
7031 #define HAVE_LIBPROCSTAT_H 1
7040 dlldir
="\${libdir}/wine"
7044 DLLFLAGS
="-D_REENTRANT"
7053 STATIC_IMPLIBEXT
="def.a"
7054 # Extract the first word of "ldd", so it can be a program name with args.
7055 set dummy ldd
; ac_word
=$2
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7057 $as_echo_n "checking for $ac_word... " >&6; }
7058 if ${ac_cv_path_LDD+:} false
; then :
7059 $as_echo_n "(cached) " >&6
7063 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7067 as_dummy
="/sbin:/usr/sbin:$PATH"
7068 for as_dir
in $as_dummy
7071 test -z "$as_dir" && as_dir
=.
7072 for ac_exec_ext
in '' $ac_executable_extensions; do
7073 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7074 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7082 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7087 if test -n "$LDD"; then
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7089 $as_echo "$LDD" >&6; }
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092 $as_echo "no" >&6; }
7096 if test -n "$ac_tool_prefix"; then
7097 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7098 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7100 $as_echo_n "checking for $ac_word... " >&6; }
7101 if ${ac_cv_prog_READELF+:} false
; then :
7102 $as_echo_n "(cached) " >&6
7104 if test -n "$READELF"; then
7105 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7111 test -z "$as_dir" && as_dir
=.
7112 for ac_exec_ext
in '' $ac_executable_extensions; do
7113 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7114 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7124 READELF
=$ac_cv_prog_READELF
7125 if test -n "$READELF"; then
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7127 $as_echo "$READELF" >&6; }
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130 $as_echo "no" >&6; }
7135 if test -z "$ac_cv_prog_READELF"; then
7136 ac_ct_READELF
=$READELF
7137 # Extract the first word of "readelf", so it can be a program name with args.
7138 set dummy readelf
; ac_word
=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 $as_echo_n "checking for $ac_word... " >&6; }
7141 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7142 $as_echo_n "(cached) " >&6
7144 if test -n "$ac_ct_READELF"; then
7145 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7151 test -z "$as_dir" && as_dir
=.
7152 for ac_exec_ext
in '' $ac_executable_extensions; do
7153 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7154 ac_cv_prog_ac_ct_READELF
="readelf"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7164 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7165 if test -n "$ac_ct_READELF"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7167 $as_echo "$ac_ct_READELF" >&6; }
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170 $as_echo "no" >&6; }
7173 if test "x$ac_ct_READELF" = x
; then
7176 case $cross_compiling:$ac_tool_warned in
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7180 ac_tool_warned
=yes ;;
7182 READELF
=$ac_ct_READELF
7185 READELF
="$ac_cv_prog_READELF"
7188 wine_rules_file
=conf$
$rules.
make
7189 rm -f $wine_rules_file
7191 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7192 ALL_TEST_RESOURCES
=""
7195 wine_fn_append_file
()
7197 as_fn_append
$1 " \\$as_nl $2"
7200 wine_fn_ignore_file
()
7203 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7204 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7205 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7209 wine_fn_append_rule
()
7211 $as_echo "$1" >>$wine_rules_file
7216 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7219 wine_fn_depend_rules
()
7221 wine_fn_append_rule \
7222 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7223 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7224 depend: $ac_dir/depend
7225 .PHONY: $ac_dir/depend
7226 $ac_dir/depend: \$(MAKEDEP) dummy
7227 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7230 wine_fn_pot_rules
()
7232 test "x$with_gettextpo" = xyes ||
return
7234 if wine_fn_has_flag mc
7236 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7237 wine_fn_append_rule \
7238 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7239 @cd $ac_dir && \$(MAKE) msg.pot
7240 $ac_dir/msg.pot: tools/wmc include"
7242 if wine_fn_has_flag po
7244 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7245 wine_fn_append_rule \
7246 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7247 @cd $ac_dir && \$(MAKE) rsrc.pot
7248 $ac_dir/rsrc.pot: tools/wrc include"
7252 wine_fn_all_rules
()
7254 wine_fn_depend_rules
7255 wine_fn_append_rule \
7258 $ac_dir: $ac_dir/Makefile dummy
7259 @cd $ac_dir && \$(MAKE)"
7262 wine_fn_install_rules
()
7264 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7266 wine_fn_append_rule \
7267 ".PHONY: $ac_dir/install $ac_dir/uninstall
7268 $ac_dir/install:: $ac_dir
7269 @cd $ac_dir && \$(MAKE) install
7270 $ac_dir/uninstall:: $ac_dir/Makefile
7271 @cd $ac_dir && \$(MAKE) uninstall
7272 install:: $ac_dir/install
7273 __uninstall__: $ac_dir/uninstall"
7275 if wine_fn_has_flag install-lib
7277 wine_fn_append_rule \
7278 ".PHONY: $ac_dir/install-lib
7279 $ac_dir/install-lib:: $ac_dir
7280 @cd $ac_dir && \$(MAKE) install-lib
7281 install-lib:: $ac_dir/install-lib"
7284 if wine_fn_has_flag install-dev
7286 wine_fn_append_rule \
7287 ".PHONY: $ac_dir/install-dev
7288 $ac_dir/install-dev:: $ac_dir
7289 @cd $ac_dir && \$(MAKE) install-dev
7290 install-dev:: $ac_dir/install-dev"
7294 wine_fn_clean_rules
()
7297 ac_extraclean
="$ac_dir/Makefile"
7298 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7300 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7303 if wine_fn_has_flag clean
7305 wine_fn_append_rule \
7306 "__clean__: $ac_dir/clean
7307 .PHONY: $ac_dir/clean
7308 $ac_dir/clean: $ac_dir/Makefile
7309 @cd $ac_dir && \$(MAKE) clean
7310 \$(RM) $ac_extraclean"
7312 wine_fn_append_rule \
7313 "__clean__: $ac_dir/clean
7314 .PHONY: $ac_dir/clean
7315 $ac_dir/clean: dummy
7316 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7320 wine_fn_disabled_rules
()
7323 ac_extraclean
="$ac_dir/Makefile"
7324 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7326 wine_fn_append_rule \
7327 "__clean__: $ac_dir/clean
7328 .PHONY: $ac_dir/clean
7329 $ac_dir/clean: dummy
7330 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7333 wine_fn_config_makefile
()
7339 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7340 wine_fn_disabled_rules
; return
7343 wine_fn_install_rules
7347 wine_fn_config_lib
()
7351 ac_dir
=dlls
/$ac_name
7354 if test "x$enable_tools" = xno
; then :
7357 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7362 wine_fn_append_rule \
7363 ".PHONY: $ac_dir/install $ac_dir/uninstall
7364 $ac_dir/install:: $ac_dir
7365 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7367 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7368 install install-dev:: $ac_dir/install
7369 __uninstall__: $ac_dir/uninstall
7370 __builddeps__: $ac_dir
7374 wine_fn_config_dll
()
7377 ac_dir
=dlls
/$ac_name
7380 ac_implib
=${4:-$ac_name}
7381 ac_file
=$ac_dir/lib
$ac_implib
7386 if test "x$enable_tools" = xno
; then :
7389 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7392 *16) ac_implibflags
=" -m16" ;;
7394 *) ac_dll
=$ac_dll.dll
;;
7398 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7399 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7400 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7401 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7403 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7404 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7406 wine_fn_depend_rules
7407 wine_fn_clean_rules
$ac_clean
7409 wine_fn_disabled_rules
$ac_clean
7414 wine_fn_clean_rules
$ac_clean
7415 wine_fn_append_rule \
7416 "$ac_dir: __builddeps__
7417 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7418 @cd $ac_dir && \$(MAKE) \$@
7419 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7420 install install-lib:: $ac_dir/install-lib
7421 __uninstall__: $ac_dir/uninstall"
7422 if test -n "$DLLEXT"
7424 wine_fn_append_rule \
7425 "$ac_dir/install-lib:: $ac_dir
7426 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7427 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7429 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7431 wine_fn_append_rule \
7432 "$ac_dir/install-lib:: $ac_dir
7433 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7435 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7441 if wine_fn_has_flag staticimplib
7443 wine_fn_append_rule \
7444 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7445 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7446 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7447 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7448 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7449 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7450 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7451 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7452 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7454 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7455 install install-dev:: $ac_dir/install-dev
7456 __uninstall__: $ac_dir/uninstall"
7458 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7460 wine_fn_append_rule \
7461 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7462 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7464 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7467 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7469 wine_fn_append_rule \
7470 "__builddeps__: $ac_file.cross.a
7471 $ac_file.cross.a: $ac_dir/Makefile dummy
7472 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7475 elif wine_fn_has_flag implib
7477 wine_fn_append_rule \
7478 "__builddeps__: $ac_file.$IMPLIBEXT
7479 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7480 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7481 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7482 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7483 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7484 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7485 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7487 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7488 install install-dev:: $ac_dir/install-dev
7489 __uninstall__: $ac_dir/uninstall"
7490 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7492 wine_fn_append_rule \
7493 "__builddeps__: $ac_file.cross.a
7494 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7495 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7498 if test "$ac_name" != "$ac_implib"
7500 wine_fn_append_rule \
7501 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7502 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7503 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7505 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7506 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7507 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7509 wine_fn_append_rule \
7510 "__builddeps__: dlls/lib$ac_implib.cross.a
7511 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7512 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7514 \$(RM) dlls/lib$ac_implib.cross.a"
7515 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7521 wine_fn_config_program
()
7524 ac_dir
=programs
/$ac_name
7531 *) ac_program
=$ac_program.exe
;;
7535 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7536 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7537 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7538 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7540 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7541 wine_fn_disabled_rules
$ac_clean; return
7545 wine_fn_clean_rules
$ac_clean
7546 wine_fn_append_rule
"$ac_dir: __builddeps__"
7549 wine_fn_has_flag
install ||
return
7550 wine_fn_append_rule \
7551 ".PHONY: $ac_dir/install $ac_dir/uninstall
7552 install install-lib:: $ac_dir/install
7553 __uninstall__: $ac_dir/uninstall"
7555 if test -n "$DLLEXT"
7557 wine_fn_append_rule \
7558 "$ac_dir/install:: $ac_dir
7559 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7560 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7562 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7564 if test -z "$with_wine64" && wine_fn_has_flag installbin
7566 wine_fn_append_rule \
7567 "$ac_dir/install:: __tooldeps__
7568 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7570 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7573 wine_fn_append_rule \
7574 "$ac_dir/install:: $ac_dir
7575 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7577 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7580 if test -z "$with_wine64" && wine_fn_has_flag manpage
7582 wine_fn_append_rule \
7583 "$ac_dir/install:: $ac_dir
7584 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7586 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7590 wine_fn_config_test
()
7597 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7598 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7600 if test "x$enable_tests" = xno
; then :
7601 wine_fn_disabled_rules
$ac_clean; return
7604 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7606 wine_fn_clean_rules
$ac_clean
7608 wine_fn_append_rule \
7609 "$ac_dir: programs/winetest/Makefile __builddeps__
7610 programs/winetest: $ac_dir
7611 check test: $ac_dir/test
7612 .PHONY: $ac_dir/test
7614 @cd $ac_dir && \$(MAKE) test
7616 \$(RM) $ac_dir/*.ok"
7618 if test -n "$CROSSTARGET"
7620 wine_fn_append_rule \
7621 "crosstest: $ac_dir/crosstest
7622 .PHONY: $ac_dir/crosstest
7623 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7624 @cd $ac_dir && \$(MAKE) crosstest"
7628 wine_fn_config_tool
()
7632 if test "x$enable_tools" = xno
; then :
7637 wine_fn_install_rules
7640 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7641 wine_fn_append_rule
"$ac_dir: libs/port"
7643 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7647 wine_fn_config_symlink
()
7650 if test "x$1" = "x-d"
7656 wine_fn_append_rule \
7658 @./config.status \$@
7661 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7662 test -n "$ac_linkdir" ||
return
7663 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7667 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7668 loader_programs
="$wine_binary wine-installed"
7669 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7674 install install-lib:: wine-installed
7675 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7678 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7684 if test -n "$ac_tool_prefix"; then
7685 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7686 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7688 $as_echo_n "checking for $ac_word... " >&6; }
7689 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7690 $as_echo_n "(cached) " >&6
7692 if test -n "$DLLTOOL"; then
7693 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7699 test -z "$as_dir" && as_dir
=.
7700 for ac_exec_ext
in '' $ac_executable_extensions; do
7701 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7702 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7712 DLLTOOL
=$ac_cv_prog_DLLTOOL
7713 if test -n "$DLLTOOL"; then
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7715 $as_echo "$DLLTOOL" >&6; }
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7718 $as_echo "no" >&6; }
7723 if test -z "$ac_cv_prog_DLLTOOL"; then
7724 ac_ct_DLLTOOL
=$DLLTOOL
7725 # Extract the first word of "dlltool", so it can be a program name with args.
7726 set dummy dlltool
; ac_word
=$2
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7728 $as_echo_n "checking for $ac_word... " >&6; }
7729 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7730 $as_echo_n "(cached) " >&6
7732 if test -n "$ac_ct_DLLTOOL"; then
7733 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7739 test -z "$as_dir" && as_dir
=.
7740 for ac_exec_ext
in '' $ac_executable_extensions; do
7741 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7742 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7752 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7753 if test -n "$ac_ct_DLLTOOL"; then
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7755 $as_echo "$ac_ct_DLLTOOL" >&6; }
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7758 $as_echo "no" >&6; }
7761 if test "x$ac_ct_DLLTOOL" = x
; then
7764 case $cross_compiling:$ac_tool_warned in
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7768 ac_tool_warned
=yes ;;
7770 DLLTOOL
=$ac_ct_DLLTOOL
7773 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7779 STATIC_IMPLIBEXT
="a"
7780 enable_iphlpapi
=${enable_iphlpapi:-no}
7781 enable_kernel32
=${enable_kernel32:-no}
7782 enable_msvcrt
=${enable_msvcrt:-no}
7783 enable_ntdll
=${enable_ntdll:-no}
7784 enable_ws2_32
=${enable_ws2_32:-no}
7785 enable_loader
=${enable_loader:-no}
7786 enable_server
=${enable_server:-no}
7787 with_x
=${with_x:-no}
7788 with_pthread
=${with_pthread:-no}
7794 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7798 libwine_targets
="libwine.dll libwine.a"
7800 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7802 all: libwine.dll libwine.a
7804 libwine.a: \$(srcdir)/wine.def
7805 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7807 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7808 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7810 install install-lib:: libwine.dll
7811 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7813 install install-dev:: libwine.a
7814 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7817 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7824 DLLFLAGS
="$DLLFLAGS -fPIC"
7825 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7826 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7827 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7828 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7830 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7832 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7834 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7836 CORESERVICES_LIBS
="-framework CoreServices"
7838 APPKIT_LIBS
="-framework AppKit"
7840 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7842 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7843 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7844 $as_echo_n "(cached) " >&6
7846 ac_wine_try_cflags_saved
=$CFLAGS
7847 CFLAGS
="$CFLAGS -Wl,-no_pie"
7848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7849 /* end confdefs.h. */
7850 int main(int argc, char **argv) { return 0; }
7852 if ac_fn_c_try_link
"$LINENO"; then :
7853 ac_cv_cflags__Wl__no_pie
=yes
7855 ac_cv_cflags__Wl__no_pie
=no
7857 rm -f core conftest.err conftest.
$ac_objext \
7858 conftest
$ac_exeext conftest.
$ac_ext
7859 CFLAGS
=$ac_wine_try_cflags_saved
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7862 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7863 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7864 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7866 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7868 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7871 if test "$ac_cv_header_Security_Security_h" = "yes"
7873 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7875 ac_save_LIBS
="$LIBS"
7876 LIBS
="$LIBS $SECURITY_LIBS"
7877 for ac_func
in SSLCopyPeerCertificates
7879 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7880 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7881 cat >>confdefs.h
<<_ACEOF
7882 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7888 LIBS
="$ac_save_LIBS"
7889 with_gnutls
=${with_gnutls:-no}
7891 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7893 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7895 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7898 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7901 ac_save_LIBS
="$LIBS"
7902 LIBS
="$LIBS $COREAUDIO_LIBS"
7903 for ac_func
in AUGraphAddNode
7905 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7906 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7907 cat >>confdefs.h
<<_ACEOF
7908 #define HAVE_AUGRAPHADDNODE 1
7914 LIBS
="$ac_save_LIBS"
7916 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7918 OPENAL_LIBS
="-framework OpenAL"
7921 cat >>confdefs.h
<<_ACEOF
7922 #define HAVE_OPENAL 1
7925 ac_cv_lib_openal
=yes
7927 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7929 OPENCL_LIBS
="-framework OpenCL"
7931 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7933 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7935 ac_save_LIBS
="$LIBS"
7936 LIBS
="$LIBS $IOKIT_LIBS"
7937 for ac_func
in IOHIDManagerCreate
7939 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7940 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7941 cat >>confdefs.h
<<_ACEOF
7942 #define HAVE_IOHIDMANAGERCREATE 1
7948 LIBS
="$ac_save_LIBS"
7950 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7952 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7954 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7956 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7958 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7960 CARBON_LIBS
="-framework Carbon"
7964 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7966 ac_save_LIBS
="$LIBS"
7967 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7968 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7969 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7970 enable_winemac_drv
=${enable_winemac_drv:-yes}
7973 LIBS
="$ac_save_LIBS"
7976 if test "x$enable_win16" = "xyes"
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7979 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7980 if test "$cross_compiling" = yes; then :
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7982 $as_echo "cross-compiling, assuming yes" >&6; }
7984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7985 /* end confdefs.h. */
7988 "good:\tnop;nop\n\t"
7989 ".globl _testfunc\n"
7990 "_testfunc:\tcallw good");
7991 extern void testfunc();
7995 unsigned short *p = (unsigned short *)testfunc;
7996 return p[0] != 0xe866 || p[1] != 0xfffa
8001 if ac_fn_c_try_run
"$LINENO"; then :
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8003 $as_echo "yes" >&6; }
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8006 $as_echo "no" >&6; }
8007 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
8009 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8010 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8015 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8017 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8021 libwine.$libwine_version.dylib: \$(OBJS)
8022 \$(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 \$@
8024 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8025 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8027 libwine.dylib: libwine.$libwine_soversion.dylib
8028 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8030 install install-lib:: libwine.$libwine_version.dylib
8031 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8032 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8034 install install-dev::
8035 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8038 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8042 as_fn_append LOADER_RULES
"
8043 $wine_binary: main.o wine_info.plist
8044 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8046 wine-installed: main.o wine_info.plist
8047 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8052 DLLFLAGS
="$DLLFLAGS -fPIC"
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8057 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8058 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8059 $as_echo_n "(cached) " >&6
8061 ac_wine_try_cflags_saved
=$CFLAGS
8062 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8064 /* end confdefs.h. */
8065 int main(int argc, char **argv) { return 0; }
8067 if ac_fn_c_try_link
"$LINENO"; then :
8068 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8070 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8072 rm -f core conftest.err conftest.
$ac_objext \
8073 conftest
$ac_exeext conftest.
$ac_ext
8074 CFLAGS
=$ac_wine_try_cflags_saved
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8077 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8078 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8079 LDEXECFLAGS
="-Wl,--export-dynamic"
8081 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8083 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8084 if eval \
${$as_ac_var+:} false
; then :
8085 $as_echo_n "(cached) " >&6
8087 ac_wine_try_cflags_saved
=$CFLAGS
8088 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8090 /* end confdefs.h. */
8091 int main(int argc, char **argv) { return 0; }
8093 if ac_fn_c_try_link
"$LINENO"; then :
8094 eval "$as_ac_var=yes"
8096 eval "$as_ac_var=no"
8098 rm -f core conftest.err conftest.
$ac_objext \
8099 conftest
$ac_exeext conftest.
$ac_ext
8100 CFLAGS
=$ac_wine_try_cflags_saved
8102 eval ac_res
=\$
$as_ac_var
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8104 $as_echo "$ac_res" >&6; }
8105 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8106 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8107 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8109 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8111 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8112 if eval \
${$as_ac_var+:} false
; then :
8113 $as_echo_n "(cached) " >&6
8115 ac_wine_try_cflags_saved
=$CFLAGS
8116 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8118 /* end confdefs.h. */
8119 int main(int argc, char **argv) { return 0; }
8121 if ac_fn_c_try_link
"$LINENO"; then :
8122 eval "$as_ac_var=yes"
8124 eval "$as_ac_var=no"
8126 rm -f core conftest.err conftest.
$ac_objext \
8127 conftest
$ac_exeext conftest.
$ac_ext
8128 CFLAGS
=$ac_wine_try_cflags_saved
8130 eval ac_res
=\$
$as_ac_var
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8132 $as_echo "$ac_res" >&6; }
8133 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8134 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8135 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8140 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8141 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8142 $as_echo_n "(cached) " >&6
8144 ac_wine_try_cflags_saved
=$CFLAGS
8145 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8148 int main(int argc, char **argv) { return 0; }
8150 if ac_fn_c_try_link
"$LINENO"; then :
8151 ac_cv_cflags__Wl___enable_new_dtags
=yes
8153 ac_cv_cflags__Wl___enable_new_dtags
=no
8155 rm -f core conftest.err conftest.
$ac_objext \
8156 conftest
$ac_exeext conftest.
$ac_ext
8157 CFLAGS
=$ac_wine_try_cflags_saved
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8160 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8161 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8162 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8166 *i
[3456789]86* | x86_64
)
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8168 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8169 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8170 $as_echo_n "(cached) " >&6
8172 ac_wine_try_cflags_saved
=$CFLAGS
8173 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8175 /* end confdefs.h. */
8176 int main(int argc, char **argv) { return 0; }
8178 if ac_fn_c_try_link
"$LINENO"; then :
8179 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8181 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8183 rm -f core conftest.err conftest.
$ac_objext \
8184 conftest
$ac_exeext conftest.
$ac_ext
8185 CFLAGS
=$ac_wine_try_cflags_saved
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8188 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8189 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8190 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8195 libwine_targets
="libwine.so"
8197 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8201 libwine.so: \$(OBJS)
8202 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8204 install install-lib:: libwine.so
8205 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8208 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8212 as_fn_append LOADER_RULES
"
8213 $wine_binary: main.o
8214 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8216 wine-installed: main.o
8217 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8222 DLLFLAGS
="$DLLFLAGS -fPIC"
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8225 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8226 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8227 $as_echo_n "(cached) " >&6
8229 ac_wine_try_cflags_saved
=$CFLAGS
8230 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8232 /* end confdefs.h. */
8235 if ac_fn_c_try_link
"$LINENO"; then :
8236 ac_cv_c_dll_gnuelf
="yes"
8238 ac_cv_c_dll_gnuelf
="no"
8240 rm -f core conftest.err conftest.
$ac_objext \
8241 conftest
$ac_exeext conftest.
$ac_ext
8242 CFLAGS
=$ac_wine_try_cflags_saved
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8245 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8246 if test "$ac_cv_c_dll_gnuelf" = "yes"
8248 LDSHARED
="\$(CC) -shared"
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8250 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8251 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8252 $as_echo_n "(cached) " >&6
8254 ac_wine_try_cflags_saved
=$CFLAGS
8255 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8257 /* end confdefs.h. */
8258 int main(int argc, char **argv) { return 0; }
8260 if ac_fn_c_try_link
"$LINENO"; then :
8261 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8263 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8265 rm -f core conftest.err conftest.
$ac_objext \
8266 conftest
$ac_exeext conftest.
$ac_ext
8267 CFLAGS
=$ac_wine_try_cflags_saved
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8270 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8271 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8272 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8275 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8276 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8277 $as_echo_n "(cached) " >&6
8279 ac_wine_try_cflags_saved
=$CFLAGS
8280 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8282 /* end confdefs.h. */
8283 int main(int argc, char **argv) { return 0; }
8285 if ac_fn_c_try_link
"$LINENO"; then :
8286 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8288 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8290 rm -f core conftest.err conftest.
$ac_objext \
8291 conftest
$ac_exeext conftest.
$ac_ext
8292 CFLAGS
=$ac_wine_try_cflags_saved
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8295 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8296 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8297 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8301 echo '{ global: *; };' >conftest.map
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8303 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8304 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8305 $as_echo_n "(cached) " >&6
8307 ac_wine_try_cflags_saved
=$CFLAGS
8308 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8310 /* end confdefs.h. */
8311 int main(int argc, char **argv) { return 0; }
8313 if ac_fn_c_try_link
"$LINENO"; then :
8314 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8316 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8318 rm -f core conftest.err conftest.
$ac_objext \
8319 conftest
$ac_exeext conftest.
$ac_ext
8320 CFLAGS
=$ac_wine_try_cflags_saved
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8323 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8324 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8325 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8330 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8331 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8332 $as_echo_n "(cached) " >&6
8334 ac_wine_try_cflags_saved
=$CFLAGS
8335 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8337 /* end confdefs.h. */
8338 int main(int argc, char **argv) { return 0; }
8340 if ac_fn_c_try_link
"$LINENO"; then :
8341 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8343 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8345 rm -f core conftest.err conftest.
$ac_objext \
8346 conftest
$ac_exeext conftest.
$ac_ext
8347 CFLAGS
=$ac_wine_try_cflags_saved
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8350 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8351 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8352 LDEXECFLAGS
="-Wl,--export-dynamic"
8355 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8357 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8358 if eval \
${$as_ac_var+:} false
; then :
8359 $as_echo_n "(cached) " >&6
8361 ac_wine_try_cflags_saved
=$CFLAGS
8362 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8364 /* end confdefs.h. */
8365 int main(int argc, char **argv) { return 0; }
8367 if ac_fn_c_try_link
"$LINENO"; then :
8368 eval "$as_ac_var=yes"
8370 eval "$as_ac_var=no"
8372 rm -f core conftest.err conftest.
$ac_objext \
8373 conftest
$ac_exeext conftest.
$ac_ext
8374 CFLAGS
=$ac_wine_try_cflags_saved
8376 eval ac_res
=\$
$as_ac_var
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8378 $as_echo "$ac_res" >&6; }
8379 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8380 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8381 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8383 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8385 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8386 if eval \
${$as_ac_var+:} false
; then :
8387 $as_echo_n "(cached) " >&6
8389 ac_wine_try_cflags_saved
=$CFLAGS
8390 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8392 /* end confdefs.h. */
8393 int main(int argc, char **argv) { return 0; }
8395 if ac_fn_c_try_link
"$LINENO"; then :
8396 eval "$as_ac_var=yes"
8398 eval "$as_ac_var=no"
8400 rm -f core conftest.err conftest.
$ac_objext \
8401 conftest
$ac_exeext conftest.
$ac_ext
8402 CFLAGS
=$ac_wine_try_cflags_saved
8404 eval ac_res
=\$
$as_ac_var
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8406 $as_echo "$ac_res" >&6; }
8407 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8408 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8409 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8414 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8415 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8416 $as_echo_n "(cached) " >&6
8418 ac_wine_try_cflags_saved
=$CFLAGS
8419 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8421 /* end confdefs.h. */
8422 int main(int argc, char **argv) { return 0; }
8424 if ac_fn_c_try_link
"$LINENO"; then :
8425 ac_cv_cflags__Wl___enable_new_dtags
=yes
8427 ac_cv_cflags__Wl___enable_new_dtags
=no
8429 rm -f core conftest.err conftest.
$ac_objext \
8430 conftest
$ac_exeext conftest.
$ac_ext
8431 CFLAGS
=$ac_wine_try_cflags_saved
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8434 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8435 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8436 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8440 *i
[3456789]86* | x86_64
)
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8442 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8443 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8444 $as_echo_n "(cached) " >&6
8446 ac_wine_try_cflags_saved
=$CFLAGS
8447 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8450 int main(int argc, char **argv) { return 0; }
8452 if ac_fn_c_try_link
"$LINENO"; then :
8453 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8455 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8457 rm -f core conftest.err conftest.
$ac_objext \
8458 conftest
$ac_exeext conftest.
$ac_ext
8459 CFLAGS
=$ac_wine_try_cflags_saved
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8462 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8463 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8465 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8466 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8470 # Extract the first word of "prelink", so it can be a program name with args.
8471 set dummy prelink
; ac_word
=$2
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8473 $as_echo_n "checking for $ac_word... " >&6; }
8474 if ${ac_cv_path_PRELINK+:} false
; then :
8475 $as_echo_n "(cached) " >&6
8479 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8483 for as_dir
in /sbin
/usr
/sbin
$PATH
8486 test -z "$as_dir" && as_dir
=.
8487 for ac_exec_ext
in '' $ac_executable_extensions; do
8488 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8489 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8497 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8501 PRELINK
=$ac_cv_path_PRELINK
8502 if test -n "$PRELINK"; then
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8504 $as_echo "$PRELINK" >&6; }
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8507 $as_echo "no" >&6; }
8511 if test "x$PRELINK" = xfalse
8513 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8520 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8521 if ${ac_cv_c_dll_unixware+:} false
; then :
8522 $as_echo_n "(cached) " >&6
8524 ac_wine_try_cflags_saved
=$CFLAGS
8525 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8527 /* end confdefs.h. */
8530 if ac_fn_c_try_link
"$LINENO"; then :
8531 ac_cv_c_dll_unixware
="yes"
8533 ac_cv_c_dll_unixware
="no"
8535 rm -f core conftest.err conftest.
$ac_objext \
8536 conftest
$ac_exeext conftest.
$ac_ext
8537 CFLAGS
=$ac_wine_try_cflags_saved
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8540 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8541 if test "$ac_cv_c_dll_unixware" = "yes"
8543 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8546 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8548 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8552 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8553 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8555 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8556 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8558 libwine.so: libwine.so.$libwine_soversion
8559 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8561 install install-lib:: libwine.so.$libwine_version
8562 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8563 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8565 install install-dev::
8566 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8569 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8573 as_fn_append LOADER_RULES
"
8574 $wine_binary: main.o
8575 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8577 wine-installed: main.o
8578 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8583 as_fn_append LIBWINE_RULES
"
8584 EXTRA_TARGETS = $libwine_targets
8587 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8588 enable_winemac_drv
=${enable_winemac_drv:-no}
8592 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8596 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
8599 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 " ;;
8601 ac_prefix_list
="" ;;
8603 for ac_prog
in $ac_prefix_list
8605 # Extract the first word of "$ac_prog", so it can be a program name with args.
8606 set dummy
$ac_prog; ac_word
=$2
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8608 $as_echo_n "checking for $ac_word... " >&6; }
8609 if ${ac_cv_prog_CROSSCC+:} false
; then :
8610 $as_echo_n "(cached) " >&6
8612 if test -n "$CROSSCC"; then
8613 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8619 test -z "$as_dir" && as_dir
=.
8620 for ac_exec_ext
in '' $ac_executable_extensions; do
8621 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8622 ac_cv_prog_CROSSCC
="$ac_prog"
8623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8632 CROSSCC
=$ac_cv_prog_CROSSCC
8633 if test -n "$CROSSCC"; then
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8635 $as_echo "$CROSSCC" >&6; }
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8638 $as_echo "no" >&6; }
8642 test -n "$CROSSCC" && break
8644 test -n "$CROSSCC" || CROSSCC
="false"
8646 if test "$CROSSCC" != "false"
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8651 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8653 /* end confdefs.h. */
8663 if ac_fn_c_try_compile
"$LINENO"; then :
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8665 $as_echo "yes" >&6; }
8671 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8677 $as_echo "no" >&6; }
8679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8685 if test "$ac_cv_header_pthread_h" = "yes"
8687 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8688 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8692 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8693 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8694 $as_echo_n "(cached) " >&6
8696 ac_check_lib_save_LIBS
=$LIBS
8697 LIBS
="-lpthread $LIBS"
8698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8699 /* end confdefs.h. */
8701 /* Override any GCC internal prototype to avoid an error.
8702 Use char because int might match the return type of a GCC
8703 builtin and then its argument prototype would still apply. */
8707 char pthread_create ();
8711 return pthread_create ();
8716 if ac_fn_c_try_link
"$LINENO"; then :
8717 ac_cv_lib_pthread_pthread_create
=yes
8719 ac_cv_lib_pthread_pthread_create
=no
8721 rm -f core conftest.err conftest.
$ac_objext \
8722 conftest
$ac_exeext conftest.
$ac_ext
8723 LIBS
=$ac_check_lib_save_LIBS
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8726 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8727 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8728 PTHREAD_LIBS
="-lpthread"
8735 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8736 case "x$with_pthread" in
8738 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8739 Wine cannot support threads without libpthread.
8740 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8746 $as_echo_n "checking for X... " >&6; }
8749 # Check whether --with-x was given.
8750 if test "${with_x+set}" = set; then :
8754 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8755 if test "x$with_x" = xno
; then
8756 # The user explicitly disabled X.
8759 case $x_includes,$x_libraries in #(
8760 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8761 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8762 $as_echo_n "(cached) " >&6
8764 # One or both of the vars are not set, and there is no cached value.
8765 ac_x_includes
=no ac_x_libraries
=no
8766 rm -f -r conftest.dir
8767 if mkdir conftest.dir
; then
8769 cat >Imakefile
<<'_ACEOF'
8771 @echo incroot='${INCROOT}'
8773 @echo usrlibdir='${USRLIBDIR}'
8775 @echo libdir='${LIBDIR}'
8777 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8778 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8779 for ac_var
in incroot usrlibdir libdir
; do
8780 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8782 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8783 for ac_extension
in a so sl dylib la dll
; do
8784 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8785 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8786 ac_im_usrlibdir
=$ac_im_libdir; break
8789 # Screen out bogus values from the imake configuration. They are
8790 # bogus both because they are the default anyway, and because
8791 # using them would break gcc on systems where it needs fixed includes.
8792 case $ac_im_incroot in
8793 /usr
/include
) ac_x_includes
= ;;
8794 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8796 case $ac_im_usrlibdir in
8797 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8798 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8802 rm -f -r conftest.dir
8805 # Standard set of common directories for X headers.
8806 # Check X11 before X11Rn because it is often a symlink to the current release.
8820 /usr/local/X11/include
8821 /usr/local/X11R7/include
8822 /usr/local/X11R6/include
8823 /usr/local/X11R5/include
8824 /usr/local/X11R4/include
8826 /usr/local/include/X11
8827 /usr/local/include/X11R7
8828 /usr/local/include/X11R6
8829 /usr/local/include/X11R5
8830 /usr/local/include/X11R4
8834 /usr/XFree86/include/X11
8838 /usr/unsupported/include
8840 /usr/local/x11r5/include
8841 /usr/lpp/Xamples/include
8843 /usr/openwin/include
8844 /usr/openwin/share/include'
8846 if test "$ac_x_includes" = no
; then
8847 # Guess where to find include files, by looking for Xlib.h.
8848 # First, try using that file with no special directory specified.
8849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8850 /* end confdefs.h. */
8851 #include <X11/Xlib.h>
8853 if ac_fn_c_try_cpp
"$LINENO"; then :
8854 # We can compile using X headers with no special include directory.
8857 for ac_dir
in $ac_x_header_dirs; do
8858 if test -r "$ac_dir/X11/Xlib.h"; then
8859 ac_x_includes
=$ac_dir
8864 rm -f conftest.err conftest.i conftest.
$ac_ext
8865 fi # $ac_x_includes = no
8867 if test "$ac_x_libraries" = no
; then
8868 # Check for the libraries.
8869 # See if we find them without any special options.
8870 # Don't add to $LIBS permanently.
8873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8874 /* end confdefs.h. */
8875 #include <X11/Xlib.h>
8884 if ac_fn_c_try_link
"$LINENO"; then :
8886 # We can link X programs with no special library path.
8890 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8892 # Don't even attempt the hair of trying to link an X program!
8893 for ac_extension
in a so sl dylib la dll
; do
8894 if test -r "$ac_dir/libX11.$ac_extension"; then
8895 ac_x_libraries
=$ac_dir
8901 rm -f core conftest.err conftest.
$ac_objext \
8902 conftest
$ac_exeext conftest.
$ac_ext
8903 fi # $ac_x_libraries = no
8905 case $ac_x_includes,$ac_x_libraries in #(
8907 # Didn't find X, or a directory has "'" in its name.
8908 ac_cv_have_x
="have_x=no";; #(
8910 # Record where we found X for the cache.
8911 ac_cv_have_x
="have_x=yes\
8912 ac_x_includes='$ac_x_includes'\
8913 ac_x_libraries='$ac_x_libraries'"
8919 eval "$ac_cv_have_x"
8922 if test "$have_x" != yes; then
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8924 $as_echo "$have_x" >&6; }
8927 # If each of the values was on the command line, it overrides each guess.
8928 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8929 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8930 # Update the cache value to reflect the command line values.
8931 ac_cv_have_x
="have_x=yes\
8932 ac_x_includes='$x_includes'\
8933 ac_x_libraries='$x_libraries'"
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8935 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8938 if test "$no_x" = yes; then
8939 # Not all programs may use this symbol, but it does not hurt to define it.
8941 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8943 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8945 if test -n "$x_includes"; then
8946 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8949 # It would also be nice to do this for all -L options, not just this one.
8950 if test -n "$x_libraries"; then
8951 X_LIBS
="$X_LIBS -L$x_libraries"
8952 # For Solaris; some versions of Sun CC require a space after -R and
8953 # others require no space. Words are not sufficient . . . .
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8955 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8956 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8957 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8958 ac_c_werror_flag
=yes
8959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8960 /* end confdefs.h. */
8970 if ac_fn_c_try_link
"$LINENO"; then :
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8972 $as_echo "no" >&6; }
8973 X_LIBS
="$X_LIBS -R$x_libraries"
8975 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8977 /* end confdefs.h. */
8987 if ac_fn_c_try_link
"$LINENO"; then :
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8989 $as_echo "yes" >&6; }
8990 X_LIBS
="$X_LIBS -R $x_libraries"
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8993 $as_echo "neither works" >&6; }
8995 rm -f core conftest.err conftest.
$ac_objext \
8996 conftest
$ac_exeext conftest.
$ac_ext
8998 rm -f core conftest.err conftest.
$ac_objext \
8999 conftest
$ac_exeext conftest.
$ac_ext
9000 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9004 # Check for system-dependent libraries X programs must link with.
9005 # Do this before checking for the system-independent R6 libraries
9006 # (-lICE), since we may need -lsocket or whatever for X linking.
9008 if test "$ISC" = yes; then
9009 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9011 # Martyn Johnson says this is needed for Ultrix, if the X
9012 # libraries were built with DECnet support. And Karl Berry says
9013 # the Alpha needs dnet_stub (dnet does not exist).
9014 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9016 /* end confdefs.h. */
9018 /* Override any GCC internal prototype to avoid an error.
9019 Use char because int might match the return type of a GCC
9020 builtin and then its argument prototype would still apply. */
9024 char XOpenDisplay ();
9028 return XOpenDisplay ();
9033 if ac_fn_c_try_link
"$LINENO"; then :
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9037 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9038 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9039 $as_echo_n "(cached) " >&6
9041 ac_check_lib_save_LIBS
=$LIBS
9043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9044 /* end confdefs.h. */
9046 /* Override any GCC internal prototype to avoid an error.
9047 Use char because int might match the return type of a GCC
9048 builtin and then its argument prototype would still apply. */
9056 return dnet_ntoa ();
9061 if ac_fn_c_try_link
"$LINENO"; then :
9062 ac_cv_lib_dnet_dnet_ntoa
=yes
9064 ac_cv_lib_dnet_dnet_ntoa
=no
9066 rm -f core conftest.err conftest.
$ac_objext \
9067 conftest
$ac_exeext conftest.
$ac_ext
9068 LIBS
=$ac_check_lib_save_LIBS
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9071 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9072 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9073 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9076 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9078 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9079 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9080 $as_echo_n "(cached) " >&6
9082 ac_check_lib_save_LIBS
=$LIBS
9083 LIBS
="-ldnet_stub $LIBS"
9084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9087 /* Override any GCC internal prototype to avoid an error.
9088 Use char because int might match the return type of a GCC
9089 builtin and then its argument prototype would still apply. */
9097 return dnet_ntoa ();
9102 if ac_fn_c_try_link
"$LINENO"; then :
9103 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9105 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9107 rm -f core conftest.err conftest.
$ac_objext \
9108 conftest
$ac_exeext conftest.
$ac_ext
9109 LIBS
=$ac_check_lib_save_LIBS
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9112 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9113 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9114 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9119 rm -f core conftest.err conftest.
$ac_objext \
9120 conftest
$ac_exeext conftest.
$ac_ext
9121 LIBS
="$ac_xsave_LIBS"
9123 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9124 # to get the SysV transport functions.
9125 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9127 # The nsl library prevents programs from opening the X display
9128 # on Irix 5.2, according to T.E. Dickey.
9129 # The functions gethostbyname, getservbyname, and inet_addr are
9130 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9131 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9132 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9136 if test $ac_cv_func_gethostbyname = no
; then
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9138 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9139 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9140 $as_echo_n "(cached) " >&6
9142 ac_check_lib_save_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. */
9153 char gethostbyname ();
9157 return gethostbyname ();
9162 if ac_fn_c_try_link
"$LINENO"; then :
9163 ac_cv_lib_nsl_gethostbyname
=yes
9165 ac_cv_lib_nsl_gethostbyname
=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_nsl_gethostbyname" >&5
9172 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9173 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9174 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9177 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9179 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9180 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9181 $as_echo_n "(cached) " >&6
9183 ac_check_lib_save_LIBS
=$LIBS
9185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9188 /* Override any GCC internal prototype to avoid an error.
9189 Use char because int might match the return type of a GCC
9190 builtin and then its argument prototype would still apply. */
9194 char gethostbyname ();
9198 return gethostbyname ();
9203 if ac_fn_c_try_link
"$LINENO"; then :
9204 ac_cv_lib_bsd_gethostbyname
=yes
9206 ac_cv_lib_bsd_gethostbyname
=no
9208 rm -f core conftest.err conftest.
$ac_objext \
9209 conftest
$ac_exeext conftest.
$ac_ext
9210 LIBS
=$ac_check_lib_save_LIBS
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9213 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9214 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9215 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9221 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9222 # socket/setsockopt and other routines are undefined under SCO ODT
9223 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9224 # on later versions), says Simon Leinen: it contains gethostby*
9225 # variants that don't use the name server (or something). -lsocket
9226 # must be given before -lnsl if both are needed. We assume that
9227 # if connect needs -lnsl, so does gethostbyname.
9228 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9229 if test "x$ac_cv_func_connect" = xyes
; then :
9233 if test $ac_cv_func_connect = no
; then
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9235 $as_echo_n "checking for connect in -lsocket... " >&6; }
9236 if ${ac_cv_lib_socket_connect+:} false
; then :
9237 $as_echo_n "(cached) " >&6
9239 ac_check_lib_save_LIBS
=$LIBS
9240 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9244 /* Override any GCC internal prototype to avoid an error.
9245 Use char because int might match the return type of a GCC
9246 builtin and then its argument prototype would still apply. */
9259 if ac_fn_c_try_link
"$LINENO"; then :
9260 ac_cv_lib_socket_connect
=yes
9262 ac_cv_lib_socket_connect
=no
9264 rm -f core conftest.err conftest.
$ac_objext \
9265 conftest
$ac_exeext conftest.
$ac_ext
9266 LIBS
=$ac_check_lib_save_LIBS
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9269 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9270 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9271 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9276 # Guillermo Gomez says -lposix is necessary on A/UX.
9277 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9278 if test "x$ac_cv_func_remove" = xyes
; then :
9282 if test $ac_cv_func_remove = no
; then
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9284 $as_echo_n "checking for remove in -lposix... " >&6; }
9285 if ${ac_cv_lib_posix_remove+:} false
; then :
9286 $as_echo_n "(cached) " >&6
9288 ac_check_lib_save_LIBS
=$LIBS
9289 LIBS
="-lposix $LIBS"
9290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9291 /* end confdefs.h. */
9293 /* Override any GCC internal prototype to avoid an error.
9294 Use char because int might match the return type of a GCC
9295 builtin and then its argument prototype would still apply. */
9308 if ac_fn_c_try_link
"$LINENO"; then :
9309 ac_cv_lib_posix_remove
=yes
9311 ac_cv_lib_posix_remove
=no
9313 rm -f core conftest.err conftest.
$ac_objext \
9314 conftest
$ac_exeext conftest.
$ac_ext
9315 LIBS
=$ac_check_lib_save_LIBS
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9318 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9319 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9320 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9325 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9326 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9327 if test "x$ac_cv_func_shmat" = xyes
; then :
9331 if test $ac_cv_func_shmat = no
; then
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9333 $as_echo_n "checking for shmat in -lipc... " >&6; }
9334 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9335 $as_echo_n "(cached) " >&6
9337 ac_check_lib_save_LIBS
=$LIBS
9339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9340 /* end confdefs.h. */
9342 /* Override any GCC internal prototype to avoid an error.
9343 Use char because int might match the return type of a GCC
9344 builtin and then its argument prototype would still apply. */
9357 if ac_fn_c_try_link
"$LINENO"; then :
9358 ac_cv_lib_ipc_shmat
=yes
9360 ac_cv_lib_ipc_shmat
=no
9362 rm -f core conftest.err conftest.
$ac_objext \
9363 conftest
$ac_exeext conftest.
$ac_ext
9364 LIBS
=$ac_check_lib_save_LIBS
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9367 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9368 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9369 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9375 # Check for libraries that X11R6 Xt/Xaw programs need.
9376 ac_save_LDFLAGS
=$LDFLAGS
9377 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9378 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9379 # check for ICE first), but we must link in the order -lSM -lICE or
9380 # we get undefined symbols. So assume we have SM if we have ICE.
9381 # These have to be linked with before -lX11, unlike the other
9382 # libraries we check for below, so use a different variable.
9383 # John Interrante, Karl Berry
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9385 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9386 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9387 $as_echo_n "(cached) " >&6
9389 ac_check_lib_save_LIBS
=$LIBS
9390 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9392 /* end confdefs.h. */
9394 /* Override any GCC internal prototype to avoid an error.
9395 Use char because int might match the return type of a GCC
9396 builtin and then its argument prototype would still apply. */
9400 char IceConnectionNumber ();
9404 return IceConnectionNumber ();
9409 if ac_fn_c_try_link
"$LINENO"; then :
9410 ac_cv_lib_ICE_IceConnectionNumber
=yes
9412 ac_cv_lib_ICE_IceConnectionNumber
=no
9414 rm -f core conftest.err conftest.
$ac_objext \
9415 conftest
$ac_exeext conftest.
$ac_ext
9416 LIBS
=$ac_check_lib_save_LIBS
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9419 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9420 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9421 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9424 LDFLAGS
=$ac_save_LDFLAGS
9429 if test "$have_x" = "yes"
9431 ac_save_CPPFLAGS
="$CPPFLAGS"
9432 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9435 $as_echo_n "checking for -lX11... " >&6; }
9436 if ${ac_cv_lib_soname_X11+:} false
; then :
9437 $as_echo_n "(cached) " >&6
9439 ac_check_soname_save_LIBS
=$LIBS
9440 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9444 /* Override any GCC internal prototype to avoid an error.
9445 Use char because int might match the return type of a GCC
9446 builtin and then its argument prototype would still apply. */
9450 char XCreateWindow ();
9454 return XCreateWindow ();
9459 if ac_fn_c_try_link
"$LINENO"; then :
9461 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9462 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'` ;;
9463 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9464 if ${ac_cv_lib_soname_X11:+false} :; then :
9465 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9469 rm -f core conftest.err conftest.
$ac_objext \
9470 conftest
$ac_exeext conftest.
$ac_ext
9471 LIBS
=$ac_check_soname_save_LIBS
9473 if ${ac_cv_lib_soname_X11:+false} :; then :
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9475 $as_echo "not found" >&6; }
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9479 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9481 cat >>confdefs.h
<<_ACEOF
9482 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9488 $as_echo_n "checking for -lXext... " >&6; }
9489 if ${ac_cv_lib_soname_Xext+:} false
; then :
9490 $as_echo_n "(cached) " >&6
9492 ac_check_soname_save_LIBS
=$LIBS
9493 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9495 /* end confdefs.h. */
9497 /* Override any GCC internal prototype to avoid an error.
9498 Use char because int might match the return type of a GCC
9499 builtin and then its argument prototype would still apply. */
9503 char XextCreateExtension ();
9507 return XextCreateExtension ();
9512 if ac_fn_c_try_link
"$LINENO"; then :
9514 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9515 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'` ;;
9516 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9517 if ${ac_cv_lib_soname_Xext:+false} :; then :
9518 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9522 rm -f core conftest.err conftest.
$ac_objext \
9523 conftest
$ac_exeext conftest.
$ac_ext
9524 LIBS
=$ac_check_soname_save_LIBS
9526 if ${ac_cv_lib_soname_Xext:+false} :; then :
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9528 $as_echo "not found" >&6; }
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9532 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9534 cat >>confdefs.h
<<_ACEOF
9535 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9538 X_LIBS
="$X_LIBS -lXext"
9540 X_LIBS
="$X_LIBS -lX11"
9542 for ac_header
in X11
/Xlib.h \
9545 X11
/Xcursor
/Xcursor.h \
9546 X11
/extensions
/shape.h \
9547 X11
/extensions
/XInput.h \
9548 X11
/extensions
/XInput2.h \
9549 X11
/extensions
/XShm.h \
9550 X11
/extensions
/Xcomposite.h \
9551 X11
/extensions
/Xinerama.h \
9552 X11
/extensions
/Xrandr.h \
9553 X11
/extensions
/Xrender.h \
9554 X11
/extensions
/xf86vmode.h \
9555 X11
/extensions
/xf86vmproto.h
9557 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9558 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9559 # include <X11/Xlib.h>
9561 #ifdef HAVE_X11_XUTIL_H
9562 # include <X11/Xutil.h>
9565 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9566 cat >>confdefs.h
<<_ACEOF
9567 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9575 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9578 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9579 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9580 $as_echo_n "(cached) " >&6
9582 ac_check_lib_save_LIBS
=$LIBS
9583 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9585 /* end confdefs.h. */
9587 /* Override any GCC internal prototype to avoid an error.
9588 Use char because int might match the return type of a GCC
9589 builtin and then its argument prototype would still apply. */
9593 char XkbQueryExtension ();
9597 return XkbQueryExtension ();
9602 if ac_fn_c_try_link
"$LINENO"; then :
9603 ac_cv_lib_X11_XkbQueryExtension
=yes
9605 ac_cv_lib_X11_XkbQueryExtension
=no
9607 rm -f core conftest.err conftest.
$ac_objext \
9608 conftest
$ac_exeext conftest.
$ac_ext
9609 LIBS
=$ac_check_lib_save_LIBS
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9612 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9613 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9615 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9621 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9624 $as_echo_n "checking for -lXcursor... " >&6; }
9625 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9626 $as_echo_n "(cached) " >&6
9628 ac_check_soname_save_LIBS
=$LIBS
9629 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9633 /* Override any GCC internal prototype to avoid an error.
9634 Use char because int might match the return type of a GCC
9635 builtin and then its argument prototype would still apply. */
9639 char XcursorImageLoadCursor ();
9643 return XcursorImageLoadCursor ();
9648 if ac_fn_c_try_link
"$LINENO"; then :
9650 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9651 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'` ;;
9652 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9653 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9654 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9658 rm -f core conftest.err conftest.
$ac_objext \
9659 conftest
$ac_exeext conftest.
$ac_ext
9660 LIBS
=$ac_check_soname_save_LIBS
9662 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9664 $as_echo "not found" >&6; }
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9668 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9670 cat >>confdefs.h
<<_ACEOF
9671 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9677 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9678 case "x$with_xcursor" in
9679 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9681 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9682 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9686 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9689 $as_echo_n "checking for -lXi... " >&6; }
9690 if ${ac_cv_lib_soname_Xi+:} false
; then :
9691 $as_echo_n "(cached) " >&6
9693 ac_check_soname_save_LIBS
=$LIBS
9694 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9696 /* end confdefs.h. */
9698 /* Override any GCC internal prototype to avoid an error.
9699 Use char because int might match the return type of a GCC
9700 builtin and then its argument prototype would still apply. */
9704 char XOpenDevice ();
9708 return XOpenDevice ();
9713 if ac_fn_c_try_link
"$LINENO"; then :
9715 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9716 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'` ;;
9717 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9718 if ${ac_cv_lib_soname_Xi:+false} :; then :
9719 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9723 rm -f core conftest.err conftest.
$ac_objext \
9724 conftest
$ac_exeext conftest.
$ac_ext
9725 LIBS
=$ac_check_soname_save_LIBS
9727 if ${ac_cv_lib_soname_Xi:+false} :; then :
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9729 $as_echo "not found" >&6; }
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9733 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9735 cat >>confdefs.h
<<_ACEOF
9736 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9742 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9743 case "x$with_xinput" in
9744 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9746 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9747 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9751 if test "x$ac_cv_lib_soname_Xi" != x
9753 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9754 case "x$with_xinput2" in
9755 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9757 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9758 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9763 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9766 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9767 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9768 $as_echo_n "(cached) " >&6
9770 ac_check_lib_save_LIBS
=$LIBS
9771 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9773 /* end confdefs.h. */
9775 /* Override any GCC internal prototype to avoid an error.
9776 Use char because int might match the return type of a GCC
9777 builtin and then its argument prototype would still apply. */
9781 char XShmQueryExtension ();
9785 return XShmQueryExtension ();
9790 if ac_fn_c_try_link
"$LINENO"; then :
9791 ac_cv_lib_Xext_XShmQueryExtension
=yes
9793 ac_cv_lib_Xext_XShmQueryExtension
=no
9795 rm -f core conftest.err conftest.
$ac_objext \
9796 conftest
$ac_exeext conftest.
$ac_ext
9797 LIBS
=$ac_check_lib_save_LIBS
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9800 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9801 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9803 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9808 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9809 case "x$with_xshm" in
9810 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9812 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9813 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9817 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9820 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9821 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9822 $as_echo_n "(cached) " >&6
9824 ac_check_lib_save_LIBS
=$LIBS
9825 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9827 /* end confdefs.h. */
9829 /* Override any GCC internal prototype to avoid an error.
9830 Use char because int might match the return type of a GCC
9831 builtin and then its argument prototype would still apply. */
9835 char XShapeQueryExtension ();
9839 return XShapeQueryExtension ();
9844 if ac_fn_c_try_link
"$LINENO"; then :
9845 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9847 ac_cv_lib_Xext_XShapeQueryExtension
=no
9849 rm -f core conftest.err conftest.
$ac_objext \
9850 conftest
$ac_exeext conftest.
$ac_ext
9851 LIBS
=$ac_check_lib_save_LIBS
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9854 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9855 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9857 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9862 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9863 case "x$with_xshape" in
9864 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9866 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9867 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9871 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9874 $as_echo_n "checking for -lXxf86vm... " >&6; }
9875 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9876 $as_echo_n "(cached) " >&6
9878 ac_check_soname_save_LIBS
=$LIBS
9879 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9881 /* end confdefs.h. */
9883 /* Override any GCC internal prototype to avoid an error.
9884 Use char because int might match the return type of a GCC
9885 builtin and then its argument prototype would still apply. */
9889 char XF86VidModeQueryExtension ();
9893 return XF86VidModeQueryExtension ();
9898 if ac_fn_c_try_link
"$LINENO"; then :
9900 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9901 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'` ;;
9902 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9903 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9904 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9908 rm -f core conftest.err conftest.
$ac_objext \
9909 conftest
$ac_exeext conftest.
$ac_ext
9910 LIBS
=$ac_check_soname_save_LIBS
9912 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9914 $as_echo "not found" >&6; }
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9918 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9920 cat >>confdefs.h
<<_ACEOF
9921 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9927 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9928 case "x$with_xxf86vm" in
9929 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9931 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9932 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9936 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9939 $as_echo_n "checking for -lXrender... " >&6; }
9940 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9941 $as_echo_n "(cached) " >&6
9943 ac_check_soname_save_LIBS
=$LIBS
9944 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9948 /* Override any GCC internal prototype to avoid an error.
9949 Use char because int might match the return type of a GCC
9950 builtin and then its argument prototype would still apply. */
9954 char XRenderQueryExtension ();
9958 return XRenderQueryExtension ();
9963 if ac_fn_c_try_link
"$LINENO"; then :
9965 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9966 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'` ;;
9967 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9968 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9969 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9973 rm -f core conftest.err conftest.
$ac_objext \
9974 conftest
$ac_exeext conftest.
$ac_ext
9975 LIBS
=$ac_check_soname_save_LIBS
9977 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9979 $as_echo "not found" >&6; }
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9983 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9985 cat >>confdefs.h
<<_ACEOF
9986 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9990 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9991 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9992 $as_echo_n "(cached) " >&6
9994 ac_check_lib_save_LIBS
=$LIBS
9995 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9997 /* end confdefs.h. */
9999 /* Override any GCC internal prototype to avoid an error.
10000 Use char because int might match the return type of a GCC
10001 builtin and then its argument prototype would still apply. */
10005 char XRenderSetPictureTransform ();
10009 return XRenderSetPictureTransform ();
10014 if ac_fn_c_try_link
"$LINENO"; then :
10015 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10017 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10019 rm -f core conftest.err conftest.
$ac_objext \
10020 conftest
$ac_exeext conftest.
$ac_ext
10021 LIBS
=$ac_check_lib_save_LIBS
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10024 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10025 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10027 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10032 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10033 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10034 $as_echo_n "(cached) " >&6
10036 ac_check_lib_save_LIBS
=$LIBS
10037 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10039 /* end confdefs.h. */
10041 /* Override any GCC internal prototype to avoid an error.
10042 Use char because int might match the return type of a GCC
10043 builtin and then its argument prototype would still apply. */
10047 char XRenderCreateLinearGradient ();
10051 return XRenderCreateLinearGradient ();
10056 if ac_fn_c_try_link
"$LINENO"; then :
10057 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10059 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10061 rm -f core conftest.err conftest.
$ac_objext \
10062 conftest
$ac_exeext conftest.
$ac_ext
10063 LIBS
=$ac_check_lib_save_LIBS
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10066 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10067 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10069 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10076 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10077 case "x$with_xrender" in
10078 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10080 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10081 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10085 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10088 /* end confdefs.h. */
10089 #include <X11/Xlib.h>
10090 #include <X11/extensions/Xrandr.h>
10094 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10099 if ac_fn_c_try_compile
"$LINENO"; then :
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10101 $as_echo_n "checking for -lXrandr... " >&6; }
10102 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10103 $as_echo_n "(cached) " >&6
10105 ac_check_soname_save_LIBS
=$LIBS
10106 LIBS
="-lXrandr $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 XRRQueryExtension ();
10120 return XRRQueryExtension ();
10125 if ac_fn_c_try_link
"$LINENO"; then :
10127 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10128 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'` ;;
10129 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10130 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10131 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$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_Xrandr:+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_Xrandr" >&5
10145 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10147 cat >>confdefs.h
<<_ACEOF
10148 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10152 /* end confdefs.h. */
10153 #include <X11/Xlib.h>
10154 #include <X11/extensions/Xrandr.h>
10158 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10163 if ac_fn_c_try_compile
"$LINENO"; then :
10165 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10173 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10174 case "x$with_xrandr" in
10175 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10177 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10178 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10182 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 #include <X11/Xlib.h>
10187 #include <X11/extensions/Xinerama.h>
10191 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10196 if ac_fn_c_try_compile
"$LINENO"; then :
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10198 $as_echo_n "checking for -lXinerama... " >&6; }
10199 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10200 $as_echo_n "(cached) " >&6
10202 ac_check_soname_save_LIBS
=$LIBS
10203 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10205 /* end confdefs.h. */
10207 /* Override any GCC internal prototype to avoid an error.
10208 Use char because int might match the return type of a GCC
10209 builtin and then its argument prototype would still apply. */
10213 char XineramaQueryScreens ();
10217 return XineramaQueryScreens ();
10222 if ac_fn_c_try_link
"$LINENO"; then :
10224 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10225 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'` ;;
10226 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10227 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10228 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10232 rm -f core conftest.err conftest.
$ac_objext \
10233 conftest
$ac_exeext conftest.
$ac_ext
10234 LIBS
=$ac_check_soname_save_LIBS
10236 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10238 $as_echo "not found" >&6; }
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10242 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10244 cat >>confdefs.h
<<_ACEOF
10245 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10253 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10254 case "x$with_xinerama" in
10255 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10257 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10258 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10262 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10265 $as_echo_n "checking for -lXcomposite... " >&6; }
10266 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10267 $as_echo_n "(cached) " >&6
10269 ac_check_soname_save_LIBS
=$LIBS
10270 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10272 /* end confdefs.h. */
10274 /* Override any GCC internal prototype to avoid an error.
10275 Use char because int might match the return type of a GCC
10276 builtin and then its argument prototype would still apply. */
10280 char XCompositeRedirectWindow ();
10284 return XCompositeRedirectWindow ();
10289 if ac_fn_c_try_link
"$LINENO"; then :
10291 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10292 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'` ;;
10293 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10294 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10295 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10299 rm -f core conftest.err conftest.
$ac_objext \
10300 conftest
$ac_exeext conftest.
$ac_ext
10301 LIBS
=$ac_check_soname_save_LIBS
10303 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10305 $as_echo "not found" >&6; }
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10309 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10311 cat >>confdefs.h
<<_ACEOF
10312 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10318 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10319 case "x$with_xcomposite" in
10320 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10322 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10323 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10327 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10328 #include <X11/Xlib.h>
10331 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10333 cat >>confdefs.h
<<_ACEOF
10334 #define HAVE_XICCALLBACK_CALLBACK 1
10339 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10340 #include <X11/Xlib.h>
10343 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10345 cat >>confdefs.h
<<_ACEOF
10346 #define HAVE_XEVENT_XCOOKIE 1
10355 if test "x$with_opengl" != "xno"
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10358 $as_echo_n "checking for -lGL... " >&6; }
10359 if ${ac_cv_lib_soname_GL+:} false
; then :
10360 $as_echo_n "(cached) " >&6
10362 ac_check_soname_save_LIBS
=$LIBS
10363 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10365 /* end confdefs.h. */
10367 /* Override any GCC internal prototype to avoid an error.
10368 Use char because int might match the return type of a GCC
10369 builtin and then its argument prototype would still apply. */
10373 char glXCreateContext ();
10377 return glXCreateContext ();
10382 if ac_fn_c_try_link
"$LINENO"; then :
10384 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10385 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'` ;;
10386 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10387 if ${ac_cv_lib_soname_GL:+false} :; then :
10388 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10392 rm -f core conftest.err conftest.
$ac_objext \
10393 conftest
$ac_exeext conftest.
$ac_ext
10394 LIBS
=$ac_check_soname_save_LIBS
10396 if ${ac_cv_lib_soname_GL:+false} :; then :
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10398 $as_echo "not found" >&6; }
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10400 $as_echo_n "checking for -lGL... " >&6; }
10401 if ${ac_cv_lib_soname_GL+:} false
; then :
10402 $as_echo_n "(cached) " >&6
10404 ac_check_soname_save_LIBS
=$LIBS
10405 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"
10406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10409 /* Override any GCC internal prototype to avoid an error.
10410 Use char because int might match the return type of a GCC
10411 builtin and then its argument prototype would still apply. */
10415 char glXCreateContext ();
10419 return glXCreateContext ();
10424 if ac_fn_c_try_link
"$LINENO"; then :
10426 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10427 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'` ;;
10428 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10429 if ${ac_cv_lib_soname_GL:+false} :; then :
10430 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10434 rm -f core conftest.err conftest.
$ac_objext \
10435 conftest
$ac_exeext conftest.
$ac_ext
10436 LIBS
=$ac_check_soname_save_LIBS
10438 if ${ac_cv_lib_soname_GL:+false} :; then :
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10440 $as_echo "not found" >&6; }
10441 if test -f /usr
/X11R
6/lib
/libGL.a
10443 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10444 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10446 opengl_msg
="No OpenGL library found on this system."
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10450 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10452 cat >>confdefs.h
<<_ACEOF
10453 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10456 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"
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10460 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10462 cat >>confdefs.h
<<_ACEOF
10463 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10468 if test "x$with_glu" != "xno"
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10471 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10472 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10473 $as_echo_n "(cached) " >&6
10475 ac_check_lib_save_LIBS
=$LIBS
10476 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10478 /* end confdefs.h. */
10480 /* Override any GCC internal prototype to avoid an error.
10481 Use char because int might match the return type of a GCC
10482 builtin and then its argument prototype would still apply. */
10490 return gluLookAt ();
10495 if ac_fn_c_try_link
"$LINENO"; then :
10496 ac_cv_lib_GLU_gluLookAt
=yes
10498 ac_cv_lib_GLU_gluLookAt
=no
10500 rm -f core conftest.err conftest.
$ac_objext \
10501 conftest
$ac_exeext conftest.
$ac_ext
10502 LIBS
=$ac_check_lib_save_LIBS
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10505 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10506 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10510 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10511 case "x$with_glu" in
10512 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10514 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10515 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10520 if test "x$with_osmesa" != "xno"
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10523 $as_echo_n "checking for -lOSMesa... " >&6; }
10524 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10525 $as_echo_n "(cached) " >&6
10527 ac_check_soname_save_LIBS
=$LIBS
10528 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10530 /* end confdefs.h. */
10532 /* Override any GCC internal prototype to avoid an error.
10533 Use char because int might match the return type of a GCC
10534 builtin and then its argument prototype would still apply. */
10547 if ac_fn_c_try_link
"$LINENO"; then :
10549 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10550 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'` ;;
10551 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10552 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10553 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10557 rm -f core conftest.err conftest.
$ac_objext \
10558 conftest
$ac_exeext conftest.
$ac_ext
10559 LIBS
=$ac_check_soname_save_LIBS
10561 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10563 $as_echo "not found" >&6; }
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10567 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10569 cat >>confdefs.h
<<_ACEOF
10570 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10575 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10576 case "x$with_osmesa" in
10577 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10579 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10580 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10585 if test -n "$opengl_msg"; then :
10586 case "x$with_opengl" in
10587 x
) as_fn_append wine_warnings
"|$opengl_msg
10588 OpenGL and Direct3D won't be supported." ;;
10590 *) as_fn_error $?
"$opengl_msg
10591 OpenGL and Direct3D won't be supported.
10592 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10596 CPPFLAGS
="$ac_save_CPPFLAGS"
10600 enable_winex11_drv
=${enable_winex11_drv:-no}
10602 if test "x$X_LIBS" = "x"; then :
10605 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10606 without X support, which probably isn't what you want. You will need
10607 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10608 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10612 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10614 if test "$ac_cv_header_CL_cl_h" = "yes"
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10617 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10618 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10619 $as_echo_n "(cached) " >&6
10621 ac_check_lib_save_LIBS
=$LIBS
10622 LIBS
="-lOpenCL $LIBS"
10623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10624 /* end confdefs.h. */
10626 /* Override any GCC internal prototype to avoid an error.
10627 Use char because int might match the return type of a GCC
10628 builtin and then its argument prototype would still apply. */
10632 char clGetPlatformInfo ();
10636 return clGetPlatformInfo ();
10641 if ac_fn_c_try_link
"$LINENO"; then :
10642 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10644 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10646 rm -f core conftest.err conftest.
$ac_objext \
10647 conftest
$ac_exeext conftest.
$ac_ext
10648 LIBS
=$ac_check_lib_save_LIBS
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10651 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10652 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10653 OPENCL_LIBS
="-lOpenCL"
10658 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10659 case "x$with_opencl" in
10660 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10662 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10663 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10666 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10668 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10671 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10672 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10673 $as_echo_n "(cached) " >&6
10675 ac_check_lib_save_LIBS
=$LIBS
10676 LIBS
="-lpcap $LIBS"
10677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10678 /* end confdefs.h. */
10680 /* Override any GCC internal prototype to avoid an error.
10681 Use char because int might match the return type of a GCC
10682 builtin and then its argument prototype would still apply. */
10686 char pcap_create ();
10690 return pcap_create ();
10695 if ac_fn_c_try_link
"$LINENO"; then :
10696 ac_cv_lib_pcap_pcap_create
=yes
10698 ac_cv_lib_pcap_pcap_create
=no
10700 rm -f core conftest.err conftest.
$ac_objext \
10701 conftest
$ac_exeext conftest.
$ac_ext
10702 LIBS
=$ac_check_lib_save_LIBS
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10705 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10706 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10712 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10713 case "x$with_pcap" in
10714 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10716 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10717 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10720 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10723 if test "x$with_xml" != "xno"
10725 if ${XML2_CFLAGS:+false} :; then :
10726 if ${PKG_CONFIG+:} false
; then :
10727 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10730 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10731 if ${XML2_LIBS:+false} :; then :
10732 if ${PKG_CONFIG+:} false
; then :
10733 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10736 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10737 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10738 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10739 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10740 ac_save_CPPFLAGS
=$CPPFLAGS
10741 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10742 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10744 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10745 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10746 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10747 cat >>confdefs.h
<<_ACEOF
10748 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10755 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"
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10758 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10759 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10760 $as_echo_n "(cached) " >&6
10762 ac_check_lib_save_LIBS
=$LIBS
10763 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10765 /* end confdefs.h. */
10767 /* Override any GCC internal prototype to avoid an error.
10768 Use char because int might match the return type of a GCC
10769 builtin and then its argument prototype would still apply. */
10773 char xmlParseMemory ();
10777 return xmlParseMemory ();
10782 if ac_fn_c_try_link
"$LINENO"; then :
10783 ac_cv_lib_xml2_xmlParseMemory
=yes
10785 ac_cv_lib_xml2_xmlParseMemory
=no
10787 rm -f core conftest.err conftest.
$ac_objext \
10788 conftest
$ac_exeext conftest.
$ac_ext
10789 LIBS
=$ac_check_lib_save_LIBS
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10792 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10793 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10795 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10802 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10803 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10804 $as_echo_n "(cached) " >&6
10806 ac_check_lib_save_LIBS
=$LIBS
10807 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10809 /* end confdefs.h. */
10811 /* Override any GCC internal prototype to avoid an error.
10812 Use char because int might match the return type of a GCC
10813 builtin and then its argument prototype would still apply. */
10817 char xmlReadMemory ();
10821 return xmlReadMemory ();
10826 if ac_fn_c_try_link
"$LINENO"; then :
10827 ac_cv_lib_xml2_xmlReadMemory
=yes
10829 ac_cv_lib_xml2_xmlReadMemory
=no
10831 rm -f core conftest.err conftest.
$ac_objext \
10832 conftest
$ac_exeext conftest.
$ac_ext
10833 LIBS
=$ac_check_lib_save_LIBS
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10836 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10837 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10839 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10844 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10845 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10846 $as_echo_n "(cached) " >&6
10848 ac_check_lib_save_LIBS
=$LIBS
10849 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h. */
10853 /* Override any GCC internal prototype to avoid an error.
10854 Use char because int might match the return type of a GCC
10855 builtin and then its argument prototype would still apply. */
10859 char xmlNewDocPI ();
10863 return xmlNewDocPI ();
10868 if ac_fn_c_try_link
"$LINENO"; then :
10869 ac_cv_lib_xml2_xmlNewDocPI
=yes
10871 ac_cv_lib_xml2_xmlNewDocPI
=no
10873 rm -f core conftest.err conftest.
$ac_objext \
10874 conftest
$ac_exeext conftest.
$ac_ext
10875 LIBS
=$ac_check_lib_save_LIBS
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10878 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10879 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10881 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10886 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10887 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10888 $as_echo_n "(cached) " >&6
10890 ac_check_lib_save_LIBS
=$LIBS
10891 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10893 /* end confdefs.h. */
10895 /* Override any GCC internal prototype to avoid an error.
10896 Use char because int might match the return type of a GCC
10897 builtin and then its argument prototype would still apply. */
10901 char xmlSchemaSetParserStructuredErrors ();
10905 return xmlSchemaSetParserStructuredErrors ();
10910 if ac_fn_c_try_link
"$LINENO"; then :
10911 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10913 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10915 rm -f core conftest.err conftest.
$ac_objext \
10916 conftest
$ac_exeext conftest.
$ac_ext
10917 LIBS
=$ac_check_lib_save_LIBS
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10920 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10921 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10923 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10928 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10929 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10930 $as_echo_n "(cached) " >&6
10932 ac_check_lib_save_LIBS
=$LIBS
10933 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10937 /* Override any GCC internal prototype to avoid an error.
10938 Use char because int might match the return type of a GCC
10939 builtin and then its argument prototype would still apply. */
10943 char xmlSchemaSetValidStructuredErrors ();
10947 return xmlSchemaSetValidStructuredErrors ();
10952 if ac_fn_c_try_link
"$LINENO"; then :
10953 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10955 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10957 rm -f core conftest.err conftest.
$ac_objext \
10958 conftest
$ac_exeext conftest.
$ac_ext
10959 LIBS
=$ac_check_lib_save_LIBS
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10962 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10963 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10965 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10970 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10971 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10972 $as_echo_n "(cached) " >&6
10974 ac_check_lib_save_LIBS
=$LIBS
10975 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10977 /* end confdefs.h. */
10979 /* Override any GCC internal prototype to avoid an error.
10980 Use char because int might match the return type of a GCC
10981 builtin and then its argument prototype would still apply. */
10985 char xmlFirstElementChild ();
10989 return xmlFirstElementChild ();
10994 if ac_fn_c_try_link
"$LINENO"; then :
10995 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10997 ac_cv_lib_xml2_xmlFirstElementChild
=no
10999 rm -f core conftest.err conftest.
$ac_objext \
11000 conftest
$ac_exeext conftest.
$ac_ext
11001 LIBS
=$ac_check_lib_save_LIBS
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11004 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11005 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11007 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11011 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11013 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11015 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11023 CPPFLAGS
=$ac_save_CPPFLAGS
11024 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11025 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11028 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11029 case "x$with_xml" in
11030 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11032 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11033 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11037 if test "x$with_xslt" != "xno"
11039 if ${XSLT_CFLAGS:+false} :; then :
11040 if ${PKG_CONFIG+:} false
; then :
11041 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11044 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11045 if ${XSLT_LIBS:+false} :; then :
11046 if ${PKG_CONFIG+:} false
; then :
11047 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11050 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11051 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11052 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11053 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11054 ac_save_CPPFLAGS
=$CPPFLAGS
11055 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11056 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11058 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11059 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11060 # include <libxslt/pattern.h>
11063 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11064 cat >>confdefs.h
<<_ACEOF
11065 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11072 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11075 $as_echo_n "checking for -lxslt... " >&6; }
11076 if ${ac_cv_lib_soname_xslt+:} false
; then :
11077 $as_echo_n "(cached) " >&6
11079 ac_check_soname_save_LIBS
=$LIBS
11080 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11082 /* end confdefs.h. */
11084 /* Override any GCC internal prototype to avoid an error.
11085 Use char because int might match the return type of a GCC
11086 builtin and then its argument prototype would still apply. */
11090 char xsltCompilePattern ();
11094 return xsltCompilePattern ();
11099 if ac_fn_c_try_link
"$LINENO"; then :
11101 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11102 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'` ;;
11103 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11104 if ${ac_cv_lib_soname_xslt:+false} :; then :
11105 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11109 rm -f core conftest.err conftest.
$ac_objext \
11110 conftest
$ac_exeext conftest.
$ac_ext
11111 LIBS
=$ac_check_soname_save_LIBS
11113 if ${ac_cv_lib_soname_xslt:+false} :; then :
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11115 $as_echo "not found" >&6; }
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11119 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11121 cat >>confdefs.h
<<_ACEOF
11122 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11130 CPPFLAGS
=$ac_save_CPPFLAGS
11131 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11132 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11135 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11136 case "x$with_xslt" in
11137 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11139 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11140 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11144 if test "x$with_dbus" != "xno"
11146 if ${DBUS_CFLAGS:+false} :; then :
11147 if ${PKG_CONFIG+:} false
; then :
11148 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11152 if ${DBUS_LIBS:+false} :; then :
11153 if ${PKG_CONFIG+:} false
; then :
11154 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11159 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11160 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11161 ac_save_CPPFLAGS
=$CPPFLAGS
11162 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11163 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11164 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11166 $as_echo_n "checking for -ldbus-1... " >&6; }
11167 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11168 $as_echo_n "(cached) " >&6
11170 ac_check_soname_save_LIBS
=$LIBS
11171 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11173 /* end confdefs.h. */
11175 /* Override any GCC internal prototype to avoid an error.
11176 Use char because int might match the return type of a GCC
11177 builtin and then its argument prototype would still apply. */
11181 char dbus_connection_close ();
11185 return dbus_connection_close ();
11190 if ac_fn_c_try_link
"$LINENO"; then :
11192 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11193 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'` ;;
11194 *) 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'`
11195 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11196 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11200 rm -f core conftest.err conftest.
$ac_objext \
11201 conftest
$ac_exeext conftest.
$ac_ext
11202 LIBS
=$ac_check_soname_save_LIBS
11204 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11206 $as_echo "not found" >&6; }
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11210 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11212 cat >>confdefs.h
<<_ACEOF
11213 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11223 CPPFLAGS
=$ac_save_CPPFLAGS
11224 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11225 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11228 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11229 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11230 case "x$with_dbus" in
11231 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11233 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11234 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11238 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11240 if ${HAL_CFLAGS:+false} :; then :
11241 if ${PKG_CONFIG+:} false
; then :
11242 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11246 if ${HAL_LIBS:+false} :; then :
11247 if ${PKG_CONFIG+:} false
; then :
11248 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11252 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11253 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11254 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11255 ac_save_CPPFLAGS
=$CPPFLAGS
11256 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11257 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11258 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11260 $as_echo_n "checking for -lhal... " >&6; }
11261 if ${ac_cv_lib_soname_hal+:} false
; then :
11262 $as_echo_n "(cached) " >&6
11264 ac_check_soname_save_LIBS
=$LIBS
11265 LIBS
="-lhal $HAL_LIBS $LIBS"
11266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11275 char libhal_ctx_new ();
11279 return libhal_ctx_new ();
11284 if ac_fn_c_try_link
"$LINENO"; then :
11286 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11287 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'` ;;
11288 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11289 if ${ac_cv_lib_soname_hal:+false} :; then :
11290 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11294 rm -f core conftest.err conftest.
$ac_objext \
11295 conftest
$ac_exeext conftest.
$ac_ext
11296 LIBS
=$ac_check_soname_save_LIBS
11298 if ${ac_cv_lib_soname_hal:+false} :; then :
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11300 $as_echo "not found" >&6; }
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11304 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11306 cat >>confdefs.h
<<_ACEOF
11307 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11317 CPPFLAGS
=$ac_save_CPPFLAGS
11318 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11319 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11321 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11322 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11323 case "x$with_hal" in
11324 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11326 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11327 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11332 if test "x$with_gnutls" != "xno"
11334 if ${GNUTLS_CFLAGS:+false} :; then :
11335 if ${PKG_CONFIG+:} false
; then :
11336 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11340 if ${GNUTLS_LIBS:+false} :; then :
11341 if ${PKG_CONFIG+:} false
; then :
11342 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11347 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11348 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11349 ac_save_CPPFLAGS
=$CPPFLAGS
11350 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11351 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11352 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11355 #include <gnutls/gnutls.h>
11356 #include <gnutls/crypto.h>
11360 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11365 if ac_fn_c_try_compile
"$LINENO"; then :
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11367 $as_echo_n "checking for -lgnutls... " >&6; }
11368 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11369 $as_echo_n "(cached) " >&6
11371 ac_check_soname_save_LIBS
=$LIBS
11372 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11374 /* end confdefs.h. */
11376 /* Override any GCC internal prototype to avoid an error.
11377 Use char because int might match the return type of a GCC
11378 builtin and then its argument prototype would still apply. */
11382 char gnutls_global_init ();
11386 return gnutls_global_init ();
11391 if ac_fn_c_try_link
"$LINENO"; then :
11393 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11394 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'` ;;
11395 *) 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'`
11396 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11397 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'`
11401 rm -f core conftest.err conftest.
$ac_objext \
11402 conftest
$ac_exeext conftest.
$ac_ext
11403 LIBS
=$ac_check_soname_save_LIBS
11405 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11407 $as_echo "not found" >&6; }
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11411 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11413 cat >>confdefs.h
<<_ACEOF
11414 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11426 CPPFLAGS
=$ac_save_CPPFLAGS
11427 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11428 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11431 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11432 case "x$with_gnutls" in
11433 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11435 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11436 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11441 if test "$ac_cv_header_ncurses_h" = "yes"
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11444 $as_echo_n "checking for -lncurses... " >&6; }
11445 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11446 $as_echo_n "(cached) " >&6
11448 ac_check_soname_save_LIBS
=$LIBS
11449 LIBS
="-lncurses $LIBS"
11450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11468 if ac_fn_c_try_link
"$LINENO"; then :
11470 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11471 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'` ;;
11472 *) 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'`
11473 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11474 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11478 rm -f core conftest.err conftest.
$ac_objext \
11479 conftest
$ac_exeext conftest.
$ac_ext
11480 LIBS
=$ac_check_soname_save_LIBS
11482 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11484 $as_echo "not found" >&6; }
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11488 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11490 cat >>confdefs.h
<<_ACEOF
11491 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11494 CURSES_LIBS
="-lncurses"
11496 elif test "$ac_cv_header_curses_h" = "yes"
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11499 $as_echo_n "checking for -lcurses... " >&6; }
11500 if ${ac_cv_lib_soname_curses+:} false
; then :
11501 $as_echo_n "(cached) " >&6
11503 ac_check_soname_save_LIBS
=$LIBS
11504 LIBS
="-lcurses $LIBS"
11505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11506 /* end confdefs.h. */
11508 /* Override any GCC internal prototype to avoid an error.
11509 Use char because int might match the return type of a GCC
11510 builtin and then its argument prototype would still apply. */
11523 if ac_fn_c_try_link
"$LINENO"; then :
11525 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11526 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'` ;;
11527 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11528 if ${ac_cv_lib_soname_curses:+false} :; then :
11529 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11533 rm -f core conftest.err conftest.
$ac_objext \
11534 conftest
$ac_exeext conftest.
$ac_ext
11535 LIBS
=$ac_check_soname_save_LIBS
11537 if ${ac_cv_lib_soname_curses:+false} :; then :
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11539 $as_echo "not found" >&6; }
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11543 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11545 cat >>confdefs.h
<<_ACEOF
11546 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11549 CURSES_LIBS
="-lcurses"
11552 ac_save_LIBS
="$LIBS"
11553 LIBS
="$LIBS $CURSES_LIBS"
11554 for ac_func
in mousemask
11556 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11557 if test "x$ac_cv_func_mousemask" = xyes
; then :
11558 cat >>confdefs.h
<<_ACEOF
11559 #define HAVE_MOUSEMASK 1
11565 LIBS
="$ac_save_LIBS"
11566 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11567 case "x$with_curses" in
11568 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11570 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11571 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11575 if test "x$with_sane" != "xno"
11577 if ${SANE_CFLAGS:+false} :; then :
11578 if ${PKG_CONFIG+:} false
; then :
11579 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11582 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11583 if ${SANE_LIBS:+false} :; then :
11584 if ${PKG_CONFIG+:} false
; then :
11585 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11588 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11590 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11591 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11592 ac_save_CPPFLAGS
=$CPPFLAGS
11593 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11594 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11595 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11597 $as_echo_n "checking for -lsane... " >&6; }
11598 if ${ac_cv_lib_soname_sane+:} false
; then :
11599 $as_echo_n "(cached) " >&6
11601 ac_check_soname_save_LIBS
=$LIBS
11602 LIBS
="-lsane $SANE_LIBS $LIBS"
11603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11606 /* Override any GCC internal prototype to avoid an error.
11607 Use char because int might match the return type of a GCC
11608 builtin and then its argument prototype would still apply. */
11616 return sane_init ();
11621 if ac_fn_c_try_link
"$LINENO"; then :
11623 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11624 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'` ;;
11625 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11626 if ${ac_cv_lib_soname_sane:+false} :; then :
11627 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11631 rm -f core conftest.err conftest.
$ac_objext \
11632 conftest
$ac_exeext conftest.
$ac_ext
11633 LIBS
=$ac_check_soname_save_LIBS
11635 if ${ac_cv_lib_soname_sane:+false} :; then :
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11637 $as_echo "not found" >&6; }
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11641 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11643 cat >>confdefs.h
<<_ACEOF
11644 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11654 CPPFLAGS
=$ac_save_CPPFLAGS
11655 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11656 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11659 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11660 case "x$with_sane" in
11661 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11663 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11664 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11668 if test "x$with_v4l" != "xno"
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11671 $as_echo_n "checking for -lv4l1... " >&6; }
11672 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11673 $as_echo_n "(cached) " >&6
11675 ac_check_soname_save_LIBS
=$LIBS
11676 LIBS
="-lv4l1 $LIBS"
11677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11678 /* end confdefs.h. */
11680 /* Override any GCC internal prototype to avoid an error.
11681 Use char because int might match the return type of a GCC
11682 builtin and then its argument prototype would still apply. */
11690 return v4l1_open ();
11695 if ac_fn_c_try_link
"$LINENO"; then :
11697 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11698 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'` ;;
11699 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11700 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11701 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11705 rm -f core conftest.err conftest.
$ac_objext \
11706 conftest
$ac_exeext conftest.
$ac_ext
11707 LIBS
=$ac_check_soname_save_LIBS
11709 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11711 $as_echo "not found" >&6; }
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11715 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11717 cat >>confdefs.h
<<_ACEOF
11718 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11724 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11725 case "x$with_v4l" in
11726 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11728 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11729 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11733 if test "x$with_gphoto" != "xno"
11735 if ${GPHOTO2_CFLAGS:+false} :; then :
11736 if ${PKG_CONFIG+:} false
; then :
11737 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11740 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11741 if ${GPHOTO2_LIBS:+false} :; then :
11742 if ${PKG_CONFIG+:} false
; then :
11743 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11746 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11747 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11748 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11749 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11750 ac_save_CPPFLAGS
=$CPPFLAGS
11751 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11752 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11753 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11755 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11756 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11757 $as_echo_n "(cached) " >&6
11759 ac_check_lib_save_LIBS
=$LIBS
11760 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11762 /* end confdefs.h. */
11764 /* Override any GCC internal prototype to avoid an error.
11765 Use char because int might match the return type of a GCC
11766 builtin and then its argument prototype would still apply. */
11770 char gp_camera_new ();
11774 return gp_camera_new ();
11779 if ac_fn_c_try_link
"$LINENO"; then :
11780 ac_cv_lib_gphoto2_gp_camera_new
=yes
11782 ac_cv_lib_gphoto2_gp_camera_new
=no
11784 rm -f core conftest.err conftest.
$ac_objext \
11785 conftest
$ac_exeext conftest.
$ac_ext
11786 LIBS
=$ac_check_lib_save_LIBS
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11789 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11790 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11792 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11795 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11799 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11803 CPPFLAGS
=$ac_save_CPPFLAGS
11804 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11805 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11807 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11808 if ${PKG_CONFIG+:} false
; then :
11809 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11812 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11813 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11814 if ${PKG_CONFIG+:} false
; then :
11815 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11818 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11819 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11820 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11821 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11822 ac_save_CPPFLAGS
=$CPPFLAGS
11823 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11824 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11825 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11827 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11828 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11829 $as_echo_n "(cached) " >&6
11831 ac_check_lib_save_LIBS
=$LIBS
11832 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11836 /* Override any GCC internal prototype to avoid an error.
11837 Use char because int might match the return type of a GCC
11838 builtin and then its argument prototype would still apply. */
11842 char gp_port_info_list_new ();
11846 return gp_port_info_list_new ();
11851 if ac_fn_c_try_link
"$LINENO"; then :
11852 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11854 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11856 rm -f core conftest.err conftest.
$ac_objext \
11857 conftest
$ac_exeext conftest.
$ac_ext
11858 LIBS
=$ac_check_lib_save_LIBS
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11861 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11862 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11864 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11867 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11871 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11875 CPPFLAGS
=$ac_save_CPPFLAGS
11876 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11877 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11880 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11881 case "x$with_gphoto" in
11882 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11884 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11885 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11888 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11889 case "x$with_gphoto" in
11890 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11892 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11893 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11898 if test "$ac_cv_header_resolv_h" = "yes"
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11901 $as_echo_n "checking for resolver library... " >&6; }
11902 if ${ac_cv_have_resolv+:} false
; then :
11903 $as_echo_n "(cached) " >&6
11905 ac_save_LIBS
="$LIBS"
11906 for lib
in '' -lresolv
11908 LIBS
="$lib $ac_save_LIBS"
11909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h. */
11911 #ifdef HAVE_NETINET_IN_H
11912 #include <netinet/in.h>
11914 #include <resolv.h>
11918 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11923 if ac_fn_c_try_link
"$LINENO"; then :
11924 ac_cv_have_resolv
=${lib:-"none required"}
11926 ac_cv_have_resolv
="not found"
11928 rm -f core conftest.err conftest.
$ac_objext \
11929 conftest
$ac_exeext conftest.
$ac_ext
11930 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11932 LIBS
="$ac_save_LIBS"
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11935 $as_echo "$ac_cv_have_resolv" >&6; }
11937 case "$ac_cv_have_resolv" in
11941 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11944 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11946 RESOLV_LIBS
=$ac_cv_have_resolv
11951 if test "x$with_cms" != "xno"
11953 if ${LCMS2_CFLAGS:+false} :; then :
11954 if ${PKG_CONFIG+:} false
; then :
11955 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11959 if ${LCMS2_LIBS:+false} :; then :
11960 if ${PKG_CONFIG+:} false
; then :
11961 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11965 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11966 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11967 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11968 ac_save_CPPFLAGS
=$CPPFLAGS
11969 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11970 for ac_header
in lcms2.h
11972 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11973 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11974 cat >>confdefs.h
<<_ACEOF
11975 #define HAVE_LCMS2_H 1
11982 if test "$ac_cv_header_lcms2_h" = "yes"
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11985 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11986 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11987 $as_echo_n "(cached) " >&6
11989 ac_check_lib_save_LIBS
=$LIBS
11990 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11992 /* end confdefs.h. */
11994 /* Override any GCC internal prototype to avoid an error.
11995 Use char because int might match the return type of a GCC
11996 builtin and then its argument prototype would still apply. */
12000 char cmsOpenProfileFromFile ();
12004 return cmsOpenProfileFromFile ();
12009 if ac_fn_c_try_link
"$LINENO"; then :
12010 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12012 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12014 rm -f core conftest.err conftest.
$ac_objext \
12015 conftest
$ac_exeext conftest.
$ac_ext
12016 LIBS
=$ac_check_lib_save_LIBS
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12019 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12020 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12022 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12032 CPPFLAGS
=$ac_save_CPPFLAGS
12033 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12034 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12037 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12038 case "x$with_cms" in
12039 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12041 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12042 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12046 if test "x$with_freetype" != "xno"
12048 if ${FREETYPE_CFLAGS:+false} :; then :
12049 if ${PKG_CONFIG+:} false
; then :
12050 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12053 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12054 if ${FREETYPE_LIBS:+false} :; then :
12055 if ${PKG_CONFIG+:} false
; then :
12056 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12059 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12060 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12061 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12062 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12063 ac_save_CPPFLAGS
=$CPPFLAGS
12064 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12065 for ac_header
in ft2build.h
12067 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12068 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12069 cat >>confdefs.h
<<_ACEOF
12070 #define HAVE_FT2BUILD_H 1
12077 if test "$ac_cv_header_ft2build_h" = "yes"
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12080 $as_echo_n "checking for -lfreetype... " >&6; }
12081 if ${ac_cv_lib_soname_freetype+:} false
; then :
12082 $as_echo_n "(cached) " >&6
12084 ac_check_soname_save_LIBS
=$LIBS
12085 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12089 /* Override any GCC internal prototype to avoid an error.
12090 Use char because int might match the return type of a GCC
12091 builtin and then its argument prototype would still apply. */
12095 char FT_Init_FreeType ();
12099 return FT_Init_FreeType ();
12104 if ac_fn_c_try_link
"$LINENO"; then :
12106 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12107 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'` ;;
12108 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12109 if ${ac_cv_lib_soname_freetype:+false} :; then :
12110 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12114 rm -f core conftest.err conftest.
$ac_objext \
12115 conftest
$ac_exeext conftest.
$ac_ext
12116 LIBS
=$ac_check_soname_save_LIBS
12118 if ${ac_cv_lib_soname_freetype:+false} :; then :
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12120 $as_echo "not found" >&6; }
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12124 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12126 cat >>confdefs.h
<<_ACEOF
12127 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12131 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12133 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12134 #include FT_MODULE_H
12136 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12138 cat >>confdefs.h
<<_ACEOF
12139 #define HAVE_FT_TRUETYPEENGINETYPE 1
12150 CPPFLAGS
=$ac_save_CPPFLAGS
12151 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12152 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12155 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12156 case "x$with_freetype" in
12158 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12159 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12162 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12165 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12166 if ${ac_cv_c_ppdev+:} false
; then :
12167 $as_echo_n "(cached) " >&6
12169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12171 #ifdef HAVE_SYS_IOCTL_H
12172 # include <sys/ioctl.h>
12174 #include <linux/ppdev.h>
12178 ioctl (1,PPCLAIM,0)
12183 if ac_fn_c_try_compile
"$LINENO"; then :
12184 ac_cv_c_ppdev
="yes"
12188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12191 $as_echo "$ac_cv_c_ppdev" >&6; }
12192 if test "$ac_cv_c_ppdev" = "yes"
12195 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12199 ac_wine_check_funcs_save_LIBS
="$LIBS"
12200 LIBS
="$LIBS $PTHREAD_LIBS"
12202 pthread_attr_get_np \
12203 pthread_getattr_np \
12204 pthread_getthreadid_np \
12205 pthread_get_stackaddr_np \
12206 pthread_get_stacksize_np
12208 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12209 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12210 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12211 cat >>confdefs.h
<<_ACEOF
12212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12218 LIBS
="$ac_wine_check_funcs_save_LIBS"
12220 if test "$ac_cv_header_zlib_h" = "yes"
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12223 $as_echo_n "checking for inflate in -lz... " >&6; }
12224 if ${ac_cv_lib_z_inflate+:} false
; then :
12225 $as_echo_n "(cached) " >&6
12227 ac_check_lib_save_LIBS
=$LIBS
12229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12230 /* end confdefs.h. */
12232 /* Override any GCC internal prototype to avoid an error.
12233 Use char because int might match the return type of a GCC
12234 builtin and then its argument prototype would still apply. */
12247 if ac_fn_c_try_link
"$LINENO"; then :
12248 ac_cv_lib_z_inflate
=yes
12250 ac_cv_lib_z_inflate
=no
12252 rm -f core conftest.err conftest.
$ac_objext \
12253 conftest
$ac_exeext conftest.
$ac_ext
12254 LIBS
=$ac_check_lib_save_LIBS
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12257 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12258 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12260 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12267 if test "x$Z_LIBS" = "x"; then :
12268 case "x$with_zlib" in
12269 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12271 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12272 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12276 if test "x$enable_tools" != xno
12278 if test "$ac_cv_header_gettext_po_h" = "yes"
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12281 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12282 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12283 $as_echo_n "(cached) " >&6
12285 ac_check_lib_save_LIBS
=$LIBS
12286 LIBS
="-lgettextpo $LIBS"
12287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12288 /* end confdefs.h. */
12290 /* Override any GCC internal prototype to avoid an error.
12291 Use char because int might match the return type of a GCC
12292 builtin and then its argument prototype would still apply. */
12296 char po_message_msgctxt ();
12300 return po_message_msgctxt ();
12305 if ac_fn_c_try_link
"$LINENO"; then :
12306 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12308 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12310 rm -f core conftest.err conftest.
$ac_objext \
12311 conftest
$ac_exeext conftest.
$ac_ext
12312 LIBS
=$ac_check_lib_save_LIBS
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12315 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12316 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12318 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12320 GETTEXTPO_LIBS
="-lgettextpo"
12325 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12326 case "x$with_gettextpo" in
12327 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12329 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12330 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12335 if test "x$with_gstreamer" != "xno"
12337 if ${GSTREAMER_CFLAGS:+false} :; then :
12338 if ${PKG_CONFIG+:} false
; then :
12339 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12343 if ${GSTREAMER_LIBS:+false} :; then :
12344 if ${PKG_CONFIG+:} false
; then :
12345 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12350 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12351 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12352 ac_save_CPPFLAGS
=$CPPFLAGS
12353 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12355 for i
in $GSTREAMER_CFLAGS
12358 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12361 GSTREAMER_CFLAGS
=$ac_gst_incl
12362 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12363 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12364 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12365 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12366 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12368 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h. */
12371 #include <gst/app/gstappsink.h>
12375 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12380 if ac_fn_c_try_compile
"$LINENO"; then :
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12382 $as_echo "yes" >&6; }
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12384 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12385 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12386 $as_echo_n "(cached) " >&6
12388 ac_check_lib_save_LIBS
=$LIBS
12389 LIBS
="-lgstreamer-0.10 $LIBS"
12390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12391 /* end confdefs.h. */
12393 /* Override any GCC internal prototype to avoid an error.
12394 Use char because int might match the return type of a GCC
12395 builtin and then its argument prototype would still apply. */
12399 char gst_pad_get_caps_reffed ();
12403 return gst_pad_get_caps_reffed ();
12408 if ac_fn_c_try_link
"$LINENO"; then :
12409 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12411 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12413 rm -f core conftest.err conftest.
$ac_objext \
12414 conftest
$ac_exeext conftest.
$ac_ext
12415 LIBS
=$ac_check_lib_save_LIBS
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12418 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12419 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12421 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12422 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12423 $as_echo_n "(cached) " >&6
12425 ac_check_lib_save_LIBS
=$LIBS
12426 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12428 /* end confdefs.h. */
12430 /* Override any GCC internal prototype to avoid an error.
12431 Use char because int might match the return type of a GCC
12432 builtin and then its argument prototype would still apply. */
12436 char gst_app_buffer_new ();
12440 return gst_app_buffer_new ();
12445 if ac_fn_c_try_link
"$LINENO"; then :
12446 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12448 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12450 rm -f core conftest.err conftest.
$ac_objext \
12451 conftest
$ac_exeext conftest.
$ac_ext
12452 LIBS
=$ac_check_lib_save_LIBS
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12455 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12456 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12464 $as_echo "no" >&6; }
12466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12471 GSTREAMER_CFLAGS
=""
12475 CPPFLAGS
=$ac_save_CPPFLAGS
12476 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12477 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12480 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12481 case "x$with_gstreamer" in
12482 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12484 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12485 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12488 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12492 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12495 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12496 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12497 $as_echo_n "(cached) " >&6
12499 ac_check_lib_save_LIBS
=$LIBS
12500 LIBS
="-lasound $LIBS"
12501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12504 /* Override any GCC internal prototype to avoid an error.
12505 Use char because int might match the return type of a GCC
12506 builtin and then its argument prototype would still apply. */
12510 char snd_pcm_hw_params_get_access_mask ();
12514 return snd_pcm_hw_params_get_access_mask ();
12519 if ac_fn_c_try_link
"$LINENO"; then :
12520 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12522 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12524 rm -f core conftest.err conftest.
$ac_objext \
12525 conftest
$ac_exeext conftest.
$ac_ext
12526 LIBS
=$ac_check_lib_save_LIBS
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12529 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12530 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h. */
12533 #ifdef HAVE_ALSA_ASOUNDLIB_H
12534 #include <alsa/asoundlib.h>
12535 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12536 #include <sys/asoundlib.h>
12541 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12546 if ac_fn_c_try_compile
"$LINENO"; then :
12547 ALSA_LIBS
="-lasound"
12549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12554 if test "x$with_oss" != xno
12556 ac_save_CPPFLAGS
="$CPPFLAGS"
12557 if test -f /etc
/oss.conf
12561 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12562 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12563 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12564 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12565 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12567 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12569 cat >>confdefs.h
<<_ACEOF
12570 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12573 OSS4_CFLAGS
="$ac_oss_incl"
12580 CPPFLAGS
="$ac_save_CPPFLAGS"
12581 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12583 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12587 if test "x$with_capi" != "xno"
12589 if ${CAPI20_CFLAGS:+false} :; then :
12590 if ${PKG_CONFIG+:} false
; then :
12591 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12595 if ${CAPI20_LIBS:+false} :; then :
12596 if ${PKG_CONFIG+:} false
; then :
12597 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12602 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12603 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12604 ac_save_CPPFLAGS
=$CPPFLAGS
12605 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12606 for ac_header
in capi20.h linux
/capi.h
12608 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12609 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12611 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12612 cat >>confdefs.h
<<_ACEOF
12613 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12620 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12623 $as_echo_n "checking for -lcapi20... " >&6; }
12624 if ${ac_cv_lib_soname_capi20+:} false
; then :
12625 $as_echo_n "(cached) " >&6
12627 ac_check_soname_save_LIBS
=$LIBS
12628 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12630 /* end confdefs.h. */
12632 /* Override any GCC internal prototype to avoid an error.
12633 Use char because int might match the return type of a GCC
12634 builtin and then its argument prototype would still apply. */
12638 char capi20_register ();
12642 return capi20_register ();
12647 if ac_fn_c_try_link
"$LINENO"; then :
12649 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12650 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'` ;;
12651 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12652 if ${ac_cv_lib_soname_capi20:+false} :; then :
12653 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12657 rm -f core conftest.err conftest.
$ac_objext \
12658 conftest
$ac_exeext conftest.
$ac_ext
12659 LIBS
=$ac_check_soname_save_LIBS
12661 if ${ac_cv_lib_soname_capi20:+false} :; then :
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12663 $as_echo "not found" >&6; }
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12667 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12669 cat >>confdefs.h
<<_ACEOF
12670 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12676 CPPFLAGS
=$ac_save_CPPFLAGS
12677 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12678 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12681 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12682 case "x$with_capi" in
12683 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12685 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12686 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12692 if test "x$with_cups" != "xno"
12694 ac_save_CPPFLAGS
="$CPPFLAGS"
12695 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12696 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12697 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12698 for ac_header
in cups
/cups.h
12700 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12701 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12702 cat >>confdefs.h
<<_ACEOF
12703 #define HAVE_CUPS_CUPS_H 1
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12706 $as_echo_n "checking for -lcups... " >&6; }
12707 if ${ac_cv_lib_soname_cups+:} false
; then :
12708 $as_echo_n "(cached) " >&6
12710 ac_check_soname_save_LIBS
=$LIBS
12711 LIBS
="-lcups $ac_cups_libs $LIBS"
12712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12713 /* end confdefs.h. */
12715 /* Override any GCC internal prototype to avoid an error.
12716 Use char because int might match the return type of a GCC
12717 builtin and then its argument prototype would still apply. */
12721 char cupsGetDefault ();
12725 return cupsGetDefault ();
12730 if ac_fn_c_try_link
"$LINENO"; then :
12732 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12733 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'` ;;
12734 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12735 if ${ac_cv_lib_soname_cups:+false} :; then :
12736 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12740 rm -f core conftest.err conftest.
$ac_objext \
12741 conftest
$ac_exeext conftest.
$ac_ext
12742 LIBS
=$ac_check_soname_save_LIBS
12744 if ${ac_cv_lib_soname_cups:+false} :; then :
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12746 $as_echo "not found" >&6; }
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12750 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12752 cat >>confdefs.h
<<_ACEOF
12753 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12756 CUPS_CFLAGS
="$ac_cups_cflags"
12762 CPPFLAGS
="$ac_save_CPPFLAGS"
12764 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12765 case "x$with_cups" in
12766 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12768 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12769 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12773 if test "x$with_fontconfig" != "xno"
12775 if ${FONTCONFIG_CFLAGS:+false} :; then :
12776 if ${PKG_CONFIG+:} false
; then :
12777 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12780 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12781 if ${FONTCONFIG_LIBS:+false} :; then :
12782 if ${PKG_CONFIG+:} false
; then :
12783 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12786 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12788 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12789 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12790 ac_save_CPPFLAGS
=$CPPFLAGS
12791 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12792 for ac_header
in fontconfig
/fontconfig.h
12794 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12795 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12796 cat >>confdefs.h
<<_ACEOF
12797 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12804 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12807 $as_echo_n "checking for -lfontconfig... " >&6; }
12808 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12809 $as_echo_n "(cached) " >&6
12811 ac_check_soname_save_LIBS
=$LIBS
12812 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12816 /* Override any GCC internal prototype to avoid an error.
12817 Use char because int might match the return type of a GCC
12818 builtin and then its argument prototype would still apply. */
12831 if ac_fn_c_try_link
"$LINENO"; then :
12833 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12834 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'` ;;
12835 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12836 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12837 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12841 rm -f core conftest.err conftest.
$ac_objext \
12842 conftest
$ac_exeext conftest.
$ac_ext
12843 LIBS
=$ac_check_soname_save_LIBS
12845 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12847 $as_echo "not found" >&6; }
12848 FONTCONFIG_CFLAGS
=""
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12851 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12853 cat >>confdefs.h
<<_ACEOF
12854 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12860 FONTCONFIG_CFLAGS
=""
12862 CPPFLAGS
=$ac_save_CPPFLAGS
12863 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12864 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12867 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12868 case "x$with_fontconfig" in
12869 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12871 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12872 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12876 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12879 $as_echo_n "checking for -lgsm... " >&6; }
12880 if ${ac_cv_lib_soname_gsm+:} false
; then :
12881 $as_echo_n "(cached) " >&6
12883 ac_check_soname_save_LIBS
=$LIBS
12885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12886 /* end confdefs.h. */
12888 /* Override any GCC internal prototype to avoid an error.
12889 Use char because int might match the return type of a GCC
12890 builtin and then its argument prototype would still apply. */
12894 char gsm_create ();
12898 return gsm_create ();
12903 if ac_fn_c_try_link
"$LINENO"; then :
12905 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12906 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'` ;;
12907 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12908 if ${ac_cv_lib_soname_gsm:+false} :; then :
12909 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12913 rm -f core conftest.err conftest.
$ac_objext \
12914 conftest
$ac_exeext conftest.
$ac_ext
12915 LIBS
=$ac_check_soname_save_LIBS
12917 if ${ac_cv_lib_soname_gsm:+false} :; then :
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12919 $as_echo "not found" >&6; }
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12923 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12925 cat >>confdefs.h
<<_ACEOF
12926 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12932 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12933 case "x$with_gsm" in
12934 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12936 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12937 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12941 if test "x$with_jpeg" != "xno"
12943 if ${JPEG_CFLAGS:+false} :; then :
12944 if ${PKG_CONFIG+:} false
; then :
12945 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12949 if ${JPEG_LIBS:+false} :; then :
12950 if ${PKG_CONFIG+:} false
; then :
12951 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12956 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12957 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12958 ac_save_CPPFLAGS
=$CPPFLAGS
12959 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12960 for ac_header
in jpeglib.h
12962 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12963 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12964 cat >>confdefs.h
<<_ACEOF
12965 #define HAVE_JPEGLIB_H 1
12972 if test "$ac_cv_header_jpeglib_h" = "yes"
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12975 $as_echo_n "checking for -ljpeg... " >&6; }
12976 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12977 $as_echo_n "(cached) " >&6
12979 ac_check_soname_save_LIBS
=$LIBS
12980 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12984 /* Override any GCC internal prototype to avoid an error.
12985 Use char because int might match the return type of a GCC
12986 builtin and then its argument prototype would still apply. */
12990 char jpeg_start_decompress ();
12994 return jpeg_start_decompress ();
12999 if ac_fn_c_try_link
"$LINENO"; then :
13001 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13002 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'` ;;
13003 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13004 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13005 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13009 rm -f core conftest.err conftest.
$ac_objext \
13010 conftest
$ac_exeext conftest.
$ac_ext
13011 LIBS
=$ac_check_soname_save_LIBS
13013 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13015 $as_echo "not found" >&6; }
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13019 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13021 cat >>confdefs.h
<<_ACEOF
13022 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13030 CPPFLAGS
=$ac_save_CPPFLAGS
13031 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13032 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13035 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13036 case "x$with_jpeg" in
13037 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13039 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13040 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13044 if test "x$with_png" != "xno"
13046 if ${PNG_CFLAGS:+false} :; then :
13047 if ${PKG_CONFIG+:} false
; then :
13048 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13051 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13052 if ${PNG_LIBS:+false} :; then :
13053 if ${PKG_CONFIG+:} false
; then :
13054 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13057 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13059 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13060 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13061 ac_save_CPPFLAGS
=$CPPFLAGS
13062 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13063 for ac_header
in png.h
13065 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13066 if test "x$ac_cv_header_png_h" = xyes
; then :
13067 cat >>confdefs.h
<<_ACEOF
13068 #define HAVE_PNG_H 1
13075 if test "$ac_cv_header_png_h" = "yes"
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13078 $as_echo_n "checking for -lpng... " >&6; }
13079 if ${ac_cv_lib_soname_png+:} false
; then :
13080 $as_echo_n "(cached) " >&6
13082 ac_check_soname_save_LIBS
=$LIBS
13083 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13085 /* end confdefs.h. */
13087 /* Override any GCC internal prototype to avoid an error.
13088 Use char because int might match the return type of a GCC
13089 builtin and then its argument prototype would still apply. */
13093 char png_create_read_struct ();
13097 return png_create_read_struct ();
13102 if ac_fn_c_try_link
"$LINENO"; then :
13104 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13105 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'` ;;
13106 *) 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'`
13107 if ${ac_cv_lib_soname_png:+false} :; then :
13108 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13112 rm -f core conftest.err conftest.
$ac_objext \
13113 conftest
$ac_exeext conftest.
$ac_ext
13114 LIBS
=$ac_check_soname_save_LIBS
13116 if ${ac_cv_lib_soname_png:+false} :; then :
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13118 $as_echo "not found" >&6; }
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13122 $as_echo "$ac_cv_lib_soname_png" >&6; }
13124 cat >>confdefs.h
<<_ACEOF
13125 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13134 typeof(png_set_expand_gray_1_2_4_to_8) *p
13139 if ac_fn_c_try_compile
"$LINENO"; then :
13141 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13149 CPPFLAGS
=$ac_save_CPPFLAGS
13150 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13151 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13154 if test "x$ac_cv_lib_soname_png" = "x"; then :
13155 case "x$with_png" in
13156 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13158 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13159 This is an error since --with-png was requested." "$LINENO" 5 ;;
13163 if test "x$with_tiff" != "xno"
13165 if ${TIFF_CFLAGS:+false} :; then :
13166 if ${PKG_CONFIG+:} false
; then :
13167 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13171 if ${TIFF_LIBS:+false} :; then :
13172 if ${PKG_CONFIG+:} false
; then :
13173 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13178 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13179 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13180 ac_save_CPPFLAGS
=$CPPFLAGS
13181 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13182 for ac_header
in tiffio.h
13184 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13185 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13186 cat >>confdefs.h
<<_ACEOF
13187 #define HAVE_TIFFIO_H 1
13194 if test "$ac_cv_header_tiffio_h" = "yes"
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13197 $as_echo_n "checking for -ltiff... " >&6; }
13198 if ${ac_cv_lib_soname_tiff+:} false
; then :
13199 $as_echo_n "(cached) " >&6
13201 ac_check_soname_save_LIBS
=$LIBS
13202 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13204 /* end confdefs.h. */
13206 /* Override any GCC internal prototype to avoid an error.
13207 Use char because int might match the return type of a GCC
13208 builtin and then its argument prototype would still apply. */
13212 char TIFFClientOpen ();
13216 return TIFFClientOpen ();
13221 if ac_fn_c_try_link
"$LINENO"; then :
13223 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13224 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'` ;;
13225 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13226 if ${ac_cv_lib_soname_tiff:+false} :; then :
13227 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13231 rm -f core conftest.err conftest.
$ac_objext \
13232 conftest
$ac_exeext conftest.
$ac_ext
13233 LIBS
=$ac_check_soname_save_LIBS
13235 if ${ac_cv_lib_soname_tiff:+false} :; then :
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13237 $as_echo "not found" >&6; }
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13241 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13243 cat >>confdefs.h
<<_ACEOF
13244 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13250 CPPFLAGS
=$ac_save_CPPFLAGS
13251 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13252 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13255 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13256 case "x$with_tiff" in
13257 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13259 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13260 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13264 if test "x$with_mpg123" != "xno"
13266 if ${MPG123_CFLAGS:+false} :; then :
13267 if ${PKG_CONFIG+:} false
; then :
13268 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13272 if ${MPG123_LIBS:+false} :; then :
13273 if ${PKG_CONFIG+:} false
; then :
13274 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13278 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13279 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13280 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13281 ac_save_CPPFLAGS
=$CPPFLAGS
13282 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13283 for ac_header
in mpg123.h
13285 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13286 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13287 cat >>confdefs.h
<<_ACEOF
13288 #define HAVE_MPG123_H 1
13295 if test "$ac_cv_header_mpg123_h" = "yes"
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13298 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13299 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13300 $as_echo_n "(cached) " >&6
13302 ac_check_lib_save_LIBS
=$LIBS
13303 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13305 /* end confdefs.h. */
13307 /* Override any GCC internal prototype to avoid an error.
13308 Use char because int might match the return type of a GCC
13309 builtin and then its argument prototype would still apply. */
13313 char mpg123_feed ();
13317 return mpg123_feed ();
13322 if ac_fn_c_try_link
"$LINENO"; then :
13323 ac_cv_lib_mpg123_mpg123_feed
=yes
13325 ac_cv_lib_mpg123_mpg123_feed
=no
13327 rm -f core conftest.err conftest.
$ac_objext \
13328 conftest
$ac_exeext conftest.
$ac_ext
13329 LIBS
=$ac_check_lib_save_LIBS
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13332 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13333 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13343 CPPFLAGS
=$ac_save_CPPFLAGS
13344 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13345 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13348 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13349 case "x$with_mpg123" in
13350 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13352 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13353 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13356 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}
13358 if test "$ac_cv_header_AL_al_h" = "yes"
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13361 $as_echo_n "checking for -lopenal... " >&6; }
13362 if ${ac_cv_lib_soname_openal+:} false
; then :
13363 $as_echo_n "(cached) " >&6
13365 ac_check_soname_save_LIBS
=$LIBS
13366 LIBS
="-lopenal $LIBS"
13367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13368 /* end confdefs.h. */
13370 /* Override any GCC internal prototype to avoid an error.
13371 Use char because int might match the return type of a GCC
13372 builtin and then its argument prototype would still apply. */
13376 char alGetSource3i ();
13380 return alGetSource3i ();
13385 if ac_fn_c_try_link
"$LINENO"; then :
13387 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13388 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'` ;;
13389 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13390 if ${ac_cv_lib_soname_openal:+false} :; then :
13391 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13395 rm -f core conftest.err conftest.
$ac_objext \
13396 conftest
$ac_exeext conftest.
$ac_ext
13397 LIBS
=$ac_check_soname_save_LIBS
13399 if ${ac_cv_lib_soname_openal:+false} :; then :
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13401 $as_echo "not found" >&6; }
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13405 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13407 cat >>confdefs.h
<<_ACEOF
13408 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13411 OPENAL_LIBS
="-lopenal"
13413 ac_cv_lib_openal
=yes
13415 cat >>confdefs.h
<<_ACEOF
13416 #define HAVE_OPENAL 1
13421 if test "x$ac_cv_lib_openal" != xyes
; then :
13422 case "x$with_openal" in
13423 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13425 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13426 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13429 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13431 if test "$ac_cv_header_kstat_h" = "yes"
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13434 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13435 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13436 $as_echo_n "(cached) " >&6
13438 ac_check_lib_save_LIBS
=$LIBS
13439 LIBS
="-lkstat $LIBS"
13440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13441 /* end confdefs.h. */
13443 /* Override any GCC internal prototype to avoid an error.
13444 Use char because int might match the return type of a GCC
13445 builtin and then its argument prototype would still apply. */
13449 char kstat_open ();
13453 return kstat_open ();
13458 if ac_fn_c_try_link
"$LINENO"; then :
13459 ac_cv_lib_kstat_kstat_open
=yes
13461 ac_cv_lib_kstat_kstat_open
=no
13463 rm -f core conftest.err conftest.
$ac_objext \
13464 conftest
$ac_exeext conftest.
$ac_ext
13465 LIBS
=$ac_check_lib_save_LIBS
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13468 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13469 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13471 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13473 KSTAT_LIBS
="-lkstat"
13479 if test "$ac_cv_header_libprocstat_h" = "yes"
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13482 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13483 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13484 $as_echo_n "(cached) " >&6
13486 ac_check_lib_save_LIBS
=$LIBS
13487 LIBS
="-lprocstat $LIBS"
13488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13491 /* Override any GCC internal prototype to avoid an error.
13492 Use char because int might match the return type of a GCC
13493 builtin and then its argument prototype would still apply. */
13497 char procstat_open_sysctl ();
13501 return procstat_open_sysctl ();
13506 if ac_fn_c_try_link
"$LINENO"; then :
13507 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13509 ac_cv_lib_procstat_procstat_open_sysctl
=no
13511 rm -f core conftest.err conftest.
$ac_objext \
13512 conftest
$ac_exeext conftest.
$ac_ext
13513 LIBS
=$ac_check_lib_save_LIBS
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13516 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13517 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13519 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13521 PROCSTAT_LIBS
="-lprocstat"
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13528 $as_echo_n "checking for -lodbc... " >&6; }
13529 if ${ac_cv_lib_soname_odbc+:} false
; then :
13530 $as_echo_n "(cached) " >&6
13532 ac_check_soname_save_LIBS
=$LIBS
13533 LIBS
="-lodbc $LIBS"
13534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13537 /* Override any GCC internal prototype to avoid an error.
13538 Use char because int might match the return type of a GCC
13539 builtin and then its argument prototype would still apply. */
13543 char SQLConnect ();
13547 return SQLConnect ();
13552 if ac_fn_c_try_link
"$LINENO"; then :
13554 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13555 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'` ;;
13556 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13557 if ${ac_cv_lib_soname_odbc:+false} :; then :
13558 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13562 rm -f core conftest.err conftest.
$ac_objext \
13563 conftest
$ac_exeext conftest.
$ac_ext
13564 LIBS
=$ac_check_soname_save_LIBS
13566 if ${ac_cv_lib_soname_odbc:+false} :; then :
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13568 $as_echo "not found" >&6; }
13569 cat >>confdefs.h
<<_ACEOF
13570 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13575 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13577 cat >>confdefs.h
<<_ACEOF
13578 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13584 if test "x$with_netapi" != "xno"
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13587 $as_echo_n "checking for -lnetapi... " >&6; }
13588 if ${ac_cv_lib_soname_netapi+:} false
; then :
13589 $as_echo_n "(cached) " >&6
13591 ac_check_soname_save_LIBS
=$LIBS
13592 LIBS
="-lnetapi $LIBS"
13593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13594 /* end confdefs.h. */
13596 /* Override any GCC internal prototype to avoid an error.
13597 Use char because int might match the return type of a GCC
13598 builtin and then its argument prototype would still apply. */
13602 char libnetapi_init ();
13606 return libnetapi_init ();
13611 if ac_fn_c_try_link
"$LINENO"; then :
13613 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13614 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'` ;;
13615 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13616 if ${ac_cv_lib_soname_netapi:+false} :; then :
13617 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13621 rm -f core conftest.err conftest.
$ac_objext \
13622 conftest
$ac_exeext conftest.
$ac_ext
13623 LIBS
=$ac_check_soname_save_LIBS
13625 if ${ac_cv_lib_soname_netapi:+false} :; then :
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13627 $as_echo "not found" >&6; }
13628 cat >>confdefs.h
<<_ACEOF
13629 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13634 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13636 cat >>confdefs.h
<<_ACEOF
13637 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13644 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13645 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13646 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13647 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13649 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13650 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13651 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13653 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13659 if test "x${GCC}" = "xyes"
13661 EXTRACFLAGS
="-Wall -pipe"
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13664 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13665 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13666 $as_echo_n "(cached) " >&6
13668 if test "$cross_compiling" = yes; then :
13669 ac_cv_c_gcc_strength_bug
="yes"
13671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13673 int L[4] = {0,1,2,3};
13677 static int Array[3];
13678 unsigned int B = 3;
13680 for(i=0; i<B; i++) Array[i] = i - 3;
13681 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13683 return (Array[1] != -2 || L[2] != 3)
13688 if ac_fn_c_try_run
"$LINENO"; then :
13689 ac_cv_c_gcc_strength_bug
="no"
13691 ac_cv_c_gcc_strength_bug
="yes"
13693 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13694 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13699 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13700 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13702 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13706 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13707 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13708 $as_echo_n "(cached) " >&6
13710 ac_wine_try_cflags_saved
=$CFLAGS
13711 CFLAGS
="$CFLAGS -fno-builtin"
13712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13713 /* end confdefs.h. */
13714 int main(int argc, char **argv) { return 0; }
13716 if ac_fn_c_try_link
"$LINENO"; then :
13717 ac_cv_cflags__fno_builtin
=yes
13719 ac_cv_cflags__fno_builtin
=no
13721 rm -f core conftest.err conftest.
$ac_objext \
13722 conftest
$ac_exeext conftest.
$ac_ext
13723 CFLAGS
=$ac_wine_try_cflags_saved
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13726 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13727 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13728 BUILTINFLAG
="-fno-builtin"
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13732 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13733 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13734 $as_echo_n "(cached) " >&6
13736 ac_wine_try_cflags_saved
=$CFLAGS
13737 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13739 /* end confdefs.h. */
13740 int main(int argc, char **argv) { return 0; }
13742 if ac_fn_c_try_link
"$LINENO"; then :
13743 ac_cv_cflags__fno_strict_aliasing
=yes
13745 ac_cv_cflags__fno_strict_aliasing
=no
13747 rm -f core conftest.err conftest.
$ac_objext \
13748 conftest
$ac_exeext conftest.
$ac_ext
13749 CFLAGS
=$ac_wine_try_cflags_saved
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13752 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13753 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13754 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13756 saved_CFLAGS
=$CFLAGS
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13758 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13759 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13760 $as_echo_n "(cached) " >&6
13762 ac_wine_try_cflags_saved
=$CFLAGS
13763 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13765 /* end confdefs.h. */
13766 int main(int argc, char **argv) { return 0; }
13768 if ac_fn_c_try_link
"$LINENO"; then :
13769 ac_cv_cflags__Werror_unknown_warning_option
=yes
13771 ac_cv_cflags__Werror_unknown_warning_option
=no
13773 rm -f core conftest.err conftest.
$ac_objext \
13774 conftest
$ac_exeext conftest.
$ac_ext
13775 CFLAGS
=$ac_wine_try_cflags_saved
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13778 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13779 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13780 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13783 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13784 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13785 $as_echo_n "(cached) " >&6
13787 ac_wine_try_cflags_saved
=$CFLAGS
13788 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13790 /* end confdefs.h. */
13791 int main(int argc, char **argv) { return 0; }
13793 if ac_fn_c_try_link
"$LINENO"; then :
13794 ac_cv_cflags__Wdeclaration_after_statement
=yes
13796 ac_cv_cflags__Wdeclaration_after_statement
=no
13798 rm -f core conftest.err conftest.
$ac_objext \
13799 conftest
$ac_exeext conftest.
$ac_ext
13800 CFLAGS
=$ac_wine_try_cflags_saved
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13803 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13804 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13805 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13808 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13809 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13810 $as_echo_n "(cached) " >&6
13812 ac_wine_try_cflags_saved
=$CFLAGS
13813 CFLAGS
="$CFLAGS -Wempty-body"
13814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13815 /* end confdefs.h. */
13816 int main(int argc, char **argv) { return 0; }
13818 if ac_fn_c_try_link
"$LINENO"; then :
13819 ac_cv_cflags__Wempty_body
=yes
13821 ac_cv_cflags__Wempty_body
=no
13823 rm -f core conftest.err conftest.
$ac_objext \
13824 conftest
$ac_exeext conftest.
$ac_ext
13825 CFLAGS
=$ac_wine_try_cflags_saved
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13828 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13829 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13830 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13833 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13834 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13835 $as_echo_n "(cached) " >&6
13837 ac_wine_try_cflags_saved
=$CFLAGS
13838 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13841 int main(int argc, char **argv) { return 0; }
13843 if ac_fn_c_try_link
"$LINENO"; then :
13844 ac_cv_cflags__Wignored_qualifiers
=yes
13846 ac_cv_cflags__Wignored_qualifiers
=no
13848 rm -f core conftest.err conftest.
$ac_objext \
13849 conftest
$ac_exeext conftest.
$ac_ext
13850 CFLAGS
=$ac_wine_try_cflags_saved
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13853 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13854 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13855 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13858 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13859 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13860 $as_echo_n "(cached) " >&6
13862 ac_wine_try_cflags_saved
=$CFLAGS
13863 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13865 /* end confdefs.h. */
13866 int main(int argc, char **argv) { return 0; }
13868 if ac_fn_c_try_link
"$LINENO"; then :
13869 ac_cv_cflags__Wstrict_prototypes
=yes
13871 ac_cv_cflags__Wstrict_prototypes
=no
13873 rm -f core conftest.err conftest.
$ac_objext \
13874 conftest
$ac_exeext conftest.
$ac_ext
13875 CFLAGS
=$ac_wine_try_cflags_saved
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13878 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13879 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13880 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13883 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13884 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13885 $as_echo_n "(cached) " >&6
13887 ac_wine_try_cflags_saved
=$CFLAGS
13888 CFLAGS
="$CFLAGS -Wtype-limits"
13889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13890 /* end confdefs.h. */
13891 int main(int argc, char **argv) { return 0; }
13893 if ac_fn_c_try_link
"$LINENO"; then :
13894 ac_cv_cflags__Wtype_limits
=yes
13896 ac_cv_cflags__Wtype_limits
=no
13898 rm -f core conftest.err conftest.
$ac_objext \
13899 conftest
$ac_exeext conftest.
$ac_ext
13900 CFLAGS
=$ac_wine_try_cflags_saved
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13903 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13904 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13905 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13908 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13909 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13910 $as_echo_n "(cached) " >&6
13912 ac_wine_try_cflags_saved
=$CFLAGS
13913 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13916 int main(int argc, char **argv) { return 0; }
13918 if ac_fn_c_try_link
"$LINENO"; then :
13919 ac_cv_cflags__Wunused_but_set_parameter
=yes
13921 ac_cv_cflags__Wunused_but_set_parameter
=no
13923 rm -f core conftest.err conftest.
$ac_objext \
13924 conftest
$ac_exeext conftest.
$ac_ext
13925 CFLAGS
=$ac_wine_try_cflags_saved
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13928 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13929 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13930 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13933 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13934 if ${ac_cv_cflags__Wvla+:} false
; then :
13935 $as_echo_n "(cached) " >&6
13937 ac_wine_try_cflags_saved
=$CFLAGS
13938 CFLAGS
="$CFLAGS -Wvla"
13939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13940 /* end confdefs.h. */
13941 int main(int argc, char **argv) { return 0; }
13943 if ac_fn_c_try_link
"$LINENO"; then :
13944 ac_cv_cflags__Wvla
=yes
13946 ac_cv_cflags__Wvla
=no
13948 rm -f core conftest.err conftest.
$ac_objext \
13949 conftest
$ac_exeext conftest.
$ac_ext
13950 CFLAGS
=$ac_wine_try_cflags_saved
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13953 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13954 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13955 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13958 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13959 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13960 $as_echo_n "(cached) " >&6
13962 ac_wine_try_cflags_saved
=$CFLAGS
13963 CFLAGS
="$CFLAGS -Wwrite-strings"
13964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13965 /* end confdefs.h. */
13966 int main(int argc, char **argv) { return 0; }
13968 if ac_fn_c_try_link
"$LINENO"; then :
13969 ac_cv_cflags__Wwrite_strings
=yes
13971 ac_cv_cflags__Wwrite_strings
=no
13973 rm -f core conftest.err conftest.
$ac_objext \
13974 conftest
$ac_exeext conftest.
$ac_ext
13975 CFLAGS
=$ac_wine_try_cflags_saved
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13978 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13979 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13980 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13984 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13985 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13986 $as_echo_n "(cached) " >&6
13988 ac_wine_try_cflags_saved
=$CFLAGS
13989 CFLAGS
="$CFLAGS -Wpointer-arith"
13990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13991 /* end confdefs.h. */
13992 int main(int argc, char **argv) { return 0; }
13994 if ac_fn_c_try_link
"$LINENO"; then :
13995 ac_cv_cflags__Wpointer_arith
=yes
13997 ac_cv_cflags__Wpointer_arith
=no
13999 rm -f core conftest.err conftest.
$ac_objext \
14000 conftest
$ac_exeext conftest.
$ac_ext
14001 CFLAGS
=$ac_wine_try_cflags_saved
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14004 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14005 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14006 saved_string_h_CFLAGS
=$CFLAGS
14007 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14009 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14010 if ${ac_cv_c_string_h_warnings+:} false
; then :
14011 $as_echo_n "(cached) " >&6
14013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14014 /* end confdefs.h. */
14015 #include <string.h>
14024 if ac_fn_c_try_compile
"$LINENO"; then :
14025 ac_cv_c_string_h_warnings
=no
14027 ac_cv_c_string_h_warnings
=yes
14029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14032 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14033 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14034 CFLAGS
=$saved_string_h_CFLAGS
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14038 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14039 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14040 $as_echo_n "(cached) " >&6
14042 ac_wine_try_cflags_saved
=$CFLAGS
14043 CFLAGS
="$CFLAGS -Wlogical-op"
14044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14046 int main(int argc, char **argv) { return 0; }
14048 if ac_fn_c_try_link
"$LINENO"; then :
14049 ac_cv_cflags__Wlogical_op
=yes
14051 ac_cv_cflags__Wlogical_op
=no
14053 rm -f core conftest.err conftest.
$ac_objext \
14054 conftest
$ac_exeext conftest.
$ac_ext
14055 CFLAGS
=$ac_wine_try_cflags_saved
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14058 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14059 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14060 saved_string_h_CFLAGS
=$CFLAGS
14061 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14063 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14064 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14065 $as_echo_n "(cached) " >&6
14067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14069 #include <string.h>
14070 char*f(const char *h,char n) {return strchr(h,n);}
14079 if ac_fn_c_try_compile
"$LINENO"; then :
14080 ac_cv_c_logicalop_noisy
=no
14082 ac_cv_c_logicalop_noisy
=yes
14084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14087 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14088 CFLAGS
=$saved_string_h_CFLAGS
14089 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14092 CFLAGS
=$saved_CFLAGS
14094 for ac_flag
in $CFLAGS; do
14096 -g) case $host_os in
14097 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14098 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14099 if ${ac_cv_cflags__gstabsp+:} false
; then :
14100 $as_echo_n "(cached) " >&6
14102 ac_wine_try_cflags_saved
=$CFLAGS
14103 CFLAGS
="$CFLAGS -gstabs+"
14104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14105 /* end confdefs.h. */
14106 int main(int argc, char **argv) { return 0; }
14108 if ac_fn_c_try_link
"$LINENO"; then :
14109 ac_cv_cflags__gstabsp
=yes
14111 ac_cv_cflags__gstabsp
=no
14113 rm -f core conftest.err conftest.
$ac_objext \
14114 conftest
$ac_exeext conftest.
$ac_ext
14115 CFLAGS
=$ac_wine_try_cflags_saved
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14118 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14119 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14120 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14122 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14123 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14124 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14125 $as_echo_n "(cached) " >&6
14127 ac_wine_try_cflags_saved
=$CFLAGS
14128 CFLAGS
="$CFLAGS -gdwarf-2"
14129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14130 /* end confdefs.h. */
14131 int main(int argc, char **argv) { return 0; }
14133 if ac_fn_c_try_link
"$LINENO"; then :
14134 ac_cv_cflags__gdwarf_2
=yes
14136 ac_cv_cflags__gdwarf_2
=no
14138 rm -f core conftest.err conftest.
$ac_objext \
14139 conftest
$ac_exeext conftest.
$ac_ext
14140 CFLAGS
=$ac_wine_try_cflags_saved
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14143 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14144 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14145 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14148 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14149 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14150 $as_echo_n "(cached) " >&6
14152 ac_wine_try_cflags_saved
=$CFLAGS
14153 CFLAGS
="$CFLAGS -gstrict-dwarf"
14154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14156 int main(int argc, char **argv) { return 0; }
14158 if ac_fn_c_try_link
"$LINENO"; then :
14159 ac_cv_cflags__gstrict_dwarf
=yes
14161 ac_cv_cflags__gstrict_dwarf
=no
14163 rm -f core conftest.err conftest.
$ac_objext \
14164 conftest
$ac_exeext conftest.
$ac_ext
14165 CFLAGS
=$ac_wine_try_cflags_saved
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14168 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14169 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14170 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14177 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14178 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14179 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14180 $as_echo_n "(cached) " >&6
14182 ac_wine_try_cflags_saved
=$CFLAGS
14183 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14185 /* end confdefs.h. */
14186 int main(int argc, char **argv) { return 0; }
14188 if ac_fn_c_try_link
"$LINENO"; then :
14189 ac_cv_cflags__fno_omit_frame_pointer
=yes
14191 ac_cv_cflags__fno_omit_frame_pointer
=no
14193 rm -f core conftest.err conftest.
$ac_objext \
14194 conftest
$ac_exeext conftest.
$ac_ext
14195 CFLAGS
=$ac_wine_try_cflags_saved
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14198 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14199 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14200 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14205 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14206 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14207 if ${ac_cv_cflags__Wno_format+:} false
; then :
14208 $as_echo_n "(cached) " >&6
14210 ac_wine_try_cflags_saved
=$CFLAGS
14211 CFLAGS
="$CFLAGS -Wno-format"
14212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14214 int main(int argc, char **argv) { return 0; }
14216 if ac_fn_c_try_link
"$LINENO"; then :
14217 ac_cv_cflags__Wno_format
=yes
14219 ac_cv_cflags__Wno_format
=no
14221 rm -f core conftest.err conftest.
$ac_objext \
14222 conftest
$ac_exeext conftest.
$ac_ext
14223 CFLAGS
=$ac_wine_try_cflags_saved
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14226 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14227 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14228 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14232 if test "x$enable_maintainer_mode" = "xyes"
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14235 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14236 if ${ac_cv_cflags__Werror+:} false
; then :
14237 $as_echo_n "(cached) " >&6
14239 ac_wine_try_cflags_saved
=$CFLAGS
14240 CFLAGS
="$CFLAGS -Werror"
14241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14242 /* end confdefs.h. */
14243 int main(int argc, char **argv) { return 0; }
14245 if ac_fn_c_try_link
"$LINENO"; then :
14246 ac_cv_cflags__Werror
=yes
14248 ac_cv_cflags__Werror
=no
14250 rm -f core conftest.err conftest.
$ac_objext \
14251 conftest
$ac_exeext conftest.
$ac_ext
14252 CFLAGS
=$ac_wine_try_cflags_saved
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14255 $as_echo "$ac_cv_cflags__Werror" >&6; }
14256 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14257 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14261 saved_CFLAGS
="$CFLAGS"
14262 CFLAGS
="$CFLAGS -Werror"
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14264 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14265 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14266 $as_echo_n "(cached) " >&6
14268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14269 /* end confdefs.h. */
14270 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14279 if ac_fn_c_try_compile
"$LINENO"; then :
14280 ac_cv_have_ms_hook_prologue
="yes"
14282 ac_cv_have_ms_hook_prologue
="no"
14284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14287 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14288 CFLAGS
="$saved_CFLAGS"
14289 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14292 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14295 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14302 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14303 if ${ac_cv_c_fortify_enabled+:} false
; then :
14304 $as_echo_n "(cached) " >&6
14306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14308 #include <string.h>
14312 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14313 #error Fortify enabled
14319 if ac_fn_c_try_compile
"$LINENO"; then :
14320 ac_cv_c_fortify_enabled
=no
14322 ac_cv_c_fortify_enabled
=yes
14324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14327 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14328 if test "$ac_cv_c_fortify_enabled" = yes
14330 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14335 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14336 if ${ac_cv_c_extern_prefix+:} false
; then :
14337 $as_echo_n "(cached) " >&6
14339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14340 /* end confdefs.h. */
14341 extern int ac_test;
14345 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14350 if ac_fn_c_try_link
"$LINENO"; then :
14351 ac_cv_c_extern_prefix
="yes"
14353 ac_cv_c_extern_prefix
="no"
14355 rm -f core conftest.err conftest.
$ac_objext \
14356 conftest
$ac_exeext conftest.
$ac_ext
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14359 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14364 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14365 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14366 $as_echo_n "(cached) " >&6
14368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14371 #define __stdcall __attribute__((__stdcall__))
14373 int __stdcall ac_test(int i) { return i; }
14377 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14382 if ac_fn_c_try_link
"$LINENO"; then :
14383 ac_cv_c_stdcall_suffix
="yes"
14385 ac_cv_c_stdcall_suffix
="no"
14387 rm -f core conftest.err conftest.
$ac_objext \
14388 conftest
$ac_exeext conftest.
$ac_ext
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14391 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14392 *) ac_cv_c_stdcall_suffix
="no" ;;
14396 if test "$ac_cv_c_extern_prefix" = "yes"
14398 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14400 asm_name_prefix
="_"
14402 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14408 if test "$ac_cv_c_stdcall_suffix" = "yes"
14410 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14413 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14419 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14420 if ${ac_cv_asm_func_def+:} false
; then :
14421 $as_echo_n "(cached) " >&6
14423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h. */
14429 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14434 if ac_fn_c_try_link
"$LINENO"; then :
14435 ac_cv_asm_func_def
=".def"
14437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h. */
14443 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14448 if ac_fn_c_try_link
"$LINENO"; then :
14449 ac_cv_asm_func_def
=".type @function"
14451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14452 /* end confdefs.h. */
14457 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14462 if ac_fn_c_try_link
"$LINENO"; then :
14463 ac_cv_asm_func_def
=".type 2"
14465 ac_cv_asm_func_def
="unknown"
14467 rm -f core conftest.err conftest.
$ac_objext \
14468 conftest
$ac_exeext conftest.
$ac_ext
14470 rm -f core conftest.err conftest.
$ac_objext \
14471 conftest
$ac_exeext conftest.
$ac_ext
14473 rm -f core conftest.err conftest.
$ac_objext \
14474 conftest
$ac_exeext conftest.
$ac_ext
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14477 $as_echo "$ac_cv_asm_func_def" >&6; }
14480 case "$ac_cv_asm_func_def" in
14482 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14484 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14486 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14488 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14490 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14492 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14494 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14496 asm_func_header
="" ;;
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14500 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14501 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14502 $as_echo_n "(cached) " >&6
14504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14505 /* end confdefs.h. */
14506 asm(".text\n\t.long 0");
14515 if ac_fn_c_try_compile
"$LINENO"; then :
14516 ac_cv_c_asm_outside_funcs
="yes"
14518 ac_cv_c_asm_outside_funcs
="no"
14520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14523 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14526 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14527 if ${ac_cv_c_dot_previous+:} false
; then :
14528 $as_echo_n "(cached) " >&6
14530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14531 /* end confdefs.h. */
14536 asm(".text\nac_test:\t.long 0\n\t.previous");
14541 if ac_fn_c_try_link
"$LINENO"; then :
14542 ac_cv_c_dot_previous
="yes"
14544 ac_cv_c_dot_previous
="no"
14546 rm -f core conftest.err conftest.
$ac_objext \
14547 conftest
$ac_exeext conftest.
$ac_ext
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14550 $as_echo "$ac_cv_c_dot_previous" >&6; }
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14553 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14554 if ${ac_cv_c_cfi_support+:} false
; then :
14555 $as_echo_n "(cached) " >&6
14557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14558 /* end confdefs.h. */
14559 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14568 if ac_fn_c_try_compile
"$LINENO"; then :
14569 ac_cv_c_cfi_support
="yes"
14571 ac_cv_c_cfi_support
="no"
14573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14576 $as_echo "$ac_cv_c_cfi_support" >&6; }
14578 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14579 asm_func_trailer
=""
14580 if test "$ac_cv_c_dot_previous" = "yes"
14582 asm_func_trailer
="\\n\\t.previous"
14584 if test "$ac_cv_c_cfi_support" = "yes"
14586 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14587 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14589 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14591 UNWINDFLAGS
=-fasynchronous-unwind-tables
14594 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14598 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14601 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14603 cat >>confdefs.h
<<_ACEOF
14604 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14608 cat >>confdefs.h
<<_ACEOF
14609 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14614 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14617 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14622 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14629 *i
[3456789]86*|x86_64
*)
14630 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14631 loader_programs
="$loader_programs $wine_binary-preloader"
14632 as_fn_append LOADER_RULES
"
14633 $wine_binary-preloader: preloader.o
14634 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14636 install install-lib:: $wine_binary-preloader
14637 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14640 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14642 preloader_EXTRADEFS = $BUILTINFLAG
14647 as_fn_append LOADER_RULES
"
14648 PROGRAMS = $loader_programs
14652 ac_save_CFLAGS
="$CFLAGS"
14653 CFLAGS
="$CFLAGS $BUILTINFLAG"
14732 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14733 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14734 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14735 cat >>confdefs.h
<<_ACEOF
14736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14742 CFLAGS
="$ac_save_CFLAGS"
14744 if test "$ac_cv_func_dlopen" = no
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14747 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14748 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14749 $as_echo_n "(cached) " >&6
14751 ac_check_lib_save_LIBS
=$LIBS
14753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14756 /* Override any GCC internal prototype to avoid an error.
14757 Use char because int might match the return type of a GCC
14758 builtin and then its argument prototype would still apply. */
14771 if ac_fn_c_try_link
"$LINENO"; then :
14772 ac_cv_lib_dl_dlopen
=yes
14774 ac_cv_lib_dl_dlopen
=no
14776 rm -f core conftest.err conftest.
$ac_objext \
14777 conftest
$ac_exeext conftest.
$ac_ext
14778 LIBS
=$ac_check_lib_save_LIBS
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14781 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14782 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14783 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14789 ac_wine_check_funcs_save_LIBS
="$LIBS"
14790 LIBS
="$LIBS $DL_LIBS"
14791 for ac_func
in dladdr
14793 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14794 if test "x$ac_cv_func_dladdr" = xyes
; then :
14795 cat >>confdefs.h
<<_ACEOF
14796 #define HAVE_DLADDR 1
14802 LIBS
="$ac_wine_check_funcs_save_LIBS"
14804 if test "$ac_cv_func_poll" = no
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14807 $as_echo_n "checking for poll in -lpoll... " >&6; }
14808 if ${ac_cv_lib_poll_poll+:} false
; then :
14809 $as_echo_n "(cached) " >&6
14811 ac_check_lib_save_LIBS
=$LIBS
14812 LIBS
="-lpoll $LIBS"
14813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14814 /* end confdefs.h. */
14816 /* Override any GCC internal prototype to avoid an error.
14817 Use char because int might match the return type of a GCC
14818 builtin and then its argument prototype would still apply. */
14831 if ac_fn_c_try_link
"$LINENO"; then :
14832 ac_cv_lib_poll_poll
=yes
14834 ac_cv_lib_poll_poll
=no
14836 rm -f core conftest.err conftest.
$ac_objext \
14837 conftest
$ac_exeext conftest.
$ac_ext
14838 LIBS
=$ac_check_lib_save_LIBS
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14841 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14842 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14843 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14851 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14852 if ${ac_cv_search_gethostbyname+:} false
; then :
14853 $as_echo_n "(cached) " >&6
14855 ac_func_search_save_LIBS
=$LIBS
14856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14857 /* end confdefs.h. */
14859 /* Override any GCC internal prototype to avoid an error.
14860 Use char because int might match the return type of a GCC
14861 builtin and then its argument prototype would still apply. */
14865 char gethostbyname ();
14869 return gethostbyname ();
14874 for ac_lib
in '' nsl
; do
14875 if test -z "$ac_lib"; then
14876 ac_res
="none required"
14879 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14881 if ac_fn_c_try_link
"$LINENO"; then :
14882 ac_cv_search_gethostbyname
=$ac_res
14884 rm -f core conftest.err conftest.
$ac_objext \
14886 if ${ac_cv_search_gethostbyname+:} false
; then :
14890 if ${ac_cv_search_gethostbyname+:} false
; then :
14893 ac_cv_search_gethostbyname
=no
14895 rm conftest.
$ac_ext
14896 LIBS
=$ac_func_search_save_LIBS
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14899 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14900 ac_res
=$ac_cv_search_gethostbyname
14901 if test "$ac_res" != no
; then :
14902 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14908 $as_echo_n "checking for library containing connect... " >&6; }
14909 if ${ac_cv_search_connect+:} false
; then :
14910 $as_echo_n "(cached) " >&6
14912 ac_func_search_save_LIBS
=$LIBS
14913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14914 /* end confdefs.h. */
14916 /* Override any GCC internal prototype to avoid an error.
14917 Use char because int might match the return type of a GCC
14918 builtin and then its argument prototype would still apply. */
14931 for ac_lib
in '' socket
; do
14932 if test -z "$ac_lib"; then
14933 ac_res
="none required"
14936 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14938 if ac_fn_c_try_link
"$LINENO"; then :
14939 ac_cv_search_connect
=$ac_res
14941 rm -f core conftest.err conftest.
$ac_objext \
14943 if ${ac_cv_search_connect+:} false
; then :
14947 if ${ac_cv_search_connect+:} false
; then :
14950 ac_cv_search_connect
=no
14952 rm conftest.
$ac_ext
14953 LIBS
=$ac_func_search_save_LIBS
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14956 $as_echo "$ac_cv_search_connect" >&6; }
14957 ac_res
=$ac_cv_search_connect
14958 if test "$ac_res" != no
; then :
14959 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14965 $as_echo_n "checking for library containing inet_aton... " >&6; }
14966 if ${ac_cv_search_inet_aton+:} false
; then :
14967 $as_echo_n "(cached) " >&6
14969 ac_func_search_save_LIBS
=$LIBS
14970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14973 /* Override any GCC internal prototype to avoid an error.
14974 Use char because int might match the return type of a GCC
14975 builtin and then its argument prototype would still apply. */
14983 return inet_aton ();
14988 for ac_lib
in '' resolv
; do
14989 if test -z "$ac_lib"; then
14990 ac_res
="none required"
14993 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14995 if ac_fn_c_try_link
"$LINENO"; then :
14996 ac_cv_search_inet_aton
=$ac_res
14998 rm -f core conftest.err conftest.
$ac_objext \
15000 if ${ac_cv_search_inet_aton+:} false
; then :
15004 if ${ac_cv_search_inet_aton+:} false
; then :
15007 ac_cv_search_inet_aton
=no
15009 rm conftest.
$ac_ext
15010 LIBS
=$ac_func_search_save_LIBS
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15013 $as_echo "$ac_cv_search_inet_aton" >&6; }
15014 ac_res
=$ac_cv_search_inet_aton
15015 if test "$ac_res" != no
; then :
15016 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15036 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15037 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15038 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15039 cat >>confdefs.h
<<_ACEOF
15040 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15049 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15050 if ${ac_cv_search_clock_gettime+:} false
; then :
15051 $as_echo_n "(cached) " >&6
15053 ac_func_search_save_LIBS
=$LIBS
15054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15057 /* Override any GCC internal prototype to avoid an error.
15058 Use char because int might match the return type of a GCC
15059 builtin and then its argument prototype would still apply. */
15063 char clock_gettime ();
15067 return clock_gettime ();
15072 for ac_lib
in '' rt
; do
15073 if test -z "$ac_lib"; then
15074 ac_res
="none required"
15077 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15079 if ac_fn_c_try_link
"$LINENO"; then :
15080 ac_cv_search_clock_gettime
=$ac_res
15082 rm -f core conftest.err conftest.
$ac_objext \
15084 if ${ac_cv_search_clock_gettime+:} false
; then :
15088 if ${ac_cv_search_clock_gettime+:} false
; then :
15091 ac_cv_search_clock_gettime
=no
15093 rm conftest.
$ac_ext
15094 LIBS
=$ac_func_search_save_LIBS
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15097 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15098 ac_res
=$ac_cv_search_clock_gettime
15099 if test "$ac_res" != no
; then :
15100 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15102 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15104 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15112 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15114 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15116 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15118 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15119 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15120 $as_echo_n "(cached) " >&6
15122 ac_check_lib_save_LIBS
=$LIBS
15123 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15127 /* Override any GCC internal prototype to avoid an error.
15128 Use char because int might match the return type of a GCC
15129 builtin and then its argument prototype would still apply. */
15133 char ldap_initialize ();
15137 return ldap_initialize ();
15142 if ac_fn_c_try_link
"$LINENO"; then :
15143 ac_cv_lib_ldap_r_ldap_initialize
=yes
15145 ac_cv_lib_ldap_r_ldap_initialize
=no
15147 rm -f core conftest.err conftest.
$ac_objext \
15148 conftest
$ac_exeext conftest.
$ac_ext
15149 LIBS
=$ac_check_lib_save_LIBS
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15152 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15153 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15155 $as_echo_n "checking for ber_init in -llber... " >&6; }
15156 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15157 $as_echo_n "(cached) " >&6
15159 ac_check_lib_save_LIBS
=$LIBS
15160 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15162 /* end confdefs.h. */
15164 /* Override any GCC internal prototype to avoid an error.
15165 Use char because int might match the return type of a GCC
15166 builtin and then its argument prototype would still apply. */
15174 return ber_init ();
15179 if ac_fn_c_try_link
"$LINENO"; then :
15180 ac_cv_lib_lber_ber_init
=yes
15182 ac_cv_lib_lber_ber_init
=no
15184 rm -f core conftest.err conftest.
$ac_objext \
15185 conftest
$ac_exeext conftest.
$ac_ext
15186 LIBS
=$ac_check_lib_save_LIBS
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15189 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15190 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15192 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15194 LDAP_LIBS
="-lldap_r -llber"
15201 ac_wine_check_funcs_save_LIBS
="$LIBS"
15202 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15204 ldap_count_references \
15205 ldap_first_reference \
15206 ldap_next_reference \
15207 ldap_parse_reference \
15208 ldap_parse_sort_control \
15209 ldap_parse_sortresponse_control \
15210 ldap_parse_vlv_control \
15211 ldap_parse_vlvresponse_control
15213 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15214 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15215 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15216 cat >>confdefs.h
<<_ACEOF
15217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15223 LIBS
="$ac_wine_check_funcs_save_LIBS"
15225 if test "x$LDAP_LIBS" = "x"; then :
15226 case "x$with_ldap" in
15227 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15229 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15230 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15235 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15236 if ${wine_cv_one_arg_mkdir+:} false
; then :
15237 $as_echo_n "(cached) " >&6
15239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15240 /* end confdefs.h. */
15241 #include <sys/stat.h>
15250 if ac_fn_c_try_compile
"$LINENO"; then :
15251 wine_cv_one_arg_mkdir
=yes
15253 wine_cv_one_arg_mkdir
=no
15255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15258 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15259 if test "$wine_cv_one_arg_mkdir" = "yes"
15262 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15267 $as_echo_n "checking for sched_setaffinity... " >&6; }
15268 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15269 $as_echo_n "(cached) " >&6
15271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15272 /* end confdefs.h. */
15273 #define _GNU_SOURCE
15278 sched_setaffinity(0, 0, 0);
15283 if ac_fn_c_try_link
"$LINENO"; then :
15284 wine_cv_have_sched_setaffinity
=yes
15286 wine_cv_have_sched_setaffinity
=no
15288 rm -f core conftest.err conftest.
$ac_objext \
15289 conftest
$ac_exeext conftest.
$ac_ext
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15292 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15293 if test "$wine_cv_have_sched_setaffinity" = "yes"
15296 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15301 $as_echo_n "checking for fallocate... " >&6; }
15302 if ${wine_cv_have_fallocate+:} false
; then :
15303 $as_echo_n "(cached) " >&6
15305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h. */
15307 #define _GNU_SOURCE
15312 fallocate(-1, 0, 0, 0);
15317 if ac_fn_c_try_link
"$LINENO"; then :
15318 wine_cv_have_fallocate
=yes
15320 wine_cv_have_fallocate
=no
15322 rm -f core conftest.err conftest.
$ac_objext \
15323 conftest
$ac_exeext conftest.
$ac_ext
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15326 $as_echo "$wine_cv_have_fallocate" >&6; }
15327 if test "$wine_cv_have_fallocate" = "yes"
15330 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15336 $as_echo_n "checking for inline... " >&6; }
15337 if ${ac_cv_c_inline+:} false
; then :
15338 $as_echo_n "(cached) " >&6
15341 for ac_kw
in inline __inline__ __inline
; do
15342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15343 /* end confdefs.h. */
15344 #ifndef __cplusplus
15346 static $ac_kw foo_t static_foo () {return 0; }
15347 $ac_kw foo_t foo () {return 0; }
15351 if ac_fn_c_try_compile
"$LINENO"; then :
15352 ac_cv_c_inline
=$ac_kw
15354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15355 test "$ac_cv_c_inline" != no
&& break
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15360 $as_echo "$ac_cv_c_inline" >&6; }
15362 case $ac_cv_c_inline in
15365 case $ac_cv_c_inline in
15367 *) ac_val
=$ac_cv_c_inline;;
15369 cat >>confdefs.h
<<_ACEOF
15370 #ifndef __cplusplus
15371 #define inline $ac_val
15377 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15378 if test "x$ac_cv_type_mode_t" = xyes
; then :
15380 cat >>confdefs.h
<<_ACEOF
15381 #define HAVE_MODE_T 1
15386 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15387 if test "x$ac_cv_type_off_t" = xyes
; then :
15389 cat >>confdefs.h
<<_ACEOF
15390 #define HAVE_OFF_T 1
15395 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15396 if test "x$ac_cv_type_pid_t" = xyes
; then :
15398 cat >>confdefs.h
<<_ACEOF
15399 #define HAVE_PID_T 1
15404 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15405 if test "x$ac_cv_type_size_t" = xyes
; then :
15407 cat >>confdefs.h
<<_ACEOF
15408 #define HAVE_SIZE_T 1
15413 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15414 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15416 cat >>confdefs.h
<<_ACEOF
15417 #define HAVE_SSIZE_T 1
15422 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15423 if test "x$ac_cv_type_long_long" = xyes
; then :
15425 cat >>confdefs.h
<<_ACEOF
15426 #define HAVE_LONG_LONG 1
15431 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15432 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15434 cat >>confdefs.h
<<_ACEOF
15435 #define HAVE_FSBLKCNT_T 1
15440 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15441 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15443 cat >>confdefs.h
<<_ACEOF
15444 #define HAVE_FSFILCNT_T 1
15450 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15451 #include <signal.h>
15453 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15455 cat >>confdefs.h
<<_ACEOF
15456 #define HAVE_SIGSET_T 1
15462 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15464 if test "x$ac_cv_type_request_sense" = xyes
; then :
15466 cat >>confdefs.h
<<_ACEOF
15467 #define HAVE_REQUEST_SENSE 1
15474 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15475 #ifdef HAVE_SYS_SOCKET_H
15476 #include <sys/socket.h>
15478 #ifdef HAVE_SYS_SOCKETVAR_H
15479 #include <sys/socketvar.h>
15481 #ifdef HAVE_NET_ROUTE_H
15482 #include <net/route.h>
15484 #ifdef HAVE_NETINET_IN_H
15485 #include <netinet/in.h>
15487 #ifdef HAVE_NETINET_IN_SYSTM_H
15488 #include <netinet/in_systm.h>
15490 #ifdef HAVE_NETINET_IP_H
15491 #include <netinet/ip.h>
15493 #ifdef HAVE_NETINET_IN_PCB_H
15494 #include <netinet/in_pcb.h>
15497 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15499 cat >>confdefs.h
<<_ACEOF
15500 #define HAVE_STRUCT_XINPGEN 1
15507 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15510 #ifdef HAVE_SYS_LINK_H
15511 #include <sys/link.h>
15514 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15516 cat >>confdefs.h
<<_ACEOF
15517 #define HAVE_STRUCT_R_DEBUG 1
15522 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15525 #ifdef HAVE_SYS_LINK_H
15526 #include <sys/link.h>
15529 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15531 cat >>confdefs.h
<<_ACEOF
15532 #define HAVE_STRUCT_LINK_MAP 1
15539 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15540 #include <linux/input.h>
15543 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15545 cat >>confdefs.h
<<_ACEOF
15546 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15554 $as_echo_n "checking for sigaddset... " >&6; }
15555 if ${wine_cv_have_sigaddset+:} false
; then :
15556 $as_echo_n "(cached) " >&6
15558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15559 /* end confdefs.h. */
15560 #include <signal.h>
15564 sigset_t set; sigaddset(&set,SIGTERM);
15569 if ac_fn_c_try_link
"$LINENO"; then :
15570 wine_cv_have_sigaddset
=yes
15572 wine_cv_have_sigaddset
=no
15574 rm -f core conftest.err conftest.
$ac_objext \
15575 conftest
$ac_exeext conftest.
$ac_ext
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15578 $as_echo "$wine_cv_have_sigaddset" >&6; }
15579 if test "$wine_cv_have_sigaddset" = "yes"
15582 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15588 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15589 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15590 $as_echo_n "(cached) " >&6
15592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15601 struct hostent *result;
15608 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15609 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15615 if ac_fn_c_try_link
"$LINENO"; then :
15616 wine_cv_linux_gethostbyname_r_6
=yes
15618 wine_cv_linux_gethostbyname_r_6
=no
15621 rm -f core conftest.err conftest.
$ac_objext \
15622 conftest
$ac_exeext conftest.
$ac_ext
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15626 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15627 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15630 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15634 if test "$ac_cv_header_linux_joystick_h" = "yes"
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15637 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15638 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15639 $as_echo_n "(cached) " >&6
15641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15642 /* end confdefs.h. */
15644 #include <sys/ioctl.h>
15645 #include <sys/types.h>
15646 #include <linux/joystick.h>
15648 struct js_event blub;
15649 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15650 #error "no 2.2 header"
15661 if ac_fn_c_try_compile
"$LINENO"; then :
15662 wine_cv_linux_joystick_22_api
=yes
15664 wine_cv_linux_joystick_22_api
=no
15666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15670 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15671 if test "$wine_cv_linux_joystick_22_api" = "yes"
15674 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15680 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15681 #ifdef HAVE_SYS_PARAM_H
15682 # include <sys/param.h>
15684 #ifdef HAVE_SYS_MOUNT_H
15685 # include <sys/mount.h>
15687 #ifdef HAVE_SYS_VFS_H
15688 # include <sys/vfs.h>
15690 #ifdef HAVE_SYS_STATFS_H
15691 # include <sys/statfs.h>
15694 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15696 cat >>confdefs.h
<<_ACEOF
15697 #define HAVE_STRUCT_STATFS_F_BFREE 1
15702 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15703 #ifdef HAVE_SYS_PARAM_H
15704 # include <sys/param.h>
15706 #ifdef HAVE_SYS_MOUNT_H
15707 # include <sys/mount.h>
15709 #ifdef HAVE_SYS_VFS_H
15710 # include <sys/vfs.h>
15712 #ifdef HAVE_SYS_STATFS_H
15713 # include <sys/statfs.h>
15716 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15718 cat >>confdefs.h
<<_ACEOF
15719 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15724 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15725 #ifdef HAVE_SYS_PARAM_H
15726 # include <sys/param.h>
15728 #ifdef HAVE_SYS_MOUNT_H
15729 # include <sys/mount.h>
15731 #ifdef HAVE_SYS_VFS_H
15732 # include <sys/vfs.h>
15734 #ifdef HAVE_SYS_STATFS_H
15735 # include <sys/statfs.h>
15738 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15740 cat >>confdefs.h
<<_ACEOF
15741 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15746 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15747 #ifdef HAVE_SYS_PARAM_H
15748 # include <sys/param.h>
15750 #ifdef HAVE_SYS_MOUNT_H
15751 # include <sys/mount.h>
15753 #ifdef HAVE_SYS_VFS_H
15754 # include <sys/vfs.h>
15756 #ifdef HAVE_SYS_STATFS_H
15757 # include <sys/statfs.h>
15760 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15762 cat >>confdefs.h
<<_ACEOF
15763 #define HAVE_STRUCT_STATFS_F_FFREE 1
15768 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15769 #ifdef HAVE_SYS_PARAM_H
15770 # include <sys/param.h>
15772 #ifdef HAVE_SYS_MOUNT_H
15773 # include <sys/mount.h>
15775 #ifdef HAVE_SYS_VFS_H
15776 # include <sys/vfs.h>
15778 #ifdef HAVE_SYS_STATFS_H
15779 # include <sys/statfs.h>
15782 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15784 cat >>confdefs.h
<<_ACEOF
15785 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15790 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15791 #ifdef HAVE_SYS_PARAM_H
15792 # include <sys/param.h>
15794 #ifdef HAVE_SYS_MOUNT_H
15795 # include <sys/mount.h>
15797 #ifdef HAVE_SYS_VFS_H
15798 # include <sys/vfs.h>
15800 #ifdef HAVE_SYS_STATFS_H
15801 # include <sys/statfs.h>
15804 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15806 cat >>confdefs.h
<<_ACEOF
15807 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15814 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15815 #include <sys/statvfs.h>
15818 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15820 cat >>confdefs.h
<<_ACEOF
15821 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15828 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15829 #include <dirent.h>
15832 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15834 cat >>confdefs.h
<<_ACEOF
15835 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15842 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15843 #ifdef HAVE_SYS_SOCKET_H
15844 # include <sys/socket.h>
15846 #ifdef HAVE_SYS_UN_H
15847 # include <sys/un.h>
15850 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15852 cat >>confdefs.h
<<_ACEOF
15853 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15858 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15859 #ifdef HAVE_SYS_SOCKET_H
15860 # include <sys/socket.h>
15862 #ifdef HAVE_SYS_UN_H
15863 # include <sys/un.h>
15866 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15868 cat >>confdefs.h
<<_ACEOF
15869 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15874 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15875 #ifdef HAVE_SYS_SOCKET_H
15876 # include <sys/socket.h>
15878 #ifdef HAVE_SYS_UN_H
15879 # include <sys/un.h>
15882 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15884 cat >>confdefs.h
<<_ACEOF
15885 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15892 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15893 #ifdef HAVE_SCSI_SG_H
15894 #include <scsi/sg.h>
15897 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15899 cat >>confdefs.h
<<_ACEOF
15900 #define HAVE_SCSIREQ_T_CMD 1
15905 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>
15906 #ifdef HAVE_SCSI_SG_H
15907 #include <scsi/sg.h>
15910 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15912 cat >>confdefs.h
<<_ACEOF
15913 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15920 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15922 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15924 cat >>confdefs.h
<<_ACEOF
15925 #define HAVE_SIGINFO_T_SI_FD 1
15932 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15933 #ifdef HAVE_SYS_MTIO_H
15934 #include <sys/mtio.h>
15937 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15939 cat >>confdefs.h
<<_ACEOF
15940 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15945 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15946 #ifdef HAVE_SYS_MTIO_H
15947 #include <sys/mtio.h>
15950 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15952 cat >>confdefs.h
<<_ACEOF
15953 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15958 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15959 #ifdef HAVE_SYS_MTIO_H
15960 #include <sys/mtio.h>
15963 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15965 cat >>confdefs.h
<<_ACEOF
15966 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15973 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15974 #include <getopt.h>
15977 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15979 cat >>confdefs.h
<<_ACEOF
15980 #define HAVE_STRUCT_OPTION_NAME 1
15987 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15988 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15990 cat >>confdefs.h
<<_ACEOF
15991 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15996 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15997 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15999 cat >>confdefs.h
<<_ACEOF
16000 #define HAVE_STRUCT_STAT_ST_MTIM 1
16005 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16006 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16008 cat >>confdefs.h
<<_ACEOF
16009 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16014 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16015 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16017 cat >>confdefs.h
<<_ACEOF
16018 #define HAVE_STRUCT_STAT_ST_CTIM 1
16023 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16024 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16026 cat >>confdefs.h
<<_ACEOF
16027 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16032 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16033 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16035 cat >>confdefs.h
<<_ACEOF
16036 #define HAVE_STRUCT_STAT_ST_ATIM 1
16041 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16042 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16044 cat >>confdefs.h
<<_ACEOF
16045 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16050 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16051 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16053 cat >>confdefs.h
<<_ACEOF
16054 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16059 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16060 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16062 cat >>confdefs.h
<<_ACEOF
16063 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16068 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16069 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16071 cat >>confdefs.h
<<_ACEOF
16072 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16077 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16078 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16080 cat >>confdefs.h
<<_ACEOF
16081 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16086 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16087 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16089 cat >>confdefs.h
<<_ACEOF
16090 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16097 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
16098 #include <sys/types.h>
16100 #ifdef HAVE_NETINET_IN_H
16101 #include <netinet/in.h>
16104 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16106 cat >>confdefs.h
<<_ACEOF
16107 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16114 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16115 #include <resolv.h>
16118 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16120 cat >>confdefs.h
<<_ACEOF
16121 #define HAVE_STRUCT___RES_STATE 1
16128 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
16129 #include <resolv.h>
16132 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16134 cat >>confdefs.h
<<_ACEOF
16135 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16142 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16143 #include <sys/types.h>
16145 #ifdef HAVE_NETINET_IN_H
16146 # include <netinet/in.h>
16148 #ifdef HAVE_ARPA_NAMESER_H
16149 # include <arpa/nameser.h>
16152 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16154 cat >>confdefs.h
<<_ACEOF
16155 #define HAVE_NS_MSG__MSG_PTR 1
16162 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16163 #include <sys/types.h>
16165 #ifdef HAVE_NETINET_IP_H
16166 #include <netinet/ip.h>
16168 #ifdef HAVE_NETINET_IP_ICMP_H
16169 #include <netinet/ip_icmp.h>
16171 #ifdef HAVE_NETINET_ICMP_VAR_H
16172 #include <netinet/icmp_var.h>
16175 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16177 cat >>confdefs.h
<<_ACEOF
16178 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16185 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16186 #include <sys/types.h>
16188 #ifdef HAVE_ALIAS_H
16191 #ifdef HAVE_SYS_SOCKET_H
16192 #include <sys/socket.h>
16194 #ifdef HAVE_SYS_SOCKETVAR_H
16195 #include <sys/socketvar.h>
16197 #ifdef HAVE_SYS_TIMEOUT_H
16198 #include <sys/timeout.h>
16200 #ifdef HAVE_NETINET_IN_H
16201 #include <netinet/in.h>
16203 #ifdef HAVE_NETINET_IN_SYSTM_H
16204 #include <netinet/in_systm.h>
16206 #ifdef HAVE_NETINET_IP_H
16207 #include <netinet/ip.h>
16209 #ifdef HAVE_NETINET_IP_VAR_H
16210 #include <netinet/ip_var.h>
16212 #ifdef HAVE_NETINET_IP_ICMP_H
16213 #include <netinet/ip_icmp.h>
16215 #ifdef HAVE_NETINET_ICMP_VAR_H
16216 #include <netinet/icmp_var.h>
16219 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16221 cat >>confdefs.h
<<_ACEOF
16222 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16229 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16230 #include <sys/types.h>
16232 #ifdef HAVE_SYS_SOCKETVAR_H
16233 #include <sys/socketvar.h>
16235 #ifdef HAVE_NETINET_IN_H
16236 #include <netinet/in.h>
16238 #ifdef HAVE_NETINET_IP_VAR_H
16239 #include <netinet/ip_var.h>
16242 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16244 cat >>confdefs.h
<<_ACEOF
16245 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16252 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
16253 #include <netinet/ip_var.h>
16256 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16258 cat >>confdefs.h
<<_ACEOF
16259 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16266 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16267 #include <sys/types.h>
16269 #ifdef HAVE_SYS_SOCKETVAR_H
16270 #include <sys/socketvar.h>
16272 #ifdef HAVE_NETINET_IN_H
16273 #include <netinet/in.h>
16275 #ifdef HAVE_NETINET_TCP_H
16276 #include <netinet/tcp.h>
16278 #ifdef HAVE_NETINET_TCP_VAR_H
16279 #include <netinet/tcp_var.h>
16282 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16284 cat >>confdefs.h
<<_ACEOF
16285 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16292 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
16293 #include <netinet/tcp_var.h>
16296 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16298 cat >>confdefs.h
<<_ACEOF
16299 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16306 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16307 #include <sys/types.h>
16309 #ifdef HAVE_NETINET_IN_H
16310 #include <netinet/in.h>
16312 #ifdef HAVE_NETINET_IP_VAR_H
16313 #include <netinet/ip_var.h>
16315 #ifdef HAVE_NETINET_UDP_H
16316 #include <netinet/udp.h>
16318 #ifdef HAVE_NETINET_UDP_VAR_H
16319 #include <netinet/udp_var.h>
16322 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16324 cat >>confdefs.h
<<_ACEOF
16325 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16332 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16333 #include <sys/types.h>
16335 #ifdef HAVE_NET_IF_H
16336 # include <net/if.h>
16339 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16341 cat >>confdefs.h
<<_ACEOF
16342 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16350 $as_echo_n "checking for timezone variable... " >&6; }
16351 if ${ac_cv_have_timezone+:} false
; then :
16352 $as_echo_n "(cached) " >&6
16354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16355 /* end confdefs.h. */
16365 if ac_fn_c_try_link
"$LINENO"; then :
16366 ac_cv_have_timezone
="yes"
16368 ac_cv_have_timezone
="no"
16370 rm -f core conftest.err conftest.
$ac_objext \
16371 conftest
$ac_exeext conftest.
$ac_ext
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16374 $as_echo "$ac_cv_have_timezone" >&6; }
16375 if test "$ac_cv_have_timezone" = "yes"
16378 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16382 $as_echo_n "checking for daylight variable... " >&6; }
16383 if ${ac_cv_have_daylight+:} false
; then :
16384 $as_echo_n "(cached) " >&6
16386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16387 /* end confdefs.h. */
16397 if ac_fn_c_try_link
"$LINENO"; then :
16398 ac_cv_have_daylight
="yes"
16400 ac_cv_have_daylight
="no"
16402 rm -f core conftest.err conftest.
$ac_objext \
16403 conftest
$ac_exeext conftest.
$ac_ext
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16406 $as_echo "$ac_cv_have_daylight" >&6; }
16407 if test "$ac_cv_have_daylight" = "yes"
16410 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16414 ac_save_LIBS
="$LIBS"
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16417 $as_echo_n "checking for isfinite... " >&6; }
16418 if ${ac_cv_have_isfinite+:} false
; then :
16419 $as_echo_n "(cached) " >&6
16421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16422 /* end confdefs.h. */
16423 #define _GNU_SOURCE
16428 float f = 0.0; return isfinite(f)
16433 if ac_fn_c_try_link
"$LINENO"; then :
16434 ac_cv_have_isfinite
="yes"
16436 ac_cv_have_isfinite
="no"
16438 rm -f core conftest.err conftest.
$ac_objext \
16439 conftest
$ac_exeext conftest.
$ac_ext
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16442 $as_echo "$ac_cv_have_isfinite" >&6; }
16443 if test "$ac_cv_have_isfinite" = "yes"
16446 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16451 $as_echo_n "checking for isinf... " >&6; }
16452 if ${ac_cv_have_isinf+:} false
; then :
16453 $as_echo_n "(cached) " >&6
16455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16456 /* end confdefs.h. */
16461 float f = 0.0; return isinf(f)
16466 if ac_fn_c_try_link
"$LINENO"; then :
16467 ac_cv_have_isinf
="yes"
16469 ac_cv_have_isinf
="no"
16471 rm -f core conftest.err conftest.
$ac_objext \
16472 conftest
$ac_exeext conftest.
$ac_ext
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16475 $as_echo "$ac_cv_have_isinf" >&6; }
16476 if test "$ac_cv_have_isinf" = "yes"
16479 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16484 $as_echo_n "checking for isnan... " >&6; }
16485 if ${ac_cv_have_isnan+:} false
; then :
16486 $as_echo_n "(cached) " >&6
16488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16489 /* end confdefs.h. */
16494 float f = 0.0; return isnan(f)
16499 if ac_fn_c_try_link
"$LINENO"; then :
16500 ac_cv_have_isnan
="yes"
16502 ac_cv_have_isnan
="no"
16504 rm -f core conftest.err conftest.
$ac_objext \
16505 conftest
$ac_exeext conftest.
$ac_ext
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16508 $as_echo "$ac_cv_have_isnan" >&6; }
16509 if test "$ac_cv_have_isnan" = "yes"
16512 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16539 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16540 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16541 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16542 cat >>confdefs.h
<<_ACEOF
16543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16549 LIBS
="$ac_save_LIBS"
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16552 $as_echo_n "checking for __builtin_clz... " >&6; }
16553 if ${ac_cv_have___builtin_clz+:} false
; then :
16554 $as_echo_n "(cached) " >&6
16556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16557 /* end confdefs.h. */
16562 return __builtin_clz(1)
16567 if ac_fn_c_try_link
"$LINENO"; then :
16568 ac_cv_have___builtin_clz
="yes"
16570 ac_cv_have___builtin_clz
="no"
16572 rm -f core conftest.err conftest.
$ac_objext \
16573 conftest
$ac_exeext conftest.
$ac_ext
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16576 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16577 if test "$ac_cv_have___builtin_clz" = "yes"
16580 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16586 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16587 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16588 if ${ac_cv_cpp_def___i386__+:} false
; then :
16589 $as_echo_n "(cached) " >&6
16591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h. */
16597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16598 $EGREP "yes" >/dev
/null
2>&1; then :
16599 ac_cv_cpp_def___i386__
=yes
16601 ac_cv_cpp_def___i386__
=no
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16607 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16608 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16609 CFLAGS
="$CFLAGS -D__i386__"
16610 LINTFLAGS
="$LINTFLAGS -D__i386__"
16612 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16613 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16614 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16615 $as_echo_n "(cached) " >&6
16617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16618 /* end confdefs.h. */
16623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16624 $EGREP "yes" >/dev
/null
2>&1; then :
16625 ac_cv_cpp_def___x86_64__
=yes
16627 ac_cv_cpp_def___x86_64__
=no
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16633 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16634 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16635 CFLAGS
="$CFLAGS -D__x86_64__"
16636 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16638 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16639 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16640 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16641 $as_echo_n "(cached) " >&6
16643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16644 /* end confdefs.h. */
16645 #ifndef __sparc64__
16649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16650 $EGREP "yes" >/dev
/null
2>&1; then :
16651 ac_cv_cpp_def___sparc64__
=yes
16653 ac_cv_cpp_def___sparc64__
=no
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16659 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16660 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16661 CFLAGS
="$CFLAGS -D__sparc64__"
16662 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16664 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16665 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16666 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16667 $as_echo_n "(cached) " >&6
16669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16670 /* end confdefs.h. */
16675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16676 $EGREP "yes" >/dev
/null
2>&1; then :
16677 ac_cv_cpp_def___sparc__
=yes
16679 ac_cv_cpp_def___sparc__
=no
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16685 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16686 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16687 CFLAGS
="$CFLAGS -D__sparc__"
16688 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16690 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16691 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16692 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16693 $as_echo_n "(cached) " >&6
16695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16696 /* end confdefs.h. */
16697 #ifndef __powerpc64__
16701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16702 $EGREP "yes" >/dev
/null
2>&1; then :
16703 ac_cv_cpp_def___powerpc64__
=yes
16705 ac_cv_cpp_def___powerpc64__
=no
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16711 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16712 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16713 CFLAGS
="$CFLAGS -D__powerpc64__"
16714 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16716 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16717 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16718 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16719 $as_echo_n "(cached) " >&6
16721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16723 #ifndef __powerpc__
16727 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16728 $EGREP "yes" >/dev
/null
2>&1; then :
16729 ac_cv_cpp_def___powerpc__
=yes
16731 ac_cv_cpp_def___powerpc__
=no
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16737 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16738 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16739 CFLAGS
="$CFLAGS -D__powerpc__"
16740 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16742 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16743 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16744 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16745 $as_echo_n "(cached) " >&6
16747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16748 /* end confdefs.h. */
16749 #ifndef __aarch64__
16753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16754 $EGREP "yes" >/dev
/null
2>&1; then :
16755 ac_cv_cpp_def___aarch64__
=yes
16757 ac_cv_cpp_def___aarch64__
=no
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16763 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16764 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16765 CFLAGS
="$CFLAGS -D__aarch64__"
16766 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16768 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16769 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16770 if ${ac_cv_cpp_def___arm__+:} false
; then :
16771 $as_echo_n "(cached) " >&6
16773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16774 /* end confdefs.h. */
16779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16780 $EGREP "yes" >/dev
/null
2>&1; then :
16781 ac_cv_cpp_def___arm__
=yes
16783 ac_cv_cpp_def___arm__
=no
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16789 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16790 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16791 CFLAGS
="$CFLAGS -D__arm__"
16792 LINTFLAGS
="$LINTFLAGS -D__arm__"
16796 case $host_vendor in
16797 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16798 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16799 if ${ac_cv_cpp_def___sun__+:} false
; then :
16800 $as_echo_n "(cached) " >&6
16802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16803 /* end confdefs.h. */
16808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16809 $EGREP "yes" >/dev
/null
2>&1; then :
16810 ac_cv_cpp_def___sun__
=yes
16812 ac_cv_cpp_def___sun__
=no
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16818 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16819 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16820 CFLAGS
="$CFLAGS -D__sun__"
16821 LINTFLAGS
="$LINTFLAGS -D__sun__"
16829 ac_config_commands
="$ac_config_commands include/stamp-h"
16831 $as_echo_n "creating Makefile rules..." >&6
16833 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16834 SOCKET_LIBS = $SOCKET_LIBS
16835 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16836 IOKIT_LIBS = $IOKIT_LIBS
16837 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16838 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16839 CORESERVICES_LIBS = $CORESERVICES_LIBS
16840 APPKIT_LIBS = $APPKIT_LIBS
16841 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16842 SECURITY_LIBS = $SECURITY_LIBS
16843 COREAUDIO_LIBS = $COREAUDIO_LIBS
16844 OPENAL_LIBS = $OPENAL_LIBS
16845 OPENCL_LIBS = $OPENCL_LIBS
16846 QUICKTIME_LIBS = $QUICKTIME_LIBS
16847 CARBON_LIBS = $CARBON_LIBS
16848 PTHREAD_LIBS = $PTHREAD_LIBS
16849 X_CFLAGS = $X_CFLAGS
16850 X_PRE_LIBS = $X_PRE_LIBS
16852 X_EXTRA_LIBS = $X_EXTRA_LIBS
16853 XML2_CFLAGS = $XML2_CFLAGS
16854 XML2_LIBS = $XML2_LIBS
16855 XSLT_CFLAGS = $XSLT_CFLAGS
16856 XSLT_LIBS = $XSLT_LIBS
16857 DBUS_CFLAGS = $DBUS_CFLAGS
16858 DBUS_LIBS = $DBUS_LIBS
16859 HAL_CFLAGS = $HAL_CFLAGS
16860 HAL_LIBS = $HAL_LIBS
16861 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16862 GNUTLS_LIBS = $GNUTLS_LIBS
16863 SANE_CFLAGS = $SANE_CFLAGS
16864 SANE_LIBS = $SANE_LIBS
16865 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16866 GPHOTO2_LIBS = $GPHOTO2_LIBS
16867 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16868 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16869 RESOLV_LIBS = $RESOLV_LIBS
16870 LCMS2_CFLAGS = $LCMS2_CFLAGS
16871 LCMS2_LIBS = $LCMS2_LIBS
16872 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16873 FREETYPE_LIBS = $FREETYPE_LIBS
16875 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16876 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16877 GSTREAMER_LIBS = $GSTREAMER_LIBS
16878 ALSA_LIBS = $ALSA_LIBS
16879 OSS4_CFLAGS = $OSS4_CFLAGS
16880 CAPI20_CFLAGS = $CAPI20_CFLAGS
16881 CAPI20_LIBS = $CAPI20_LIBS
16882 CUPS_CFLAGS = $CUPS_CFLAGS
16883 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16884 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16885 JPEG_CFLAGS = $JPEG_CFLAGS
16886 JPEG_LIBS = $JPEG_LIBS
16887 PNG_CFLAGS = $PNG_CFLAGS
16888 PNG_LIBS = $PNG_LIBS
16889 TIFF_CFLAGS = $TIFF_CFLAGS
16890 TIFF_LIBS = $TIFF_LIBS
16891 MPG123_CFLAGS = $MPG123_CFLAGS
16892 MPG123_LIBS = $MPG123_LIBS
16893 KSTAT_LIBS = $KSTAT_LIBS
16894 PROCSTAT_LIBS = $PROCSTAT_LIBS
16896 POLL_LIBS = $POLL_LIBS
16898 LDAP_LIBS = $LDAP_LIBS
16903 wine_fn_append_rule
"
16904 # Rules automatically generated by configure
16906 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16911 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16912 @./config.status Make.tmp Makefile"
16914 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16915 .gitignore: config.status
16916 @./config.status .gitignore"
16918 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16919 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16921 if test "x$enable_fonts" != xno
; then
16922 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16923 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16924 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16925 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16926 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16928 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16929 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16930 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16931 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16932 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16933 wine_fn_config_symlink wine
16934 if test "x$enable_win64" != xno
; then
16935 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16936 wine_fn_config_symlink wine64
16939 wine_fn_config_dll acledit enable_acledit
16940 wine_fn_config_dll aclui enable_aclui implib
16941 wine_fn_config_dll activeds enable_activeds implib
16942 wine_fn_config_dll actxprxy enable_actxprxy clean
16943 wine_fn_config_lib adsiid
16944 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16945 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16946 wine_fn_config_dll advpack enable_advpack implib
16947 wine_fn_config_test dlls
/advpack
/tests advpack_test
16948 wine_fn_config_dll amstream enable_amstream clean
16949 wine_fn_config_test dlls
/amstream
/tests amstream_test
16950 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16951 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16952 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16953 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16954 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16955 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16956 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16957 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16958 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16959 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16960 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16961 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16962 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16963 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16964 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16965 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16966 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16967 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16968 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16969 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16970 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16971 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16972 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16973 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16974 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16975 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16976 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16977 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16978 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16979 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16980 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16981 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16982 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16983 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16984 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16985 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16986 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16987 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16988 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16989 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16990 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16991 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16992 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16993 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16994 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16995 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16996 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16997 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16998 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16999 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17000 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17001 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17002 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17003 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17004 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17005 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17006 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17007 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17008 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17009 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17010 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17011 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17012 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17013 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17014 wine_fn_config_dll apphelp enable_apphelp
17015 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17016 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17017 wine_fn_config_dll atl enable_atl clean
,implib
17018 wine_fn_config_test dlls
/atl
/tests atl_test
17019 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17020 wine_fn_config_test dlls
/atl100
/tests atl100_test
17021 wine_fn_config_dll atl110 enable_atl110 clean
17022 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17023 wine_fn_config_test dlls
/atl80
/tests atl80_test
17024 wine_fn_config_dll atl90 enable_atl90 clean
17025 wine_fn_config_dll authz enable_authz
17026 wine_fn_config_dll avicap32 enable_avicap32 implib
17027 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17028 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17029 wine_fn_config_dll avifile.dll16 enable_win16
17030 wine_fn_config_dll avrt enable_avrt implib
17031 wine_fn_config_dll bcrypt enable_bcrypt
17032 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17033 wine_fn_config_dll browseui enable_browseui clean
,po
17034 wine_fn_config_test dlls
/browseui
/tests browseui_test
17035 wine_fn_config_dll cabinet enable_cabinet implib
17036 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17037 wine_fn_config_dll capi2032 enable_capi2032 implib
17038 wine_fn_config_dll cards enable_cards implib
17039 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17040 wine_fn_config_dll clusapi enable_clusapi implib
17041 wine_fn_config_dll combase enable_combase
17042 wine_fn_config_test dlls
/combase
/tests combase_test
17043 wine_fn_config_dll comcat enable_comcat
17044 wine_fn_config_test dlls
/comcat
/tests comcat_test
17045 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17046 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17047 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17048 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17049 wine_fn_config_dll
comm.drv16 enable_win16
17050 wine_fn_config_dll commdlg.dll16 enable_win16
17051 wine_fn_config_dll compobj.dll16 enable_win16
17052 wine_fn_config_dll compstui enable_compstui implib
17053 wine_fn_config_dll comsvcs enable_comsvcs implib
17054 wine_fn_config_dll credui enable_credui implib
,po
17055 wine_fn_config_test dlls
/credui
/tests credui_test
17056 wine_fn_config_dll crtdll enable_crtdll implib
17057 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17058 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17059 wine_fn_config_dll cryptdlg enable_cryptdlg po
17060 wine_fn_config_dll cryptdll enable_cryptdll implib
17061 wine_fn_config_dll cryptext enable_cryptext
17062 wine_fn_config_dll cryptnet enable_cryptnet implib
17063 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17064 wine_fn_config_dll cryptui enable_cryptui implib
,po
17065 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17066 wine_fn_config_dll ctapi32 enable_ctapi32
17067 wine_fn_config_dll ctl3d.dll16 enable_win16
17068 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17069 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17070 wine_fn_config_dll d2d1 enable_d2d1 implib
17071 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17072 wine_fn_config_dll d3d10 enable_d3d10 implib
17073 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17074 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17075 wine_fn_config_dll d3d10core enable_d3d10core implib
17076 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17077 wine_fn_config_dll d3d11 enable_d3d11
17078 wine_fn_config_dll d3d8 enable_d3d8 implib
17079 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17080 wine_fn_config_dll d3d9 enable_d3d9 implib
17081 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17082 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17083 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17084 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17085 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17086 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17087 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17088 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17089 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17090 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17091 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17092 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17093 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17094 wine_fn_config_dll d3dim enable_d3dim implib
17095 wine_fn_config_dll d3drm enable_d3drm implib
17096 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17097 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17098 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17099 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17100 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17101 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17102 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17103 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17104 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17105 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17106 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17107 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17108 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17109 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17110 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17111 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17112 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17113 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17114 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17115 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17116 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17117 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17118 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17119 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17120 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17121 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17122 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17123 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17124 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17125 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17126 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17127 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17128 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17129 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17130 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17131 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17132 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17133 wine_fn_config_dll dbgeng enable_dbgeng implib
17134 wine_fn_config_dll dbghelp enable_dbghelp implib
17135 wine_fn_config_dll dciman32 enable_dciman32 implib
17136 wine_fn_config_dll ddeml.dll16 enable_win16
17137 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17138 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17139 wine_fn_config_dll ddrawex enable_ddrawex clean
17140 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17141 wine_fn_config_dll devenum enable_devenum clean
,po
17142 wine_fn_config_test dlls
/devenum
/tests devenum_test
17143 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17144 wine_fn_config_dll difxapi enable_difxapi
17145 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17146 wine_fn_config_test dlls
/dinput
/tests dinput_test
17147 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17148 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17149 wine_fn_config_dll dispdib.dll16 enable_win16
17150 wine_fn_config_dll dispex enable_dispex clean
17151 wine_fn_config_test dlls
/dispex
/tests dispex_test
17152 wine_fn_config_dll display.drv16 enable_win16
17153 wine_fn_config_dll dmband enable_dmband clean
17154 wine_fn_config_test dlls
/dmband
/tests dmband_test
17155 wine_fn_config_dll dmcompos enable_dmcompos clean
17156 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17157 wine_fn_config_dll dmime enable_dmime clean
17158 wine_fn_config_test dlls
/dmime
/tests dmime_test
17159 wine_fn_config_dll dmloader enable_dmloader clean
17160 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17161 wine_fn_config_dll dmscript enable_dmscript clean
17162 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17163 wine_fn_config_dll dmstyle enable_dmstyle clean
17164 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17165 wine_fn_config_dll dmsynth enable_dmsynth clean
17166 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17167 wine_fn_config_dll dmusic enable_dmusic clean
17168 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17169 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17170 wine_fn_config_dll dnsapi enable_dnsapi implib
17171 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17172 wine_fn_config_dll dplay enable_dplay implib
17173 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17174 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17175 wine_fn_config_dll dpnaddr enable_dpnaddr
17176 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17177 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17178 wine_fn_config_dll dpnhpast enable_dpnhpast
17179 wine_fn_config_dll dpnlobby enable_dpnlobby
17180 wine_fn_config_dll dpvoice enable_dpvoice clean
17181 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17182 wine_fn_config_dll dpwsockx enable_dpwsockx
17183 wine_fn_config_dll drmclien enable_drmclien
17184 wine_fn_config_dll dsound enable_dsound clean
,implib
17185 wine_fn_config_test dlls
/dsound
/tests dsound_test
17186 wine_fn_config_dll dssenh enable_dssenh
17187 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17188 wine_fn_config_dll dswave enable_dswave clean
17189 wine_fn_config_test dlls
/dswave
/tests dswave_test
17190 wine_fn_config_dll dwmapi enable_dwmapi implib
17191 wine_fn_config_dll dwrite enable_dwrite implib
17192 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17193 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17194 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17195 wine_fn_config_lib dxerr8
17196 wine_fn_config_lib dxerr9
17197 wine_fn_config_dll dxgi enable_dxgi implib
17198 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17199 wine_fn_config_lib dxguid
17200 wine_fn_config_dll dxva2 enable_dxva2
17201 wine_fn_config_dll explorerframe enable_explorerframe clean
17202 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17203 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17204 wine_fn_config_dll faultrep enable_faultrep implib
17205 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17206 wine_fn_config_dll fltlib enable_fltlib
17207 wine_fn_config_dll fntcache enable_fntcache
17208 wine_fn_config_dll fontsub enable_fontsub
17209 wine_fn_config_dll fusion enable_fusion
17210 wine_fn_config_test dlls
/fusion
/tests fusion_test
17211 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17212 wine_fn_config_dll gameux enable_gameux clean
17213 wine_fn_config_test dlls
/gameux
/tests gameux_test
17214 wine_fn_config_dll gdi.exe16 enable_win16
17215 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17216 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17217 wine_fn_config_dll gdiplus enable_gdiplus implib
17218 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17219 wine_fn_config_dll glu32 enable_glu32 implib
17220 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17221 wine_fn_config_dll gpkcsp enable_gpkcsp
17222 wine_fn_config_dll hal enable_hal
17223 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17224 wine_fn_config_dll hid enable_hid implib
17225 wine_fn_config_dll hlink enable_hlink clean
,implib
17226 wine_fn_config_test dlls
/hlink
/tests hlink_test
17227 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17228 wine_fn_config_dll httpapi enable_httpapi
17229 wine_fn_config_dll iccvid enable_iccvid po
17230 wine_fn_config_dll icmp enable_icmp
17231 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17232 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17233 wine_fn_config_dll ifsmgr.vxd enable_win16
17234 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17235 wine_fn_config_dll imagehlp enable_imagehlp implib
17236 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17237 wine_fn_config_dll imm.dll16 enable_win16
17238 wine_fn_config_dll imm32 enable_imm32 implib
17239 wine_fn_config_test dlls
/imm32
/tests imm32_test
17240 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17241 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17242 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17243 wine_fn_config_dll inetmib1 enable_inetmib1
17244 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17245 wine_fn_config_dll infosoft enable_infosoft clean
17246 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17247 wine_fn_config_dll initpki enable_initpki
17248 wine_fn_config_dll inkobj enable_inkobj
17249 wine_fn_config_dll inseng enable_inseng clean
17250 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17251 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17252 wine_fn_config_dll itircl enable_itircl
17253 wine_fn_config_dll itss enable_itss clean
17254 wine_fn_config_test dlls
/itss
/tests itss_test
17255 wine_fn_config_dll joy.cpl enable_joy_cpl po
17256 wine_fn_config_dll jscript enable_jscript clean
,po
17257 wine_fn_config_test dlls
/jscript
/tests jscript_test
17258 wine_fn_config_dll jsproxy enable_jsproxy implib
17259 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17260 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17261 wine_fn_config_dll keyboard.drv16 enable_win16
17262 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17263 wine_fn_config_dll ksuser enable_ksuser
17264 wine_fn_config_dll ktmw32 enable_ktmw32
17265 wine_fn_config_dll loadperf enable_loadperf implib
17266 wine_fn_config_dll localspl enable_localspl po
17267 wine_fn_config_test dlls
/localspl
/tests localspl_test
17268 wine_fn_config_dll localui enable_localui po
17269 wine_fn_config_test dlls
/localui
/tests localui_test
17270 wine_fn_config_dll lz32 enable_lz32 implib
17271 wine_fn_config_test dlls
/lz32
/tests lz32_test
17272 wine_fn_config_dll lzexpand.dll16 enable_win16
17273 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17274 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17275 wine_fn_config_dll mapistub enable_mapistub
17276 wine_fn_config_dll mciavi32 enable_mciavi32
17277 wine_fn_config_dll mcicda enable_mcicda
17278 wine_fn_config_dll mciqtz32 enable_mciqtz32
17279 wine_fn_config_dll mciseq enable_mciseq
17280 wine_fn_config_dll mciwave enable_mciwave
17281 wine_fn_config_dll mfplat enable_mfplat
17282 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17283 wine_fn_config_dll mgmtapi enable_mgmtapi
17284 wine_fn_config_dll midimap enable_midimap
17285 wine_fn_config_dll mlang enable_mlang clean
,implib
17286 wine_fn_config_test dlls
/mlang
/tests mlang_test
17287 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17288 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17289 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17290 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17291 wine_fn_config_dll mmdevldr.vxd enable_win16
17292 wine_fn_config_dll mmsystem.dll16 enable_win16
17293 wine_fn_config_dll monodebg.vxd enable_win16
17294 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17295 wine_fn_config_dll mouse.drv16 enable_win16
17296 wine_fn_config_dll mpr enable_mpr implib
,po
17297 wine_fn_config_test dlls
/mpr
/tests mpr_test
17298 wine_fn_config_dll mprapi enable_mprapi implib
17299 wine_fn_config_dll msacm.dll16 enable_win16
17300 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17301 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17302 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17303 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17304 wine_fn_config_dll msasn1 enable_msasn1 implib
17305 wine_fn_config_dll mscat32 enable_mscat32
17306 wine_fn_config_dll mscms enable_mscms implib
17307 wine_fn_config_test dlls
/mscms
/tests mscms_test
17308 wine_fn_config_dll mscoree enable_mscoree clean
17309 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17310 wine_fn_config_dll msctf enable_msctf clean
17311 wine_fn_config_test dlls
/msctf
/tests msctf_test
17312 wine_fn_config_dll msdaps enable_msdaps clean
17313 wine_fn_config_dll msdmo enable_msdmo implib
17314 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17315 wine_fn_config_dll msftedit enable_msftedit
17316 wine_fn_config_dll msg711.acm enable_msg711_acm
17317 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17318 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17319 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17320 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17321 wine_fn_config_dll msi enable_msi clean
,implib
,po
17322 wine_fn_config_test dlls
/msi
/tests msi_test
17323 wine_fn_config_dll msident enable_msident clean
17324 wine_fn_config_dll msimg32 enable_msimg32 implib
17325 wine_fn_config_dll msimsg enable_msimsg
17326 wine_fn_config_dll msimtf enable_msimtf clean
17327 wine_fn_config_dll msisip enable_msisip
17328 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17329 wine_fn_config_dll msls31 enable_msls31
17330 wine_fn_config_dll msnet32 enable_msnet32
17331 wine_fn_config_dll mspatcha enable_mspatcha
17332 wine_fn_config_dll msrle32 enable_msrle32 po
17333 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17334 wine_fn_config_dll mssign32 enable_mssign32
17335 wine_fn_config_dll mssip32 enable_mssip32
17336 wine_fn_config_dll mstask enable_mstask clean
17337 wine_fn_config_test dlls
/mstask
/tests mstask_test
17338 wine_fn_config_dll msvcirt enable_msvcirt
17339 wine_fn_config_dll msvcm80 enable_msvcm80
17340 wine_fn_config_dll msvcm90 enable_msvcm90
17341 wine_fn_config_dll msvcp100 enable_msvcp100
17342 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17343 wine_fn_config_dll msvcp110 enable_msvcp110
17344 wine_fn_config_dll msvcp120 enable_msvcp120
17345 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17346 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17347 wine_fn_config_dll msvcp60 enable_msvcp60
17348 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17349 wine_fn_config_dll msvcp70 enable_msvcp70
17350 wine_fn_config_dll msvcp71 enable_msvcp71
17351 wine_fn_config_dll msvcp80 enable_msvcp80
17352 wine_fn_config_dll msvcp90 enable_msvcp90
17353 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17354 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17355 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17356 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17357 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17358 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17359 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17360 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17361 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17362 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17363 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17364 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17365 wine_fn_config_dll msvcrt enable_msvcrt implib
17366 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17367 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17368 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17369 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17370 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17371 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17372 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17373 wine_fn_config_dll msvidc32 enable_msvidc32 po
17374 wine_fn_config_dll msvideo.dll16 enable_win16
17375 wine_fn_config_dll mswsock enable_mswsock implib
17376 wine_fn_config_dll msxml enable_msxml clean
17377 wine_fn_config_dll msxml2 enable_msxml2 clean
17378 wine_fn_config_dll msxml3 enable_msxml3 clean
17379 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17380 wine_fn_config_dll msxml4 enable_msxml4 clean
17381 wine_fn_config_dll msxml6 enable_msxml6 clean
17382 wine_fn_config_dll nddeapi enable_nddeapi implib
17383 wine_fn_config_dll ndis.sys enable_ndis_sys
17384 wine_fn_config_dll netapi32 enable_netapi32 implib
17385 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17386 wine_fn_config_dll netcfgx enable_netcfgx clean
17387 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17388 wine_fn_config_dll netprofm enable_netprofm clean
17389 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17390 wine_fn_config_dll newdev enable_newdev implib
17391 wine_fn_config_dll normaliz enable_normaliz implib
17392 wine_fn_config_dll npmshtml enable_npmshtml
17393 wine_fn_config_dll npptools enable_npptools
17394 wine_fn_config_dll ntdll enable_ntdll implib
17395 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17396 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17397 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17398 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17399 wine_fn_config_dll ntprint enable_ntprint
17400 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17401 wine_fn_config_dll objsel enable_objsel clean
17402 wine_fn_config_dll odbc32 enable_odbc32 implib
17403 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17404 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17405 wine_fn_config_dll odbccu32 enable_odbccu32
17406 wine_fn_config_dll ole2.dll16 enable_win16
17407 wine_fn_config_dll ole2conv.dll16 enable_win16
17408 wine_fn_config_dll ole2disp.dll16 enable_win16
17409 wine_fn_config_dll ole2nls.dll16 enable_win16
17410 wine_fn_config_dll ole2prox.dll16 enable_win16
17411 wine_fn_config_dll ole2thk.dll16 enable_win16
17412 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17413 wine_fn_config_test dlls
/ole32
/tests ole32_test
17414 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17415 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17416 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17417 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17418 wine_fn_config_dll olecli.dll16 enable_win16
17419 wine_fn_config_dll olecli32 enable_olecli32 implib
17420 wine_fn_config_dll oledb32 enable_oledb32 clean
17421 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17422 wine_fn_config_dll oledlg enable_oledlg implib
,po
17423 wine_fn_config_dll olepro32 enable_olepro32 implib
17424 wine_fn_config_dll olesvr.dll16 enable_win16
17425 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17426 wine_fn_config_dll olethk32 enable_olethk32
17427 wine_fn_config_dll openal32 enable_openal32
17428 wine_fn_config_dll opencl enable_opencl
17429 wine_fn_config_dll opengl32 enable_opengl32 implib
17430 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17431 wine_fn_config_dll packager enable_packager clean
17432 wine_fn_config_test dlls
/packager
/tests packager_test
17433 wine_fn_config_dll pdh enable_pdh implib
17434 wine_fn_config_test dlls
/pdh
/tests pdh_test
17435 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17436 wine_fn_config_dll pidgen enable_pidgen
17437 wine_fn_config_dll powrprof enable_powrprof implib
17438 wine_fn_config_dll printui enable_printui
17439 wine_fn_config_dll prntvpt enable_prntvpt
17440 wine_fn_config_dll propsys enable_propsys clean
,implib
17441 wine_fn_config_test dlls
/propsys
/tests propsys_test
17442 wine_fn_config_dll psapi enable_psapi implib
17443 wine_fn_config_test dlls
/psapi
/tests psapi_test
17444 wine_fn_config_dll pstorec enable_pstorec clean
17445 wine_fn_config_dll qcap enable_qcap
17446 wine_fn_config_test dlls
/qcap
/tests qcap_test
17447 wine_fn_config_dll qedit enable_qedit clean
17448 wine_fn_config_test dlls
/qedit
/tests qedit_test
17449 wine_fn_config_dll qmgr enable_qmgr clean
17450 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17451 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17452 wine_fn_config_dll quartz enable_quartz clean
,implib
17453 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17454 wine_fn_config_dll query enable_query
17455 wine_fn_config_dll rasapi16.dll16 enable_win16
17456 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17457 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17458 wine_fn_config_dll rasdlg enable_rasdlg implib
17459 wine_fn_config_dll regapi enable_regapi
17460 wine_fn_config_dll resutils enable_resutils implib
17461 wine_fn_config_dll riched20 enable_riched20 implib
17462 wine_fn_config_test dlls
/riched20
/tests riched20_test
17463 wine_fn_config_dll riched32 enable_riched32
17464 wine_fn_config_test dlls
/riched32
/tests riched32_test
17465 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17466 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17467 wine_fn_config_dll rsabase enable_rsabase
17468 wine_fn_config_dll rsaenh enable_rsaenh implib
17469 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17470 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17471 wine_fn_config_dll rtutils enable_rtutils implib
17472 wine_fn_config_dll samlib enable_samlib
17473 wine_fn_config_dll sane.ds enable_sane_ds po
17474 wine_fn_config_dll scarddlg enable_scarddlg
17475 wine_fn_config_dll sccbase enable_sccbase
17476 wine_fn_config_dll schannel enable_schannel
17477 wine_fn_config_test dlls
/schannel
/tests schannel_test
17478 wine_fn_config_dll schedsvc enable_schedsvc clean
17479 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17480 wine_fn_config_dll scrrun enable_scrrun clean
17481 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17482 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17483 wine_fn_config_dll secur32 enable_secur32 implib
17484 wine_fn_config_test dlls
/secur32
/tests secur32_test
17485 wine_fn_config_dll security enable_security
17486 wine_fn_config_dll sensapi enable_sensapi implib
17487 wine_fn_config_dll serialui enable_serialui implib
,po
17488 wine_fn_config_test dlls
/serialui
/tests serialui_test
17489 wine_fn_config_dll setupapi enable_setupapi implib
,po
17490 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17491 wine_fn_config_dll setupx.dll16 enable_win16
17492 wine_fn_config_dll sfc enable_sfc implib
17493 wine_fn_config_dll sfc_os enable_sfc_os implib
17494 wine_fn_config_dll shdoclc enable_shdoclc po
17495 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17496 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17497 wine_fn_config_dll shell.dll16 enable_win16
17498 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17499 wine_fn_config_test dlls
/shell32
/tests shell32_test
17500 wine_fn_config_dll shfolder enable_shfolder implib
17501 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17502 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17503 wine_fn_config_dll slbcsp enable_slbcsp
17504 wine_fn_config_dll slc enable_slc implib
17505 wine_fn_config_dll snmpapi enable_snmpapi implib
17506 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17507 wine_fn_config_dll softpub enable_softpub
17508 wine_fn_config_dll sound.drv16 enable_win16
17509 wine_fn_config_dll spoolss enable_spoolss implib
17510 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17511 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17512 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17513 wine_fn_config_dll sti enable_sti clean
,implib
17514 wine_fn_config_test dlls
/sti
/tests sti_test
17515 wine_fn_config_dll storage.dll16 enable_win16
17516 wine_fn_config_dll stress.dll16 enable_win16
17517 wine_fn_config_lib strmbase
17518 wine_fn_config_lib strmiids
17519 wine_fn_config_dll svrapi enable_svrapi
17520 wine_fn_config_dll sxs enable_sxs implib
17521 wine_fn_config_test dlls
/sxs
/tests sxs_test
17522 wine_fn_config_dll system.drv16 enable_win16
17523 wine_fn_config_dll t2embed enable_t2embed
17524 wine_fn_config_dll tapi32 enable_tapi32 implib
17525 wine_fn_config_dll taskschd enable_taskschd clean
17526 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17527 wine_fn_config_dll toolhelp.dll16 enable_win16
17528 wine_fn_config_dll traffic enable_traffic
17529 wine_fn_config_dll twain.dll16 enable_win16
17530 wine_fn_config_dll twain_32 enable_twain_32
17531 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17532 wine_fn_config_dll typelib.dll16 enable_win16
17533 wine_fn_config_dll unicows enable_unicows implib
17534 wine_fn_config_dll updspapi enable_updspapi
17535 wine_fn_config_dll url enable_url implib
17536 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17537 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17538 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17539 wine_fn_config_dll user.exe16 enable_win16
17540 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17541 wine_fn_config_test dlls
/user32
/tests user32_test
17542 wine_fn_config_dll userenv enable_userenv implib
17543 wine_fn_config_test dlls
/userenv
/tests userenv_test
17544 wine_fn_config_dll usp10 enable_usp10 implib
17545 wine_fn_config_test dlls
/usp10
/tests usp10_test
17546 wine_fn_config_lib uuid
17547 wine_fn_config_dll uxtheme enable_uxtheme implib
17548 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17549 wine_fn_config_dll vbscript enable_vbscript clean
17550 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17551 wine_fn_config_dll vcomp enable_vcomp
17552 wine_fn_config_dll vcomp100 enable_vcomp100
17553 wine_fn_config_dll vcomp90 enable_vcomp90
17554 wine_fn_config_dll vdhcp.vxd enable_win16
17555 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17556 wine_fn_config_dll ver.dll16 enable_win16
17557 wine_fn_config_dll version enable_version implib
17558 wine_fn_config_test dlls
/version
/tests version_test
17559 wine_fn_config_dll vmm.vxd enable_win16
17560 wine_fn_config_dll vnbt.vxd enable_win16
17561 wine_fn_config_dll vnetbios.vxd enable_win16
17562 wine_fn_config_dll vssapi enable_vssapi
17563 wine_fn_config_dll vtdapi.vxd enable_win16
17564 wine_fn_config_dll vwin32.vxd enable_win16
17565 wine_fn_config_dll w32skrnl enable_win16
17566 wine_fn_config_dll w32sys.dll16 enable_win16
17567 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17568 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17569 wine_fn_config_dll wbemprox enable_wbemprox clean
17570 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17571 wine_fn_config_dll webservices enable_webservices implib
17572 wine_fn_config_dll wer enable_wer implib
17573 wine_fn_config_test dlls
/wer
/tests wer_test
17574 wine_fn_config_dll wevtapi enable_wevtapi
17575 wine_fn_config_dll wiaservc enable_wiaservc clean
17576 wine_fn_config_dll win32s16.dll16 enable_win16
17577 wine_fn_config_dll win87em.dll16 enable_win16
17578 wine_fn_config_dll winaspi.dll16 enable_win16
17579 wine_fn_config_dll windebug.dll16 enable_win16
17580 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17581 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17582 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17583 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17584 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17585 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17586 wine_fn_config_lib winecrt0
17587 wine_fn_config_dll wined3d enable_wined3d implib
17588 wine_fn_config_dll winegstreamer enable_winegstreamer
17589 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17590 wine_fn_config_dll winemac.drv enable_winemac_drv
17591 wine_fn_config_dll winemapi enable_winemapi
17592 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17593 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17594 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17595 wine_fn_config_dll wineps16.drv16 enable_win16
17596 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17597 wine_fn_config_dll winex11.drv enable_winex11_drv
17598 wine_fn_config_dll wing.dll16 enable_win16
17599 wine_fn_config_dll wing32 enable_wing32
17600 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17601 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17602 wine_fn_config_dll wininet enable_wininet implib
,po
17603 wine_fn_config_test dlls
/wininet
/tests wininet_test
17604 wine_fn_config_dll winmm enable_winmm implib
,po
17605 wine_fn_config_test dlls
/winmm
/tests winmm_test
17606 wine_fn_config_dll winnls.dll16 enable_win16
17607 wine_fn_config_dll winnls32 enable_winnls32 implib
17608 wine_fn_config_dll winscard enable_winscard implib
17609 wine_fn_config_dll winsock.dll16 enable_win16
17610 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17611 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17612 wine_fn_config_dll winsta enable_winsta
17613 wine_fn_config_dll wintab.dll16 enable_win16
17614 wine_fn_config_dll wintab32 enable_wintab32 implib
17615 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17616 wine_fn_config_dll wintrust enable_wintrust implib
17617 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17618 wine_fn_config_dll wlanapi enable_wlanapi
17619 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17620 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17621 wine_fn_config_dll wmi enable_wmi
17622 wine_fn_config_dll wmiutils enable_wmiutils clean
17623 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17624 wine_fn_config_dll wmp enable_wmp clean
17625 wine_fn_config_test dlls
/wmp
/tests wmp_test
17626 wine_fn_config_dll wmvcore enable_wmvcore
17627 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17628 wine_fn_config_dll wow32 enable_win16 implib
17629 wine_fn_config_dll wpcap enable_wpcap
17630 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17631 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17632 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17633 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17634 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17635 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17636 wine_fn_config_dll wsock32 enable_wsock32 implib
17637 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17638 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17639 wine_fn_config_dll wuapi enable_wuapi clean
17640 wine_fn_config_dll wuaueng enable_wuaueng
17641 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17642 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17643 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17644 wine_fn_config_dll xinput1_1 enable_xinput1_1
17645 wine_fn_config_dll xinput1_2 enable_xinput1_2
17646 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17647 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17648 wine_fn_config_dll xinput1_4 enable_xinput1_4
17649 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17650 wine_fn_config_dll xmllite enable_xmllite implib
17651 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17652 wine_fn_config_dll xolehlp enable_xolehlp
17653 wine_fn_config_dll xpsprint enable_xpsprint
17654 wine_fn_config_dll xpssvcs enable_xpssvcs
17655 wine_fn_config_makefile documentation enable_documentation clean
17656 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17657 wine_fn_config_makefile include enable_include clean
,install-dev
17658 wine_fn_config_makefile libs
/port enable_libs_port
17659 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17660 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17661 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17662 wine_fn_config_program arp enable_arp
install
17663 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17664 wine_fn_config_program attrib enable_attrib
install,po
17665 wine_fn_config_program cabarc enable_cabarc
install
17666 wine_fn_config_program cacls enable_cacls
install
17667 wine_fn_config_program
clock enable_clock
install,po
17668 wine_fn_config_program cmd enable_cmd
install,po
17669 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17670 wine_fn_config_program conhost enable_conhost
install
17671 wine_fn_config_program control enable_control
install
17672 wine_fn_config_program cscript enable_cscript clean
,install
17673 wine_fn_config_program dpnsvr enable_dpnsvr
install
17674 wine_fn_config_program dxdiag enable_dxdiag
install,po
17675 wine_fn_config_program eject enable_eject
install
17676 wine_fn_config_program
expand enable_expand
install
17677 wine_fn_config_program explorer enable_explorer
install,po
17678 wine_fn_config_program extrac32 enable_extrac32
install
17679 wine_fn_config_program findstr enable_findstr
install
17680 wine_fn_config_program hh enable_hh
install
17681 wine_fn_config_program hostname enable_hostname
install,po
17682 wine_fn_config_program icinfo enable_icinfo
install
17683 wine_fn_config_program iexplore enable_iexplore
install
17684 wine_fn_config_program ipconfig enable_ipconfig
install,po
17685 wine_fn_config_program lodctr enable_lodctr
install
17686 wine_fn_config_program mofcomp enable_mofcomp
install
17687 wine_fn_config_program mshta enable_mshta
install
17688 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17689 wine_fn_config_program net enable_net
install,po
17690 wine_fn_config_program netsh enable_netsh
install
17691 wine_fn_config_program netstat enable_netstat
install,po
17692 wine_fn_config_program ngen enable_ngen
install
17693 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17694 wine_fn_config_program oleview enable_oleview
install,po
17695 wine_fn_config_program
ping enable_ping
install
17696 wine_fn_config_program plugplay enable_plugplay
install
17697 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17698 wine_fn_config_program progman enable_progman
install,po
17699 wine_fn_config_program reg enable_reg
install,po
17700 wine_fn_config_test programs
/reg
/tests reg.exe_test
17701 wine_fn_config_program regasm enable_regasm
install
17702 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17703 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17704 wine_fn_config_program regsvcs enable_regsvcs
install
17705 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17706 wine_fn_config_program rpcss enable_rpcss clean
,install
17707 wine_fn_config_program rundll.exe16 enable_win16
install
17708 wine_fn_config_program rundll32 enable_rundll32
install
17709 wine_fn_config_program sc enable_sc
install
17710 wine_fn_config_program schtasks enable_schtasks
install
17711 wine_fn_config_program sdbinst enable_sdbinst
install
17712 wine_fn_config_program secedit enable_secedit
install
17713 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17714 wine_fn_config_program services enable_services clean
,install
17715 wine_fn_config_test programs
/services
/tests services.exe_test
17716 wine_fn_config_program spoolsv enable_spoolsv
install
17717 wine_fn_config_program start enable_start
install,po
17718 wine_fn_config_program svchost enable_svchost
install
17719 wine_fn_config_program systeminfo enable_systeminfo
install
17720 wine_fn_config_program taskkill enable_taskkill
install,po
17721 wine_fn_config_program tasklist enable_tasklist
install
17722 wine_fn_config_program taskmgr enable_taskmgr
install,po
17723 wine_fn_config_program termsv enable_termsv
install
17724 wine_fn_config_program uninstaller enable_uninstaller
install,po
17725 wine_fn_config_program unlodctr enable_unlodctr
install
17726 wine_fn_config_program view enable_view
install,po
17727 wine_fn_config_program wevtutil enable_wevtutil
install
17728 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17729 wine_fn_config_program winebrowser enable_winebrowser
install
17730 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17731 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17732 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17733 wine_fn_config_program winedevice enable_winedevice
install
17734 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17735 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17736 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17737 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17738 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17739 wine_fn_config_program winetest enable_winetest clean
17740 wine_fn_config_program winevdm enable_win16
install
17741 wine_fn_config_program winhelp.exe16 enable_win16
install
17742 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17743 wine_fn_config_program winoldap.mod16 enable_win16
install
17744 wine_fn_config_program winver enable_winver
install
17745 wine_fn_config_program wmic enable_wmic
install,po
17746 wine_fn_config_program wordpad enable_wordpad
install,po
17747 wine_fn_config_program
write enable_write
install,po
17748 wine_fn_config_program wscript enable_wscript clean
,install
17749 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17750 wine_fn_config_program wusa enable_wusa
install
17751 wine_fn_config_program xcopy enable_xcopy
install,po
17752 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17753 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17754 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17755 wine_fn_config_tool tools
/sfnt2fon clean
17756 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17757 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17758 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17759 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17760 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17761 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17813 wine_fn_ignore_file
".gitignore"
17814 wine_fn_ignore_file
"Makefile"
17815 wine_fn_ignore_file
"TAGS"
17816 wine_fn_ignore_file
"tags"
17817 wine_fn_ignore_file
"autom4te.cache"
17818 wine_fn_ignore_file
"config.cache"
17819 wine_fn_ignore_file
"config.log"
17820 wine_fn_ignore_file
"config.status"
17821 wine_fn_ignore_file
"configure.lineno"
17822 wine_fn_ignore_file
"include/config.h"
17823 wine_fn_ignore_file
"include/stamp-h"
17824 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17826 if test "x$enable_tools" != xno
17828 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17829 ac_config_commands
="$ac_config_commands tools/makedep"
17833 ac_config_commands
="$ac_config_commands Makefile"
17836 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17840 if test "x$enable_maintainer_mode" = xyes
17842 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17843 autoconf --warnings=all
17844 include/config.h.in: include/stamp-h.in
17845 include/stamp-h.in: configure.ac aclocal.m4
17846 autoheader --warnings=all
17847 @echo timestamp > \$@"
17850 if test "x$with_gettextpo" = xyes
17852 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17853 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17854 \$(LINGUAS:%=po/%.po): po/wine.pot
17855 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17856 po/wine.pot: \$(ALL_POT_FILES)
17857 msgcat -o \$@ \$(ALL_POT_FILES)"
17860 if test "$MSGFMT" != false
17862 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17864 \$(RM) \$(LINGUAS:%=po/%.mo)"
17867 test "$srcdir" = . || posrc
="$srcdir/po"
17870 wine_fn_ignore_file
"po/$i.mo"
17871 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17872 \$(MSGFMT) -o \$@ $posrc/$i.po"
17878 if test "x$enable_tools" != xno
17880 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17881 @./config.status tools/makedep
17882 Makefile: tools/makedep$ac_exeext
17884 \$(RM) tools/makedep$ac_exeext"
17886 wine_fn_append_rule
"\$(MAKEDEP):
17887 @echo \"You need to run make in $TOOLSDIR first\" && false"
17890 if test -n "$with_wine64"
17892 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17893 fonts server tools:
17894 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17895 $with_wine64/loader/wine:
17896 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17897 $with_wine64/loader/wine-preloader:
17898 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17900 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17902 as_fn_append LOADER_RULES
"
17903 install install-lib:: wine.inf install-man-pages
17904 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17905 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17908 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17912 if test "$srcdir" = .
17914 ac_config_commands
="$ac_config_commands .gitignore"
17918 $as_echo " done" >&6
17919 cat >confcache
<<\_ACEOF
17920 # This file is a shell script that caches the results of configure
17921 # tests run on this system so they can be shared between configure
17922 # scripts and configure runs, see configure's option --config-cache.
17923 # It is not useful on other systems. If it contains results you don't
17924 # want to keep, you may remove or edit it.
17926 # config.status only pays attention to the cache file if you give it
17927 # the --recheck option to rerun configure.
17929 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17930 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17931 # following values.
17935 # The following way of writing the cache mishandles newlines in values,
17936 # but we know of no workaround that is simple, portable, and efficient.
17937 # So, we kill variables containing newlines.
17938 # Ultrix sh set writes to stderr and can't be redirected directly,
17939 # and sets the high bit in the cache file unless we assign to the vars.
17941 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17942 eval ac_val
=\$
$ac_var
17946 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17947 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17950 _ | IFS | as_nl
) ;; #(
17951 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17952 *) { eval $ac_var=; unset $ac_var;} ;;
17958 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17959 *${as_nl}ac_space
=\
*)
17960 # `set' does not quote correctly, so add quotes: double-quote
17961 # substitution turns \\\\ into \\, and sed turns \\ into \.
17964 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17967 # `set' quotes correctly as required by POSIX, so do not add quotes.
17968 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17977 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17979 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17981 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17982 if test -w "$cache_file"; then
17983 if test "x$cache_file" != "x/dev/null"; then
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17985 $as_echo "$as_me: updating cache $cache_file" >&6;}
17986 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17987 cat confcache
>"$cache_file"
17989 case $cache_file in #(
17991 mv -f confcache
"$cache_file"$$
&&
17992 mv -f "$cache_file"$$
"$cache_file" ;; #(
17994 mv -f confcache
"$cache_file" ;;
17999 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18000 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18005 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18006 # Let make expand exec_prefix.
18007 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18009 DEFS
=-DHAVE_CONFIG_H
18014 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18015 # 1. Remove the extension, and $U if already installed.
18016 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18017 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18018 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18019 # will be set to the directory where LIBOBJS objects are built.
18020 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18021 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18023 LIBOBJS
=$ac_libobjs
18025 LTLIBOBJS
=$ac_ltlibobjs
18029 : "${CONFIG_STATUS=./config.status}"
18031 ac_clean_files_save
=$ac_clean_files
18032 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18034 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18036 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18038 # Generated by $as_me.
18039 # Run this file to recreate the current configuration.
18040 # Compiler output produced by configure, useful for debugging
18041 # configure, is in config.log if it exists.
18044 ac_cs_recheck=false
18047 SHELL=\${CONFIG_SHELL-$SHELL}
18050 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18051 ## -------------------- ##
18052 ## M4sh Initialization. ##
18053 ## -------------------- ##
18055 # Be more Bourne compatible
18056 DUALCASE
=1; export DUALCASE
# for MKS sh
18057 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18060 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18061 # is contrary to our usage. Disable this feature.
18062 alias -g '${1+"$@"}'='"$@"'
18063 setopt NO_GLOB_SUBST
18065 case `(set -o) 2>/dev/null` in #(
18077 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18078 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18079 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18080 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18081 # Prefer a ksh shell builtin over an external printf program on Solaris,
18082 # but without wasting forks for bash or zsh.
18083 if test -z "$BASH_VERSION$ZSH_VERSION" \
18084 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18085 as_echo='print
-r --'
18086 as_echo_n='print
-rn --'
18087 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18088 as_echo='printf %s
\n'
18089 as_echo_n='printf %s
'
18091 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18092 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18093 as_echo_n='/usr
/ucb
/echo -n'
18095 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18096 as_echo_n_body='eval
18100 expr "X$arg" : "X\\(.*\\)$as_nl";
18101 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18103 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18105 export as_echo_n_body
18106 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18108 export as_echo_body
18109 as_echo='sh
-c $as_echo_body as_echo
'
18112 # The user is always right.
18113 if test "${PATH_SEPARATOR+set}" != set; then
18115 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18116 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18123 # We need space, tab and new line, in precisely that order. Quoting is
18124 # there to prevent editors from complaining about space-tab.
18125 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18126 # splitting by setting IFS to empty value.)
18129 # Find who we are. Look in the path if we contain no directory separator.
18132 *[\\/]* ) as_myself=$0 ;;
18133 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18134 for as_dir in $PATH
18137 test -z "$as_dir" && as_dir=.
18138 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18144 # We did not find ourselves, most probably we were run as `sh COMMAND'
18145 # in which case we are not to be found in the path.
18146 if test "x$as_myself" = x
; then
18149 if test ! -f "$as_myself"; then
18150 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18154 # Unset variables that we do not need and which cause bugs (e.g. in
18155 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18156 # suppresses any "Segmentation fault" message there. '((' could
18157 # trigger a bug in pdksh 5.2.14.
18158 for as_var
in BASH_ENV ENV MAIL MAILPATH
18159 do eval test x\
${$as_var+set} = xset \
18160 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18173 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18176 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18177 # ----------------------------------------
18178 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18179 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18180 # script with STATUS, using 1 if that was 0.
18183 as_status
=$1; test $as_status -eq 0 && as_status
=1
18185 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18186 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18188 $as_echo "$as_me: error: $2" >&2
18189 as_fn_exit
$as_status
18193 # as_fn_set_status STATUS
18194 # -----------------------
18195 # Set $? to STATUS, without forking.
18196 as_fn_set_status
()
18199 } # as_fn_set_status
18201 # as_fn_exit STATUS
18202 # -----------------
18203 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18207 as_fn_set_status
$1
18213 # Portably unset VAR.
18216 { eval $1=; unset $1;}
18218 as_unset
=as_fn_unset
18219 # as_fn_append VAR VALUE
18220 # ----------------------
18221 # Append the text in VALUE to the end of the definition contained in VAR. Take
18222 # advantage of any shell optimizations that allow amortized linear growth over
18223 # repeated appends, instead of the typical quadratic growth present in naive
18225 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18226 eval 'as_fn_append ()
18237 # as_fn_arith ARG...
18238 # ------------------
18239 # Perform arithmetic evaluation on the ARGs, and store the result in the
18240 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18241 # must be portable across $(()) and expr.
18242 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18243 eval 'as_fn_arith ()
18250 as_val
=`expr "$@" || test $? -eq 1`
18255 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18256 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18262 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18263 as_basename
=basename
18268 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18274 as_me
=`$as_basename -- "$0" ||
18275 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18276 X"$0" : 'X\(//\)$' \| \
18277 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18279 sed '/^.*\/\([^/][^/]*\)\/*$/{
18293 # Avoid depending upon Character Ranges.
18294 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18295 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18296 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18297 as_cr_digits
='0123456789'
18298 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18300 ECHO_C
= ECHO_N
= ECHO_T
=
18301 case `echo -n x` in #(((((
18303 case `echo 'xy\c'` in
18304 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18306 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18313 rm -f conf$$ conf$$.exe conf$$.
file
18314 if test -d conf$$.dir
; then
18315 rm -f conf$$.dir
/conf$$.
file
18318 mkdir conf$$.dir
2>/dev
/null
18320 if (echo >conf$$.
file) 2>/dev
/null
; then
18321 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18323 # ... but there are two gotchas:
18324 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18325 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18326 # In both cases, we have to default to `cp -pR'.
18327 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18329 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18337 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18338 rmdir conf$$.dir
2>/dev
/null
18343 # Create "$as_dir" as a directory, including parents if necessary.
18348 -*) as_dir
=.
/$as_dir;;
18350 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18354 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18355 *) as_qdir
=$as_dir;;
18357 as_dirs
="'$as_qdir' $as_dirs"
18358 as_dir
=`$as_dirname -- "$as_dir" ||
18359 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18360 X"$as_dir" : 'X\(//\)[^/]' \| \
18361 X"$as_dir" : 'X\(//\)$' \| \
18362 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18363 $as_echo X"$as_dir" |
18364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18368 /^X\(\/\/\)[^/].*/{
18381 test -d "$as_dir" && break
18383 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18384 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18388 if mkdir
-p .
2>/dev
/null
; then
18389 as_mkdir_p
='mkdir -p "$as_dir"'
18391 test -d .
/-p && rmdir .
/-p
18396 # as_fn_executable_p FILE
18397 # -----------------------
18398 # Test if FILE is an executable regular file.
18399 as_fn_executable_p
()
18401 test -f "$1" && test -x "$1"
18402 } # as_fn_executable_p
18403 as_test_x
='test -x'
18404 as_executable_p
=as_fn_executable_p
18406 # Sed expression to map a string onto a valid CPP name.
18407 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18409 # Sed expression to map a string onto a valid variable name.
18410 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18414 ## ----------------------------------- ##
18415 ## Main body of $CONFIG_STATUS script. ##
18416 ## ----------------------------------- ##
18418 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18421 # Save the log message, to keep $0 and so on meaningful, and to
18422 # report actual input values of CONFIG_FILES etc. instead of their
18423 # values after options handling.
18425 This file was extended by Wine $as_me 1.7.34, which was
18426 generated by GNU Autoconf 2.69. Invocation command line was
18428 CONFIG_FILES = $CONFIG_FILES
18429 CONFIG_HEADERS = $CONFIG_HEADERS
18430 CONFIG_LINKS = $CONFIG_LINKS
18431 CONFIG_COMMANDS = $CONFIG_COMMANDS
18434 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18439 case $ac_config_files in *"
18440 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18443 case $ac_config_headers in *"
18444 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18449 # Files that config.status was made for.
18450 config_files="$ac_config_files"
18451 config_headers="$ac_config_headers"
18452 config_links="$ac_config_links"
18453 config_commands="$ac_config_commands"
18457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18459 \`$as_me' instantiates files and other configuration actions
18460 from templates according to the current configuration. Unless the files
18461 and actions are specified as TAGs, all are instantiated by default.
18463 Usage: $0 [OPTION]... [TAG]...
18465 -h, --help print this help, then exit
18466 -V, --version print version number and configuration settings, then exit
18467 --config print configuration, then exit
18468 -q, --quiet, --silent
18469 do not print progress messages
18470 -d, --debug don't remove temporary files
18471 --recheck update $as_me by reconfiguring in the same conditions
18472 --file=FILE[:TEMPLATE]
18473 instantiate the configuration file FILE
18474 --header=FILE[:TEMPLATE]
18475 instantiate the configuration header FILE
18477 Configuration files:
18480 Configuration headers:
18483 Configuration links:
18486 Configuration commands:
18489 Report bugs to <wine-devel@winehq.org>.
18490 Wine home page: <http://www.winehq.org>."
18493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18494 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18496 Wine config.status 1.7.34
18497 configured by $0, generated by GNU Autoconf 2.69,
18498 with options \\"\$ac_cs_config\\"
18500 Copyright (C) 2012 Free Software Foundation, Inc.
18501 This config.status script is free software; the Free Software Foundation
18502 gives unlimited permission to copy, distribute and modify it."
18506 test -n "\$AWK" || AWK=awk
18509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18510 # The default lists apply if the user does not specify any file.
18516 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18517 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18521 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18533 # Handling of the options.
18534 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18536 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18537 $as_echo "$ac_cs_version"; exit ;;
18538 --config |
--confi |
--conf |
--con |
--co |
--c )
18539 $as_echo "$ac_cs_config"; exit ;;
18540 --debug |
--debu |
--deb |
--de |
--d |
-d )
18542 --file |
--fil |
--fi |
--f )
18545 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18546 '') as_fn_error $?
"missing file argument" ;;
18548 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18549 ac_need_defaults
=false
;;
18550 --header |
--heade |
--head |
--hea )
18553 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18555 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18556 ac_need_defaults
=false
;;
18558 # Conflict between --help and --header
18559 as_fn_error $?
"ambiguous option: \`$1'
18560 Try \`$0 --help' for more information.";;
18561 --help |
--hel |
-h )
18562 $as_echo "$ac_cs_usage"; exit ;;
18563 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18564 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18567 # This is an error.
18568 -*) as_fn_error $?
"unrecognized option: \`$1'
18569 Try \`$0 --help' for more information." ;;
18571 *) as_fn_append ac_config_targets
" $1"
18572 ac_need_defaults
=false
;;
18578 ac_configure_extra_args
=
18580 if $ac_cs_silent; then
18582 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18587 if \$ac_cs_recheck; then
18588 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18590 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18591 CONFIG_SHELL='$SHELL'
18592 export CONFIG_SHELL
18597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18601 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18602 ## Running $as_me. ##
18608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18612 wine_fn_output_makedep ()
18614 as_dir=tools; as_fn_mkdir_p
18615 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18617 wine_fn_output_makefile ()
18619 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18620 `cat $wine_rules_file`
18622 as_fn_error $? "could not create Makefile" "$LINENO" 5
18624 wine_fn_output_gitignore ()
18626 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18629 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18636 # Handling of arguments.
18637 for ac_config_target
in $ac_config_targets
18639 case $ac_config_target in
18640 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18641 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18642 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18643 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18644 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18645 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18646 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18647 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18648 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18649 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18650 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18651 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18652 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18653 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18655 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18660 # If the user did not use the arguments to specify the items to instantiate,
18661 # then the envvar interface is used. Set only those that are not.
18662 # We use the long form for the default assignment because of an extremely
18663 # bizarre bug on SunOS 4.1.3.
18664 if $ac_need_defaults; then
18665 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18666 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18667 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18668 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18671 # Have a temporary directory for convenience. Make it in the build tree
18672 # simply because there is no reason against having it here, and in addition,
18673 # creating and moving files from /tmp can sometimes cause problems.
18674 # Hook for its removal unless debugging.
18675 # Note that there is a small window in which the directory will not be cleaned:
18676 # after its creation but before its name has been assigned to `$tmp'.
18680 trap 'exit_status=$?
18681 : "${ac_tmp:=$tmp}"
18682 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18684 trap 'as_fn_exit 1' 1 2 13 15
18686 # Create a (secure) tmp directory for tmp files.
18689 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18693 tmp
=.
/conf$$
-$RANDOM
18694 (umask 077 && mkdir
"$tmp")
18695 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18698 # Set up the scripts for CONFIG_FILES section.
18699 # No need to generate them if there are no CONFIG_FILES.
18700 # This happens for instance with `./config.status config.h'.
18701 if test -n "$CONFIG_FILES"; then
18704 ac_cr
=`echo X | tr X '\015'`
18705 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18706 # But we know of no other shell where ac_cr would be empty at this
18707 # point, so we can use a bashism as a fallback.
18708 if test "x$ac_cr" = x
; then
18709 eval ac_cr
=\$
\'\\r
\'
18711 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18712 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18715 ac_cs_awk_cr
=$ac_cr
18718 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18723 echo "cat >conf$$subs.awk <<_ACEOF" &&
18724 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18726 } >conf$$subs.sh ||
18727 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18728 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18730 for ac_last_try in false false false false false :; do
18731 . ./conf$$subs.sh ||
18732 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18734 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18735 if test $ac_delim_n = $ac_delim_num; then
18737 elif $ac_last_try; then
18738 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18740 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18743 rm -f conf$$subs.sh
18745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18746 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18750 s/^/S["/; s
/!.
*/"]=/
18760 s/\(.\{148\}\)..*/\1/
18762 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18767 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18774 s/\(.\{148\}\)..*/\1/
18776 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18780 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18785 ' <conf$$subs.awk | sed '
18790 ' >>$CONFIG_STATUS || ac_write_fail=1
18791 rm -f conf$$subs.awk
18792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18794 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18795 for (key in S) S_is_set[key] = 1
18801 nfields = split(line, field, "@
")
18803 len = length(field[1])
18804 for (i = 2; i < nfields; i++) {
18806 keylen = length(key)
18807 if (S_is_set[key]) {
18809 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18810 len += length(value) + length(field[++i])
18821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18822 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18823 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18826 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18827 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18830 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18831 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18832 # trailing colons and then remove the whole line if VPATH becomes empty
18833 # (actually we leave an empty line to preserve line numbers).
18834 if test "x
$srcdir" = x.; then
18835 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18854 fi # test -n "$CONFIG_FILES"
18856 # Set up the scripts for CONFIG_HEADERS section.
18857 # No need to generate them if there are no CONFIG_HEADERS.
18858 # This happens for instance with `./config.status Makefile'.
18859 if test -n "$CONFIG_HEADERS"; then
18860 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18864 # Transform confdefs.h into an awk script `defines.awk', embedded as
18865 # here-document in config.status, that substitutes the proper values into
18866 # config.h.in to produce config.h.
18868 # Create a delimiter string that does not exist in confdefs.h, to ease
18869 # handling of long lines.
18871 for ac_last_try in false false :; do
18872 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18873 if test -z "$ac_tt"; then
18875 elif $ac_last_try; then
18876 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18878 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18882 # For the awk script, D is an array of macro values keyed by name,
18883 # likewise P contains macro parameters if any. Preserve backslash
18884 # newline sequences.
18886 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18888 s/.\{148\}/&'"$ac_delim"'/g
18891 s/^[ ]*#[ ]*define[ ][ ]*/ /
18898 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18900 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18904 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18905 D["\
1"]=" \
3\\\\\\n
"\\/p
18907 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18912 s/.\{148\}/&'"$ac_delim"'/g
18917 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18920 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18922 ' <confdefs.h | sed '
18923 s/'"$ac_delim"'/"\\\
18924 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18927 for (key in D) D_is_set[key] = 1
18930 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18932 split(line, arg, " ")
18933 if (arg[1] == "#") {
18937 defundef
= substr
(arg
[1], 2)
18940 split(mac1
, mac2
, "(") #)
18942 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18943 if (D_is_set
[macro
]) {
18944 # Preserve the white space surrounding the "#".
18945 print prefix
"define", macro P
[macro
] D
[macro
]
18948 # Replace #undef with comments. This is necessary, for example,
18949 # in the case of _POSIX_SOURCE, which is predefined and required
18950 # on some systems where configure will not decide to define it.
18951 if (defundef
== "undef") {
18952 print
"/*", prefix defundef
, macro
, "*/"
18960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18961 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18962 fi # test -n "$CONFIG_HEADERS"
18965 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18970 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18972 case $ac_mode$ac_tag in
18974 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18975 :[FH
]-) ac_tag
=-:-;;
18976 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18993 -) ac_f
="$ac_tmp/stdin";;
18994 *) # Look for the file first in the build tree, then in the source tree
18995 # (if the path is not absolute). The absolute path cannot be DOS-style,
18996 # because $ac_f cannot contain `:'.
19000 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19002 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19004 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19005 as_fn_append ac_file_inputs
" '$ac_f'"
19008 # Let's still pretend it is `configure' which instantiates (i.e., don't
19009 # use $as_me), people would be surprised to read:
19010 # /* config.h. Generated by config.status. */
19011 configure_input
='Generated from '`
19012 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19014 if test x
"$ac_file" != x-
; then
19015 configure_input
="$ac_file. $configure_input"
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19017 $as_echo "$as_me: creating $ac_file" >&6;}
19019 # Neutralize special characters interpreted by sed in replacement strings.
19020 case $configure_input in #(
19021 *\
&* |
*\|
* |
*\\* )
19022 ac_sed_conf_input
=`$as_echo "$configure_input" |
19023 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19024 *) ac_sed_conf_input
=$configure_input;;
19028 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19029 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19034 ac_dir
=`$as_dirname -- "$ac_file" ||
19035 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19036 X"$ac_file" : 'X\(//\)[^/]' \| \
19037 X"$ac_file" : 'X\(//\)$' \| \
19038 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19039 $as_echo X"$ac_file" |
19040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19044 /^X\(\/\/\)[^/].*/{
19057 as_dir
="$ac_dir"; as_fn_mkdir_p
19061 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19063 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19064 # A ".." for each directory in $ac_dir_suffix.
19065 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19066 case $ac_top_builddir_sub in
19067 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19068 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19071 ac_abs_top_builddir
=$ac_pwd
19072 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19073 # for backward compatibility:
19074 ac_top_builddir
=$ac_top_build_prefix
19077 .
) # We are building in place.
19079 ac_top_srcdir
=$ac_top_builddir_sub
19080 ac_abs_top_srcdir
=$ac_pwd ;;
19081 [\\/]* | ?
:[\\/]* ) # Absolute name.
19082 ac_srcdir
=$srcdir$ac_dir_suffix;
19083 ac_top_srcdir
=$srcdir
19084 ac_abs_top_srcdir
=$srcdir ;;
19085 *) # Relative name.
19086 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19087 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19088 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19090 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19102 # If the template does not know about datarootdir, expand it.
19103 # FIXME: This hack should be removed a few years after 2.60.
19104 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19115 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19116 *datarootdir
*) ac_datarootdir_seen
=yes;;
19117 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19119 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19122 ac_datarootdir_hack='
19123 s&@datadir@&$datadir&g
19124 s&@docdir@&$docdir&g
19125 s&@infodir@&$infodir&g
19126 s&@localedir@&$localedir&g
19127 s&@mandir@&$mandir&g
19128 s&\\\${datarootdir}&$datarootdir&g' ;;
19132 # Neutralize VPATH when `$srcdir' = `.'.
19133 # Shell code in configure.ac might set extrasub.
19134 # FIXME: do we really want to maintain this feature?
19135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19136 ac_sed_extra="$ac_vpsub
19139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19141 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19142 s|@configure_input@|
$ac_sed_conf_input|
;t t
19143 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19144 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19145 s
&@srcdir@
&$ac_srcdir&;t t
19146 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19147 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19148 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19149 s
&@builddir@
&$ac_builddir&;t t
19150 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19151 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19152 $ac_datarootdir_hack
19154 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19155 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19157 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19158 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19159 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19160 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19162 which seems to be undefined. Please make sure it is defined" >&5
19163 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19164 which seems to be undefined. Please make sure it is defined" >&2;}
19166 rm -f "$ac_tmp/stdin"
19168 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19169 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19171 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19177 if test x"$ac_file" != x-; then
19179 $as_echo "/* $configure_input */" \
19180 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19181 } >"$ac_tmp/config.h" \
19182 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19183 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19185 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19188 mv "$ac_tmp/config.h" "$ac_file" \
19189 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19192 $as_echo "/* $configure_input */" \
19193 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19194 || as_fn_error $? "could not create -" "$LINENO" 5
19202 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19205 # Prefer the file from the source tree if names are identical.
19206 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19207 ac_source=$srcdir/$ac_source
19210 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19211 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19213 if test ! -r "$ac_source"; then
19214 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19218 # Try a relative symlink, then a hard link, then a copy.
19220 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19221 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19223 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19224 ln "$ac_source" "$ac_file" 2>/dev/null ||
19225 cp -p "$ac_source" "$ac_file" ||
19226 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19229 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19230 $as_echo "$as_me: executing $ac_file commands" >&6;}
19235 case $ac_file$ac_mode in
19236 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19237 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19238 "Makefile":C) wine_fn_output_makefile Makefile ;;
19239 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19247 ac_clean_files=$ac_clean_files_save
19249 test $ac_write_fail = 0 ||
19250 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19253 # configure is writing to config.log, and then calls config.status.
19254 # config.status does its own redirection, appending to config.log.
19255 # Unfortunately, on DOS this fails, as config.log is still kept open
19256 # by configure, so config.status won't be able to
write to it
; its
19257 # output is simply discarded. So we exec the FD to /dev/null,
19258 # effectively closing config.log, so it can be properly (re)opened and
19259 # appended to by config.status. When coming back to configure, we
19260 # need to make the FD available again.
19261 if test "$no_create" != yes; then
19263 ac_config_status_args
=
19264 test "$silent" = yes &&
19265 ac_config_status_args
="$ac_config_status_args --quiet"
19267 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19269 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19270 # would make configure fail if this is the last instruction.
19271 $ac_cs_success || as_fn_exit
1
19273 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19275 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19279 if test "$no_create" = "yes"
19285 if test "x$wine_notices != "x
; then
19288 for msg
in $wine_notices; do
19290 if ${msg:+false} :; then :
19293 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19294 $as_echo "$as_me: $msg" >&6;}
19299 for msg
in $wine_warnings; do
19301 if ${msg:+false} :; then :
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19306 $as_echo "$as_me: WARNING: $msg" >&2;}
19312 $as_me: Finished. Do '${ac_make}' to compile Wine.