2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.32.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.7.32'
584 PACKAGE_STRING
='Wine 1.7.32'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
698 APPLICATIONSERVICES_LIBS
782 program_transform_name
795 enable_option_checking
799 enable_maintainer_mode
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_datetime_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_1
860 enable_api_ms_win_core_debug_l1_1_1
861 enable_api_ms_win_core_errorhandling_l1_1_1
862 enable_api_ms_win_core_errorhandling_l1_1_2
863 enable_api_ms_win_core_fibers_l1_1_0
864 enable_api_ms_win_core_fibers_l1_1_1
865 enable_api_ms_win_core_file_l1_2_0
866 enable_api_ms_win_core_file_l2_1_0
867 enable_api_ms_win_core_file_l2_1_1
868 enable_api_ms_win_core_handle_l1_1_0
869 enable_api_ms_win_core_heap_l1_2_0
870 enable_api_ms_win_core_heap_obsolete_l1_1_0
871 enable_api_ms_win_core_interlocked_l1_2_0
872 enable_api_ms_win_core_io_l1_1_1
873 enable_api_ms_win_core_kernel32_legacy_l1_1_0
874 enable_api_ms_win_core_libraryloader_l1_1_1
875 enable_api_ms_win_core_localization_l1_2_0
876 enable_api_ms_win_core_localization_l1_2_1
877 enable_api_ms_win_core_localization_obsolete_l1_1_0
878 enable_api_ms_win_core_localregistry_l1_1_0
879 enable_api_ms_win_core_memory_l1_1_1
880 enable_api_ms_win_core_namedpipe_l1_2_0
881 enable_api_ms_win_core_processenvironment_l1_2_0
882 enable_api_ms_win_core_processthreads_l1_1_0
883 enable_api_ms_win_core_processthreads_l1_1_1
884 enable_api_ms_win_core_processthreads_l1_1_2
885 enable_api_ms_win_core_profile_l1_1_0
886 enable_api_ms_win_core_psapi_l1_1_0
887 enable_api_ms_win_core_registry_l1_1_0
888 enable_api_ms_win_core_rtlsupport_l1_2_0
889 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
890 enable_api_ms_win_core_string_l1_1_0
891 enable_api_ms_win_core_synch_l1_2_0
892 enable_api_ms_win_core_sysinfo_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_1
894 enable_api_ms_win_core_threadpool_legacy_l1_1_0
895 enable_api_ms_win_core_timezone_l1_1_0
896 enable_api_ms_win_core_url_l1_1_0
897 enable_api_ms_win_core_util_l1_1_0
898 enable_api_ms_win_core_winrt_error_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_1
900 enable_api_ms_win_core_winrt_l1_1_0
901 enable_api_ms_win_core_winrt_string_l1_1_0
902 enable_api_ms_win_core_xstate_l2_1_0
903 enable_api_ms_win_downlevel_advapi32_l1_1_0
904 enable_api_ms_win_downlevel_advapi32_l2_1_0
905 enable_api_ms_win_downlevel_normaliz_l1_1_0
906 enable_api_ms_win_downlevel_ole32_l1_1_0
907 enable_api_ms_win_downlevel_shell32_l1_1_0
908 enable_api_ms_win_downlevel_shlwapi_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l2_1_0
910 enable_api_ms_win_downlevel_user32_l1_1_0
911 enable_api_ms_win_downlevel_version_l1_1_0
912 enable_api_ms_win_eventing_provider_l1_1_0
913 enable_api_ms_win_ntuser_dc_access_l1_1_0
914 enable_api_ms_win_security_base_l1_1_0
915 enable_api_ms_win_security_base_l1_2_0
916 enable_api_ms_win_security_sddl_l1_1_0
917 enable_api_ms_win_service_core_l1_1_1
918 enable_api_ms_win_service_management_l1_1_0
919 enable_api_ms_win_service_winsvc_l1_2_0
961 enable_d3dcompiler_33
962 enable_d3dcompiler_34
963 enable_d3dcompiler_35
964 enable_d3dcompiler_36
965 enable_d3dcompiler_37
966 enable_d3dcompiler_38
967 enable_d3dcompiler_39
968 enable_d3dcompiler_40
969 enable_d3dcompiler_41
970 enable_d3dcompiler_42
971 enable_d3dcompiler_43
1046 enable_explorerframe
1047 enable_ext_ms_win_gdi_devcaps_l1_1_0
1197 enable_photometadatahandler
1279 enable_windowscodecs
1280 enable_windowscodecsext
1282 enable_winecoreaudio_drv
1284 enable_winegstreamer
1285 enable_winejoystick_drv
1291 enable_wineqtdecoder
1328 enable_documentation
1336 enable_aspnet_regiis
1369 enable_presentationfontcache
1382 enable_servicemodelreg
1403 enable_winemenubuilder
1405 enable_winemsibuilder
1419 ac_precious_vars
='build_alias
1468 # Initialize some variables set by options.
1470 ac_init_version
=false
1471 ac_unrecognized_opts
=
1472 ac_unrecognized_sep
=
1473 # The variables have the same names as the options, with
1474 # dashes changed to underlines.
1475 cache_file
=/dev
/null
1482 program_transform_name
=s
,x
,x
,
1490 # Installation directory options.
1491 # These are left unexpanded so users can "make install exec_prefix=/foo"
1492 # and all the variables that are supposed to be based on exec_prefix
1493 # by default will actually change.
1494 # Use braces instead of parens because sh, perl, etc. also accept them.
1495 # (The list follows the same order as the GNU Coding Standards.)
1496 bindir
='${exec_prefix}/bin'
1497 sbindir
='${exec_prefix}/sbin'
1498 libexecdir
='${exec_prefix}/libexec'
1499 datarootdir
='${prefix}/share'
1500 datadir
='${datarootdir}'
1501 sysconfdir
='${prefix}/etc'
1502 sharedstatedir
='${prefix}/com'
1503 localstatedir
='${prefix}/var'
1504 includedir
='${prefix}/include'
1505 oldincludedir
='/usr/include'
1506 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1507 infodir
='${datarootdir}/info'
1512 libdir
='${exec_prefix}/lib'
1513 localedir
='${datarootdir}/locale'
1514 mandir
='${datarootdir}/man'
1520 # If the previous option needs an argument, assign it.
1521 if test -n "$ac_prev"; then
1522 eval $ac_prev=\
$ac_option
1528 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1533 # Accept the important Cygnus configure options, so we can diagnose typos.
1535 case $ac_dashdash$ac_option in
1539 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1541 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1542 bindir
=$ac_optarg ;;
1544 -build |
--build |
--buil |
--bui |
--bu)
1545 ac_prev
=build_alias
;;
1546 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1547 build_alias
=$ac_optarg ;;
1549 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1550 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1551 ac_prev
=cache_file
;;
1552 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1553 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1554 cache_file
=$ac_optarg ;;
1556 --config-cache |
-C)
1557 cache_file
=config.cache
;;
1559 -datadir |
--datadir |
--datadi |
--datad)
1561 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1562 datadir
=$ac_optarg ;;
1564 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1565 |
--dataroo |
--dataro |
--datar)
1566 ac_prev
=datarootdir
;;
1567 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1568 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1569 datarootdir
=$ac_optarg ;;
1571 -disable-* |
--disable-*)
1572 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1573 # Reject names that are not valid shell variable names.
1574 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1575 as_fn_error $?
"invalid feature name: $ac_useropt"
1576 ac_useropt_orig
=$ac_useropt
1577 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1578 case $ac_user_opts in
1580 "enable_
$ac_useropt"
1582 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1583 ac_unrecognized_sep
=', ';;
1585 eval enable_
$ac_useropt=no
;;
1587 -docdir |
--docdir |
--docdi |
--doc |
--do)
1589 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1590 docdir
=$ac_optarg ;;
1592 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1594 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1595 dvidir
=$ac_optarg ;;
1597 -enable-* |
--enable-*)
1598 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1599 # Reject names that are not valid shell variable names.
1600 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1601 as_fn_error $?
"invalid feature name: $ac_useropt"
1602 ac_useropt_orig
=$ac_useropt
1603 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1604 case $ac_user_opts in
1606 "enable_
$ac_useropt"
1608 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1609 ac_unrecognized_sep
=', ';;
1611 eval enable_
$ac_useropt=\
$ac_optarg ;;
1613 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1614 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1615 |
--exec |
--exe |
--ex)
1616 ac_prev
=exec_prefix
;;
1617 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1618 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1619 |
--exec=* |
--exe=* |
--ex=*)
1620 exec_prefix
=$ac_optarg ;;
1622 -gas |
--gas |
--ga |
--g)
1623 # Obsolete; use --with-gas.
1626 -help |
--help |
--hel |
--he |
-h)
1627 ac_init_help
=long
;;
1628 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1629 ac_init_help
=recursive
;;
1630 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1631 ac_init_help
=short
;;
1633 -host |
--host |
--hos |
--ho)
1634 ac_prev
=host_alias
;;
1635 -host=* |
--host=* |
--hos=* |
--ho=*)
1636 host_alias
=$ac_optarg ;;
1638 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1640 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1642 htmldir
=$ac_optarg ;;
1644 -includedir |
--includedir |
--includedi |
--included |
--include \
1645 |
--includ |
--inclu |
--incl |
--inc)
1646 ac_prev
=includedir
;;
1647 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1648 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1649 includedir
=$ac_optarg ;;
1651 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1653 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1654 infodir
=$ac_optarg ;;
1656 -libdir |
--libdir |
--libdi |
--libd)
1658 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1659 libdir
=$ac_optarg ;;
1661 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1662 |
--libexe |
--libex |
--libe)
1663 ac_prev
=libexecdir
;;
1664 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1665 |
--libexe=* |
--libex=* |
--libe=*)
1666 libexecdir
=$ac_optarg ;;
1668 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1669 ac_prev
=localedir
;;
1670 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1671 localedir
=$ac_optarg ;;
1673 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1674 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1675 ac_prev
=localstatedir
;;
1676 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1677 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1678 localstatedir
=$ac_optarg ;;
1680 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1682 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1683 mandir
=$ac_optarg ;;
1685 -nfp |
--nfp |
--nf)
1686 # Obsolete; use --without-fp.
1689 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1690 |
--no-cr |
--no-c |
-n)
1693 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1694 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1697 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1698 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1699 |
--oldin |
--oldi |
--old |
--ol |
--o)
1700 ac_prev
=oldincludedir
;;
1701 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1702 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1703 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1704 oldincludedir
=$ac_optarg ;;
1706 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1708 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1709 prefix
=$ac_optarg ;;
1711 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1712 |
--program-pre |
--program-pr |
--program-p)
1713 ac_prev
=program_prefix
;;
1714 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1715 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1716 program_prefix
=$ac_optarg ;;
1718 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1719 |
--program-suf |
--program-su |
--program-s)
1720 ac_prev
=program_suffix
;;
1721 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1722 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1723 program_suffix
=$ac_optarg ;;
1725 -program-transform-name |
--program-transform-name \
1726 |
--program-transform-nam |
--program-transform-na \
1727 |
--program-transform-n |
--program-transform- \
1728 |
--program-transform |
--program-transfor \
1729 |
--program-transfo |
--program-transf \
1730 |
--program-trans |
--program-tran \
1731 |
--progr-tra |
--program-tr |
--program-t)
1732 ac_prev
=program_transform_name
;;
1733 -program-transform-name=* |
--program-transform-name=* \
1734 |
--program-transform-nam=* |
--program-transform-na=* \
1735 |
--program-transform-n=* |
--program-transform-=* \
1736 |
--program-transform=* |
--program-transfor=* \
1737 |
--program-transfo=* |
--program-transf=* \
1738 |
--program-trans=* |
--program-tran=* \
1739 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1740 program_transform_name
=$ac_optarg ;;
1742 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1744 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1745 pdfdir
=$ac_optarg ;;
1747 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1749 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1752 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1753 |
-silent |
--silent |
--silen |
--sile |
--sil)
1756 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1758 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1760 sbindir
=$ac_optarg ;;
1762 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1763 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1764 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1766 ac_prev
=sharedstatedir
;;
1767 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1768 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1769 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1771 sharedstatedir
=$ac_optarg ;;
1773 -site |
--site |
--sit)
1775 -site=* |
--site=* |
--sit=*)
1778 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1780 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1781 srcdir
=$ac_optarg ;;
1783 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1784 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1785 ac_prev
=sysconfdir
;;
1786 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1787 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1788 sysconfdir
=$ac_optarg ;;
1790 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1791 ac_prev
=target_alias
;;
1792 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1793 target_alias
=$ac_optarg ;;
1795 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1798 -version |
--version |
--versio |
--versi |
--vers |
-V)
1799 ac_init_version
=: ;;
1802 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1803 # Reject names that are not valid shell variable names.
1804 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1805 as_fn_error $?
"invalid package name: $ac_useropt"
1806 ac_useropt_orig
=$ac_useropt
1807 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1808 case $ac_user_opts in
1812 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1813 ac_unrecognized_sep
=', ';;
1815 eval with_
$ac_useropt=\
$ac_optarg ;;
1817 -without-* |
--without-*)
1818 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1819 # Reject names that are not valid shell variable names.
1820 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1821 as_fn_error $?
"invalid package name: $ac_useropt"
1822 ac_useropt_orig
=$ac_useropt
1823 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1824 case $ac_user_opts in
1828 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1829 ac_unrecognized_sep
=', ';;
1831 eval with_
$ac_useropt=no
;;
1834 # Obsolete; use --with-x.
1837 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1838 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1839 ac_prev
=x_includes
;;
1840 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1841 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1842 x_includes
=$ac_optarg ;;
1844 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1845 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1846 ac_prev
=x_libraries
;;
1847 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1848 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1849 x_libraries
=$ac_optarg ;;
1851 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1852 Try \`$0 --help' for more information"
1856 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1857 # Reject names that are not valid shell variable names.
1858 case $ac_envvar in #(
1859 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1860 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1862 eval $ac_envvar=\
$ac_optarg
1863 export $ac_envvar ;;
1866 # FIXME: should be removed in autoconf 3.0.
1867 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1868 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1869 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1870 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1876 if test -n "$ac_prev"; then
1877 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1878 as_fn_error $?
"missing argument to $ac_option"
1881 if test -n "$ac_unrecognized_opts"; then
1882 case $enable_option_checking in
1884 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1885 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1889 # Check all directory arguments for consistency.
1890 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1891 datadir sysconfdir sharedstatedir localstatedir includedir \
1892 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1893 libdir localedir mandir
1895 eval ac_val
=\$
$ac_var
1896 # Remove trailing slashes.
1899 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1900 eval $ac_var=\
$ac_val;;
1902 # Be sure to have absolute directory names.
1904 [\\/$
]* | ?
:[\\/]* ) continue;;
1905 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1907 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1910 # There might be people who depend on the old broken behavior: `$host'
1911 # used to hold the argument of --host etc.
1912 # FIXME: To remove some day.
1915 target
=$target_alias
1917 # FIXME: To remove some day.
1918 if test "x$host_alias" != x
; then
1919 if test "x$build_alias" = x
; then
1920 cross_compiling
=maybe
1921 elif test "x$build_alias" != "x$host_alias"; then
1927 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1929 test "$silent" = yes && exec 6>/dev
/null
1932 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1933 ac_ls_di
=`ls -di .` &&
1934 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1935 as_fn_error $?
"working directory cannot be determined"
1936 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1937 as_fn_error $?
"pwd does not report name of working directory"
1940 # Find the source files, if location was not specified.
1941 if test -z "$srcdir"; then
1942 ac_srcdir_defaulted
=yes
1943 # Try the directory containing this script, then the parent directory.
1944 ac_confdir
=`$as_dirname -- "$as_myself" ||
1945 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1946 X"$as_myself" : 'X\(//\)[^/]' \| \
1947 X"$as_myself" : 'X\(//\)$' \| \
1948 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1949 $as_echo X"$as_myself" |
1950 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1968 if test ! -r "$srcdir/$ac_unique_file"; then
1972 ac_srcdir_defaulted
=no
1974 if test ! -r "$srcdir/$ac_unique_file"; then
1975 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1976 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1978 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1980 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1982 # When building in place, set srcdir=.
1983 if test "$ac_abs_confdir" = "$ac_pwd"; then
1986 # Remove unnecessary trailing slashes from srcdir.
1987 # Double slashes in file names in object file debugging info
1988 # mess up M-x gdb in Emacs.
1990 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1992 for ac_var
in $ac_precious_vars; do
1993 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1994 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1995 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1996 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2000 # Report the --help message.
2002 if test "$ac_init_help" = "long"; then
2003 # Omit some internal or obsolete options to make the list less imposing.
2004 # This message is too long to be a string in the A/UX 3.1 sh.
2006 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
2008 Usage: $0 [OPTION]... [VAR=VALUE]...
2010 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2011 VAR=VALUE. See below for descriptions of some of the useful variables.
2013 Defaults for the options are specified in brackets.
2016 -h, --help display this help and exit
2017 --help=short display options specific to this package
2018 --help=recursive display the short help of all the included packages
2019 -V, --version display version information and exit
2020 -q, --quiet, --silent do not print \`checking ...' messages
2021 --cache-file=FILE cache test results in FILE [disabled]
2022 -C, --config-cache alias for \`--cache-file=config.cache'
2023 -n, --no-create do not create output files
2024 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2026 Installation directories:
2027 --prefix=PREFIX install architecture-independent files in PREFIX
2028 [$ac_default_prefix]
2029 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2032 By default, \`make install' will install all the files in
2033 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2034 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2035 for instance \`--prefix=\$HOME'.
2037 For better control, use the options below.
2039 Fine tuning of the installation directories:
2040 --bindir=DIR user executables [EPREFIX/bin]
2041 --sbindir=DIR system admin executables [EPREFIX/sbin]
2042 --libexecdir=DIR program executables [EPREFIX/libexec]
2043 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2044 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2045 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2046 --libdir=DIR object code libraries [EPREFIX/lib]
2047 --includedir=DIR C header files [PREFIX/include]
2048 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2049 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2050 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2051 --infodir=DIR info documentation [DATAROOTDIR/info]
2052 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2053 --mandir=DIR man documentation [DATAROOTDIR/man]
2054 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2055 --htmldir=DIR html documentation [DOCDIR]
2056 --dvidir=DIR dvi documentation [DOCDIR]
2057 --pdfdir=DIR pdf documentation [DOCDIR]
2058 --psdir=DIR ps documentation [DOCDIR]
2064 --x-includes=DIR X include files are
in DIR
2065 --x-libraries=DIR X library files are
in DIR
2068 --build=BUILD configure
for building on BUILD
[guessed
]
2069 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2073 if test -n "$ac_init_help"; then
2074 case $ac_init_help in
2075 short | recursive
) echo "Configuration of Wine 1.7.32:";;
2080 --disable-option-checking ignore unrecognized
--enable/--with options
2081 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2082 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2083 --disable-win16 do not include Win16 support
2084 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2086 --disable-tests do not build the regression tests
2087 --enable-maintainer-mode
2088 enable maintainer-specific build rules
2089 --disable-largefile omit support for large files
2092 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2093 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2094 --without-alsa do not use the Alsa sound support
2095 --without-capi do not use CAPI (ISDN support)
2096 --without-cms do not use CMS (color management support)
2097 --without-coreaudio do not use the CoreAudio sound support
2098 --without-cups do not use CUPS
2099 --without-curses do not use (n)curses
2100 --without-dbus do not use DBus (dynamic device support)
2101 --without-fontconfig do not use fontconfig
2102 --without-freetype do not use the FreeType library
2103 --without-gettext do not use gettext
2104 --with-gettextpo use the GetTextPO library to rebuild po files
2105 --without-gphoto do not use gphoto (Digital Camera support)
2106 --without-glu do not use the GLU library
2107 --without-gnutls do not use GnuTLS (schannel support)
2108 --without-gsm do not use libgsm (GSM 06.10 codec support)
2109 --without-gstreamer do not use GStreamer (codecs support)
2110 --without-hal do not use HAL (dynamic device support)
2111 --without-jpeg do not use JPEG
2112 --without-ldap do not use LDAP
2113 --without-mpg123 do not use the mpg123 library
2114 --without-netapi do not use the Samba NetAPI library
2115 --without-openal do not use OpenAL
2116 --without-opencl do not use OpenCL
2117 --without-opengl do not use OpenGL
2118 --without-osmesa do not use the OSMesa library
2119 --without-oss do not use the OSS sound support
2120 --without-pcap do not use the Packet Capture library
2121 --without-png do not use PNG
2122 --without-pthread do not use the pthread library
2123 --without-sane do not use SANE (scanner support)
2124 --without-tiff do not use TIFF
2125 --without-v4l do not use v4l1 (v4l support)
2126 --without-xcomposite do not use the Xcomposite extension
2127 --without-xcursor do not use the Xcursor extension
2128 --without-xinerama do not use Xinerama (multi-monitor support)
2129 --without-xinput do not use the Xinput extension
2130 --without-xinput2 do not use the Xinput 2 extension
2131 --without-xml do not use XML
2132 --without-xrandr do not use Xrandr (resolution changes)
2133 --without-xrender do not use the Xrender extension
2134 --without-xshape do not use the Xshape extension
2135 --without-xshm do not use XShm (shared memory extension)
2136 --without-xslt do not use XSLT
2137 --without-xxf86vm do not use XFree video mode extension
2138 --without-zlib do not use Zlib (data compression)
2139 --with-wine-tools=DIR use Wine tools from directory DIR
2140 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2141 --with-x use the X Window System
2143 Some influential environment variables:
2144 CC C compiler command
2145 CFLAGS C compiler flags
2146 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2147 nonstandard directory <lib dir>
2148 LIBS libraries to pass to the linker, e.g. -l<library>
2149 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2150 you have headers in a nonstandard directory <include dir>
2151 CXX C++ compiler command
2152 CXXFLAGS C++ compiler flags
2154 XMKMF Path to xmkmf, Makefile generator for X Window System
2155 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2156 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2157 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2158 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2159 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2160 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2161 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2162 HAL_LIBS Linker flags for hal, overriding pkg-config
2164 C compiler flags for gnutls, overriding pkg-config
2165 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2166 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2167 SANE_LIBS Linker flags for libsane, overriding pkg-config
2169 C compiler flags for libgphoto2, overriding pkg-config
2171 Linker flags for libgphoto2, overriding pkg-config
2173 C compiler flags for libgphoto2_port, overriding pkg-config
2175 Linker flags for libgphoto2_port, overriding pkg-config
2177 C compiler flags for lcms2, overriding pkg-config
2178 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2180 C compiler flags for freetype2, overriding pkg-config
2182 Linker flags for freetype2, overriding pkg-config
2184 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2186 Linker flags for gstreamer-app-0.10, overriding pkg-config
2188 C compiler flags for capi20, overriding pkg-config
2189 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2191 C compiler flags for fontconfig, overriding pkg-config
2193 Linker flags for fontconfig, overriding pkg-config
2194 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2195 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2196 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2197 PNG_LIBS Linker flags for libpng, overriding pkg-config
2198 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2199 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2201 C compiler flags for libmpg123, overriding pkg-config
2202 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2204 Use these variables to override the choices made by `configure' or to
help
2205 it to
find libraries and programs with nonstandard names
/locations.
2207 Report bugs to
<wine-devel@winehq.org
>.
2208 Wine home page
: <http
://www.winehq.org
>.
2213 if test "$ac_init_help" = "recursive"; then
2214 # If there are subdirs, report their specific --help.
2215 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2216 test -d "$ac_dir" ||
2217 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2222 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2224 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2225 # A ".." for each directory in $ac_dir_suffix.
2226 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2227 case $ac_top_builddir_sub in
2228 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2229 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2232 ac_abs_top_builddir
=$ac_pwd
2233 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2234 # for backward compatibility:
2235 ac_top_builddir
=$ac_top_build_prefix
2238 .
) # We are building in place.
2240 ac_top_srcdir
=$ac_top_builddir_sub
2241 ac_abs_top_srcdir
=$ac_pwd ;;
2242 [\\/]* | ?
:[\\/]* ) # Absolute name.
2243 ac_srcdir
=$srcdir$ac_dir_suffix;
2244 ac_top_srcdir
=$srcdir
2245 ac_abs_top_srcdir
=$srcdir ;;
2247 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2248 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2249 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2251 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2253 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2254 # Check for guested configure.
2255 if test -f "$ac_srcdir/configure.gnu"; then
2257 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2258 elif test -f "$ac_srcdir/configure"; then
2260 $SHELL "$ac_srcdir/configure" --help=recursive
2262 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2264 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2268 test -n "$ac_init_help" && exit $ac_status
2269 if $ac_init_version; then
2271 Wine configure
1.7.32
2272 generated by GNU Autoconf
2.69
2274 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2275 This configure
script is free software
; the Free Software Foundation
2276 gives unlimited permission to copy
, distribute and modify it.
2281 ## ------------------------ ##
2282 ## Autoconf initialization. ##
2283 ## ------------------------ ##
2285 # ac_fn_c_try_compile LINENO
2286 # --------------------------
2287 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2288 ac_fn_c_try_compile
()
2290 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2291 rm -f conftest.
$ac_objext
2292 if { { ac_try
="$ac_compile"
2294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2295 *) ac_try_echo=$ac_try;;
2297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2298 $as_echo "$ac_try_echo"; } >&5
2299 (eval "$ac_compile") 2>conftest.err
2301 if test -s conftest.err; then
2302 grep -v '^ *+' conftest.err >conftest.er1
2303 cat conftest.er1 >&5
2304 mv -f conftest.er1 conftest.err
2306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2307 test $ac_status = 0; } && {
2308 test -z "$ac_c_werror_flag" ||
2309 test ! -s conftest.err
2310 } && test -s conftest.$ac_objext; then :
2313 $as_echo "$as_me: failed program was:" >&5
2314 sed 's/^/| /' conftest.$ac_ext >&5
2318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2319 as_fn_set_status $ac_retval
2321 } # ac_fn_c_try_compile
2323 # ac_fn_cxx_try_compile LINENO
2324 # ----------------------------
2325 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2326 ac_fn_cxx_try_compile ()
2328 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2329 rm -f conftest.$ac_objext
2330 if { { ac_try="$ac_compile"
2332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2333 *) ac_try_echo
=$ac_try;;
2335 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2336 $as_echo "$ac_try_echo"; } >&5
2337 (eval "$ac_compile") 2>conftest.err
2339 if test -s conftest.err
; then
2340 grep -v '^ *+' conftest.err
>conftest.er1
2341 cat conftest.er1
>&5
2342 mv -f conftest.er1 conftest.err
2344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2345 test $ac_status = 0; } && {
2346 test -z "$ac_cxx_werror_flag" ||
2347 test ! -s conftest.err
2348 } && test -s conftest.
$ac_objext; then :
2351 $as_echo "$as_me: failed program was:" >&5
2352 sed 's/^/| /' conftest.
$ac_ext >&5
2356 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2357 as_fn_set_status
$ac_retval
2359 } # ac_fn_cxx_try_compile
2361 # ac_fn_c_try_link LINENO
2362 # -----------------------
2363 # Try to link conftest.$ac_ext, and return whether this succeeded.
2366 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2367 rm -f conftest.
$ac_objext conftest
$ac_exeext
2368 if { { ac_try
="$ac_link"
2370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2371 *) ac_try_echo=$ac_try;;
2373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2374 $as_echo "$ac_try_echo"; } >&5
2375 (eval "$ac_link") 2>conftest.err
2377 if test -s conftest.err; then
2378 grep -v '^ *+' conftest.err >conftest.er1
2379 cat conftest.er1 >&5
2380 mv -f conftest.er1 conftest.err
2382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2383 test $ac_status = 0; } && {
2384 test -z "$ac_c_werror_flag" ||
2385 test ! -s conftest.err
2386 } && test -s conftest$ac_exeext && {
2387 test "$cross_compiling" = yes ||
2388 test -x conftest$ac_exeext
2392 $as_echo "$as_me: failed program was:" >&5
2393 sed 's/^/| /' conftest.$ac_ext >&5
2397 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2398 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2399 # interfere with the next link command; also delete a directory that is
2400 # left behind by Apple's compiler. We do this before executing the actions.
2401 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2402 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2403 as_fn_set_status $ac_retval
2405 } # ac_fn_c_try_link
2407 # ac_fn_c_try_cpp LINENO
2408 # ----------------------
2409 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2412 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2413 if { { ac_try="$ac_cpp conftest.$ac_ext"
2415 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2416 *) ac_try_echo
=$ac_try;;
2418 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2419 $as_echo "$ac_try_echo"; } >&5
2420 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2422 if test -s conftest.err
; then
2423 grep -v '^ *+' conftest.err
>conftest.er1
2424 cat conftest.er1
>&5
2425 mv -f conftest.er1 conftest.err
2427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2428 test $ac_status = 0; } > conftest.i
&& {
2429 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2430 test ! -s conftest.err
2434 $as_echo "$as_me: failed program was:" >&5
2435 sed 's/^/| /' conftest.
$ac_ext >&5
2439 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2440 as_fn_set_status
$ac_retval
2444 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2445 # -------------------------------------------------------
2446 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2447 # the include files in INCLUDES and setting the cache variable VAR
2449 ac_fn_c_check_header_mongrel
()
2451 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2452 if eval \
${$3+:} false
; then :
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2454 $as_echo_n "checking for $2... " >&6; }
2455 if eval \
${$3+:} false
; then :
2456 $as_echo_n "(cached) " >&6
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2460 $as_echo "$ac_res" >&6; }
2462 # Is the header compilable?
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2464 $as_echo_n "checking $2 usability... " >&6; }
2465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2466 /* end confdefs.h. */
2470 if ac_fn_c_try_compile
"$LINENO"; then :
2471 ac_header_compiler
=yes
2473 ac_header_compiler
=no
2475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2477 $as_echo "$ac_header_compiler" >&6; }
2479 # Is the header present?
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2481 $as_echo_n "checking $2 presence... " >&6; }
2482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2483 /* end confdefs.h. */
2486 if ac_fn_c_try_cpp
"$LINENO"; then :
2487 ac_header_preproc
=yes
2489 ac_header_preproc
=no
2491 rm -f conftest.err conftest.i conftest.
$ac_ext
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2493 $as_echo "$ac_header_preproc" >&6; }
2495 # So? What about this header?
2496 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2499 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2501 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2505 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2507 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2509 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2511 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2513 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2514 ( $as_echo "## ------------------------------------ ##
2515 ## Report this to wine-devel@winehq.org ##
2516 ## ------------------------------------ ##"
2517 ) |
sed "s/^/$as_me: WARNING: /" >&2
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2521 $as_echo_n "checking for $2... " >&6; }
2522 if eval \
${$3+:} false
; then :
2523 $as_echo_n "(cached) " >&6
2525 eval "$3=\$ac_header_compiler"
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2529 $as_echo "$ac_res" >&6; }
2531 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2533 } # ac_fn_c_check_header_mongrel
2535 # ac_fn_c_try_run LINENO
2536 # ----------------------
2537 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2538 # that executables *can* be run.
2541 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2542 if { { ac_try
="$ac_link"
2544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2545 *) ac_try_echo=$ac_try;;
2547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2548 $as_echo "$ac_try_echo"; } >&5
2549 (eval "$ac_link") 2>&5
2551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2552 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2553 { { case "(($ac_try" in
2554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2555 *) ac_try_echo
=$ac_try;;
2557 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2558 $as_echo "$ac_try_echo"; } >&5
2559 (eval "$ac_try") 2>&5
2561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2562 test $ac_status = 0; }; }; then :
2565 $as_echo "$as_me: program exited with status $ac_status" >&5
2566 $as_echo "$as_me: failed program was:" >&5
2567 sed 's/^/| /' conftest.
$ac_ext >&5
2569 ac_retval
=$ac_status
2571 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2573 as_fn_set_status
$ac_retval
2577 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2578 # -------------------------------------------------------
2579 # Tests whether HEADER exists and can be compiled using the include files in
2580 # INCLUDES, setting the cache variable VAR accordingly.
2581 ac_fn_c_check_header_compile
()
2583 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2585 $as_echo_n "checking for $2... " >&6; }
2586 if eval \
${$3+:} false
; then :
2587 $as_echo_n "(cached) " >&6
2589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2590 /* end confdefs.h. */
2594 if ac_fn_c_try_compile
"$LINENO"; then :
2599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2603 $as_echo "$ac_res" >&6; }
2604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2606 } # ac_fn_c_check_header_compile
2608 # ac_fn_c_check_func LINENO FUNC VAR
2609 # ----------------------------------
2610 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2611 ac_fn_c_check_func
()
2613 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2615 $as_echo_n "checking for $2... " >&6; }
2616 if eval \
${$3+:} false
; then :
2617 $as_echo_n "(cached) " >&6
2619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2620 /* end confdefs.h. */
2621 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2623 #define $2 innocuous_$2
2625 /* System header to define __stub macros and hopefully few prototypes,
2626 which can conflict with char $2 (); below.
2627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2628 <limits.h> exists even on freestanding compilers. */
2631 # include <limits.h>
2633 # include <assert.h>
2638 /* Override any GCC internal prototype to avoid an error.
2639 Use char because int might match the return type of a GCC
2640 builtin and then its argument prototype would still apply. */
2645 /* The GNU C library defines this for functions which it implements
2646 to always fail with ENOSYS. Some functions are actually named
2647 something starting with __ and the normal name is an alias. */
2648 #if defined __stub_$2 || defined __stub___$2
2660 if ac_fn_c_try_link
"$LINENO"; then :
2665 rm -f core conftest.err conftest.
$ac_objext \
2666 conftest
$ac_exeext conftest.
$ac_ext
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2670 $as_echo "$ac_res" >&6; }
2671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2673 } # ac_fn_c_check_func
2675 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2676 # ----------------------------------------------------
2677 # Tries to find if the field MEMBER exists in type AGGR, after including
2678 # INCLUDES, setting cache variable VAR accordingly.
2679 ac_fn_c_check_member
()
2681 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2683 $as_echo_n "checking for $2.$3... " >&6; }
2684 if eval \
${$4+:} false
; then :
2685 $as_echo_n "(cached) " >&6
2687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2688 /* end confdefs.h. */
2700 if ac_fn_c_try_compile
"$LINENO"; then :
2703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2704 /* end confdefs.h. */
2710 if (sizeof ac_aggr.$3)
2716 if ac_fn_c_try_compile
"$LINENO"; then :
2721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2727 $as_echo "$ac_res" >&6; }
2728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2730 } # ac_fn_c_check_member
2732 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2733 # -------------------------------------------
2734 # Tests whether TYPE exists after having included INCLUDES, setting cache
2735 # variable VAR accordingly.
2736 ac_fn_c_check_type
()
2738 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2740 $as_echo_n "checking for $2... " >&6; }
2741 if eval \
${$3+:} false
; then :
2742 $as_echo_n "(cached) " >&6
2745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2746 /* end confdefs.h. */
2757 if ac_fn_c_try_compile
"$LINENO"; then :
2758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2759 /* end confdefs.h. */
2770 if ac_fn_c_try_compile
"$LINENO"; then :
2775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2781 $as_echo "$ac_res" >&6; }
2782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2784 } # ac_fn_c_check_type
2785 cat >config.log
<<_ACEOF
2786 This file contains any messages produced by compilers while
2787 running configure, to aid debugging if configure makes a mistake.
2789 It was created by Wine $as_me 1.7.32, which was
2790 generated by GNU Autoconf 2.69. Invocation command line was
2802 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2803 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2804 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2805 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2806 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2808 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2809 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2811 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2812 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2813 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2814 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2815 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2816 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2817 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir
=.
2826 $as_echo "PATH: $as_dir"
2842 # Keep a trace of the command line.
2843 # Strip out --no-create and --no-recursion so they do not pile up.
2844 # Strip out --silent because we don't want to record it for future runs.
2845 # Also quote any args containing shell meta-characters.
2846 # Make two passes to allow for proper duplicate-argument suppression.
2850 ac_must_keep_next
=false
2856 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2857 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2858 |
-silent |
--silent |
--silen |
--sile |
--sil)
2861 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2864 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2866 as_fn_append ac_configure_args1
" '$ac_arg'"
2867 if test $ac_must_keep_next = true
; then
2868 ac_must_keep_next
=false
# Got value, back to normal.
2871 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2872 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2873 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2874 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2875 case "$ac_configure_args0 " in
2876 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2879 -* ) ac_must_keep_next
=true
;;
2882 as_fn_append ac_configure_args
" '$ac_arg'"
2887 { ac_configure_args0
=; unset ac_configure_args0
;}
2888 { ac_configure_args1
=; unset ac_configure_args1
;}
2890 # When interrupted or exit'd, cleanup temporary files, and complete
2891 # config.log. We remove comments because anyway the quotes in there
2892 # would cause problems or look ugly.
2893 # WARNING: Use '\'' to represent an apostrophe within the trap.
2894 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2895 trap 'exit_status=$?
2896 # Save into config.log some information that might help in debugging.
2900 $as_echo "## ---------------- ##
2901 ## Cache variables. ##
2902 ## ---------------- ##"
2904 # The following way of writing the cache mishandles newlines in values,
2906 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2907 eval ac_val=\$$ac_var
2911 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2912 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2915 _ | IFS | as_nl) ;; #(
2916 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2917 *) { eval $ac_var=; unset $ac_var;} ;;
2922 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2923 *${as_nl}ac_space=\ *)
2925 "s/'\''/'\''\\\\'\'''\''/g;
2926 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2929 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2936 $as_echo "## ----------------- ##
2937 ## Output variables. ##
2938 ## ----------------- ##"
2940 for ac_var in $ac_subst_vars
2942 eval ac_val=\$$ac_var
2944 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2946 $as_echo "$ac_var='\''$ac_val'\''"
2950 if test -n "$ac_subst_files"; then
2951 $as_echo "## ------------------- ##
2952 ## File substitutions. ##
2953 ## ------------------- ##"
2955 for ac_var
in $ac_subst_files
2957 eval ac_val
=\$
$ac_var
2959 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2961 $as_echo "$ac_var='\''$ac_val'\''"
2966 if test -s confdefs.h; then
2967 $as_echo "## ----------- ##
2974 test "$ac_signal" != 0 &&
2975 $as_echo "$as_me: caught signal $ac_signal"
2976 $as_echo "$as_me: exit $exit_status"
2978 rm -f core *.core core.conftest.* &&
2979 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2982 for ac_signal
in 1 2 13 15; do
2983 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2987 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2988 rm -f -r conftest
* confdefs.h
2990 $as_echo "/* confdefs.h */" > confdefs.h
2992 # Predefined preprocessor variables.
2994 cat >>confdefs.h
<<_ACEOF
2995 #define PACKAGE_NAME "$PACKAGE_NAME"
2998 cat >>confdefs.h
<<_ACEOF
2999 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3002 cat >>confdefs.h
<<_ACEOF
3003 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3006 cat >>confdefs.h
<<_ACEOF
3007 #define PACKAGE_STRING "$PACKAGE_STRING"
3010 cat >>confdefs.h
<<_ACEOF
3011 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3014 cat >>confdefs.h
<<_ACEOF
3015 #define PACKAGE_URL "$PACKAGE_URL"
3019 # Let the site file select an alternate cache file if it wants to.
3020 # Prefer an explicitly selected file to automatically selected ones.
3023 if test -n "$CONFIG_SITE"; then
3024 # We do not want a PATH search for config.site.
3025 case $CONFIG_SITE in #((
3026 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3027 */*) ac_site_file1
=$CONFIG_SITE;;
3028 *) ac_site_file1
=.
/$CONFIG_SITE;;
3030 elif test "x$prefix" != xNONE
; then
3031 ac_site_file1
=$prefix/share
/config.site
3032 ac_site_file2
=$prefix/etc
/config.site
3034 ac_site_file1
=$ac_default_prefix/share
/config.site
3035 ac_site_file2
=$ac_default_prefix/etc
/config.site
3037 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3039 test "x$ac_site_file" = xNONE
&& continue
3040 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3042 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3043 sed 's/^/| /' "$ac_site_file" >&5
3045 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3047 as_fn_error $?
"failed to load site script $ac_site_file
3048 See \`config.log' for more details" "$LINENO" 5; }
3052 if test -r "$cache_file"; then
3053 # Some versions of bash will fail to source /dev/null (special files
3054 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3055 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3057 $as_echo "$as_me: loading cache $cache_file" >&6;}
3059 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3060 *) .
"./$cache_file";;
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3065 $as_echo "$as_me: creating cache $cache_file" >&6;}
3069 # Check that the precious variables saved in the cache have kept the same
3071 ac_cache_corrupted
=false
3072 for ac_var
in $ac_precious_vars; do
3073 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3074 eval ac_new_set
=\
$ac_env_${ac_var}_set
3075 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3076 eval ac_new_val
=\
$ac_env_${ac_var}_value
3077 case $ac_old_set,$ac_new_set in
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3080 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3081 ac_cache_corrupted
=: ;;
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3084 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3085 ac_cache_corrupted
=: ;;
3088 if test "x$ac_old_val" != "x$ac_new_val"; then
3089 # differences in whitespace do not lead to failure.
3090 ac_old_val_w
=`echo x $ac_old_val`
3091 ac_new_val_w
=`echo x $ac_new_val`
3092 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3094 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3095 ac_cache_corrupted
=:
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3098 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3099 eval $ac_var=\
$ac_old_val
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3102 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3104 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3107 # Pass precious variables to config.status.
3108 if test "$ac_new_set" = set; then
3110 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3111 *) ac_arg
=$ac_var=$ac_new_val ;;
3113 case " $ac_configure_args " in
3114 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3115 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3119 if $ac_cache_corrupted; then
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3123 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3124 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3126 ## -------------------- ##
3127 ## Main body of script. ##
3128 ## -------------------- ##
3131 ac_cpp
='$CPP $CPPFLAGS'
3132 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3133 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3134 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3138 ac_config_headers
="$ac_config_headers include/config.h"
3141 for ac_dir
in tools
"$srcdir"/tools
; do
3142 if test -f "$ac_dir/install-sh"; then
3144 ac_install_sh
="$ac_aux_dir/install-sh -c"
3146 elif test -f "$ac_dir/install.sh"; then
3148 ac_install_sh
="$ac_aux_dir/install.sh -c"
3150 elif test -f "$ac_dir/shtool"; then
3152 ac_install_sh
="$ac_aux_dir/shtool install -c"
3156 if test -z "$ac_aux_dir"; then
3157 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3160 # These three variables are undocumented and unsupported,
3161 # and are intended to be withdrawn in a future Autoconf release.
3162 # They can cause serious problems if a builder's source tree is in a directory
3163 # whose full name contains unusual characters.
3164 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3165 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3166 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3170 libwine_version
="1.0"
3174 # Check whether --enable-win16 was given.
3175 if test "${enable_win16+set}" = set; then :
3176 enableval
=$enable_win16;
3179 # Check whether --enable-win64 was given.
3180 if test "${enable_win64+set}" = set; then :
3181 enableval
=$enable_win64;
3184 # Check whether --enable-tests was given.
3185 if test "${enable_tests+set}" = set; then :
3186 enableval
=$enable_tests;
3189 # Check whether --enable-maintainer-mode was given.
3190 if test "${enable_maintainer_mode+set}" = set; then :
3191 enableval
=$enable_maintainer_mode;
3196 # Check whether --with-alsa was given.
3197 if test "${with_alsa+set}" = set; then :
3198 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3202 # Check whether --with-capi was given.
3203 if test "${with_capi+set}" = set; then :
3208 # Check whether --with-cms was given.
3209 if test "${with_cms+set}" = set; then :
3214 # Check whether --with-coreaudio was given.
3215 if test "${with_coreaudio+set}" = set; then :
3216 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3220 # Check whether --with-cups was given.
3221 if test "${with_cups+set}" = set; then :
3226 # Check whether --with-curses was given.
3227 if test "${with_curses+set}" = set; then :
3228 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3232 # Check whether --with-dbus was given.
3233 if test "${with_dbus+set}" = set; then :
3238 # Check whether --with-fontconfig was given.
3239 if test "${with_fontconfig+set}" = set; then :
3240 withval
=$with_fontconfig;
3244 # Check whether --with-freetype was given.
3245 if test "${with_freetype+set}" = set; then :
3246 withval
=$with_freetype;
3250 # Check whether --with-gettext was given.
3251 if test "${with_gettext+set}" = set; then :
3252 withval
=$with_gettext;
3256 # Check whether --with-gettextpo was given.
3257 if test "${with_gettextpo+set}" = set; then :
3258 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3262 # Check whether --with-gphoto was given.
3263 if test "${with_gphoto+set}" = set; then :
3264 withval
=$with_gphoto;
3268 # Check whether --with-glu was given.
3269 if test "${with_glu+set}" = set; then :
3274 # Check whether --with-gnutls was given.
3275 if test "${with_gnutls+set}" = set; then :
3276 withval
=$with_gnutls;
3280 # Check whether --with-gsm was given.
3281 if test "${with_gsm+set}" = set; then :
3282 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3286 # Check whether --with-gstreamer was given.
3287 if test "${with_gstreamer+set}" = set; then :
3288 withval
=$with_gstreamer;
3292 # Check whether --with-hal was given.
3293 if test "${with_hal+set}" = set; then :
3298 # Check whether --with-jpeg was given.
3299 if test "${with_jpeg+set}" = set; then :
3304 # Check whether --with-ldap was given.
3305 if test "${with_ldap+set}" = set; then :
3306 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3310 # Check whether --with-mpg123 was given.
3311 if test "${with_mpg123+set}" = set; then :
3312 withval
=$with_mpg123;
3316 # Check whether --with-netapi was given.
3317 if test "${with_netapi+set}" = set; then :
3318 withval
=$with_netapi;
3322 # Check whether --with-openal was given.
3323 if test "${with_openal+set}" = set; then :
3324 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3328 # Check whether --with-opencl was given.
3329 if test "${with_opencl+set}" = set; then :
3330 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3334 # Check whether --with-opengl was given.
3335 if test "${with_opengl+set}" = set; then :
3336 withval
=$with_opengl;
3340 # Check whether --with-osmesa was given.
3341 if test "${with_osmesa+set}" = set; then :
3342 withval
=$with_osmesa;
3346 # Check whether --with-oss was given.
3347 if test "${with_oss+set}" = set; then :
3352 # Check whether --with-pcap was given.
3353 if test "${with_pcap+set}" = set; then :
3354 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3358 # Check whether --with-png was given.
3359 if test "${with_png+set}" = set; then :
3364 # Check whether --with-pthread was given.
3365 if test "${with_pthread+set}" = set; then :
3366 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3370 # Check whether --with-sane was given.
3371 if test "${with_sane+set}" = set; then :
3376 # Check whether --with-tiff was given.
3377 if test "${with_tiff+set}" = set; then :
3382 # Check whether --with-v4l was given.
3383 if test "${with_v4l+set}" = set; then :
3388 # Check whether --with-xcomposite was given.
3389 if test "${with_xcomposite+set}" = set; then :
3390 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3394 # Check whether --with-xcursor was given.
3395 if test "${with_xcursor+set}" = set; then :
3396 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3400 # Check whether --with-xinerama was given.
3401 if test "${with_xinerama+set}" = set; then :
3402 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3406 # Check whether --with-xinput was given.
3407 if test "${with_xinput+set}" = set; then :
3408 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3412 # Check whether --with-xinput2 was given.
3413 if test "${with_xinput2+set}" = set; then :
3414 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3418 # Check whether --with-xml was given.
3419 if test "${with_xml+set}" = set; then :
3424 # Check whether --with-xrandr was given.
3425 if test "${with_xrandr+set}" = set; then :
3426 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3430 # Check whether --with-xrender was given.
3431 if test "${with_xrender+set}" = set; then :
3432 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3436 # Check whether --with-xshape was given.
3437 if test "${with_xshape+set}" = set; then :
3438 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3442 # Check whether --with-xshm was given.
3443 if test "${with_xshm+set}" = set; then :
3444 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3448 # Check whether --with-xslt was given.
3449 if test "${with_xslt+set}" = set; then :
3454 # Check whether --with-xxf86vm was given.
3455 if test "${with_xxf86vm+set}" = set; then :
3456 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
3460 # Check whether --with-zlib was given.
3461 if test "${with_zlib+set}" = set; then :
3462 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3467 # Check whether --with-wine-tools was given.
3468 if test "${with_wine_tools+set}" = set; then :
3469 withval
=$with_wine_tools;
3473 # Check whether --with-wine64 was given.
3474 if test "${with_wine64+set}" = set; then :
3475 withval
=$with_wine64;
3479 # Make sure we can run config.sub.
3480 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3481 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3484 $as_echo_n "checking build system type... " >&6; }
3485 if ${ac_cv_build+:} false
; then :
3486 $as_echo_n "(cached) " >&6
3488 ac_build_alias
=$build_alias
3489 test "x$ac_build_alias" = x
&&
3490 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3491 test "x$ac_build_alias" = x
&&
3492 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3493 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3494 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3498 $as_echo "$ac_cv_build" >&6; }
3499 case $ac_cv_build in
3501 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3504 ac_save_IFS
=$IFS; IFS
='-'
3510 # Remember, the first character of IFS is used to create $*,
3511 # except with old shells:
3514 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3518 $as_echo_n "checking host system type... " >&6; }
3519 if ${ac_cv_host+:} false
; then :
3520 $as_echo_n "(cached) " >&6
3522 if test "x$host_alias" = x
; then
3523 ac_cv_host
=$ac_cv_build
3525 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3526 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3531 $as_echo "$ac_cv_host" >&6; }
3534 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3537 ac_save_IFS
=$IFS; IFS
='-'
3543 # Remember, the first character of IFS is used to create $*,
3544 # except with old shells:
3547 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3553 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3554 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3555 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3561 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3563 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3564 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3565 $as_echo_n "(cached) " >&6
3567 cat >conftest.
make <<\_ACEOF
3570 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3572 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3573 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3575 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3577 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3581 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3583 $as_echo "yes" >&6; }
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3587 $as_echo "no" >&6; }
3588 SET_MAKE
="MAKE=${MAKE-make}"
3592 ac_cpp
='$CPP $CPPFLAGS'
3593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3596 if test -n "$ac_tool_prefix"; then
3597 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3598 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if ${ac_cv_prog_CC+:} false
; then :
3602 $as_echo_n "(cached) " >&6
3604 if test -n "$CC"; then
3605 ac_cv_prog_CC
="$CC" # Let the user override the test.
3607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3611 test -z "$as_dir" && as_dir
=.
3612 for ac_exec_ext
in '' $ac_executable_extensions; do
3613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3614 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 if test -n "$CC"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3627 $as_echo "$CC" >&6; }
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3635 if test -z "$ac_cv_prog_CC"; then
3637 # Extract the first word of "gcc", so it can be a program name with args.
3638 set dummy gcc
; ac_word
=$2
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3640 $as_echo_n "checking for $ac_word... " >&6; }
3641 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3642 $as_echo_n "(cached) " >&6
3644 if test -n "$ac_ct_CC"; then
3645 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3651 test -z "$as_dir" && as_dir
=.
3652 for ac_exec_ext
in '' $ac_executable_extensions; do
3653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3654 ac_cv_prog_ac_ct_CC
="gcc"
3655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3665 if test -n "$ac_ct_CC"; then
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3667 $as_echo "$ac_ct_CC" >&6; }
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3673 if test "x$ac_ct_CC" = x
; then
3676 case $cross_compiling:$ac_tool_warned in
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3680 ac_tool_warned
=yes ;;
3688 if test -z "$CC"; then
3689 if test -n "$ac_tool_prefix"; then
3690 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3691 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if ${ac_cv_prog_CC+:} false
; then :
3695 $as_echo_n "(cached) " >&6
3697 if test -n "$CC"; then
3698 ac_cv_prog_CC
="$CC" # Let the user override the test.
3700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3704 test -z "$as_dir" && as_dir
=.
3705 for ac_exec_ext
in '' $ac_executable_extensions; do
3706 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3707 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3718 if test -n "$CC"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3720 $as_echo "$CC" >&6; }
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723 $as_echo "no" >&6; }
3729 if test -z "$CC"; then
3730 # Extract the first word of "cc", so it can be a program name with args.
3731 set dummy cc
; ac_word
=$2
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3733 $as_echo_n "checking for $ac_word... " >&6; }
3734 if ${ac_cv_prog_CC+:} false
; then :
3735 $as_echo_n "(cached) " >&6
3737 if test -n "$CC"; then
3738 ac_cv_prog_CC
="$CC" # Let the user override the test.
3741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3745 test -z "$as_dir" && as_dir
=.
3746 for ac_exec_ext
in '' $ac_executable_extensions; do
3747 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3748 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3749 ac_prog_rejected
=yes
3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3760 if test $ac_prog_rejected = yes; then
3761 # We found a bogon in the path, so make sure we never use it.
3762 set dummy
$ac_cv_prog_CC
3764 if test $# != 0; then
3765 # We chose a different compiler from the bogus one.
3766 # However, it has the same basename, so the bogon will be chosen
3767 # first if we set CC to just the basename; use the full file name.
3769 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3775 if test -n "$CC"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3777 $as_echo "$CC" >&6; }
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3785 if test -z "$CC"; then
3786 if test -n "$ac_tool_prefix"; then
3787 for ac_prog
in cl.exe
3789 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3790 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3792 $as_echo_n "checking for $ac_word... " >&6; }
3793 if ${ac_cv_prog_CC+:} false
; then :
3794 $as_echo_n "(cached) " >&6
3796 if test -n "$CC"; then
3797 ac_cv_prog_CC
="$CC" # Let the user override the test.
3799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3803 test -z "$as_dir" && as_dir
=.
3804 for ac_exec_ext
in '' $ac_executable_extensions; do
3805 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3806 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3817 if test -n "$CC"; then
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3819 $as_echo "$CC" >&6; }
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3822 $as_echo "no" >&6; }
3826 test -n "$CC" && break
3829 if test -z "$CC"; then
3831 for ac_prog
in cl.exe
3833 # Extract the first word of "$ac_prog", so it can be a program name with args.
3834 set dummy
$ac_prog; ac_word
=$2
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3836 $as_echo_n "checking for $ac_word... " >&6; }
3837 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3838 $as_echo_n "(cached) " >&6
3840 if test -n "$ac_ct_CC"; then
3841 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3847 test -z "$as_dir" && as_dir
=.
3848 for ac_exec_ext
in '' $ac_executable_extensions; do
3849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3850 ac_cv_prog_ac_ct_CC
="$ac_prog"
3851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3860 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3861 if test -n "$ac_ct_CC"; then
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3863 $as_echo "$ac_ct_CC" >&6; }
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3866 $as_echo "no" >&6; }
3870 test -n "$ac_ct_CC" && break
3873 if test "x$ac_ct_CC" = x
; then
3876 case $cross_compiling:$ac_tool_warned in
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3880 ac_tool_warned
=yes ;;
3889 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3891 as_fn_error $?
"no acceptable C compiler found in \$PATH
3892 See \`config.log' for more details" "$LINENO" 5; }
3894 # Provide some information about the compiler.
3895 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3898 for ac_option
in --version -v -V -qversion; do
3899 { { ac_try
="$ac_compiler $ac_option >&5"
3901 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3902 *) ac_try_echo=$ac_try;;
3904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3905 $as_echo "$ac_try_echo"; } >&5
3906 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3908 if test -s conftest.err; then
3910 ... rest of stderr output deleted ...
3911 10q' conftest.err >conftest.er1
3912 cat conftest.er1 >&5
3914 rm -f conftest.er1 conftest.err
3915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3916 test $ac_status = 0; }
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3930 ac_clean_files_save=$ac_clean_files
3931 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3932 # Try to create an executable without -o first, disregard a.out.
3933 # It will help us diagnose broken compilers, and finding out an intuition
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3936 $as_echo_n "checking whether the C compiler works... " >&6; }
3937 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3939 # The possible output files:
3940 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3943 for ac_file in $ac_files
3946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3947 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3952 if { { ac_try="$ac_link_default"
3954 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3955 *) ac_try_echo
=$ac_try;;
3957 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3958 $as_echo "$ac_try_echo"; } >&5
3959 (eval "$ac_link_default") 2>&5
3961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3962 test $ac_status = 0; }; then :
3963 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3964 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3965 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3966 # so that the user can short-circuit this test for compilers unknown to
3968 for ac_file
in $ac_files ''
3970 test -f "$ac_file" ||
continue
3972 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3975 # We found the default executable, but exeext='' is most
3979 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3981 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3983 # We set ac_cv_exeext here because the later test for it is not
3984 # safe: cross compilers may not add the suffix if given an `-o'
3985 # argument, so we may need to know it at that point already.
3986 # Even if this section looks crufty: it has the advantage of
3993 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3998 if test -z "$ac_file"; then :
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4000 $as_echo "no" >&6; }
4001 $as_echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.
$ac_ext >&5
4004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4006 as_fn_error
77 "C compiler cannot create executables
4007 See \`config.log' for more details" "$LINENO" 5; }
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4010 $as_echo "yes" >&6; }
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4013 $as_echo_n "checking for C compiler default output file name... " >&6; }
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4015 $as_echo "$ac_file" >&6; }
4016 ac_exeext
=$ac_cv_exeext
4018 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4019 ac_clean_files
=$ac_clean_files_save
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4021 $as_echo_n "checking for suffix of executables... " >&6; }
4022 if { { ac_try
="$ac_link"
4024 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4025 *) ac_try_echo=$ac_try;;
4027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4028 $as_echo "$ac_try_echo"; } >&5
4029 (eval "$ac_link") 2>&5
4031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4032 test $ac_status = 0; }; then :
4033 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4034 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4035 # work properly (i.e., refer to `conftest.exe'), while it won't with
4037 for ac_file
in conftest.exe conftest conftest.
*; do
4038 test -f "$ac_file" ||
continue
4040 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4041 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4049 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4050 See \`config.log' for more details" "$LINENO" 5; }
4052 rm -f conftest conftest
$ac_cv_exeext
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4054 $as_echo "$ac_cv_exeext" >&6; }
4056 rm -f conftest.
$ac_ext
4057 EXEEXT
=$ac_cv_exeext
4059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4060 /* end confdefs.h. */
4065 FILE *f = fopen ("conftest.out", "w");
4066 return ferror (f) || fclose (f) != 0;
4072 ac_clean_files
="$ac_clean_files conftest.out"
4073 # Check that the compiler produces executables we can run. If not, either
4074 # the compiler is broken, or we cross compile.
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4076 $as_echo_n "checking whether we are cross compiling... " >&6; }
4077 if test "$cross_compiling" != yes; then
4078 { { ac_try
="$ac_link"
4080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4081 *) ac_try_echo=$ac_try;;
4083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4084 $as_echo "$ac_try_echo"; } >&5
4085 (eval "$ac_link") 2>&5
4087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088 test $ac_status = 0; }
4089 if { ac_try='./conftest$ac_cv_exeext'
4090 { { case "(($ac_try" in
4091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4092 *) ac_try_echo
=$ac_try;;
4094 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4095 $as_echo "$ac_try_echo"; } >&5
4096 (eval "$ac_try") 2>&5
4098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4099 test $ac_status = 0; }; }; then
4102 if test "$cross_compiling" = maybe
; then
4105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4107 as_fn_error $?
"cannot run C compiled programs.
4108 If you meant to cross compile, use \`--host'.
4109 See \`config.log' for more details" "$LINENO" 5; }
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4114 $as_echo "$cross_compiling" >&6; }
4116 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4117 ac_clean_files
=$ac_clean_files_save
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4119 $as_echo_n "checking for suffix of object files... " >&6; }
4120 if ${ac_cv_objext+:} false
; then :
4121 $as_echo_n "(cached) " >&6
4123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h. */
4134 rm -f conftest.o conftest.obj
4135 if { { ac_try
="$ac_compile"
4137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4138 *) ac_try_echo=$ac_try;;
4140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4141 $as_echo "$ac_try_echo"; } >&5
4142 (eval "$ac_compile") 2>&5
4144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4145 test $ac_status = 0; }; then :
4146 for ac_file in conftest.o conftest.obj conftest.*; do
4147 test -f "$ac_file" || continue;
4149 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4150 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4155 $as_echo "$as_me: failed program was:" >&5
4156 sed 's/^/| /' conftest.$ac_ext >&5
4158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4160 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4161 See \
`config.log' for more details" "$LINENO" 5; }
4163 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4166 $as_echo "$ac_cv_objext" >&6; }
4167 OBJEXT=$ac_cv_objext
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4170 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4171 if ${ac_cv_c_compiler_gnu+:} false; then :
4172 $as_echo_n "(cached) " >&6
4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4188 if ac_fn_c_try_compile "$LINENO"; then :
4193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4194 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4198 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4199 if test $ac_compiler_gnu = yes; then
4204 ac_test_CFLAGS=${CFLAGS+set}
4205 ac_save_CFLAGS=$CFLAGS
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4207 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4208 if ${ac_cv_prog_cc_g+:} false; then :
4209 $as_echo_n "(cached) " >&6
4211 ac_save_c_werror_flag=$ac_c_werror_flag
4212 ac_c_werror_flag=yes
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4226 if ac_fn_c_try_compile "$LINENO"; then :
4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4231 /* end confdefs.h. */
4241 if ac_fn_c_try_compile "$LINENO"; then :
4244 ac_c_werror_flag=$ac_save_c_werror_flag
4246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4247 /* end confdefs.h. */
4257 if ac_fn_c_try_compile "$LINENO"; then :
4260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4265 ac_c_werror_flag=$ac_save_c_werror_flag
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4268 $as_echo "$ac_cv_prog_cc_g" >&6; }
4269 if test "$ac_test_CFLAGS" = set; then
4270 CFLAGS=$ac_save_CFLAGS
4271 elif test $ac_cv_prog_cc_g = yes; then
4272 if test "$GCC" = yes; then
4278 if test "$GCC" = yes; then
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4285 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4286 if ${ac_cv_prog_cc_c89+:} false; then :
4287 $as_echo_n "(cached) " >&6
4289 ac_cv_prog_cc_c89=no
4291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4292 /* end confdefs.h. */
4296 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4297 struct buf { int x; };
4298 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4299 static char *e (p, i)
4305 static char *f (char * (*g) (char **, int), char **p, ...)
4310 s = g (p, va_arg (v,int));
4315 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4316 function prototypes and stuff, but not '\xHH' hex character constants.
4317 These don't provoke an error unfortunately, instead are silently treated
4318 as 'x'. The following induces an error, until -std is added to get
4319 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4320 array size at least. It's necessary to write '\x00'==0 to get something
4321 that's true only with -std. */
4322 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4324 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4325 inside strings and character constants. */
4327 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4329 int test (int i, double x);
4330 struct s1 {int (*f) (int a);};
4331 struct s2 {int (*f) (double a);};
4332 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4338 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4343 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4344 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4346 CC="$ac_save_CC $ac_arg"
4347 if ac_fn_c_try_compile "$LINENO"; then :
4348 ac_cv_prog_cc_c89=$ac_arg
4350 rm -f core conftest.err conftest.$ac_objext
4351 test "x$ac_cv_prog_cc_c89" != "xno" && break
4353 rm -f conftest.$ac_ext
4358 case "x$ac_cv_prog_cc_c89" in
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4361 $as_echo "none needed" >&6; } ;;
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4364 $as_echo "unsupported" >&6; } ;;
4366 CC="$CC $ac_cv_prog_cc_c89"
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4368 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4370 if test "x$ac_cv_prog_cc_c89" != xno; then :
4375 ac_cpp='$CPP $CPPFLAGS'
4376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4381 ac_cpp='$CXXCPP $CPPFLAGS'
4382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4385 if test -z "$CXX"; then
4386 if test -n "$CCC"; then
4389 if test -n "$ac_tool_prefix"; then
4390 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4392 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4393 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if ${ac_cv_prog_CXX+:} false; then :
4397 $as_echo_n "(cached) " >&6
4399 if test -n "$CXX"; then
4400 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406 test -z "$as_dir" && as_dir=.
4407 for ac_exec_ext in '' $ac_executable_extensions; do
4408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4409 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 if test -n "$CXX"; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4422 $as_echo "$CXX" >&6; }
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4429 test -n "$CXX" && break
4432 if test -z "$CXX"; then
4434 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4436 # Extract the first word of "$ac_prog", so it can be a program name with args.
4437 set dummy $ac_prog; ac_word=$2
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4439 $as_echo_n "checking for $ac_word... " >&6; }
4440 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4441 $as_echo_n "(cached) " >&6
4443 if test -n "$ac_ct_CXX"; then
4444 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450 test -z "$as_dir" && as_dir=.
4451 for ac_exec_ext in '' $ac_executable_extensions; do
4452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4453 ac_cv_prog_ac_ct_CXX="$ac_prog"
4454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4463 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4464 if test -n "$ac_ct_CXX"; then
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4466 $as_echo "$ac_ct_CXX" >&6; }
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4469 $as_echo "no" >&6; }
4473 test -n "$ac_ct_CXX" && break
4476 if test "x$ac_ct_CXX" = x; then
4479 case $cross_compiling:$ac_tool_warned in
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4483 ac_tool_warned=yes ;;
4491 # Provide some information about the compiler.
4492 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4495 for ac_option in --version -v -V -qversion; do
4496 { { ac_try="$ac_compiler $ac_option >&5"
4498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4499 *) ac_try_echo
=$ac_try;;
4501 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4502 $as_echo "$ac_try_echo"; } >&5
4503 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4505 if test -s conftest.err
; then
4507 ... rest of stderr output deleted ...
4508 10q' conftest.err
>conftest.er1
4509 cat conftest.er1
>&5
4511 rm -f conftest.er1 conftest.err
4512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4513 test $ac_status = 0; }
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4517 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4518 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4519 $as_echo_n "(cached) " >&6
4521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4535 if ac_fn_cxx_try_compile
"$LINENO"; then :
4540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4541 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4545 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4546 if test $ac_compiler_gnu = yes; then
4551 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4552 ac_save_CXXFLAGS
=$CXXFLAGS
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4554 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4555 if ${ac_cv_prog_cxx_g+:} false
; then :
4556 $as_echo_n "(cached) " >&6
4558 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4559 ac_cxx_werror_flag
=yes
4562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4573 if ac_fn_cxx_try_compile
"$LINENO"; then :
4574 ac_cv_prog_cxx_g
=yes
4577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4578 /* end confdefs.h. */
4588 if ac_fn_cxx_try_compile
"$LINENO"; then :
4591 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h. */
4604 if ac_fn_cxx_try_compile
"$LINENO"; then :
4605 ac_cv_prog_cxx_g
=yes
4607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4612 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4615 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4616 if test "$ac_test_CXXFLAGS" = set; then
4617 CXXFLAGS
=$ac_save_CXXFLAGS
4618 elif test $ac_cv_prog_cxx_g = yes; then
4619 if test "$GXX" = yes; then
4625 if test "$GXX" = yes; then
4632 ac_cpp
='$CPP $CPPFLAGS'
4633 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4634 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4635 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4637 if test -n "$ac_tool_prefix"; then
4638 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4639 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641 $as_echo_n "checking for $ac_word... " >&6; }
4642 if ${ac_cv_prog_CPPBIN+:} false
; then :
4643 $as_echo_n "(cached) " >&6
4645 if test -n "$CPPBIN"; then
4646 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4652 test -z "$as_dir" && as_dir
=.
4653 for ac_exec_ext
in '' $ac_executable_extensions; do
4654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4655 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 CPPBIN
=$ac_cv_prog_CPPBIN
4666 if test -n "$CPPBIN"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4668 $as_echo "$CPPBIN" >&6; }
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4676 if test -z "$ac_cv_prog_CPPBIN"; then
4677 ac_ct_CPPBIN
=$CPPBIN
4678 # Extract the first word of "cpp", so it can be a program name with args.
4679 set dummy cpp
; ac_word
=$2
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4681 $as_echo_n "checking for $ac_word... " >&6; }
4682 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4683 $as_echo_n "(cached) " >&6
4685 if test -n "$ac_ct_CPPBIN"; then
4686 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4692 test -z "$as_dir" && as_dir
=.
4693 for ac_exec_ext
in '' $ac_executable_extensions; do
4694 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4695 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4705 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4706 if test -n "$ac_ct_CPPBIN"; then
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4708 $as_echo "$ac_ct_CPPBIN" >&6; }
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711 $as_echo "no" >&6; }
4714 if test "x$ac_ct_CPPBIN" = x
; then
4717 case $cross_compiling:$ac_tool_warned in
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4721 ac_tool_warned
=yes ;;
4723 CPPBIN
=$ac_ct_CPPBIN
4726 CPPBIN
="$ac_cv_prog_CPPBIN"
4730 cat >>confdefs.h
<<_ACEOF
4731 #define EXEEXT "$ac_exeext"
4737 if test "x$enable_win64" = "xyes"
4742 notice_platform
="64-bit "
4749 notice_platform
="32-bit "
4752 enable_win16
=${enable_win16:-yes}
4754 with_fontconfig
=${with_fontconfig:-no}
4757 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4762 $as_echo_n "checking whether $CC works... " >&6; }
4764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4775 if ac_fn_c_try_link
"$LINENO"; then :
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4777 $as_echo "yes" >&6; }
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4780 $as_echo "no" >&6; }
4781 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4783 rm -f core conftest.err conftest.
$ac_objext \
4784 conftest
$ac_exeext conftest.
$ac_ext
4786 notice_platform
="32-bit "
4789 enable_win16
=${enable_win16:-yes}
4791 if test "x${GCC}" = "xyes"
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4794 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4801 void func(__builtin_ms_va_list *args);
4806 if ac_fn_c_try_compile
"$LINENO"; then :
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4808 $as_echo "yes" >&6; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4812 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4822 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4824 /* end confdefs.h. */
4825 int ac_test(int i) { return i; }
4829 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4834 if ac_fn_c_try_link
"$LINENO"; then :
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4836 $as_echo "yes" >&6; }
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839 $as_echo "no" >&6; }
4840 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4842 rm -f core conftest.err conftest.
$ac_objext \
4843 conftest
$ac_exeext conftest.
$ac_ext
4844 CFLAGS
="$CFLAGS -marm"
4848 *-mingw32*|
*-cygwin*)
4849 enable_win16
=${enable_win16:-no}
4850 CFLAGS
="$CFLAGS -D_WIN32"
4853 enable_win16
=${enable_win16:-yes}
4857 enable_win16
=${enable_win16:-no}
4858 enable_win64
=${enable_win64:-no}
4860 enable_winetest
=${enable_winetest:-$enable_tests}
4862 if test -n "$with_wine64"
4864 if test "x$enable_win64" = "xyes"
4866 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4867 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4869 enable_fonts
=${enable_fonts:-no}
4870 enable_server
=${enable_server:-no}
4871 elif test "x$enable_win64" = "xyes"
4873 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4877 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4878 if ${wine_cv_toolsdir+:} false
; then :
4879 $as_echo_n "(cached) " >&6
4881 wine_cv_toolsdir
="$with_wine_tools"
4882 if test -z "$with_wine_tools"; then
4883 if test "$cross_compiling" = "yes"; then
4884 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4885 elif test -n "$with_wine64"; then
4886 wine_cv_toolsdir
="$with_wine64"
4889 if test -z "$wine_cv_toolsdir"; then
4890 wine_makedep
=tools
/makedep
4891 wine_cv_toolsdir
="\$(top_builddir)"
4892 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4893 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4894 case "$wine_cv_toolsdir" in
4896 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4898 enable_tools
=${enable_tools:-no}
4899 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4901 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4905 $as_echo "$wine_cv_toolsdir" >&6; }
4906 TOOLSDIR
=$wine_cv_toolsdir
4908 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4910 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4916 # Extract the first word of "$ac_prog", so it can be a program name with args.
4917 set dummy
$ac_prog; ac_word
=$2
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4919 $as_echo_n "checking for $ac_word... " >&6; }
4920 if ${ac_cv_prog_FLEX+:} false
; then :
4921 $as_echo_n "(cached) " >&6
4923 if test -n "$FLEX"; then
4924 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4930 test -z "$as_dir" && as_dir
=.
4931 for ac_exec_ext
in '' $ac_executable_extensions; do
4932 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4933 ac_cv_prog_FLEX
="$ac_prog"
4934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 FLEX
=$ac_cv_prog_FLEX
4944 if test -n "$FLEX"; then
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4946 $as_echo "$FLEX" >&6; }
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4949 $as_echo "no" >&6; }
4953 test -n "$FLEX" && break
4955 test -n "$FLEX" || FLEX
="none"
4957 if test "$FLEX" = "none"
4959 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4962 $as_echo_n "checking whether flex is recent enough... " >&6; }
4963 cat >conftest.l
<<EOF
4965 #include "prediluvian.h"
4969 if $FLEX -t conftest.l
>/dev
/null
2>&5
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4972 $as_echo "yes" >&6; }
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4975 $as_echo "no" >&6; }
4976 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4979 for ac_prog
in bison
4981 # Extract the first word of "$ac_prog", so it can be a program name with args.
4982 set dummy
$ac_prog; ac_word
=$2
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4984 $as_echo_n "checking for $ac_word... " >&6; }
4985 if ${ac_cv_prog_BISON+:} false
; then :
4986 $as_echo_n "(cached) " >&6
4988 if test -n "$BISON"; then
4989 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4995 test -z "$as_dir" && as_dir
=.
4996 for ac_exec_ext
in '' $ac_executable_extensions; do
4997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4998 ac_cv_prog_BISON
="$ac_prog"
4999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5008 BISON
=$ac_cv_prog_BISON
5009 if test -n "$BISON"; then
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5011 $as_echo "$BISON" >&6; }
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5018 test -n "$BISON" && break
5020 test -n "$BISON" || BISON
="none"
5022 if test "$BISON" = "none"
5024 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5027 if test -n "$ac_tool_prefix"; then
5028 for ac_prog
in ar gar
5030 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5031 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5033 $as_echo_n "checking for $ac_word... " >&6; }
5034 if ${ac_cv_prog_AR+:} false
; then :
5035 $as_echo_n "(cached) " >&6
5037 if test -n "$AR"; then
5038 ac_cv_prog_AR
="$AR" # Let the user override the test.
5040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5044 test -z "$as_dir" && as_dir
=.
5045 for ac_exec_ext
in '' $ac_executable_extensions; do
5046 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5047 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5058 if test -n "$AR"; then
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5060 $as_echo "$AR" >&6; }
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5063 $as_echo "no" >&6; }
5067 test -n "$AR" && break
5070 if test -z "$AR"; then
5072 for ac_prog
in ar gar
5074 # Extract the first word of "$ac_prog", so it can be a program name with args.
5075 set dummy
$ac_prog; ac_word
=$2
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5077 $as_echo_n "checking for $ac_word... " >&6; }
5078 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5079 $as_echo_n "(cached) " >&6
5081 if test -n "$ac_ct_AR"; then
5082 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5088 test -z "$as_dir" && as_dir
=.
5089 for ac_exec_ext
in '' $ac_executable_extensions; do
5090 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5091 ac_cv_prog_ac_ct_AR
="$ac_prog"
5092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5101 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5102 if test -n "$ac_ct_AR"; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5104 $as_echo "$ac_ct_AR" >&6; }
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5111 test -n "$ac_ct_AR" && break
5114 if test "x$ac_ct_AR" = x
; then
5117 case $cross_compiling:$ac_tool_warned in
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5121 ac_tool_warned
=yes ;;
5127 if test -n "$ac_tool_prefix"; then
5128 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5129 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5131 $as_echo_n "checking for $ac_word... " >&6; }
5132 if ${ac_cv_prog_STRIP+:} false
; then :
5133 $as_echo_n "(cached) " >&6
5135 if test -n "$STRIP"; then
5136 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5142 test -z "$as_dir" && as_dir
=.
5143 for ac_exec_ext
in '' $ac_executable_extensions; do
5144 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5145 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5155 STRIP
=$ac_cv_prog_STRIP
5156 if test -n "$STRIP"; then
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5158 $as_echo "$STRIP" >&6; }
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 $as_echo "no" >&6; }
5166 if test -z "$ac_cv_prog_STRIP"; then
5168 # Extract the first word of "strip", so it can be a program name with args.
5169 set dummy strip
; ac_word
=$2
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5171 $as_echo_n "checking for $ac_word... " >&6; }
5172 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5173 $as_echo_n "(cached) " >&6
5175 if test -n "$ac_ct_STRIP"; then
5176 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5182 test -z "$as_dir" && as_dir
=.
5183 for ac_exec_ext
in '' $ac_executable_extensions; do
5184 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5185 ac_cv_prog_ac_ct_STRIP
="strip"
5186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5195 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5196 if test -n "$ac_ct_STRIP"; then
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5198 $as_echo "$ac_ct_STRIP" >&6; }
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 $as_echo "no" >&6; }
5204 if test "x$ac_ct_STRIP" = x
; then
5207 case $cross_compiling:$ac_tool_warned in
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5211 ac_tool_warned
=yes ;;
5216 STRIP
="$ac_cv_prog_STRIP"
5221 if test -n "$ac_tool_prefix"; then
5222 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5223 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5225 $as_echo_n "checking for $ac_word... " >&6; }
5226 if ${ac_cv_prog_RANLIB+:} false
; then :
5227 $as_echo_n "(cached) " >&6
5229 if test -n "$RANLIB"; then
5230 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5236 test -z "$as_dir" && as_dir
=.
5237 for ac_exec_ext
in '' $ac_executable_extensions; do
5238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5239 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 RANLIB
=$ac_cv_prog_RANLIB
5250 if test -n "$RANLIB"; then
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5252 $as_echo "$RANLIB" >&6; }
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5255 $as_echo "no" >&6; }
5260 if test -z "$ac_cv_prog_RANLIB"; then
5261 ac_ct_RANLIB
=$RANLIB
5262 # Extract the first word of "ranlib", so it can be a program name with args.
5263 set dummy ranlib
; ac_word
=$2
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5265 $as_echo_n "checking for $ac_word... " >&6; }
5266 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5267 $as_echo_n "(cached) " >&6
5269 if test -n "$ac_ct_RANLIB"; then
5270 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5276 test -z "$as_dir" && as_dir
=.
5277 for ac_exec_ext
in '' $ac_executable_extensions; do
5278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5279 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5289 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5290 if test -n "$ac_ct_RANLIB"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5292 $as_echo "$ac_ct_RANLIB" >&6; }
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5298 if test "x$ac_ct_RANLIB" = x
; then
5301 case $cross_compiling:$ac_tool_warned in
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5305 ac_tool_warned
=yes ;;
5307 RANLIB
=$ac_ct_RANLIB
5310 RANLIB
="$ac_cv_prog_RANLIB"
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5314 $as_echo_n "checking whether ln -s works... " >&6; }
5316 if test "$LN_S" = "ln -s"; then
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5318 $as_echo "yes" >&6; }
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5321 $as_echo "no, using $LN_S" >&6; }
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5325 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5326 if ${ac_cv_path_GREP+:} false
; then :
5327 $as_echo_n "(cached) " >&6
5329 if test -z "$GREP"; then
5330 ac_path_GREP_found
=false
5331 # Loop through the user's path and test for each of PROGNAME-LIST
5332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5333 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5336 test -z "$as_dir" && as_dir
=.
5337 for ac_prog
in grep ggrep
; do
5338 for ac_exec_ext
in '' $ac_executable_extensions; do
5339 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5340 as_fn_executable_p
"$ac_path_GREP" ||
continue
5341 # Check for GNU ac_path_GREP and select it if it is found.
5342 # Check for GNU $ac_path_GREP
5343 case `"$ac_path_GREP" --version 2>&1` in
5345 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5348 $as_echo_n 0123456789 >"conftest.in"
5351 cat "conftest.in" "conftest.in" >"conftest.tmp"
5352 mv "conftest.tmp" "conftest.in"
5353 cp "conftest.in" "conftest.nl"
5354 $as_echo 'GREP' >> "conftest.nl"
5355 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5356 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5357 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5358 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5359 # Best one so far, save it but keep looking for a better one
5360 ac_cv_path_GREP
="$ac_path_GREP"
5361 ac_path_GREP_max
=$ac_count
5363 # 10*(2^10) chars as input seems more than enough
5364 test $ac_count -gt 10 && break
5366 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5369 $ac_path_GREP_found && break 3
5374 if test -z "$ac_cv_path_GREP"; then
5375 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5378 ac_cv_path_GREP
=$GREP
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5383 $as_echo "$ac_cv_path_GREP" >&6; }
5384 GREP
="$ac_cv_path_GREP"
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5388 $as_echo_n "checking for egrep... " >&6; }
5389 if ${ac_cv_path_EGREP+:} false
; then :
5390 $as_echo_n "(cached) " >&6
5392 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5393 then ac_cv_path_EGREP
="$GREP -E"
5395 if test -z "$EGREP"; then
5396 ac_path_EGREP_found
=false
5397 # Loop through the user's path and test for each of PROGNAME-LIST
5398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5399 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5402 test -z "$as_dir" && as_dir
=.
5403 for ac_prog
in egrep; do
5404 for ac_exec_ext
in '' $ac_executable_extensions; do
5405 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5406 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5407 # Check for GNU ac_path_EGREP and select it if it is found.
5408 # Check for GNU $ac_path_EGREP
5409 case `"$ac_path_EGREP" --version 2>&1` in
5411 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5414 $as_echo_n 0123456789 >"conftest.in"
5417 cat "conftest.in" "conftest.in" >"conftest.tmp"
5418 mv "conftest.tmp" "conftest.in"
5419 cp "conftest.in" "conftest.nl"
5420 $as_echo 'EGREP' >> "conftest.nl"
5421 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5422 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5423 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5424 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5425 # Best one so far, save it but keep looking for a better one
5426 ac_cv_path_EGREP
="$ac_path_EGREP"
5427 ac_path_EGREP_max
=$ac_count
5429 # 10*(2^10) chars as input seems more than enough
5430 test $ac_count -gt 10 && break
5432 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5435 $ac_path_EGREP_found && break 3
5440 if test -z "$ac_cv_path_EGREP"; then
5441 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5444 ac_cv_path_EGREP
=$EGREP
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5450 $as_echo "$ac_cv_path_EGREP" >&6; }
5451 EGREP
="$ac_cv_path_EGREP"
5454 # Extract the first word of "ldconfig", so it can be a program name with args.
5455 set dummy ldconfig
; ac_word
=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if ${ac_cv_path_LDCONFIG+:} false
; then :
5459 $as_echo_n "(cached) " >&6
5463 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5467 for as_dir
in /sbin
/usr
/sbin
$PATH
5470 test -z "$as_dir" && as_dir
=.
5471 for ac_exec_ext
in '' $ac_executable_extensions; do
5472 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5473 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5481 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5485 LDCONFIG
=$ac_cv_path_LDCONFIG
5486 if test -n "$LDCONFIG"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5488 $as_echo "$LDCONFIG" >&6; }
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5495 for ac_prog
in msgfmt
5497 # Extract the first word of "$ac_prog", so it can be a program name with args.
5498 set dummy
$ac_prog; ac_word
=$2
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500 $as_echo_n "checking for $ac_word... " >&6; }
5501 if ${ac_cv_prog_MSGFMT+:} false
; then :
5502 $as_echo_n "(cached) " >&6
5504 if test -n "$MSGFMT"; then
5505 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5511 test -z "$as_dir" && as_dir
=.
5512 for ac_exec_ext
in '' $ac_executable_extensions; do
5513 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5514 ac_cv_prog_MSGFMT
="$ac_prog"
5515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5524 MSGFMT
=$ac_cv_prog_MSGFMT
5525 if test -n "$MSGFMT"; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5527 $as_echo "$MSGFMT" >&6; }
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530 $as_echo "no" >&6; }
5534 test -n "$MSGFMT" && break
5536 test -n "$MSGFMT" || MSGFMT
="false"
5538 if ${ac_tool_prefix+:} false
; then :
5539 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5540 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5542 $as_echo_n "checking for $ac_word... " >&6; }
5543 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5544 $as_echo_n "(cached) " >&6
5546 if test -n "$PKG_CONFIG"; then
5547 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5553 test -z "$as_dir" && as_dir
=.
5554 for ac_exec_ext
in '' $ac_executable_extensions; do
5555 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5556 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5566 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5567 if test -n "$PKG_CONFIG"; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5569 $as_echo "$PKG_CONFIG" >&6; }
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572 $as_echo "no" >&6; }
5577 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5578 if test "x$cross_compiling" = xyes
; then :
5581 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5582 # Extract the first word of "pkg-config", so it can be a program name with args.
5583 set dummy pkg-config
; ac_word
=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5587 $as_echo_n "(cached) " >&6
5589 if test -n "$PKG_CONFIG"; then
5590 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5596 test -z "$as_dir" && as_dir
=.
5597 for ac_exec_ext
in '' $ac_executable_extensions; do
5598 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5599 ac_cv_prog_PKG_CONFIG
="pkg-config"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5609 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5610 if test -n "$PKG_CONFIG"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5612 $as_echo "$PKG_CONFIG" >&6; }
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5621 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5624 if test "x$enable_maintainer_mode" != "xyes"
5631 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5632 for ac_prog
in fontforge
5634 # Extract the first word of "$ac_prog", so it can be a program name with args.
5635 set dummy
$ac_prog; ac_word
=$2
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5637 $as_echo_n "checking for $ac_word... " >&6; }
5638 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5639 $as_echo_n "(cached) " >&6
5641 if test -n "$FONTFORGE"; then
5642 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5648 test -z "$as_dir" && as_dir
=.
5649 for ac_exec_ext
in '' $ac_executable_extensions; do
5650 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5651 ac_cv_prog_FONTFORGE
="$ac_prog"
5652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 FONTFORGE
=$ac_cv_prog_FONTFORGE
5662 if test -n "$FONTFORGE"; then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5664 $as_echo "$FONTFORGE" >&6; }
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5667 $as_echo "no" >&6; }
5671 test -n "$FONTFORGE" && break
5673 test -n "$FONTFORGE" || FONTFORGE
="false"
5677 # Extract the first word of "$ac_prog", so it can be a program name with args.
5678 set dummy
$ac_prog; ac_word
=$2
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5680 $as_echo_n "checking for $ac_word... " >&6; }
5681 if ${ac_cv_prog_RSVG+:} false
; then :
5682 $as_echo_n "(cached) " >&6
5684 if test -n "$RSVG"; then
5685 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5691 test -z "$as_dir" && as_dir
=.
5692 for ac_exec_ext
in '' $ac_executable_extensions; do
5693 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5694 ac_cv_prog_RSVG
="$ac_prog"
5695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5704 RSVG
=$ac_cv_prog_RSVG
5705 if test -n "$RSVG"; then
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5707 $as_echo "$RSVG" >&6; }
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5710 $as_echo "no" >&6; }
5714 test -n "$RSVG" && break
5716 test -n "$RSVG" || RSVG
="false"
5718 for ac_prog
in convert
5720 # Extract the first word of "$ac_prog", so it can be a program name with args.
5721 set dummy
$ac_prog; ac_word
=$2
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723 $as_echo_n "checking for $ac_word... " >&6; }
5724 if ${ac_cv_prog_CONVERT+:} false
; then :
5725 $as_echo_n "(cached) " >&6
5727 if test -n "$CONVERT"; then
5728 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5734 test -z "$as_dir" && as_dir
=.
5735 for ac_exec_ext
in '' $ac_executable_extensions; do
5736 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5737 ac_cv_prog_CONVERT
="$ac_prog"
5738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 CONVERT
=$ac_cv_prog_CONVERT
5748 if test -n "$CONVERT"; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5750 $as_echo "$CONVERT" >&6; }
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 $as_echo "no" >&6; }
5757 test -n "$CONVERT" && break
5759 test -n "$CONVERT" || CONVERT
="false"
5761 for ac_prog
in icotool
5763 # Extract the first word of "$ac_prog", so it can be a program name with args.
5764 set dummy
$ac_prog; ac_word
=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5768 $as_echo_n "(cached) " >&6
5770 if test -n "$ICOTOOL"; then
5771 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir
=.
5778 for ac_exec_ext
in '' $ac_executable_extensions; do
5779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_ICOTOOL
="$ac_prog"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 ICOTOOL
=$ac_cv_prog_ICOTOOL
5791 if test -n "$ICOTOOL"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5793 $as_echo "$ICOTOOL" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5800 test -n "$ICOTOOL" && break
5802 test -n "$ICOTOOL" || ICOTOOL
="false"
5804 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5805 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5807 if test "$CONVERT" = false
5809 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5812 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5813 convert_version
=`convert --version | head -n1`
5814 if test "x$convert_version" != "x"
5816 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5817 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5818 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5823 if test "$CONVERT" = false
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5826 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5827 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5830 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5834 if test "$ICOTOOL" = false
5836 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5839 $as_echo_n "checking for recent enough icotool... " >&6; }
5840 icotool_version
=`icotool --version | head -n1`
5841 if test "x$icotool_version" != "x"
5843 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5844 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5845 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5848 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5851 if test "$ICOTOOL" = false
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5854 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5855 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5858 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5864 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5867 test "x$with_gettext" != xno || MSGFMT
=false
5868 if test "$MSGFMT" != "false"
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5871 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5872 cat >conftest.po
<<EOF
5878 if $MSGFMT -o /dev
/null conftest.po
2>&5
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5881 $as_echo "yes" >&6; }
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5888 if test "$MSGFMT" = false
; then :
5889 case "x$with_gettext" in
5890 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5892 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5893 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5899 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5900 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5901 $as_echo_n "(cached) " >&6
5903 ac_check_lib_save_LIBS
=$LIBS
5905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5906 /* end confdefs.h. */
5908 /* Override any GCC internal prototype to avoid an error.
5909 Use char because int might match the return type of a GCC
5910 builtin and then its argument prototype would still apply. */
5914 char i386_set_ldt ();
5918 return i386_set_ldt ();
5923 if ac_fn_c_try_link
"$LINENO"; then :
5924 ac_cv_lib_i386_i386_set_ldt
=yes
5926 ac_cv_lib_i386_i386_set_ldt
=no
5928 rm -f core conftest.err conftest.
$ac_objext \
5929 conftest
$ac_exeext conftest.
$ac_ext
5930 LIBS
=$ac_check_lib_save_LIBS
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5933 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5934 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5935 cat >>confdefs.h
<<_ACEOF
5936 #define HAVE_LIBI386 1
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5944 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5945 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5946 $as_echo_n "(cached) " >&6
5948 ac_check_lib_save_LIBS
=$LIBS
5949 LIBS
="-lossaudio $LIBS"
5950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5951 /* end confdefs.h. */
5953 /* Override any GCC internal prototype to avoid an error.
5954 Use char because int might match the return type of a GCC
5955 builtin and then its argument prototype would still apply. */
5963 return _oss_ioctl ();
5968 if ac_fn_c_try_link
"$LINENO"; then :
5969 ac_cv_lib_ossaudio__oss_ioctl
=yes
5971 ac_cv_lib_ossaudio__oss_ioctl
=no
5973 rm -f core conftest.err conftest.
$ac_objext \
5974 conftest
$ac_exeext conftest.
$ac_ext
5975 LIBS
=$ac_check_lib_save_LIBS
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5978 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5979 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5980 cat >>confdefs.h
<<_ACEOF
5981 #define HAVE_LIBOSSAUDIO 1
5984 LIBS
="-lossaudio $LIBS"
5993 # Check whether --enable-largefile was given.
5994 if test "${enable_largefile+set}" = set; then :
5995 enableval
=$enable_largefile;
5998 if test "$enable_largefile" != no
; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6001 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6002 if ${ac_cv_sys_largefile_CC+:} false
; then :
6003 $as_echo_n "(cached) " >&6
6005 ac_cv_sys_largefile_CC
=no
6006 if test "$GCC" != yes; then
6009 # IRIX 6.2 and later do not support large files by default,
6010 # so use the C compiler's -n32 option if that helps.
6011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6012 /* end confdefs.h. */
6013 #include <sys/types.h>
6014 /* Check that off_t can represent 2**63 - 1 correctly.
6015 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6016 since some C++ compilers masquerading as C compilers
6017 incorrectly reject 9223372036854775807. */
6018 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6019 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6020 && LARGE_OFF_T % 2147483647 == 1)
6030 if ac_fn_c_try_compile
"$LINENO"; then :
6033 rm -f core conftest.err conftest.
$ac_objext
6035 if ac_fn_c_try_compile
"$LINENO"; then :
6036 ac_cv_sys_largefile_CC
=' -n32'; break
6038 rm -f core conftest.err conftest.
$ac_objext
6042 rm -f conftest.
$ac_ext
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6046 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6047 if test "$ac_cv_sys_largefile_CC" != no
; then
6048 CC
=$CC$ac_cv_sys_largefile_CC
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6052 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6053 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6054 $as_echo_n "(cached) " >&6
6057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6058 /* end confdefs.h. */
6059 #include <sys/types.h>
6060 /* Check that off_t can represent 2**63 - 1 correctly.
6061 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6062 since some C++ compilers masquerading as C compilers
6063 incorrectly reject 9223372036854775807. */
6064 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6065 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6066 && LARGE_OFF_T % 2147483647 == 1)
6076 if ac_fn_c_try_compile
"$LINENO"; then :
6077 ac_cv_sys_file_offset_bits
=no
; break
6079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6081 /* end confdefs.h. */
6082 #define _FILE_OFFSET_BITS 64
6083 #include <sys/types.h>
6084 /* Check that off_t can represent 2**63 - 1 correctly.
6085 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6086 since some C++ compilers masquerading as C compilers
6087 incorrectly reject 9223372036854775807. */
6088 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6089 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6090 && LARGE_OFF_T % 2147483647 == 1)
6100 if ac_fn_c_try_compile
"$LINENO"; then :
6101 ac_cv_sys_file_offset_bits
=64; break
6103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6104 ac_cv_sys_file_offset_bits
=unknown
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6109 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6110 case $ac_cv_sys_file_offset_bits in #(
6113 cat >>confdefs.h
<<_ACEOF
6114 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6119 if test $ac_cv_sys_file_offset_bits = unknown
; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6121 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6122 if ${ac_cv_sys_large_files+:} false
; then :
6123 $as_echo_n "(cached) " >&6
6126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6127 /* end confdefs.h. */
6128 #include <sys/types.h>
6129 /* Check that off_t can represent 2**63 - 1 correctly.
6130 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6131 since some C++ compilers masquerading as C compilers
6132 incorrectly reject 9223372036854775807. */
6133 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6134 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6135 && LARGE_OFF_T % 2147483647 == 1)
6145 if ac_fn_c_try_compile
"$LINENO"; then :
6146 ac_cv_sys_large_files
=no
; break
6148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6150 /* end confdefs.h. */
6151 #define _LARGE_FILES 1
6152 #include <sys/types.h>
6153 /* Check that off_t can represent 2**63 - 1 correctly.
6154 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6155 since some C++ compilers masquerading as C compilers
6156 incorrectly reject 9223372036854775807. */
6157 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6158 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6159 && LARGE_OFF_T % 2147483647 == 1)
6169 if ac_fn_c_try_compile
"$LINENO"; then :
6170 ac_cv_sys_large_files
=1; break
6172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6173 ac_cv_sys_large_files
=unknown
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6178 $as_echo "$ac_cv_sys_large_files" >&6; }
6179 case $ac_cv_sys_large_files in #(
6182 cat >>confdefs.h
<<_ACEOF
6183 #define _LARGE_FILES $ac_cv_sys_large_files
6195 ac_cpp
='$CPP $CPPFLAGS'
6196 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6197 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6198 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6200 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6201 # On Suns, sometimes $CPP names a directory.
6202 if test -n "$CPP" && test -d "$CPP"; then
6205 if test -z "$CPP"; then
6206 if ${ac_cv_prog_CPP+:} false
; then :
6207 $as_echo_n "(cached) " >&6
6209 # Double quotes because CPP needs to be expanded
6210 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6213 for ac_c_preproc_warn_flag
in '' yes
6215 # Use a header file that comes with gcc, so configuring glibc
6216 # with a fresh cross-compiler works.
6217 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6218 # <limits.h> exists even on freestanding compilers.
6219 # On the NeXT, cc -E runs the code through the compiler's parser,
6220 # not just through cpp. "Syntax error" is here to catch this case.
6221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6222 /* end confdefs.h. */
6224 # include <limits.h>
6226 # include <assert.h>
6230 if ac_fn_c_try_cpp
"$LINENO"; then :
6233 # Broken: fails on valid input.
6236 rm -f conftest.err conftest.i conftest.
$ac_ext
6238 # OK, works on sane cases. Now check whether nonexistent headers
6239 # can be detected and how.
6240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6241 /* end confdefs.h. */
6242 #include <ac_nonexistent.h>
6244 if ac_fn_c_try_cpp
"$LINENO"; then :
6245 # Broken: success on invalid input.
6248 # Passes both tests.
6252 rm -f conftest.err conftest.i conftest.
$ac_ext
6255 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6256 rm -f conftest.i conftest.err conftest.
$ac_ext
6257 if $ac_preproc_ok; then :
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6270 $as_echo "$CPP" >&6; }
6272 for ac_c_preproc_warn_flag
in '' yes
6274 # Use a header file that comes with gcc, so configuring glibc
6275 # with a fresh cross-compiler works.
6276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6277 # <limits.h> exists even on freestanding compilers.
6278 # On the NeXT, cc -E runs the code through the compiler's parser,
6279 # not just through cpp. "Syntax error" is here to catch this case.
6280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6281 /* end confdefs.h. */
6283 # include <limits.h>
6285 # include <assert.h>
6289 if ac_fn_c_try_cpp
"$LINENO"; then :
6292 # Broken: fails on valid input.
6295 rm -f conftest.err conftest.i conftest.
$ac_ext
6297 # OK, works on sane cases. Now check whether nonexistent headers
6298 # can be detected and how.
6299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6300 /* end confdefs.h. */
6301 #include <ac_nonexistent.h>
6303 if ac_fn_c_try_cpp
"$LINENO"; then :
6304 # Broken: success on invalid input.
6307 # Passes both tests.
6311 rm -f conftest.err conftest.i conftest.
$ac_ext
6314 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6315 rm -f conftest.i conftest.err conftest.
$ac_ext
6316 if $ac_preproc_ok; then :
6319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6321 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6322 See \`config.log' for more details" "$LINENO" 5; }
6326 ac_cpp
='$CPP $CPPFLAGS'
6327 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6328 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6329 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6333 $as_echo_n "checking for ANSI C header files... " >&6; }
6334 if ${ac_cv_header_stdc+:} false
; then :
6335 $as_echo_n "(cached) " >&6
6337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6338 /* end confdefs.h. */
6352 if ac_fn_c_try_compile
"$LINENO"; then :
6353 ac_cv_header_stdc
=yes
6355 ac_cv_header_stdc
=no
6357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6359 if test $ac_cv_header_stdc = yes; then
6360 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6362 /* end confdefs.h. */
6366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6367 $EGREP "memchr" >/dev
/null
2>&1; then :
6370 ac_cv_header_stdc
=no
6376 if test $ac_cv_header_stdc = yes; then
6377 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6379 /* end confdefs.h. */
6383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6384 $EGREP "free" >/dev
/null
2>&1; then :
6387 ac_cv_header_stdc
=no
6393 if test $ac_cv_header_stdc = yes; then
6394 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6395 if test "$cross_compiling" = yes; then :
6398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6399 /* end confdefs.h. */
6402 #if ((' ' & 0x0FF) == 0x020)
6403 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6404 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6406 # define ISLOWER(c) \
6407 (('a' <= (c) && (c) <= 'i') \
6408 || ('j' <= (c) && (c) <= 'r') \
6409 || ('s' <= (c) && (c) <= 'z'))
6410 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6413 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6418 for (i = 0; i < 256; i++)
6419 if (XOR (islower (i), ISLOWER (i))
6420 || toupper (i) != TOUPPER (i))
6425 if ac_fn_c_try_run
"$LINENO"; then :
6428 ac_cv_header_stdc
=no
6430 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6431 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6437 $as_echo "$ac_cv_header_stdc" >&6; }
6438 if test $ac_cv_header_stdc = yes; then
6440 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6444 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6445 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6446 inttypes.h stdint.h unistd.h
6448 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6449 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6451 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6452 cat >>confdefs.h
<<_ACEOF
6453 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6463 ApplicationServices
/ApplicationServices.h \
6464 AudioToolbox
/AudioConverter.h \
6465 AudioUnit
/AudioUnit.h \
6466 AudioUnit
/AudioComponent.h \
6469 CoreAudio
/CoreAudio.h \
6470 CoreServices
/CoreServices.h \
6471 DiskArbitration
/DiskArbitration.h \
6473 IOKit
/hid
/IOHIDLib.h \
6476 QuickTime
/ImageCompression.h \
6477 Security
/Security.h \
6528 netinet
/in_systm.h \
6590 valgrind
/memcheck.h \
6591 valgrind
/valgrind.h \
6595 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6596 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6597 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6598 cat >>confdefs.h
<<_ACEOF
6599 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6607 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6608 if ${ac_cv_header_stat_broken+:} false
; then :
6609 $as_echo_n "(cached) " >&6
6611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6612 /* end confdefs.h. */
6613 #include <sys/types.h>
6614 #include <sys/stat.h>
6616 #if defined S_ISBLK && defined S_IFDIR
6617 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6620 #if defined S_ISBLK && defined S_IFCHR
6621 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6624 #if defined S_ISLNK && defined S_IFREG
6625 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6628 #if defined S_ISSOCK && defined S_IFREG
6629 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6633 if ac_fn_c_try_compile
"$LINENO"; then :
6634 ac_cv_header_stat_broken
=no
6636 ac_cv_header_stat_broken
=yes
6638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6641 $as_echo "$ac_cv_header_stat_broken" >&6; }
6642 if test $ac_cv_header_stat_broken = yes; then
6644 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6650 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6652 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6653 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6654 #ifdef HAVE_SYS_PARAM_H
6655 # include <sys/param.h>
6658 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6659 cat >>confdefs.h
<<_ACEOF
6660 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6675 netinet
/if_ether.h \
6676 netinet
/if_inarp.h \
6685 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6686 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6687 #ifdef HAVE_SYS_SOCKET_H
6688 # include <sys/socket.h>
6690 #ifdef HAVE_SYS_SOCKETVAR_H
6691 # include <sys/socketvar.h>
6693 #ifdef HAVE_NET_ROUTE_H
6694 # include <net/route.h>
6696 #ifdef HAVE_NETINET_IN_H
6697 # include <netinet/in.h>
6699 #ifdef HAVE_NETINET_IN_SYSTM_H
6700 # include <netinet/in_systm.h>
6702 #ifdef HAVE_NET_IF_H
6703 # include <net/if.h>
6705 #ifdef HAVE_NETINET_IP_H
6706 # include <netinet/ip.h>
6709 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6710 cat >>confdefs.h
<<_ACEOF
6711 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6719 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6721 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6722 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6726 #ifdef HAVE_SYS_SOCKET_H
6727 # include <sys/socket.h>
6729 #ifdef HAVE_SYS_SOCKETVAR_H
6730 # include <sys/socketvar.h>
6732 #ifdef HAVE_SYS_TIMEOUT_H
6733 # include <sys/timeout.h>
6735 #ifdef HAVE_NETINET_IN_H
6736 # include <netinet/in.h>
6738 #ifdef HAVE_NETINET_IN_SYSTM_H
6739 # include <netinet/in_systm.h>
6741 #ifdef HAVE_NETINET_IP_H
6742 # include <netinet/ip.h>
6744 #ifdef HAVE_NETINET_IP_VAR_H
6745 # include <netinet/ip_var.h>
6747 #ifdef HAVE_NETINET_IP_ICMP_H
6748 # include <netinet/ip_icmp.h>
6750 #ifdef HAVE_NETINET_UDP_H
6751 # include <netinet/udp.h>
6753 #ifdef HAVE_NETINET_TCP_H
6754 # include <netinet/tcp.h>
6756 #ifdef HAVE_NETINET_TCP_TIMER_H
6757 #include <netinet/tcp_timer.h>
6760 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6761 cat >>confdefs.h
<<_ACEOF
6762 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6770 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6772 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6773 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6774 #ifdef HAVE_ASM_TYPES_H
6775 # include <asm/types.h>
6777 #ifdef HAVE_SYS_SOCKET_H
6778 # include <sys/socket.h>
6780 #ifdef HAVE_LINUX_TYPES_H
6781 # include <linux/types.h>
6784 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6785 cat >>confdefs.h
<<_ACEOF
6786 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6794 for ac_header
in mach-o
/dyld_images.h
6796 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6797 # include <stdbool.h>
6799 #ifdef HAVE_STDINT_H
6800 # include <stdint.h>
6803 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6804 cat >>confdefs.h
<<_ACEOF
6805 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6813 for ac_header
in resolv.h
6815 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6816 #ifdef HAVE_SYS_SOCKET_H
6817 # include <sys/socket.h>
6819 #ifdef HAVE_NETINET_IN_H
6820 # include <netinet/in.h>
6822 #ifdef HAVE_ARPA_NAMESER_H
6823 # include <arpa/nameser.h>
6826 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6827 cat >>confdefs.h
<<_ACEOF
6828 #define HAVE_RESOLV_H 1
6836 for ac_header
in ifaddrs.h
6838 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6840 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6841 cat >>confdefs.h
<<_ACEOF
6842 #define HAVE_IFADDRS_H 1
6850 for ac_header
in sys
/ucontext.h
6852 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6854 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6855 cat >>confdefs.h
<<_ACEOF
6856 #define HAVE_SYS_UCONTEXT_H 1
6864 for ac_header
in sys
/thr.h
6866 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6867 #ifdef HAVE_SYS_UCONTEXT_H
6868 #include <sys/ucontext.h>
6871 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6872 cat >>confdefs.h
<<_ACEOF
6873 #define HAVE_SYS_THR_H 1
6881 for ac_header
in pthread_np.h
6883 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6884 #include <pthread.h>
6887 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6888 cat >>confdefs.h
<<_ACEOF
6889 #define HAVE_PTHREAD_NP_H 1
6897 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6899 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6900 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6901 #include <sys/time.h>
6903 #include <sys/types.h>
6904 #ifdef HAVE_ASM_TYPES_H
6905 #include <asm/types.h>
6908 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6909 cat >>confdefs.h
<<_ACEOF
6910 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6918 for ac_header
in libprocstat.h
6920 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6921 #include <sys/param.h>
6923 #ifdef HAVE_SYS_QUEUE_H
6924 #include <sys/queue.h>
6926 #ifdef HAVE_SYS_SOCKET_H
6927 #include <sys/socket.h>
6930 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6931 cat >>confdefs.h
<<_ACEOF
6932 #define HAVE_LIBPROCSTAT_H 1
6941 dlldir
="\${libdir}/wine"
6945 DLLFLAGS
="-D_REENTRANT"
6954 STATIC_IMPLIBEXT
="def.a"
6955 # Extract the first word of "ldd", so it can be a program name with args.
6956 set dummy ldd
; ac_word
=$2
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6958 $as_echo_n "checking for $ac_word... " >&6; }
6959 if ${ac_cv_path_LDD+:} false
; then :
6960 $as_echo_n "(cached) " >&6
6964 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6968 as_dummy
="/sbin:/usr/sbin:$PATH"
6969 for as_dir
in $as_dummy
6972 test -z "$as_dir" && as_dir
=.
6973 for ac_exec_ext
in '' $ac_executable_extensions; do
6974 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6975 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6983 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6988 if test -n "$LDD"; then
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6990 $as_echo "$LDD" >&6; }
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6993 $as_echo "no" >&6; }
6997 if test -n "$ac_tool_prefix"; then
6998 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6999 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001 $as_echo_n "checking for $ac_word... " >&6; }
7002 if ${ac_cv_prog_READELF+:} false
; then :
7003 $as_echo_n "(cached) " >&6
7005 if test -n "$READELF"; then
7006 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7012 test -z "$as_dir" && as_dir
=.
7013 for ac_exec_ext
in '' $ac_executable_extensions; do
7014 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7015 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7025 READELF
=$ac_cv_prog_READELF
7026 if test -n "$READELF"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7028 $as_echo "$READELF" >&6; }
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031 $as_echo "no" >&6; }
7036 if test -z "$ac_cv_prog_READELF"; then
7037 ac_ct_READELF
=$READELF
7038 # Extract the first word of "readelf", so it can be a program name with args.
7039 set dummy readelf
; ac_word
=$2
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7041 $as_echo_n "checking for $ac_word... " >&6; }
7042 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7043 $as_echo_n "(cached) " >&6
7045 if test -n "$ac_ct_READELF"; then
7046 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7052 test -z "$as_dir" && as_dir
=.
7053 for ac_exec_ext
in '' $ac_executable_extensions; do
7054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7055 ac_cv_prog_ac_ct_READELF
="readelf"
7056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7065 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7066 if test -n "$ac_ct_READELF"; then
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7068 $as_echo "$ac_ct_READELF" >&6; }
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7071 $as_echo "no" >&6; }
7074 if test "x$ac_ct_READELF" = x
; then
7077 case $cross_compiling:$ac_tool_warned in
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7081 ac_tool_warned
=yes ;;
7083 READELF
=$ac_ct_READELF
7086 READELF
="$ac_cv_prog_READELF"
7089 wine_rules_file
=conf$
$rules.
make
7090 rm -f $wine_rules_file
7092 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7093 ALL_TEST_RESOURCES
=""
7096 wine_fn_append_file
()
7098 as_fn_append
$1 " \\$as_nl $2"
7101 wine_fn_ignore_file
()
7104 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7105 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7106 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7110 wine_fn_append_rule
()
7112 $as_echo "$1" >>$wine_rules_file
7117 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7120 wine_fn_depend_rules
()
7122 wine_fn_append_rule \
7123 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7124 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7125 depend: $ac_dir/depend
7126 .PHONY: $ac_dir/depend
7127 $ac_dir/depend: \$(MAKEDEP) dummy
7128 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7131 wine_fn_pot_rules
()
7133 test "x$with_gettextpo" = xyes ||
return
7135 if wine_fn_has_flag mc
7137 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7138 wine_fn_append_rule \
7139 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7140 @cd $ac_dir && \$(MAKE) msg.pot
7141 $ac_dir/msg.pot: tools/wmc include"
7143 if wine_fn_has_flag po
7145 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7146 wine_fn_append_rule \
7147 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7148 @cd $ac_dir && \$(MAKE) rsrc.pot
7149 $ac_dir/rsrc.pot: tools/wrc include"
7153 wine_fn_all_rules
()
7155 wine_fn_depend_rules
7156 wine_fn_append_rule \
7159 $ac_dir: $ac_dir/Makefile dummy
7160 @cd $ac_dir && \$(MAKE)"
7163 wine_fn_install_rules
()
7165 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7167 wine_fn_append_rule \
7168 ".PHONY: $ac_dir/install $ac_dir/uninstall
7169 $ac_dir/install:: $ac_dir
7170 @cd $ac_dir && \$(MAKE) install
7171 $ac_dir/uninstall:: $ac_dir/Makefile
7172 @cd $ac_dir && \$(MAKE) uninstall
7173 install:: $ac_dir/install
7174 __uninstall__: $ac_dir/uninstall"
7176 if wine_fn_has_flag install-lib
7178 wine_fn_append_rule \
7179 ".PHONY: $ac_dir/install-lib
7180 $ac_dir/install-lib:: $ac_dir
7181 @cd $ac_dir && \$(MAKE) install-lib
7182 install-lib:: $ac_dir/install-lib"
7185 if wine_fn_has_flag install-dev
7187 wine_fn_append_rule \
7188 ".PHONY: $ac_dir/install-dev
7189 $ac_dir/install-dev:: $ac_dir
7190 @cd $ac_dir && \$(MAKE) install-dev
7191 install-dev:: $ac_dir/install-dev"
7195 wine_fn_clean_rules
()
7198 ac_extraclean
="$ac_dir/Makefile"
7199 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7201 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7204 if wine_fn_has_flag clean
7206 wine_fn_append_rule \
7207 "__clean__: $ac_dir/clean
7208 .PHONY: $ac_dir/clean
7209 $ac_dir/clean: $ac_dir/Makefile
7210 @cd $ac_dir && \$(MAKE) clean
7211 \$(RM) $ac_extraclean"
7213 wine_fn_append_rule \
7214 "__clean__: $ac_dir/clean
7215 .PHONY: $ac_dir/clean
7216 $ac_dir/clean: dummy
7217 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7221 wine_fn_disabled_rules
()
7224 ac_extraclean
="$ac_dir/Makefile"
7225 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7227 wine_fn_append_rule \
7228 "__clean__: $ac_dir/clean
7229 .PHONY: $ac_dir/clean
7230 $ac_dir/clean: dummy
7231 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7234 wine_fn_config_makefile
()
7240 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7241 wine_fn_disabled_rules
; return
7244 wine_fn_install_rules
7248 wine_fn_config_lib
()
7252 ac_dir
=dlls
/$ac_name
7255 if test "x$enable_tools" = xno
; then :
7258 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7263 wine_fn_append_rule \
7264 ".PHONY: $ac_dir/install $ac_dir/uninstall
7265 $ac_dir/install:: $ac_dir
7266 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7268 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7269 install install-dev:: $ac_dir/install
7270 __uninstall__: $ac_dir/uninstall
7271 __builddeps__: $ac_dir
7275 wine_fn_config_dll
()
7278 ac_dir
=dlls
/$ac_name
7281 ac_implib
=${4:-$ac_name}
7282 ac_file
=$ac_dir/lib
$ac_implib
7287 if test "x$enable_tools" = xno
; then :
7290 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7293 *16) ac_implibflags
=" -m16" ;;
7295 *) ac_dll
=$ac_dll.dll
;;
7299 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7300 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7301 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7302 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7304 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7305 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7307 wine_fn_depend_rules
7308 wine_fn_clean_rules
$ac_clean
7310 wine_fn_disabled_rules
$ac_clean
7315 wine_fn_clean_rules
$ac_clean
7316 wine_fn_append_rule \
7317 "$ac_dir: __builddeps__
7318 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7319 @cd $ac_dir && \$(MAKE) \$@
7320 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7321 install install-lib:: $ac_dir/install-lib
7322 __uninstall__: $ac_dir/uninstall"
7323 if test -n "$DLLEXT"
7325 wine_fn_append_rule \
7326 "$ac_dir/install-lib:: $ac_dir
7327 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7328 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7330 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7332 wine_fn_append_rule \
7333 "$ac_dir/install-lib:: $ac_dir
7334 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7336 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7342 if wine_fn_has_flag staticimplib
7344 wine_fn_append_rule \
7345 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7346 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7347 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7348 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7349 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7350 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7351 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7352 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7353 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7355 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7356 install install-dev:: $ac_dir/install-dev
7357 __uninstall__: $ac_dir/uninstall"
7359 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7361 wine_fn_append_rule \
7362 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7363 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7365 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7368 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7370 wine_fn_append_rule \
7371 "__builddeps__: $ac_file.cross.a
7372 $ac_file.cross.a: $ac_dir/Makefile dummy
7373 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7376 elif wine_fn_has_flag implib
7378 wine_fn_append_rule \
7379 "__builddeps__: $ac_file.$IMPLIBEXT
7380 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7381 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7382 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7383 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7384 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7385 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7386 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7388 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7389 install install-dev:: $ac_dir/install-dev
7390 __uninstall__: $ac_dir/uninstall"
7391 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7393 wine_fn_append_rule \
7394 "__builddeps__: $ac_file.cross.a
7395 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7396 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7399 if test "$ac_name" != "$ac_implib"
7401 wine_fn_append_rule \
7402 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7403 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7404 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7406 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7407 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7408 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7410 wine_fn_append_rule \
7411 "__builddeps__: dlls/lib$ac_implib.cross.a
7412 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7413 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7415 \$(RM) dlls/lib$ac_implib.cross.a"
7416 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7422 wine_fn_config_program
()
7425 ac_dir
=programs
/$ac_name
7432 *) ac_program
=$ac_program.exe
;;
7436 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7437 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7438 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7439 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7441 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7442 wine_fn_disabled_rules
$ac_clean; return
7446 wine_fn_clean_rules
$ac_clean
7447 wine_fn_append_rule
"$ac_dir: __builddeps__"
7450 wine_fn_has_flag
install ||
return
7451 wine_fn_append_rule \
7452 ".PHONY: $ac_dir/install $ac_dir/uninstall
7453 install install-lib:: $ac_dir/install
7454 __uninstall__: $ac_dir/uninstall"
7456 if test -n "$DLLEXT"
7458 wine_fn_append_rule \
7459 "$ac_dir/install:: $ac_dir
7460 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7461 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7463 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7465 if test -z "$with_wine64" && wine_fn_has_flag installbin
7467 wine_fn_append_rule \
7468 "$ac_dir/install:: __tooldeps__
7469 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7471 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7474 wine_fn_append_rule \
7475 "$ac_dir/install:: $ac_dir
7476 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7478 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7481 if test -z "$with_wine64" && wine_fn_has_flag manpage
7483 wine_fn_append_rule \
7484 "$ac_dir/install:: $ac_dir
7485 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7487 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7491 wine_fn_config_test
()
7498 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7499 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7501 if test "x$enable_tests" = xno
; then :
7502 wine_fn_disabled_rules
$ac_clean; return
7505 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7507 wine_fn_clean_rules
$ac_clean
7509 wine_fn_append_rule \
7510 "$ac_dir: programs/winetest/Makefile __builddeps__
7511 programs/winetest: $ac_dir
7512 check test: $ac_dir/test
7513 .PHONY: $ac_dir/test
7515 @cd $ac_dir && \$(MAKE) test
7517 \$(RM) $ac_dir/*.ok"
7519 if test -n "$CROSSTARGET"
7521 wine_fn_append_rule \
7522 "crosstest: $ac_dir/crosstest
7523 .PHONY: $ac_dir/crosstest
7524 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7525 @cd $ac_dir && \$(MAKE) crosstest"
7529 wine_fn_config_tool
()
7533 if test "x$enable_tools" = xno
; then :
7538 wine_fn_install_rules
7541 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7542 wine_fn_append_rule
"$ac_dir: libs/port"
7544 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7548 wine_fn_config_symlink
()
7551 if test "x$1" = "x-d"
7557 wine_fn_append_rule \
7559 @./config.status \$@
7562 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7563 test -n "$ac_linkdir" ||
return
7564 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7568 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7569 loader_programs
="$wine_binary wine-installed"
7570 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7575 install install-lib:: wine-installed
7576 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7579 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7585 if test -n "$ac_tool_prefix"; then
7586 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7587 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7589 $as_echo_n "checking for $ac_word... " >&6; }
7590 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7591 $as_echo_n "(cached) " >&6
7593 if test -n "$DLLTOOL"; then
7594 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7600 test -z "$as_dir" && as_dir
=.
7601 for ac_exec_ext
in '' $ac_executable_extensions; do
7602 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7603 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7613 DLLTOOL
=$ac_cv_prog_DLLTOOL
7614 if test -n "$DLLTOOL"; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7616 $as_echo "$DLLTOOL" >&6; }
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7619 $as_echo "no" >&6; }
7624 if test -z "$ac_cv_prog_DLLTOOL"; then
7625 ac_ct_DLLTOOL
=$DLLTOOL
7626 # Extract the first word of "dlltool", so it can be a program name with args.
7627 set dummy dlltool
; ac_word
=$2
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7629 $as_echo_n "checking for $ac_word... " >&6; }
7630 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7631 $as_echo_n "(cached) " >&6
7633 if test -n "$ac_ct_DLLTOOL"; then
7634 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7640 test -z "$as_dir" && as_dir
=.
7641 for ac_exec_ext
in '' $ac_executable_extensions; do
7642 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7643 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7653 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7654 if test -n "$ac_ct_DLLTOOL"; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7656 $as_echo "$ac_ct_DLLTOOL" >&6; }
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7659 $as_echo "no" >&6; }
7662 if test "x$ac_ct_DLLTOOL" = x
; then
7665 case $cross_compiling:$ac_tool_warned in
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7669 ac_tool_warned
=yes ;;
7671 DLLTOOL
=$ac_ct_DLLTOOL
7674 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7680 STATIC_IMPLIBEXT
="a"
7681 enable_iphlpapi
=${enable_iphlpapi:-no}
7682 enable_kernel32
=${enable_kernel32:-no}
7683 enable_msvcrt
=${enable_msvcrt:-no}
7684 enable_ntdll
=${enable_ntdll:-no}
7685 enable_ws2_32
=${enable_ws2_32:-no}
7686 enable_loader
=${enable_loader:-no}
7687 enable_server
=${enable_server:-no}
7688 with_x
=${with_x:-no}
7689 with_pthread
=${with_pthread:-no}
7695 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7699 libwine_targets
="libwine.dll libwine.a"
7701 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7703 all: libwine.dll libwine.a
7705 libwine.a: \$(srcdir)/wine.def
7706 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7708 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7709 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7711 install install-lib:: libwine.dll
7712 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7714 install install-dev:: libwine.a
7715 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7718 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7725 DLLFLAGS
="$DLLFLAGS -fPIC"
7726 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7727 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7728 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7729 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7731 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7733 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7735 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7737 CORESERVICES_LIBS
="-framework CoreServices"
7739 APPKIT_LIBS
="-framework AppKit"
7741 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7743 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7744 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7745 $as_echo_n "(cached) " >&6
7747 ac_wine_try_cflags_saved
=$CFLAGS
7748 CFLAGS
="$CFLAGS -Wl,-no_pie"
7749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7750 /* end confdefs.h. */
7751 int main(int argc, char **argv) { return 0; }
7753 if ac_fn_c_try_link
"$LINENO"; then :
7754 ac_cv_cflags__Wl__no_pie
=yes
7756 ac_cv_cflags__Wl__no_pie
=no
7758 rm -f core conftest.err conftest.
$ac_objext \
7759 conftest
$ac_exeext conftest.
$ac_ext
7760 CFLAGS
=$ac_wine_try_cflags_saved
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7763 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7764 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7765 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7767 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7769 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7772 if test "$ac_cv_header_Security_Security_h" = "yes"
7774 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7776 ac_save_LIBS
="$LIBS"
7777 LIBS
="$LIBS $SECURITY_LIBS"
7778 for ac_func
in SSLCopyPeerCertificates
7780 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7781 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7782 cat >>confdefs.h
<<_ACEOF
7783 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7789 LIBS
="$ac_save_LIBS"
7790 with_gnutls
=${with_gnutls:-no}
7792 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7794 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7796 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7799 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7802 ac_save_LIBS
="$LIBS"
7803 LIBS
="$LIBS $COREAUDIO_LIBS"
7804 for ac_func
in AUGraphAddNode
7806 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7807 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7808 cat >>confdefs.h
<<_ACEOF
7809 #define HAVE_AUGRAPHADDNODE 1
7815 LIBS
="$ac_save_LIBS"
7817 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7819 OPENAL_LIBS
="-framework OpenAL"
7822 cat >>confdefs.h
<<_ACEOF
7823 #define HAVE_OPENAL 1
7826 ac_cv_lib_openal
=yes
7828 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7830 OPENCL_LIBS
="-framework OpenCL"
7832 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7834 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7836 ac_save_LIBS
="$LIBS"
7837 LIBS
="$LIBS $IOKIT_LIBS"
7838 for ac_func
in IOHIDManagerCreate
7840 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7841 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7842 cat >>confdefs.h
<<_ACEOF
7843 #define HAVE_IOHIDMANAGERCREATE 1
7849 LIBS
="$ac_save_LIBS"
7851 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7853 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7855 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7857 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7859 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7861 CARBON_LIBS
="-framework Carbon"
7865 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7867 ac_save_LIBS
="$LIBS"
7868 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7869 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7870 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7871 enable_winemac_drv
=${enable_winemac_drv:-yes}
7874 LIBS
="$ac_save_LIBS"
7877 if test "x$enable_win16" = "xyes"
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7880 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7881 if test "$cross_compiling" = yes; then :
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7883 $as_echo "cross-compiling, assuming yes" >&6; }
7885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7886 /* end confdefs.h. */
7889 "good:\tnop;nop\n\t"
7890 ".globl _testfunc\n"
7891 "_testfunc:\tcallw good");
7892 extern void testfunc();
7896 unsigned short *p = (unsigned short *)testfunc;
7897 return p[0] != 0xe866 || p[1] != 0xfffa
7902 if ac_fn_c_try_run
"$LINENO"; then :
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7904 $as_echo "yes" >&6; }
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7907 $as_echo "no" >&6; }
7908 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
7910 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7911 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7916 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7918 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7922 libwine.$libwine_version.dylib: \$(OBJS)
7923 \$(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 \$@
7925 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7926 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7928 libwine.dylib: libwine.$libwine_soversion.dylib
7929 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7931 install install-lib:: libwine.$libwine_version.dylib
7932 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7933 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7935 install install-dev::
7936 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7939 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7943 as_fn_append LOADER_RULES
"
7944 $wine_binary: main.o wine_info.plist
7945 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7947 wine-installed: main.o wine_info.plist
7948 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7953 DLLFLAGS
="$DLLFLAGS -fPIC"
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7958 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7959 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7960 $as_echo_n "(cached) " >&6
7962 ac_wine_try_cflags_saved
=$CFLAGS
7963 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7965 /* end confdefs.h. */
7966 int main(int argc, char **argv) { return 0; }
7968 if ac_fn_c_try_link
"$LINENO"; then :
7969 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7971 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7973 rm -f core conftest.err conftest.
$ac_objext \
7974 conftest
$ac_exeext conftest.
$ac_ext
7975 CFLAGS
=$ac_wine_try_cflags_saved
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7978 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7979 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7980 LDEXECFLAGS
="-Wl,--export-dynamic"
7982 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7984 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7985 if eval \
${$as_ac_var+:} false
; then :
7986 $as_echo_n "(cached) " >&6
7988 ac_wine_try_cflags_saved
=$CFLAGS
7989 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7991 /* end confdefs.h. */
7992 int main(int argc, char **argv) { return 0; }
7994 if ac_fn_c_try_link
"$LINENO"; then :
7995 eval "$as_ac_var=yes"
7997 eval "$as_ac_var=no"
7999 rm -f core conftest.err conftest.
$ac_objext \
8000 conftest
$ac_exeext conftest.
$ac_ext
8001 CFLAGS
=$ac_wine_try_cflags_saved
8003 eval ac_res
=\$
$as_ac_var
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8005 $as_echo "$ac_res" >&6; }
8006 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8007 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8008 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8010 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8012 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8013 if eval \
${$as_ac_var+:} false
; then :
8014 $as_echo_n "(cached) " >&6
8016 ac_wine_try_cflags_saved
=$CFLAGS
8017 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8019 /* end confdefs.h. */
8020 int main(int argc, char **argv) { return 0; }
8022 if ac_fn_c_try_link
"$LINENO"; then :
8023 eval "$as_ac_var=yes"
8025 eval "$as_ac_var=no"
8027 rm -f core conftest.err conftest.
$ac_objext \
8028 conftest
$ac_exeext conftest.
$ac_ext
8029 CFLAGS
=$ac_wine_try_cflags_saved
8031 eval ac_res
=\$
$as_ac_var
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8033 $as_echo "$ac_res" >&6; }
8034 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8035 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8036 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8041 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8042 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8043 $as_echo_n "(cached) " >&6
8045 ac_wine_try_cflags_saved
=$CFLAGS
8046 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8048 /* end confdefs.h. */
8049 int main(int argc, char **argv) { return 0; }
8051 if ac_fn_c_try_link
"$LINENO"; then :
8052 ac_cv_cflags__Wl___enable_new_dtags
=yes
8054 ac_cv_cflags__Wl___enable_new_dtags
=no
8056 rm -f core conftest.err conftest.
$ac_objext \
8057 conftest
$ac_exeext conftest.
$ac_ext
8058 CFLAGS
=$ac_wine_try_cflags_saved
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8061 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8062 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8063 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8067 *i
[3456789]86* | x86_64
)
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8069 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8070 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8071 $as_echo_n "(cached) " >&6
8073 ac_wine_try_cflags_saved
=$CFLAGS
8074 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8076 /* end confdefs.h. */
8077 int main(int argc, char **argv) { return 0; }
8079 if ac_fn_c_try_link
"$LINENO"; then :
8080 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8082 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8084 rm -f core conftest.err conftest.
$ac_objext \
8085 conftest
$ac_exeext conftest.
$ac_ext
8086 CFLAGS
=$ac_wine_try_cflags_saved
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8089 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8090 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8091 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8096 libwine_targets
="libwine.so"
8098 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8102 libwine.so: \$(OBJS)
8103 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8105 install install-lib:: libwine.so
8106 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8109 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8113 as_fn_append LOADER_RULES
"
8114 $wine_binary: main.o
8115 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8117 wine-installed: main.o
8118 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8123 DLLFLAGS
="$DLLFLAGS -fPIC"
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8126 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8127 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8128 $as_echo_n "(cached) " >&6
8130 ac_wine_try_cflags_saved
=$CFLAGS
8131 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8133 /* end confdefs.h. */
8136 if ac_fn_c_try_link
"$LINENO"; then :
8137 ac_cv_c_dll_gnuelf
="yes"
8139 ac_cv_c_dll_gnuelf
="no"
8141 rm -f core conftest.err conftest.
$ac_objext \
8142 conftest
$ac_exeext conftest.
$ac_ext
8143 CFLAGS
=$ac_wine_try_cflags_saved
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8146 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8147 if test "$ac_cv_c_dll_gnuelf" = "yes"
8149 LDSHARED
="\$(CC) -shared"
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8151 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8152 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8153 $as_echo_n "(cached) " >&6
8155 ac_wine_try_cflags_saved
=$CFLAGS
8156 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8158 /* end confdefs.h. */
8159 int main(int argc, char **argv) { return 0; }
8161 if ac_fn_c_try_link
"$LINENO"; then :
8162 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8164 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8166 rm -f core conftest.err conftest.
$ac_objext \
8167 conftest
$ac_exeext conftest.
$ac_ext
8168 CFLAGS
=$ac_wine_try_cflags_saved
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8171 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8172 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8173 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8176 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8177 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8178 $as_echo_n "(cached) " >&6
8180 ac_wine_try_cflags_saved
=$CFLAGS
8181 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8183 /* end confdefs.h. */
8184 int main(int argc, char **argv) { return 0; }
8186 if ac_fn_c_try_link
"$LINENO"; then :
8187 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8189 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8191 rm -f core conftest.err conftest.
$ac_objext \
8192 conftest
$ac_exeext conftest.
$ac_ext
8193 CFLAGS
=$ac_wine_try_cflags_saved
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8196 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8197 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8198 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8202 echo '{ global: *; };' >conftest.map
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8204 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8205 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8206 $as_echo_n "(cached) " >&6
8208 ac_wine_try_cflags_saved
=$CFLAGS
8209 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8211 /* end confdefs.h. */
8212 int main(int argc, char **argv) { return 0; }
8214 if ac_fn_c_try_link
"$LINENO"; then :
8215 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8217 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8219 rm -f core conftest.err conftest.
$ac_objext \
8220 conftest
$ac_exeext conftest.
$ac_ext
8221 CFLAGS
=$ac_wine_try_cflags_saved
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8224 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8225 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8226 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8231 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8232 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8233 $as_echo_n "(cached) " >&6
8235 ac_wine_try_cflags_saved
=$CFLAGS
8236 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8238 /* end confdefs.h. */
8239 int main(int argc, char **argv) { return 0; }
8241 if ac_fn_c_try_link
"$LINENO"; then :
8242 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8244 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8246 rm -f core conftest.err conftest.
$ac_objext \
8247 conftest
$ac_exeext conftest.
$ac_ext
8248 CFLAGS
=$ac_wine_try_cflags_saved
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8251 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8252 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8253 LDEXECFLAGS
="-Wl,--export-dynamic"
8256 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8258 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8259 if eval \
${$as_ac_var+:} false
; then :
8260 $as_echo_n "(cached) " >&6
8262 ac_wine_try_cflags_saved
=$CFLAGS
8263 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8265 /* end confdefs.h. */
8266 int main(int argc, char **argv) { return 0; }
8268 if ac_fn_c_try_link
"$LINENO"; then :
8269 eval "$as_ac_var=yes"
8271 eval "$as_ac_var=no"
8273 rm -f core conftest.err conftest.
$ac_objext \
8274 conftest
$ac_exeext conftest.
$ac_ext
8275 CFLAGS
=$ac_wine_try_cflags_saved
8277 eval ac_res
=\$
$as_ac_var
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8279 $as_echo "$ac_res" >&6; }
8280 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8281 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8282 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8284 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8286 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8287 if eval \
${$as_ac_var+:} false
; then :
8288 $as_echo_n "(cached) " >&6
8290 ac_wine_try_cflags_saved
=$CFLAGS
8291 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8293 /* end confdefs.h. */
8294 int main(int argc, char **argv) { return 0; }
8296 if ac_fn_c_try_link
"$LINENO"; then :
8297 eval "$as_ac_var=yes"
8299 eval "$as_ac_var=no"
8301 rm -f core conftest.err conftest.
$ac_objext \
8302 conftest
$ac_exeext conftest.
$ac_ext
8303 CFLAGS
=$ac_wine_try_cflags_saved
8305 eval ac_res
=\$
$as_ac_var
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8307 $as_echo "$ac_res" >&6; }
8308 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8309 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8310 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8315 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8316 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8317 $as_echo_n "(cached) " >&6
8319 ac_wine_try_cflags_saved
=$CFLAGS
8320 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8322 /* end confdefs.h. */
8323 int main(int argc, char **argv) { return 0; }
8325 if ac_fn_c_try_link
"$LINENO"; then :
8326 ac_cv_cflags__Wl___enable_new_dtags
=yes
8328 ac_cv_cflags__Wl___enable_new_dtags
=no
8330 rm -f core conftest.err conftest.
$ac_objext \
8331 conftest
$ac_exeext conftest.
$ac_ext
8332 CFLAGS
=$ac_wine_try_cflags_saved
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8335 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8336 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8337 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8341 *i
[3456789]86* | x86_64
)
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8343 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8344 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8345 $as_echo_n "(cached) " >&6
8347 ac_wine_try_cflags_saved
=$CFLAGS
8348 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8350 /* end confdefs.h. */
8351 int main(int argc, char **argv) { return 0; }
8353 if ac_fn_c_try_link
"$LINENO"; then :
8354 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8356 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8358 rm -f core conftest.err conftest.
$ac_objext \
8359 conftest
$ac_exeext conftest.
$ac_ext
8360 CFLAGS
=$ac_wine_try_cflags_saved
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8363 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8364 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8366 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8367 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8371 # Extract the first word of "prelink", so it can be a program name with args.
8372 set dummy prelink
; ac_word
=$2
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8374 $as_echo_n "checking for $ac_word... " >&6; }
8375 if ${ac_cv_path_PRELINK+:} false
; then :
8376 $as_echo_n "(cached) " >&6
8380 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8384 for as_dir
in /sbin
/usr
/sbin
$PATH
8387 test -z "$as_dir" && as_dir
=.
8388 for ac_exec_ext
in '' $ac_executable_extensions; do
8389 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8390 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8398 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8402 PRELINK
=$ac_cv_path_PRELINK
8403 if test -n "$PRELINK"; then
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8405 $as_echo "$PRELINK" >&6; }
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8408 $as_echo "no" >&6; }
8412 if test "x$PRELINK" = xfalse
8414 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8421 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8422 if ${ac_cv_c_dll_unixware+:} false
; then :
8423 $as_echo_n "(cached) " >&6
8425 ac_wine_try_cflags_saved
=$CFLAGS
8426 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8431 if ac_fn_c_try_link
"$LINENO"; then :
8432 ac_cv_c_dll_unixware
="yes"
8434 ac_cv_c_dll_unixware
="no"
8436 rm -f core conftest.err conftest.
$ac_objext \
8437 conftest
$ac_exeext conftest.
$ac_ext
8438 CFLAGS
=$ac_wine_try_cflags_saved
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8441 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8442 if test "$ac_cv_c_dll_unixware" = "yes"
8444 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8447 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8449 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8453 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8454 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8456 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8457 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8459 libwine.so: libwine.so.$libwine_soversion
8460 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8462 install install-lib:: libwine.so.$libwine_version
8463 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8464 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8466 install install-dev::
8467 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8470 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8474 as_fn_append LOADER_RULES
"
8475 $wine_binary: main.o
8476 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8478 wine-installed: main.o
8479 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8484 as_fn_append LIBWINE_RULES
"
8485 EXTRA_TARGETS = $libwine_targets
8488 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8489 enable_winemac_drv
=${enable_winemac_drv:-no}
8493 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8497 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
8500 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 " ;;
8502 ac_prefix_list
="" ;;
8504 for ac_prog
in $ac_prefix_list
8506 # Extract the first word of "$ac_prog", so it can be a program name with args.
8507 set dummy
$ac_prog; ac_word
=$2
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8509 $as_echo_n "checking for $ac_word... " >&6; }
8510 if ${ac_cv_prog_CROSSCC+:} false
; then :
8511 $as_echo_n "(cached) " >&6
8513 if test -n "$CROSSCC"; then
8514 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8520 test -z "$as_dir" && as_dir
=.
8521 for ac_exec_ext
in '' $ac_executable_extensions; do
8522 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8523 ac_cv_prog_CROSSCC
="$ac_prog"
8524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8533 CROSSCC
=$ac_cv_prog_CROSSCC
8534 if test -n "$CROSSCC"; then
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8536 $as_echo "$CROSSCC" >&6; }
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8539 $as_echo "no" >&6; }
8543 test -n "$CROSSCC" && break
8545 test -n "$CROSSCC" || CROSSCC
="false"
8547 if test "$CROSSCC" != "false"
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8552 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8564 if ac_fn_c_try_compile
"$LINENO"; then :
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8566 $as_echo "yes" >&6; }
8572 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8578 $as_echo "no" >&6; }
8580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8586 if test "$ac_cv_header_pthread_h" = "yes"
8588 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8589 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8593 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8594 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8595 $as_echo_n "(cached) " >&6
8597 ac_check_lib_save_LIBS
=$LIBS
8598 LIBS
="-lpthread $LIBS"
8599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8602 /* Override any GCC internal prototype to avoid an error.
8603 Use char because int might match the return type of a GCC
8604 builtin and then its argument prototype would still apply. */
8608 char pthread_create ();
8612 return pthread_create ();
8617 if ac_fn_c_try_link
"$LINENO"; then :
8618 ac_cv_lib_pthread_pthread_create
=yes
8620 ac_cv_lib_pthread_pthread_create
=no
8622 rm -f core conftest.err conftest.
$ac_objext \
8623 conftest
$ac_exeext conftest.
$ac_ext
8624 LIBS
=$ac_check_lib_save_LIBS
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8627 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8628 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8629 PTHREAD_LIBS
="-lpthread"
8636 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8637 case "x$with_pthread" in
8639 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8640 Wine cannot support threads without libpthread.
8641 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8647 $as_echo_n "checking for X... " >&6; }
8650 # Check whether --with-x was given.
8651 if test "${with_x+set}" = set; then :
8655 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8656 if test "x$with_x" = xno
; then
8657 # The user explicitly disabled X.
8660 case $x_includes,$x_libraries in #(
8661 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8662 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8663 $as_echo_n "(cached) " >&6
8665 # One or both of the vars are not set, and there is no cached value.
8666 ac_x_includes
=no ac_x_libraries
=no
8667 rm -f -r conftest.dir
8668 if mkdir conftest.dir
; then
8670 cat >Imakefile
<<'_ACEOF'
8672 @echo incroot='${INCROOT}'
8674 @echo usrlibdir='${USRLIBDIR}'
8676 @echo libdir='${LIBDIR}'
8678 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8679 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8680 for ac_var
in incroot usrlibdir libdir
; do
8681 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8683 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8684 for ac_extension
in a so sl dylib la dll
; do
8685 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8686 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8687 ac_im_usrlibdir
=$ac_im_libdir; break
8690 # Screen out bogus values from the imake configuration. They are
8691 # bogus both because they are the default anyway, and because
8692 # using them would break gcc on systems where it needs fixed includes.
8693 case $ac_im_incroot in
8694 /usr
/include
) ac_x_includes
= ;;
8695 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8697 case $ac_im_usrlibdir in
8698 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8699 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8703 rm -f -r conftest.dir
8706 # Standard set of common directories for X headers.
8707 # Check X11 before X11Rn because it is often a symlink to the current release.
8721 /usr/local/X11/include
8722 /usr/local/X11R7/include
8723 /usr/local/X11R6/include
8724 /usr/local/X11R5/include
8725 /usr/local/X11R4/include
8727 /usr/local/include/X11
8728 /usr/local/include/X11R7
8729 /usr/local/include/X11R6
8730 /usr/local/include/X11R5
8731 /usr/local/include/X11R4
8735 /usr/XFree86/include/X11
8739 /usr/unsupported/include
8741 /usr/local/x11r5/include
8742 /usr/lpp/Xamples/include
8744 /usr/openwin/include
8745 /usr/openwin/share/include'
8747 if test "$ac_x_includes" = no
; then
8748 # Guess where to find include files, by looking for Xlib.h.
8749 # First, try using that file with no special directory specified.
8750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8751 /* end confdefs.h. */
8752 #include <X11/Xlib.h>
8754 if ac_fn_c_try_cpp
"$LINENO"; then :
8755 # We can compile using X headers with no special include directory.
8758 for ac_dir
in $ac_x_header_dirs; do
8759 if test -r "$ac_dir/X11/Xlib.h"; then
8760 ac_x_includes
=$ac_dir
8765 rm -f conftest.err conftest.i conftest.
$ac_ext
8766 fi # $ac_x_includes = no
8768 if test "$ac_x_libraries" = no
; then
8769 # Check for the libraries.
8770 # See if we find them without any special options.
8771 # Don't add to $LIBS permanently.
8774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8775 /* end confdefs.h. */
8776 #include <X11/Xlib.h>
8785 if ac_fn_c_try_link
"$LINENO"; then :
8787 # We can link X programs with no special library path.
8791 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8793 # Don't even attempt the hair of trying to link an X program!
8794 for ac_extension
in a so sl dylib la dll
; do
8795 if test -r "$ac_dir/libX11.$ac_extension"; then
8796 ac_x_libraries
=$ac_dir
8802 rm -f core conftest.err conftest.
$ac_objext \
8803 conftest
$ac_exeext conftest.
$ac_ext
8804 fi # $ac_x_libraries = no
8806 case $ac_x_includes,$ac_x_libraries in #(
8808 # Didn't find X, or a directory has "'" in its name.
8809 ac_cv_have_x
="have_x=no";; #(
8811 # Record where we found X for the cache.
8812 ac_cv_have_x
="have_x=yes\
8813 ac_x_includes='$ac_x_includes'\
8814 ac_x_libraries='$ac_x_libraries'"
8820 eval "$ac_cv_have_x"
8823 if test "$have_x" != yes; then
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8825 $as_echo "$have_x" >&6; }
8828 # If each of the values was on the command line, it overrides each guess.
8829 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8830 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8831 # Update the cache value to reflect the command line values.
8832 ac_cv_have_x
="have_x=yes\
8833 ac_x_includes='$x_includes'\
8834 ac_x_libraries='$x_libraries'"
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8836 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8839 if test "$no_x" = yes; then
8840 # Not all programs may use this symbol, but it does not hurt to define it.
8842 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8844 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8846 if test -n "$x_includes"; then
8847 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8850 # It would also be nice to do this for all -L options, not just this one.
8851 if test -n "$x_libraries"; then
8852 X_LIBS
="$X_LIBS -L$x_libraries"
8853 # For Solaris; some versions of Sun CC require a space after -R and
8854 # others require no space. Words are not sufficient . . . .
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8856 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8857 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8858 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8859 ac_c_werror_flag
=yes
8860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8861 /* end confdefs.h. */
8871 if ac_fn_c_try_link
"$LINENO"; then :
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8873 $as_echo "no" >&6; }
8874 X_LIBS
="$X_LIBS -R$x_libraries"
8876 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8878 /* end confdefs.h. */
8888 if ac_fn_c_try_link
"$LINENO"; then :
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8890 $as_echo "yes" >&6; }
8891 X_LIBS
="$X_LIBS -R $x_libraries"
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8894 $as_echo "neither works" >&6; }
8896 rm -f core conftest.err conftest.
$ac_objext \
8897 conftest
$ac_exeext conftest.
$ac_ext
8899 rm -f core conftest.err conftest.
$ac_objext \
8900 conftest
$ac_exeext conftest.
$ac_ext
8901 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8905 # Check for system-dependent libraries X programs must link with.
8906 # Do this before checking for the system-independent R6 libraries
8907 # (-lICE), since we may need -lsocket or whatever for X linking.
8909 if test "$ISC" = yes; then
8910 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8912 # Martyn Johnson says this is needed for Ultrix, if the X
8913 # libraries were built with DECnet support. And Karl Berry says
8914 # the Alpha needs dnet_stub (dnet does not exist).
8915 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8917 /* end confdefs.h. */
8919 /* Override any GCC internal prototype to avoid an error.
8920 Use char because int might match the return type of a GCC
8921 builtin and then its argument prototype would still apply. */
8925 char XOpenDisplay ();
8929 return XOpenDisplay ();
8934 if ac_fn_c_try_link
"$LINENO"; then :
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8938 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8939 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8940 $as_echo_n "(cached) " >&6
8942 ac_check_lib_save_LIBS
=$LIBS
8944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8945 /* end confdefs.h. */
8947 /* Override any GCC internal prototype to avoid an error.
8948 Use char because int might match the return type of a GCC
8949 builtin and then its argument prototype would still apply. */
8957 return dnet_ntoa ();
8962 if ac_fn_c_try_link
"$LINENO"; then :
8963 ac_cv_lib_dnet_dnet_ntoa
=yes
8965 ac_cv_lib_dnet_dnet_ntoa
=no
8967 rm -f core conftest.err conftest.
$ac_objext \
8968 conftest
$ac_exeext conftest.
$ac_ext
8969 LIBS
=$ac_check_lib_save_LIBS
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8972 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8973 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8974 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8977 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8979 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8980 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8981 $as_echo_n "(cached) " >&6
8983 ac_check_lib_save_LIBS
=$LIBS
8984 LIBS
="-ldnet_stub $LIBS"
8985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8986 /* end confdefs.h. */
8988 /* Override any GCC internal prototype to avoid an error.
8989 Use char because int might match the return type of a GCC
8990 builtin and then its argument prototype would still apply. */
8998 return dnet_ntoa ();
9003 if ac_fn_c_try_link
"$LINENO"; then :
9004 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9006 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9008 rm -f core conftest.err conftest.
$ac_objext \
9009 conftest
$ac_exeext conftest.
$ac_ext
9010 LIBS
=$ac_check_lib_save_LIBS
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9013 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9014 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9015 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9020 rm -f core conftest.err conftest.
$ac_objext \
9021 conftest
$ac_exeext conftest.
$ac_ext
9022 LIBS
="$ac_xsave_LIBS"
9024 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9025 # to get the SysV transport functions.
9026 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9028 # The nsl library prevents programs from opening the X display
9029 # on Irix 5.2, according to T.E. Dickey.
9030 # The functions gethostbyname, getservbyname, and inet_addr are
9031 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9032 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9033 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9037 if test $ac_cv_func_gethostbyname = no
; then
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9039 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9040 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9041 $as_echo_n "(cached) " >&6
9043 ac_check_lib_save_LIBS
=$LIBS
9045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9046 /* end confdefs.h. */
9048 /* Override any GCC internal prototype to avoid an error.
9049 Use char because int might match the return type of a GCC
9050 builtin and then its argument prototype would still apply. */
9054 char gethostbyname ();
9058 return gethostbyname ();
9063 if ac_fn_c_try_link
"$LINENO"; then :
9064 ac_cv_lib_nsl_gethostbyname
=yes
9066 ac_cv_lib_nsl_gethostbyname
=no
9068 rm -f core conftest.err conftest.
$ac_objext \
9069 conftest
$ac_exeext conftest.
$ac_ext
9070 LIBS
=$ac_check_lib_save_LIBS
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9073 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9074 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9075 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9078 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9080 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9081 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9082 $as_echo_n "(cached) " >&6
9084 ac_check_lib_save_LIBS
=$LIBS
9086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9087 /* end confdefs.h. */
9089 /* Override any GCC internal prototype to avoid an error.
9090 Use char because int might match the return type of a GCC
9091 builtin and then its argument prototype would still apply. */
9095 char gethostbyname ();
9099 return gethostbyname ();
9104 if ac_fn_c_try_link
"$LINENO"; then :
9105 ac_cv_lib_bsd_gethostbyname
=yes
9107 ac_cv_lib_bsd_gethostbyname
=no
9109 rm -f core conftest.err conftest.
$ac_objext \
9110 conftest
$ac_exeext conftest.
$ac_ext
9111 LIBS
=$ac_check_lib_save_LIBS
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9114 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9115 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9116 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9122 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9123 # socket/setsockopt and other routines are undefined under SCO ODT
9124 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9125 # on later versions), says Simon Leinen: it contains gethostby*
9126 # variants that don't use the name server (or something). -lsocket
9127 # must be given before -lnsl if both are needed. We assume that
9128 # if connect needs -lnsl, so does gethostbyname.
9129 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9130 if test "x$ac_cv_func_connect" = xyes
; then :
9134 if test $ac_cv_func_connect = no
; then
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9136 $as_echo_n "checking for connect in -lsocket... " >&6; }
9137 if ${ac_cv_lib_socket_connect+:} false
; then :
9138 $as_echo_n "(cached) " >&6
9140 ac_check_lib_save_LIBS
=$LIBS
9141 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9143 /* end confdefs.h. */
9145 /* Override any GCC internal prototype to avoid an error.
9146 Use char because int might match the return type of a GCC
9147 builtin and then its argument prototype would still apply. */
9160 if ac_fn_c_try_link
"$LINENO"; then :
9161 ac_cv_lib_socket_connect
=yes
9163 ac_cv_lib_socket_connect
=no
9165 rm -f core conftest.err conftest.
$ac_objext \
9166 conftest
$ac_exeext conftest.
$ac_ext
9167 LIBS
=$ac_check_lib_save_LIBS
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9170 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9171 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9172 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9177 # Guillermo Gomez says -lposix is necessary on A/UX.
9178 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9179 if test "x$ac_cv_func_remove" = xyes
; then :
9183 if test $ac_cv_func_remove = no
; then
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9185 $as_echo_n "checking for remove in -lposix... " >&6; }
9186 if ${ac_cv_lib_posix_remove+:} false
; then :
9187 $as_echo_n "(cached) " >&6
9189 ac_check_lib_save_LIBS
=$LIBS
9190 LIBS
="-lposix $LIBS"
9191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9192 /* end confdefs.h. */
9194 /* Override any GCC internal prototype to avoid an error.
9195 Use char because int might match the return type of a GCC
9196 builtin and then its argument prototype would still apply. */
9209 if ac_fn_c_try_link
"$LINENO"; then :
9210 ac_cv_lib_posix_remove
=yes
9212 ac_cv_lib_posix_remove
=no
9214 rm -f core conftest.err conftest.
$ac_objext \
9215 conftest
$ac_exeext conftest.
$ac_ext
9216 LIBS
=$ac_check_lib_save_LIBS
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9219 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9220 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9221 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9226 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9227 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9228 if test "x$ac_cv_func_shmat" = xyes
; then :
9232 if test $ac_cv_func_shmat = no
; then
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9234 $as_echo_n "checking for shmat in -lipc... " >&6; }
9235 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9236 $as_echo_n "(cached) " >&6
9238 ac_check_lib_save_LIBS
=$LIBS
9240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9241 /* end confdefs.h. */
9243 /* Override any GCC internal prototype to avoid an error.
9244 Use char because int might match the return type of a GCC
9245 builtin and then its argument prototype would still apply. */
9258 if ac_fn_c_try_link
"$LINENO"; then :
9259 ac_cv_lib_ipc_shmat
=yes
9261 ac_cv_lib_ipc_shmat
=no
9263 rm -f core conftest.err conftest.
$ac_objext \
9264 conftest
$ac_exeext conftest.
$ac_ext
9265 LIBS
=$ac_check_lib_save_LIBS
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9268 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9269 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9270 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9276 # Check for libraries that X11R6 Xt/Xaw programs need.
9277 ac_save_LDFLAGS
=$LDFLAGS
9278 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9279 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9280 # check for ICE first), but we must link in the order -lSM -lICE or
9281 # we get undefined symbols. So assume we have SM if we have ICE.
9282 # These have to be linked with before -lX11, unlike the other
9283 # libraries we check for below, so use a different variable.
9284 # John Interrante, Karl Berry
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9286 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9287 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9288 $as_echo_n "(cached) " >&6
9290 ac_check_lib_save_LIBS
=$LIBS
9291 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9293 /* end confdefs.h. */
9295 /* Override any GCC internal prototype to avoid an error.
9296 Use char because int might match the return type of a GCC
9297 builtin and then its argument prototype would still apply. */
9301 char IceConnectionNumber ();
9305 return IceConnectionNumber ();
9310 if ac_fn_c_try_link
"$LINENO"; then :
9311 ac_cv_lib_ICE_IceConnectionNumber
=yes
9313 ac_cv_lib_ICE_IceConnectionNumber
=no
9315 rm -f core conftest.err conftest.
$ac_objext \
9316 conftest
$ac_exeext conftest.
$ac_ext
9317 LIBS
=$ac_check_lib_save_LIBS
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9320 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9321 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9322 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9325 LDFLAGS
=$ac_save_LDFLAGS
9330 if test "$have_x" = "yes"
9332 ac_save_CPPFLAGS
="$CPPFLAGS"
9333 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9336 $as_echo_n "checking for -lX11... " >&6; }
9337 if ${ac_cv_lib_soname_X11+:} false
; then :
9338 $as_echo_n "(cached) " >&6
9340 ac_check_soname_save_LIBS
=$LIBS
9341 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9343 /* end confdefs.h. */
9345 /* Override any GCC internal prototype to avoid an error.
9346 Use char because int might match the return type of a GCC
9347 builtin and then its argument prototype would still apply. */
9351 char XCreateWindow ();
9355 return XCreateWindow ();
9360 if ac_fn_c_try_link
"$LINENO"; then :
9362 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9363 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'` ;;
9364 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9365 if ${ac_cv_lib_soname_X11:+false} :; then :
9366 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9370 rm -f core conftest.err conftest.
$ac_objext \
9371 conftest
$ac_exeext conftest.
$ac_ext
9372 LIBS
=$ac_check_soname_save_LIBS
9374 if ${ac_cv_lib_soname_X11:+false} :; then :
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9376 $as_echo "not found" >&6; }
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9380 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9382 cat >>confdefs.h
<<_ACEOF
9383 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9389 $as_echo_n "checking for -lXext... " >&6; }
9390 if ${ac_cv_lib_soname_Xext+:} false
; then :
9391 $as_echo_n "(cached) " >&6
9393 ac_check_soname_save_LIBS
=$LIBS
9394 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9396 /* end confdefs.h. */
9398 /* Override any GCC internal prototype to avoid an error.
9399 Use char because int might match the return type of a GCC
9400 builtin and then its argument prototype would still apply. */
9404 char XextCreateExtension ();
9408 return XextCreateExtension ();
9413 if ac_fn_c_try_link
"$LINENO"; then :
9415 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9416 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'` ;;
9417 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9418 if ${ac_cv_lib_soname_Xext:+false} :; then :
9419 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9423 rm -f core conftest.err conftest.
$ac_objext \
9424 conftest
$ac_exeext conftest.
$ac_ext
9425 LIBS
=$ac_check_soname_save_LIBS
9427 if ${ac_cv_lib_soname_Xext:+false} :; then :
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9429 $as_echo "not found" >&6; }
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9433 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9435 cat >>confdefs.h
<<_ACEOF
9436 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9439 X_LIBS
="$X_LIBS -lXext"
9441 X_LIBS
="$X_LIBS -lX11"
9443 for ac_header
in X11
/Xlib.h \
9446 X11
/Xcursor
/Xcursor.h \
9447 X11
/extensions
/shape.h \
9448 X11
/extensions
/XInput.h \
9449 X11
/extensions
/XInput2.h \
9450 X11
/extensions
/XShm.h \
9451 X11
/extensions
/Xcomposite.h \
9452 X11
/extensions
/Xinerama.h \
9453 X11
/extensions
/Xrandr.h \
9454 X11
/extensions
/Xrender.h \
9455 X11
/extensions
/xf86vmode.h \
9456 X11
/extensions
/xf86vmproto.h
9458 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9459 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9460 # include <X11/Xlib.h>
9462 #ifdef HAVE_X11_XUTIL_H
9463 # include <X11/Xutil.h>
9466 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9467 cat >>confdefs.h
<<_ACEOF
9468 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9476 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9479 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9480 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9481 $as_echo_n "(cached) " >&6
9483 ac_check_lib_save_LIBS
=$LIBS
9484 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9488 /* Override any GCC internal prototype to avoid an error.
9489 Use char because int might match the return type of a GCC
9490 builtin and then its argument prototype would still apply. */
9494 char XkbQueryExtension ();
9498 return XkbQueryExtension ();
9503 if ac_fn_c_try_link
"$LINENO"; then :
9504 ac_cv_lib_X11_XkbQueryExtension
=yes
9506 ac_cv_lib_X11_XkbQueryExtension
=no
9508 rm -f core conftest.err conftest.
$ac_objext \
9509 conftest
$ac_exeext conftest.
$ac_ext
9510 LIBS
=$ac_check_lib_save_LIBS
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9513 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9514 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9516 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9522 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9525 $as_echo_n "checking for -lXcursor... " >&6; }
9526 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9527 $as_echo_n "(cached) " >&6
9529 ac_check_soname_save_LIBS
=$LIBS
9530 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9534 /* Override any GCC internal prototype to avoid an error.
9535 Use char because int might match the return type of a GCC
9536 builtin and then its argument prototype would still apply. */
9540 char XcursorImageLoadCursor ();
9544 return XcursorImageLoadCursor ();
9549 if ac_fn_c_try_link
"$LINENO"; then :
9551 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9552 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'` ;;
9553 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9554 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9555 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9559 rm -f core conftest.err conftest.
$ac_objext \
9560 conftest
$ac_exeext conftest.
$ac_ext
9561 LIBS
=$ac_check_soname_save_LIBS
9563 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9565 $as_echo "not found" >&6; }
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9569 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9571 cat >>confdefs.h
<<_ACEOF
9572 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9578 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9579 case "x$with_xcursor" in
9580 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9582 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9583 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9587 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9590 $as_echo_n "checking for -lXi... " >&6; }
9591 if ${ac_cv_lib_soname_Xi+:} false
; then :
9592 $as_echo_n "(cached) " >&6
9594 ac_check_soname_save_LIBS
=$LIBS
9595 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9597 /* end confdefs.h. */
9599 /* Override any GCC internal prototype to avoid an error.
9600 Use char because int might match the return type of a GCC
9601 builtin and then its argument prototype would still apply. */
9605 char XOpenDevice ();
9609 return XOpenDevice ();
9614 if ac_fn_c_try_link
"$LINENO"; then :
9616 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9617 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'` ;;
9618 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9619 if ${ac_cv_lib_soname_Xi:+false} :; then :
9620 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9624 rm -f core conftest.err conftest.
$ac_objext \
9625 conftest
$ac_exeext conftest.
$ac_ext
9626 LIBS
=$ac_check_soname_save_LIBS
9628 if ${ac_cv_lib_soname_Xi:+false} :; then :
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9630 $as_echo "not found" >&6; }
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9634 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9636 cat >>confdefs.h
<<_ACEOF
9637 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9643 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9644 case "x$with_xinput" in
9645 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9647 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9648 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9652 if test "x$ac_cv_lib_soname_Xi" != x
9654 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9655 case "x$with_xinput2" in
9656 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9658 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9659 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9664 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9667 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9668 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9669 $as_echo_n "(cached) " >&6
9671 ac_check_lib_save_LIBS
=$LIBS
9672 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9676 /* Override any GCC internal prototype to avoid an error.
9677 Use char because int might match the return type of a GCC
9678 builtin and then its argument prototype would still apply. */
9682 char XShmQueryExtension ();
9686 return XShmQueryExtension ();
9691 if ac_fn_c_try_link
"$LINENO"; then :
9692 ac_cv_lib_Xext_XShmQueryExtension
=yes
9694 ac_cv_lib_Xext_XShmQueryExtension
=no
9696 rm -f core conftest.err conftest.
$ac_objext \
9697 conftest
$ac_exeext conftest.
$ac_ext
9698 LIBS
=$ac_check_lib_save_LIBS
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9701 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9702 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9704 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9709 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9710 case "x$with_xshm" in
9711 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9713 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9714 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9718 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9721 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9722 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9723 $as_echo_n "(cached) " >&6
9725 ac_check_lib_save_LIBS
=$LIBS
9726 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9728 /* end confdefs.h. */
9730 /* Override any GCC internal prototype to avoid an error.
9731 Use char because int might match the return type of a GCC
9732 builtin and then its argument prototype would still apply. */
9736 char XShapeQueryExtension ();
9740 return XShapeQueryExtension ();
9745 if ac_fn_c_try_link
"$LINENO"; then :
9746 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9748 ac_cv_lib_Xext_XShapeQueryExtension
=no
9750 rm -f core conftest.err conftest.
$ac_objext \
9751 conftest
$ac_exeext conftest.
$ac_ext
9752 LIBS
=$ac_check_lib_save_LIBS
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9755 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9756 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9758 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9763 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9764 case "x$with_xshape" in
9765 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9767 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9768 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9772 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9775 $as_echo_n "checking for -lXxf86vm... " >&6; }
9776 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9777 $as_echo_n "(cached) " >&6
9779 ac_check_soname_save_LIBS
=$LIBS
9780 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9782 /* end confdefs.h. */
9784 /* Override any GCC internal prototype to avoid an error.
9785 Use char because int might match the return type of a GCC
9786 builtin and then its argument prototype would still apply. */
9790 char XF86VidModeQueryExtension ();
9794 return XF86VidModeQueryExtension ();
9799 if ac_fn_c_try_link
"$LINENO"; then :
9801 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9802 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'` ;;
9803 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9804 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9805 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9809 rm -f core conftest.err conftest.
$ac_objext \
9810 conftest
$ac_exeext conftest.
$ac_ext
9811 LIBS
=$ac_check_soname_save_LIBS
9813 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9815 $as_echo "not found" >&6; }
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9819 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9821 cat >>confdefs.h
<<_ACEOF
9822 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9828 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9829 case "x$with_xxf86vm" in
9830 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9832 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9833 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9837 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9840 $as_echo_n "checking for -lXrender... " >&6; }
9841 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9842 $as_echo_n "(cached) " >&6
9844 ac_check_soname_save_LIBS
=$LIBS
9845 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9849 /* Override any GCC internal prototype to avoid an error.
9850 Use char because int might match the return type of a GCC
9851 builtin and then its argument prototype would still apply. */
9855 char XRenderQueryExtension ();
9859 return XRenderQueryExtension ();
9864 if ac_fn_c_try_link
"$LINENO"; then :
9866 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9867 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'` ;;
9868 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9869 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9870 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9874 rm -f core conftest.err conftest.
$ac_objext \
9875 conftest
$ac_exeext conftest.
$ac_ext
9876 LIBS
=$ac_check_soname_save_LIBS
9878 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9880 $as_echo "not found" >&6; }
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9884 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9886 cat >>confdefs.h
<<_ACEOF
9887 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9891 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9892 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9893 $as_echo_n "(cached) " >&6
9895 ac_check_lib_save_LIBS
=$LIBS
9896 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9898 /* end confdefs.h. */
9900 /* Override any GCC internal prototype to avoid an error.
9901 Use char because int might match the return type of a GCC
9902 builtin and then its argument prototype would still apply. */
9906 char XRenderSetPictureTransform ();
9910 return XRenderSetPictureTransform ();
9915 if ac_fn_c_try_link
"$LINENO"; then :
9916 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9918 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9920 rm -f core conftest.err conftest.
$ac_objext \
9921 conftest
$ac_exeext conftest.
$ac_ext
9922 LIBS
=$ac_check_lib_save_LIBS
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9925 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9926 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9928 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9933 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9934 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9935 $as_echo_n "(cached) " >&6
9937 ac_check_lib_save_LIBS
=$LIBS
9938 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9942 /* Override any GCC internal prototype to avoid an error.
9943 Use char because int might match the return type of a GCC
9944 builtin and then its argument prototype would still apply. */
9948 char XRenderCreateLinearGradient ();
9952 return XRenderCreateLinearGradient ();
9957 if ac_fn_c_try_link
"$LINENO"; then :
9958 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9960 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9962 rm -f core conftest.err conftest.
$ac_objext \
9963 conftest
$ac_exeext conftest.
$ac_ext
9964 LIBS
=$ac_check_lib_save_LIBS
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9967 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9968 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9970 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9977 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9978 case "x$with_xrender" in
9979 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9981 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9982 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9986 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9989 /* end confdefs.h. */
9990 #include <X11/Xlib.h>
9991 #include <X11/extensions/Xrandr.h>
9995 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10000 if ac_fn_c_try_compile
"$LINENO"; then :
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10002 $as_echo_n "checking for -lXrandr... " >&6; }
10003 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10004 $as_echo_n "(cached) " >&6
10006 ac_check_soname_save_LIBS
=$LIBS
10007 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10011 /* Override any GCC internal prototype to avoid an error.
10012 Use char because int might match the return type of a GCC
10013 builtin and then its argument prototype would still apply. */
10017 char XRRQueryExtension ();
10021 return XRRQueryExtension ();
10026 if ac_fn_c_try_link
"$LINENO"; then :
10028 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10029 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'` ;;
10030 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10031 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10032 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10036 rm -f core conftest.err conftest.
$ac_objext \
10037 conftest
$ac_exeext conftest.
$ac_ext
10038 LIBS
=$ac_check_soname_save_LIBS
10040 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10042 $as_echo "not found" >&6; }
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10046 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10048 cat >>confdefs.h
<<_ACEOF
10049 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10053 /* end confdefs.h. */
10054 #include <X11/Xlib.h>
10055 #include <X11/extensions/Xrandr.h>
10059 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10064 if ac_fn_c_try_compile
"$LINENO"; then :
10066 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10074 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10075 case "x$with_xrandr" in
10076 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10078 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10079 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10083 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10086 /* end confdefs.h. */
10087 #include <X11/Xlib.h>
10088 #include <X11/extensions/Xinerama.h>
10092 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10097 if ac_fn_c_try_compile
"$LINENO"; then :
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10099 $as_echo_n "checking for -lXinerama... " >&6; }
10100 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10101 $as_echo_n "(cached) " >&6
10103 ac_check_soname_save_LIBS
=$LIBS
10104 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10106 /* end confdefs.h. */
10108 /* Override any GCC internal prototype to avoid an error.
10109 Use char because int might match the return type of a GCC
10110 builtin and then its argument prototype would still apply. */
10114 char XineramaQueryScreens ();
10118 return XineramaQueryScreens ();
10123 if ac_fn_c_try_link
"$LINENO"; then :
10125 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10126 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'` ;;
10127 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10128 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10129 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10133 rm -f core conftest.err conftest.
$ac_objext \
10134 conftest
$ac_exeext conftest.
$ac_ext
10135 LIBS
=$ac_check_soname_save_LIBS
10137 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10139 $as_echo "not found" >&6; }
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10143 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10145 cat >>confdefs.h
<<_ACEOF
10146 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10154 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10155 case "x$with_xinerama" in
10156 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10158 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10159 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10163 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10166 $as_echo_n "checking for -lXcomposite... " >&6; }
10167 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10168 $as_echo_n "(cached) " >&6
10170 ac_check_soname_save_LIBS
=$LIBS
10171 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10173 /* end confdefs.h. */
10175 /* Override any GCC internal prototype to avoid an error.
10176 Use char because int might match the return type of a GCC
10177 builtin and then its argument prototype would still apply. */
10181 char XCompositeRedirectWindow ();
10185 return XCompositeRedirectWindow ();
10190 if ac_fn_c_try_link
"$LINENO"; then :
10192 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10193 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'` ;;
10194 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10195 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10196 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10200 rm -f core conftest.err conftest.
$ac_objext \
10201 conftest
$ac_exeext conftest.
$ac_ext
10202 LIBS
=$ac_check_soname_save_LIBS
10204 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10206 $as_echo "not found" >&6; }
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10210 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10212 cat >>confdefs.h
<<_ACEOF
10213 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10219 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10220 case "x$with_xcomposite" in
10221 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10223 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10224 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10228 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10229 #include <X11/Xlib.h>
10232 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10234 cat >>confdefs.h
<<_ACEOF
10235 #define HAVE_XICCALLBACK_CALLBACK 1
10240 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10241 #include <X11/Xlib.h>
10244 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10246 cat >>confdefs.h
<<_ACEOF
10247 #define HAVE_XEVENT_XCOOKIE 1
10256 if test "x$with_opengl" != "xno"
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10259 $as_echo_n "checking for -lGL... " >&6; }
10260 if ${ac_cv_lib_soname_GL+:} false
; then :
10261 $as_echo_n "(cached) " >&6
10263 ac_check_soname_save_LIBS
=$LIBS
10264 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10268 /* Override any GCC internal prototype to avoid an error.
10269 Use char because int might match the return type of a GCC
10270 builtin and then its argument prototype would still apply. */
10274 char glXCreateContext ();
10278 return glXCreateContext ();
10283 if ac_fn_c_try_link
"$LINENO"; then :
10285 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10286 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'` ;;
10287 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10288 if ${ac_cv_lib_soname_GL:+false} :; then :
10289 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10293 rm -f core conftest.err conftest.
$ac_objext \
10294 conftest
$ac_exeext conftest.
$ac_ext
10295 LIBS
=$ac_check_soname_save_LIBS
10297 if ${ac_cv_lib_soname_GL:+false} :; then :
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10299 $as_echo "not found" >&6; }
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10301 $as_echo_n "checking for -lGL... " >&6; }
10302 if ${ac_cv_lib_soname_GL+:} false
; then :
10303 $as_echo_n "(cached) " >&6
10305 ac_check_soname_save_LIBS
=$LIBS
10306 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"
10307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10310 /* Override any GCC internal prototype to avoid an error.
10311 Use char because int might match the return type of a GCC
10312 builtin and then its argument prototype would still apply. */
10316 char glXCreateContext ();
10320 return glXCreateContext ();
10325 if ac_fn_c_try_link
"$LINENO"; then :
10327 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10328 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'` ;;
10329 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10330 if ${ac_cv_lib_soname_GL:+false} :; then :
10331 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10335 rm -f core conftest.err conftest.
$ac_objext \
10336 conftest
$ac_exeext conftest.
$ac_ext
10337 LIBS
=$ac_check_soname_save_LIBS
10339 if ${ac_cv_lib_soname_GL:+false} :; then :
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10341 $as_echo "not found" >&6; }
10342 if test -f /usr
/X11R
6/lib
/libGL.a
10344 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10345 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10347 opengl_msg
="No OpenGL library found on this system."
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10351 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10353 cat >>confdefs.h
<<_ACEOF
10354 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10357 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"
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10361 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10363 cat >>confdefs.h
<<_ACEOF
10364 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10369 if test "x$with_glu" != "xno"
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10372 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10373 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10374 $as_echo_n "(cached) " >&6
10376 ac_check_lib_save_LIBS
=$LIBS
10377 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10379 /* end confdefs.h. */
10381 /* Override any GCC internal prototype to avoid an error.
10382 Use char because int might match the return type of a GCC
10383 builtin and then its argument prototype would still apply. */
10391 return gluLookAt ();
10396 if ac_fn_c_try_link
"$LINENO"; then :
10397 ac_cv_lib_GLU_gluLookAt
=yes
10399 ac_cv_lib_GLU_gluLookAt
=no
10401 rm -f core conftest.err conftest.
$ac_objext \
10402 conftest
$ac_exeext conftest.
$ac_ext
10403 LIBS
=$ac_check_lib_save_LIBS
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10406 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10407 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10411 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10412 case "x$with_glu" in
10413 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10415 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10416 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10421 if test "x$with_osmesa" != "xno"
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10424 $as_echo_n "checking for -lOSMesa... " >&6; }
10425 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10426 $as_echo_n "(cached) " >&6
10428 ac_check_soname_save_LIBS
=$LIBS
10429 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10431 /* end confdefs.h. */
10433 /* Override any GCC internal prototype to avoid an error.
10434 Use char because int might match the return type of a GCC
10435 builtin and then its argument prototype would still apply. */
10448 if ac_fn_c_try_link
"$LINENO"; then :
10450 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10451 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'` ;;
10452 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10453 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10454 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10458 rm -f core conftest.err conftest.
$ac_objext \
10459 conftest
$ac_exeext conftest.
$ac_ext
10460 LIBS
=$ac_check_soname_save_LIBS
10462 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10464 $as_echo "not found" >&6; }
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10468 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10470 cat >>confdefs.h
<<_ACEOF
10471 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10476 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10477 case "x$with_osmesa" in
10478 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10480 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10481 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10486 if test -n "$opengl_msg"; then :
10487 case "x$with_opengl" in
10488 x
) as_fn_append wine_warnings
"|$opengl_msg
10489 OpenGL and Direct3D won't be supported." ;;
10491 *) as_fn_error $?
"$opengl_msg
10492 OpenGL and Direct3D won't be supported.
10493 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10497 CPPFLAGS
="$ac_save_CPPFLAGS"
10501 enable_winex11_drv
=${enable_winex11_drv:-no}
10503 if test "x$X_LIBS" = "x"; then :
10506 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10507 without X support, which probably isn't what you want. You will need
10508 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10509 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10513 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10515 if test "$ac_cv_header_CL_cl_h" = "yes"
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10518 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10519 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10520 $as_echo_n "(cached) " >&6
10522 ac_check_lib_save_LIBS
=$LIBS
10523 LIBS
="-lOpenCL $LIBS"
10524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10525 /* end confdefs.h. */
10527 /* Override any GCC internal prototype to avoid an error.
10528 Use char because int might match the return type of a GCC
10529 builtin and then its argument prototype would still apply. */
10533 char clGetPlatformInfo ();
10537 return clGetPlatformInfo ();
10542 if ac_fn_c_try_link
"$LINENO"; then :
10543 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10545 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10547 rm -f core conftest.err conftest.
$ac_objext \
10548 conftest
$ac_exeext conftest.
$ac_ext
10549 LIBS
=$ac_check_lib_save_LIBS
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10552 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10553 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10554 OPENCL_LIBS
="-lOpenCL"
10559 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10560 case "x$with_opencl" in
10561 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10563 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10564 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10567 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10569 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10572 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10573 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10574 $as_echo_n "(cached) " >&6
10576 ac_check_lib_save_LIBS
=$LIBS
10577 LIBS
="-lpcap $LIBS"
10578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10579 /* end confdefs.h. */
10581 /* Override any GCC internal prototype to avoid an error.
10582 Use char because int might match the return type of a GCC
10583 builtin and then its argument prototype would still apply. */
10587 char pcap_create ();
10591 return pcap_create ();
10596 if ac_fn_c_try_link
"$LINENO"; then :
10597 ac_cv_lib_pcap_pcap_create
=yes
10599 ac_cv_lib_pcap_pcap_create
=no
10601 rm -f core conftest.err conftest.
$ac_objext \
10602 conftest
$ac_exeext conftest.
$ac_ext
10603 LIBS
=$ac_check_lib_save_LIBS
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10606 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10607 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10613 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10614 case "x$with_pcap" in
10615 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10617 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10618 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10621 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10624 if test "x$with_xml" != "xno"
10626 if ${XML2_CFLAGS:+false} :; then :
10627 if ${PKG_CONFIG+:} false
; then :
10628 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10631 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10632 if ${XML2_LIBS:+false} :; then :
10633 if ${PKG_CONFIG+:} false
; then :
10634 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10637 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10638 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10639 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10640 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10641 ac_save_CPPFLAGS
=$CPPFLAGS
10642 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10643 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10645 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10646 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10647 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10648 cat >>confdefs.h
<<_ACEOF
10649 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10656 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"
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10659 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10660 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10661 $as_echo_n "(cached) " >&6
10663 ac_check_lib_save_LIBS
=$LIBS
10664 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10666 /* end confdefs.h. */
10668 /* Override any GCC internal prototype to avoid an error.
10669 Use char because int might match the return type of a GCC
10670 builtin and then its argument prototype would still apply. */
10674 char xmlParseMemory ();
10678 return xmlParseMemory ();
10683 if ac_fn_c_try_link
"$LINENO"; then :
10684 ac_cv_lib_xml2_xmlParseMemory
=yes
10686 ac_cv_lib_xml2_xmlParseMemory
=no
10688 rm -f core conftest.err conftest.
$ac_objext \
10689 conftest
$ac_exeext conftest.
$ac_ext
10690 LIBS
=$ac_check_lib_save_LIBS
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10693 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10694 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10696 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10703 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10704 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10705 $as_echo_n "(cached) " >&6
10707 ac_check_lib_save_LIBS
=$LIBS
10708 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10712 /* Override any GCC internal prototype to avoid an error.
10713 Use char because int might match the return type of a GCC
10714 builtin and then its argument prototype would still apply. */
10718 char xmlReadMemory ();
10722 return xmlReadMemory ();
10727 if ac_fn_c_try_link
"$LINENO"; then :
10728 ac_cv_lib_xml2_xmlReadMemory
=yes
10730 ac_cv_lib_xml2_xmlReadMemory
=no
10732 rm -f core conftest.err conftest.
$ac_objext \
10733 conftest
$ac_exeext conftest.
$ac_ext
10734 LIBS
=$ac_check_lib_save_LIBS
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10737 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10738 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10740 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10745 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10746 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10747 $as_echo_n "(cached) " >&6
10749 ac_check_lib_save_LIBS
=$LIBS
10750 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10754 /* Override any GCC internal prototype to avoid an error.
10755 Use char because int might match the return type of a GCC
10756 builtin and then its argument prototype would still apply. */
10760 char xmlNewDocPI ();
10764 return xmlNewDocPI ();
10769 if ac_fn_c_try_link
"$LINENO"; then :
10770 ac_cv_lib_xml2_xmlNewDocPI
=yes
10772 ac_cv_lib_xml2_xmlNewDocPI
=no
10774 rm -f core conftest.err conftest.
$ac_objext \
10775 conftest
$ac_exeext conftest.
$ac_ext
10776 LIBS
=$ac_check_lib_save_LIBS
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10779 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10780 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10782 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10787 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10788 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10789 $as_echo_n "(cached) " >&6
10791 ac_check_lib_save_LIBS
=$LIBS
10792 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10802 char xmlSchemaSetParserStructuredErrors ();
10806 return xmlSchemaSetParserStructuredErrors ();
10811 if ac_fn_c_try_link
"$LINENO"; then :
10812 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10814 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10816 rm -f core conftest.err conftest.
$ac_objext \
10817 conftest
$ac_exeext conftest.
$ac_ext
10818 LIBS
=$ac_check_lib_save_LIBS
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10821 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10822 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10824 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10829 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10830 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10831 $as_echo_n "(cached) " >&6
10833 ac_check_lib_save_LIBS
=$LIBS
10834 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10838 /* Override any GCC internal prototype to avoid an error.
10839 Use char because int might match the return type of a GCC
10840 builtin and then its argument prototype would still apply. */
10844 char xmlSchemaSetValidStructuredErrors ();
10848 return xmlSchemaSetValidStructuredErrors ();
10853 if ac_fn_c_try_link
"$LINENO"; then :
10854 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10856 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10858 rm -f core conftest.err conftest.
$ac_objext \
10859 conftest
$ac_exeext conftest.
$ac_ext
10860 LIBS
=$ac_check_lib_save_LIBS
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10863 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10864 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10866 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10871 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10872 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10873 $as_echo_n "(cached) " >&6
10875 ac_check_lib_save_LIBS
=$LIBS
10876 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10878 /* end confdefs.h. */
10880 /* Override any GCC internal prototype to avoid an error.
10881 Use char because int might match the return type of a GCC
10882 builtin and then its argument prototype would still apply. */
10886 char xmlFirstElementChild ();
10890 return xmlFirstElementChild ();
10895 if ac_fn_c_try_link
"$LINENO"; then :
10896 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10898 ac_cv_lib_xml2_xmlFirstElementChild
=no
10900 rm -f core conftest.err conftest.
$ac_objext \
10901 conftest
$ac_exeext conftest.
$ac_ext
10902 LIBS
=$ac_check_lib_save_LIBS
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10905 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10906 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10908 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10912 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10914 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10916 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10924 CPPFLAGS
=$ac_save_CPPFLAGS
10925 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10926 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10929 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10930 case "x$with_xml" in
10931 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10933 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10934 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10938 if test "x$with_xslt" != "xno"
10940 if ${XSLT_CFLAGS:+false} :; then :
10941 if ${PKG_CONFIG+:} false
; then :
10942 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10945 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10946 if ${XSLT_LIBS:+false} :; then :
10947 if ${PKG_CONFIG+:} false
; then :
10948 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10951 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10952 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10953 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10954 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10955 ac_save_CPPFLAGS
=$CPPFLAGS
10956 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10957 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10959 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10960 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10961 # include <libxslt/pattern.h>
10964 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10965 cat >>confdefs.h
<<_ACEOF
10966 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10973 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10976 $as_echo_n "checking for -lxslt... " >&6; }
10977 if ${ac_cv_lib_soname_xslt+:} false
; then :
10978 $as_echo_n "(cached) " >&6
10980 ac_check_soname_save_LIBS
=$LIBS
10981 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h. */
10985 /* Override any GCC internal prototype to avoid an error.
10986 Use char because int might match the return type of a GCC
10987 builtin and then its argument prototype would still apply. */
10991 char xsltCompilePattern ();
10995 return xsltCompilePattern ();
11000 if ac_fn_c_try_link
"$LINENO"; then :
11002 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11003 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'` ;;
11004 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11005 if ${ac_cv_lib_soname_xslt:+false} :; then :
11006 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11010 rm -f core conftest.err conftest.
$ac_objext \
11011 conftest
$ac_exeext conftest.
$ac_ext
11012 LIBS
=$ac_check_soname_save_LIBS
11014 if ${ac_cv_lib_soname_xslt:+false} :; then :
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11016 $as_echo "not found" >&6; }
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11020 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11022 cat >>confdefs.h
<<_ACEOF
11023 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11031 CPPFLAGS
=$ac_save_CPPFLAGS
11032 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11033 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11036 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11037 case "x$with_xslt" in
11038 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11040 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11041 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11045 if test "x$with_dbus" != "xno"
11047 if ${DBUS_CFLAGS:+false} :; then :
11048 if ${PKG_CONFIG+:} false
; then :
11049 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11053 if ${DBUS_LIBS:+false} :; then :
11054 if ${PKG_CONFIG+:} false
; then :
11055 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11060 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11061 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11062 ac_save_CPPFLAGS
=$CPPFLAGS
11063 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11064 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11065 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11067 $as_echo_n "checking for -ldbus-1... " >&6; }
11068 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11069 $as_echo_n "(cached) " >&6
11071 ac_check_soname_save_LIBS
=$LIBS
11072 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h. */
11076 /* Override any GCC internal prototype to avoid an error.
11077 Use char because int might match the return type of a GCC
11078 builtin and then its argument prototype would still apply. */
11082 char dbus_connection_close ();
11086 return dbus_connection_close ();
11091 if ac_fn_c_try_link
"$LINENO"; then :
11093 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11094 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'` ;;
11095 *) 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'`
11096 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11097 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11101 rm -f core conftest.err conftest.
$ac_objext \
11102 conftest
$ac_exeext conftest.
$ac_ext
11103 LIBS
=$ac_check_soname_save_LIBS
11105 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11107 $as_echo "not found" >&6; }
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11111 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11113 cat >>confdefs.h
<<_ACEOF
11114 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11124 CPPFLAGS
=$ac_save_CPPFLAGS
11125 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11126 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11129 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11130 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11131 case "x$with_dbus" in
11132 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11134 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11135 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11139 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11141 if ${HAL_CFLAGS:+false} :; then :
11142 if ${PKG_CONFIG+:} false
; then :
11143 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11147 if ${HAL_LIBS:+false} :; then :
11148 if ${PKG_CONFIG+:} false
; then :
11149 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11153 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11154 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11155 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11156 ac_save_CPPFLAGS
=$CPPFLAGS
11157 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11158 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11159 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11161 $as_echo_n "checking for -lhal... " >&6; }
11162 if ${ac_cv_lib_soname_hal+:} false
; then :
11163 $as_echo_n "(cached) " >&6
11165 ac_check_soname_save_LIBS
=$LIBS
11166 LIBS
="-lhal $HAL_LIBS $LIBS"
11167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11170 /* Override any GCC internal prototype to avoid an error.
11171 Use char because int might match the return type of a GCC
11172 builtin and then its argument prototype would still apply. */
11176 char libhal_ctx_new ();
11180 return libhal_ctx_new ();
11185 if ac_fn_c_try_link
"$LINENO"; then :
11187 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11188 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'` ;;
11189 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11190 if ${ac_cv_lib_soname_hal:+false} :; then :
11191 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11195 rm -f core conftest.err conftest.
$ac_objext \
11196 conftest
$ac_exeext conftest.
$ac_ext
11197 LIBS
=$ac_check_soname_save_LIBS
11199 if ${ac_cv_lib_soname_hal:+false} :; then :
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11201 $as_echo "not found" >&6; }
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11205 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11207 cat >>confdefs.h
<<_ACEOF
11208 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11218 CPPFLAGS
=$ac_save_CPPFLAGS
11219 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11220 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11222 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11223 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11224 case "x$with_hal" in
11225 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11227 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11228 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11233 if test "x$with_gnutls" != "xno"
11235 if ${GNUTLS_CFLAGS:+false} :; then :
11236 if ${PKG_CONFIG+:} false
; then :
11237 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11241 if ${GNUTLS_LIBS:+false} :; then :
11242 if ${PKG_CONFIG+:} false
; then :
11243 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11248 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11249 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11250 ac_save_CPPFLAGS
=$CPPFLAGS
11251 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11252 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11253 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11256 #include <gnutls/gnutls.h>
11257 #include <gnutls/crypto.h>
11261 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11266 if ac_fn_c_try_compile
"$LINENO"; then :
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11268 $as_echo_n "checking for -lgnutls... " >&6; }
11269 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11270 $as_echo_n "(cached) " >&6
11272 ac_check_soname_save_LIBS
=$LIBS
11273 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11275 /* end confdefs.h. */
11277 /* Override any GCC internal prototype to avoid an error.
11278 Use char because int might match the return type of a GCC
11279 builtin and then its argument prototype would still apply. */
11283 char gnutls_global_init ();
11287 return gnutls_global_init ();
11292 if ac_fn_c_try_link
"$LINENO"; then :
11294 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11295 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'` ;;
11296 *) 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'`
11297 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11298 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'`
11302 rm -f core conftest.err conftest.
$ac_objext \
11303 conftest
$ac_exeext conftest.
$ac_ext
11304 LIBS
=$ac_check_soname_save_LIBS
11306 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11308 $as_echo "not found" >&6; }
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11312 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11314 cat >>confdefs.h
<<_ACEOF
11315 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11327 CPPFLAGS
=$ac_save_CPPFLAGS
11328 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11329 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11332 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11333 case "x$with_gnutls" in
11334 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11336 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11337 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11342 if test "$ac_cv_header_ncurses_h" = "yes"
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11345 $as_echo_n "checking for -lncurses... " >&6; }
11346 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11347 $as_echo_n "(cached) " >&6
11349 ac_check_soname_save_LIBS
=$LIBS
11350 LIBS
="-lncurses $LIBS"
11351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11354 /* Override any GCC internal prototype to avoid an error.
11355 Use char because int might match the return type of a GCC
11356 builtin and then its argument prototype would still apply. */
11369 if ac_fn_c_try_link
"$LINENO"; then :
11371 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11372 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'` ;;
11373 *) 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'`
11374 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11375 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11379 rm -f core conftest.err conftest.
$ac_objext \
11380 conftest
$ac_exeext conftest.
$ac_ext
11381 LIBS
=$ac_check_soname_save_LIBS
11383 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11385 $as_echo "not found" >&6; }
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11389 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11391 cat >>confdefs.h
<<_ACEOF
11392 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11395 CURSES_LIBS
="-lncurses"
11397 elif test "$ac_cv_header_curses_h" = "yes"
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11400 $as_echo_n "checking for -lcurses... " >&6; }
11401 if ${ac_cv_lib_soname_curses+:} false
; then :
11402 $as_echo_n "(cached) " >&6
11404 ac_check_soname_save_LIBS
=$LIBS
11405 LIBS
="-lcurses $LIBS"
11406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h. */
11409 /* Override any GCC internal prototype to avoid an error.
11410 Use char because int might match the return type of a GCC
11411 builtin and then its argument prototype would still apply. */
11424 if ac_fn_c_try_link
"$LINENO"; then :
11426 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11427 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'` ;;
11428 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11429 if ${ac_cv_lib_soname_curses:+false} :; then :
11430 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11434 rm -f core conftest.err conftest.
$ac_objext \
11435 conftest
$ac_exeext conftest.
$ac_ext
11436 LIBS
=$ac_check_soname_save_LIBS
11438 if ${ac_cv_lib_soname_curses:+false} :; then :
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11440 $as_echo "not found" >&6; }
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11444 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11446 cat >>confdefs.h
<<_ACEOF
11447 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11450 CURSES_LIBS
="-lcurses"
11453 ac_save_LIBS
="$LIBS"
11454 LIBS
="$LIBS $CURSES_LIBS"
11455 for ac_func
in mousemask
11457 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11458 if test "x$ac_cv_func_mousemask" = xyes
; then :
11459 cat >>confdefs.h
<<_ACEOF
11460 #define HAVE_MOUSEMASK 1
11466 LIBS
="$ac_save_LIBS"
11467 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11468 case "x$with_curses" in
11469 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11471 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11472 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11476 if test "x$with_sane" != "xno"
11478 if ${SANE_CFLAGS:+false} :; then :
11479 if ${PKG_CONFIG+:} false
; then :
11480 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11483 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11484 if ${SANE_LIBS:+false} :; then :
11485 if ${PKG_CONFIG+:} false
; then :
11486 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11489 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11491 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11492 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11493 ac_save_CPPFLAGS
=$CPPFLAGS
11494 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11495 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11496 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11498 $as_echo_n "checking for -lsane... " >&6; }
11499 if ${ac_cv_lib_soname_sane+:} false
; then :
11500 $as_echo_n "(cached) " >&6
11502 ac_check_soname_save_LIBS
=$LIBS
11503 LIBS
="-lsane $SANE_LIBS $LIBS"
11504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h. */
11507 /* Override any GCC internal prototype to avoid an error.
11508 Use char because int might match the return type of a GCC
11509 builtin and then its argument prototype would still apply. */
11517 return sane_init ();
11522 if ac_fn_c_try_link
"$LINENO"; then :
11524 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11525 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'` ;;
11526 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11527 if ${ac_cv_lib_soname_sane:+false} :; then :
11528 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11532 rm -f core conftest.err conftest.
$ac_objext \
11533 conftest
$ac_exeext conftest.
$ac_ext
11534 LIBS
=$ac_check_soname_save_LIBS
11536 if ${ac_cv_lib_soname_sane:+false} :; then :
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11538 $as_echo "not found" >&6; }
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11542 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11544 cat >>confdefs.h
<<_ACEOF
11545 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11555 CPPFLAGS
=$ac_save_CPPFLAGS
11556 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11557 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11560 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11561 case "x$with_sane" in
11562 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11564 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11565 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11569 if test "x$with_v4l" != "xno"
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11572 $as_echo_n "checking for -lv4l1... " >&6; }
11573 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11574 $as_echo_n "(cached) " >&6
11576 ac_check_soname_save_LIBS
=$LIBS
11577 LIBS
="-lv4l1 $LIBS"
11578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11579 /* end confdefs.h. */
11581 /* Override any GCC internal prototype to avoid an error.
11582 Use char because int might match the return type of a GCC
11583 builtin and then its argument prototype would still apply. */
11591 return v4l1_open ();
11596 if ac_fn_c_try_link
"$LINENO"; then :
11598 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11599 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'` ;;
11600 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11601 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11602 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11606 rm -f core conftest.err conftest.
$ac_objext \
11607 conftest
$ac_exeext conftest.
$ac_ext
11608 LIBS
=$ac_check_soname_save_LIBS
11610 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11612 $as_echo "not found" >&6; }
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11616 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11618 cat >>confdefs.h
<<_ACEOF
11619 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11625 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11626 case "x$with_v4l" in
11627 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11629 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11630 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11634 if test "x$with_gphoto" != "xno"
11636 if ${GPHOTO2_CFLAGS:+false} :; then :
11637 if ${PKG_CONFIG+:} false
; then :
11638 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11641 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11642 if ${GPHOTO2_LIBS:+false} :; then :
11643 if ${PKG_CONFIG+:} false
; then :
11644 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11647 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11648 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11649 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11650 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11651 ac_save_CPPFLAGS
=$CPPFLAGS
11652 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11653 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11654 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11656 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11657 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11658 $as_echo_n "(cached) " >&6
11660 ac_check_lib_save_LIBS
=$LIBS
11661 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11663 /* end confdefs.h. */
11665 /* Override any GCC internal prototype to avoid an error.
11666 Use char because int might match the return type of a GCC
11667 builtin and then its argument prototype would still apply. */
11671 char gp_camera_new ();
11675 return gp_camera_new ();
11680 if ac_fn_c_try_link
"$LINENO"; then :
11681 ac_cv_lib_gphoto2_gp_camera_new
=yes
11683 ac_cv_lib_gphoto2_gp_camera_new
=no
11685 rm -f core conftest.err conftest.
$ac_objext \
11686 conftest
$ac_exeext conftest.
$ac_ext
11687 LIBS
=$ac_check_lib_save_LIBS
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11690 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11691 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11693 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11696 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11700 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11704 CPPFLAGS
=$ac_save_CPPFLAGS
11705 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11706 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11708 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11709 if ${PKG_CONFIG+:} false
; then :
11710 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11713 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11714 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11715 if ${PKG_CONFIG+:} false
; then :
11716 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11719 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11720 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11721 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11722 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11723 ac_save_CPPFLAGS
=$CPPFLAGS
11724 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11725 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11726 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11728 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11729 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11730 $as_echo_n "(cached) " >&6
11732 ac_check_lib_save_LIBS
=$LIBS
11733 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 /* Override any GCC internal prototype to avoid an error.
11738 Use char because int might match the return type of a GCC
11739 builtin and then its argument prototype would still apply. */
11743 char gp_port_info_list_new ();
11747 return gp_port_info_list_new ();
11752 if ac_fn_c_try_link
"$LINENO"; then :
11753 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11755 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11757 rm -f core conftest.err conftest.
$ac_objext \
11758 conftest
$ac_exeext conftest.
$ac_ext
11759 LIBS
=$ac_check_lib_save_LIBS
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11762 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11763 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11765 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11768 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11772 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11776 CPPFLAGS
=$ac_save_CPPFLAGS
11777 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11778 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11781 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11782 case "x$with_gphoto" in
11783 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11785 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11786 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11789 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11790 case "x$with_gphoto" in
11791 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11793 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11794 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11799 if test "$ac_cv_header_resolv_h" = "yes"
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11802 $as_echo_n "checking for resolver library... " >&6; }
11803 if ${ac_cv_have_resolv+:} false
; then :
11804 $as_echo_n "(cached) " >&6
11806 ac_save_LIBS
="$LIBS"
11807 for lib
in '' -lresolv
11809 LIBS
="$lib $ac_save_LIBS"
11810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11811 /* end confdefs.h. */
11812 #ifdef HAVE_NETINET_IN_H
11813 #include <netinet/in.h>
11815 #include <resolv.h>
11819 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11824 if ac_fn_c_try_link
"$LINENO"; then :
11825 ac_cv_have_resolv
=${lib:-"none required"}
11827 ac_cv_have_resolv
="not found"
11829 rm -f core conftest.err conftest.
$ac_objext \
11830 conftest
$ac_exeext conftest.
$ac_ext
11831 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11833 LIBS
="$ac_save_LIBS"
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11836 $as_echo "$ac_cv_have_resolv" >&6; }
11838 case "$ac_cv_have_resolv" in
11842 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11845 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11847 RESOLV_LIBS
=$ac_cv_have_resolv
11852 if test "x$with_lcms2" != "xno"
11854 if ${LCMS2_CFLAGS:+false} :; then :
11855 if ${PKG_CONFIG+:} false
; then :
11856 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11860 if ${LCMS2_LIBS:+false} :; then :
11861 if ${PKG_CONFIG+:} false
; then :
11862 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11866 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11867 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11868 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11869 ac_save_CPPFLAGS
=$CPPFLAGS
11870 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11871 for ac_header
in lcms2.h
11873 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11874 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11875 cat >>confdefs.h
<<_ACEOF
11876 #define HAVE_LCMS2_H 1
11883 if test "$ac_cv_header_lcms2_h" = "yes"
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11886 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11887 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11888 $as_echo_n "(cached) " >&6
11890 ac_check_lib_save_LIBS
=$LIBS
11891 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11893 /* end confdefs.h. */
11895 /* Override any GCC internal prototype to avoid an error.
11896 Use char because int might match the return type of a GCC
11897 builtin and then its argument prototype would still apply. */
11901 char cmsOpenProfileFromFile ();
11905 return cmsOpenProfileFromFile ();
11910 if ac_fn_c_try_link
"$LINENO"; then :
11911 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11913 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11915 rm -f core conftest.err conftest.
$ac_objext \
11916 conftest
$ac_exeext conftest.
$ac_ext
11917 LIBS
=$ac_check_lib_save_LIBS
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11920 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11921 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11923 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11933 CPPFLAGS
=$ac_save_CPPFLAGS
11934 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11935 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11938 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11939 case "x$with_cms" in
11940 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11942 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11943 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11947 if test "x$with_freetype" != "xno"
11949 if ${FREETYPE_CFLAGS:+false} :; then :
11950 if ${PKG_CONFIG+:} false
; then :
11951 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11954 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11955 if ${FREETYPE_LIBS:+false} :; then :
11956 if ${PKG_CONFIG+:} false
; then :
11957 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11960 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11961 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11962 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11963 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11964 ac_save_CPPFLAGS
=$CPPFLAGS
11965 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11966 for ac_header
in ft2build.h
11968 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11969 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11970 cat >>confdefs.h
<<_ACEOF
11971 #define HAVE_FT2BUILD_H 1
11978 if test "$ac_cv_header_ft2build_h" = "yes"
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11981 $as_echo_n "checking for -lfreetype... " >&6; }
11982 if ${ac_cv_lib_soname_freetype+:} false
; then :
11983 $as_echo_n "(cached) " >&6
11985 ac_check_soname_save_LIBS
=$LIBS
11986 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11988 /* end confdefs.h. */
11990 /* Override any GCC internal prototype to avoid an error.
11991 Use char because int might match the return type of a GCC
11992 builtin and then its argument prototype would still apply. */
11996 char FT_Init_FreeType ();
12000 return FT_Init_FreeType ();
12005 if ac_fn_c_try_link
"$LINENO"; then :
12007 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12008 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'` ;;
12009 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12010 if ${ac_cv_lib_soname_freetype:+false} :; then :
12011 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12015 rm -f core conftest.err conftest.
$ac_objext \
12016 conftest
$ac_exeext conftest.
$ac_ext
12017 LIBS
=$ac_check_soname_save_LIBS
12019 if ${ac_cv_lib_soname_freetype:+false} :; then :
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12021 $as_echo "not found" >&6; }
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12025 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12027 cat >>confdefs.h
<<_ACEOF
12028 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12032 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12034 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12035 #include FT_MODULE_H
12037 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12039 cat >>confdefs.h
<<_ACEOF
12040 #define HAVE_FT_TRUETYPEENGINETYPE 1
12051 CPPFLAGS
=$ac_save_CPPFLAGS
12052 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12053 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12056 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12057 case "x$with_freetype" in
12059 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12060 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12063 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12066 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12067 if ${ac_cv_c_ppdev+:} false
; then :
12068 $as_echo_n "(cached) " >&6
12070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12071 /* end confdefs.h. */
12072 #ifdef HAVE_SYS_IOCTL_H
12073 # include <sys/ioctl.h>
12075 #include <linux/ppdev.h>
12079 ioctl (1,PPCLAIM,0)
12084 if ac_fn_c_try_compile
"$LINENO"; then :
12085 ac_cv_c_ppdev
="yes"
12089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12092 $as_echo "$ac_cv_c_ppdev" >&6; }
12093 if test "$ac_cv_c_ppdev" = "yes"
12096 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12100 ac_wine_check_funcs_save_LIBS
="$LIBS"
12101 LIBS
="$LIBS $PTHREAD_LIBS"
12103 pthread_attr_get_np \
12104 pthread_getattr_np \
12105 pthread_getthreadid_np \
12106 pthread_get_stackaddr_np \
12107 pthread_get_stacksize_np
12109 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12110 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12111 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12112 cat >>confdefs.h
<<_ACEOF
12113 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12119 LIBS
="$ac_wine_check_funcs_save_LIBS"
12121 if test "$ac_cv_header_zlib_h" = "yes"
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12124 $as_echo_n "checking for inflate in -lz... " >&6; }
12125 if ${ac_cv_lib_z_inflate+:} false
; then :
12126 $as_echo_n "(cached) " >&6
12128 ac_check_lib_save_LIBS
=$LIBS
12130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12131 /* end confdefs.h. */
12133 /* Override any GCC internal prototype to avoid an error.
12134 Use char because int might match the return type of a GCC
12135 builtin and then its argument prototype would still apply. */
12148 if ac_fn_c_try_link
"$LINENO"; then :
12149 ac_cv_lib_z_inflate
=yes
12151 ac_cv_lib_z_inflate
=no
12153 rm -f core conftest.err conftest.
$ac_objext \
12154 conftest
$ac_exeext conftest.
$ac_ext
12155 LIBS
=$ac_check_lib_save_LIBS
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12158 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12159 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12161 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12168 if test "x$Z_LIBS" = "x"; then :
12169 case "x$with_zlib" in
12170 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12172 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12173 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12177 if test "x$enable_tools" != xno
12179 if test "$ac_cv_header_gettext_po_h" = "yes"
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12182 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12183 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12184 $as_echo_n "(cached) " >&6
12186 ac_check_lib_save_LIBS
=$LIBS
12187 LIBS
="-lgettextpo $LIBS"
12188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12191 /* Override any GCC internal prototype to avoid an error.
12192 Use char because int might match the return type of a GCC
12193 builtin and then its argument prototype would still apply. */
12197 char po_message_msgctxt ();
12201 return po_message_msgctxt ();
12206 if ac_fn_c_try_link
"$LINENO"; then :
12207 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12209 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12211 rm -f core conftest.err conftest.
$ac_objext \
12212 conftest
$ac_exeext conftest.
$ac_ext
12213 LIBS
=$ac_check_lib_save_LIBS
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12216 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12217 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12219 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12221 GETTEXTPO_LIBS
="-lgettextpo"
12226 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12227 case "x$with_gettextpo" in
12228 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12230 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12231 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12236 if test "x$with_gstreamer" != "xno"
12238 if ${GSTREAMER_CFLAGS:+false} :; then :
12239 if ${PKG_CONFIG+:} false
; then :
12240 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12244 if ${GSTREAMER_LIBS:+false} :; then :
12245 if ${PKG_CONFIG+:} false
; then :
12246 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12251 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12252 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12253 ac_save_CPPFLAGS
=$CPPFLAGS
12254 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12256 for i
in $GSTREAMER_CFLAGS
12259 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12262 GSTREAMER_CFLAGS
=$ac_gst_incl
12263 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12264 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12265 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12266 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12267 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12269 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12272 #include <gst/app/gstappsink.h>
12276 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12281 if ac_fn_c_try_compile
"$LINENO"; then :
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12283 $as_echo "yes" >&6; }
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12285 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12286 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12287 $as_echo_n "(cached) " >&6
12289 ac_check_lib_save_LIBS
=$LIBS
12290 LIBS
="-lgstreamer-0.10 $LIBS"
12291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12294 /* Override any GCC internal prototype to avoid an error.
12295 Use char because int might match the return type of a GCC
12296 builtin and then its argument prototype would still apply. */
12300 char gst_pad_get_caps_reffed ();
12304 return gst_pad_get_caps_reffed ();
12309 if ac_fn_c_try_link
"$LINENO"; then :
12310 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12312 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12314 rm -f core conftest.err conftest.
$ac_objext \
12315 conftest
$ac_exeext conftest.
$ac_ext
12316 LIBS
=$ac_check_lib_save_LIBS
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12319 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12320 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12322 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12323 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12324 $as_echo_n "(cached) " >&6
12326 ac_check_lib_save_LIBS
=$LIBS
12327 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12329 /* end confdefs.h. */
12331 /* Override any GCC internal prototype to avoid an error.
12332 Use char because int might match the return type of a GCC
12333 builtin and then its argument prototype would still apply. */
12337 char gst_app_buffer_new ();
12341 return gst_app_buffer_new ();
12346 if ac_fn_c_try_link
"$LINENO"; then :
12347 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12349 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12351 rm -f core conftest.err conftest.
$ac_objext \
12352 conftest
$ac_exeext conftest.
$ac_ext
12353 LIBS
=$ac_check_lib_save_LIBS
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12356 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12357 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12365 $as_echo "no" >&6; }
12367 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12372 GSTREAMER_CFLAGS
=""
12376 CPPFLAGS
=$ac_save_CPPFLAGS
12377 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12378 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12381 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12382 case "x$with_gstreamer" in
12383 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12385 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12386 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12389 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12393 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12396 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12397 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12398 $as_echo_n "(cached) " >&6
12400 ac_check_lib_save_LIBS
=$LIBS
12401 LIBS
="-lasound $LIBS"
12402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12411 char snd_pcm_hw_params_get_access_mask ();
12415 return snd_pcm_hw_params_get_access_mask ();
12420 if ac_fn_c_try_link
"$LINENO"; then :
12421 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12423 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12425 rm -f core conftest.err conftest.
$ac_objext \
12426 conftest
$ac_exeext conftest.
$ac_ext
12427 LIBS
=$ac_check_lib_save_LIBS
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12430 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12431 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12433 /* end confdefs.h. */
12434 #ifdef HAVE_ALSA_ASOUNDLIB_H
12435 #include <alsa/asoundlib.h>
12436 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12437 #include <sys/asoundlib.h>
12442 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12447 if ac_fn_c_try_compile
"$LINENO"; then :
12448 ALSA_LIBS
="-lasound"
12450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12455 if test "x$with_oss" != xno
12457 ac_save_CPPFLAGS
="$CPPFLAGS"
12458 if test -f /etc
/oss.conf
12462 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12463 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12464 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12465 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12466 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12468 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12470 cat >>confdefs.h
<<_ACEOF
12471 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12474 OSS4_CFLAGS
="$ac_oss_incl"
12481 CPPFLAGS
="$ac_save_CPPFLAGS"
12482 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12484 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12488 if test "x$with_capi" != "xno"
12490 if ${CAPI20_CFLAGS:+false} :; then :
12491 if ${PKG_CONFIG+:} false
; then :
12492 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12496 if ${CAPI20_LIBS:+false} :; then :
12497 if ${PKG_CONFIG+:} false
; then :
12498 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12503 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12504 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12505 ac_save_CPPFLAGS
=$CPPFLAGS
12506 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12507 for ac_header
in capi20.h linux
/capi.h
12509 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12510 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12512 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12513 cat >>confdefs.h
<<_ACEOF
12514 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12521 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12524 $as_echo_n "checking for -lcapi20... " >&6; }
12525 if ${ac_cv_lib_soname_capi20+:} false
; then :
12526 $as_echo_n "(cached) " >&6
12528 ac_check_soname_save_LIBS
=$LIBS
12529 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12531 /* end confdefs.h. */
12533 /* Override any GCC internal prototype to avoid an error.
12534 Use char because int might match the return type of a GCC
12535 builtin and then its argument prototype would still apply. */
12539 char capi20_register ();
12543 return capi20_register ();
12548 if ac_fn_c_try_link
"$LINENO"; then :
12550 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12551 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'` ;;
12552 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12553 if ${ac_cv_lib_soname_capi20:+false} :; then :
12554 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12558 rm -f core conftest.err conftest.
$ac_objext \
12559 conftest
$ac_exeext conftest.
$ac_ext
12560 LIBS
=$ac_check_soname_save_LIBS
12562 if ${ac_cv_lib_soname_capi20:+false} :; then :
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12564 $as_echo "not found" >&6; }
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12568 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12570 cat >>confdefs.h
<<_ACEOF
12571 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12577 CPPFLAGS
=$ac_save_CPPFLAGS
12578 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12579 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12582 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12583 case "x$with_capi" in
12584 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12586 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12587 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12593 if test "x$with_cups" != "xno"
12595 ac_save_CPPFLAGS
="$CPPFLAGS"
12596 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12597 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12598 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12599 for ac_header
in cups
/cups.h
12601 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12602 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12603 cat >>confdefs.h
<<_ACEOF
12604 #define HAVE_CUPS_CUPS_H 1
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12607 $as_echo_n "checking for -lcups... " >&6; }
12608 if ${ac_cv_lib_soname_cups+:} false
; then :
12609 $as_echo_n "(cached) " >&6
12611 ac_check_soname_save_LIBS
=$LIBS
12612 LIBS
="-lcups $ac_cups_libs $LIBS"
12613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12616 /* Override any GCC internal prototype to avoid an error.
12617 Use char because int might match the return type of a GCC
12618 builtin and then its argument prototype would still apply. */
12622 char cupsGetDefault ();
12626 return cupsGetDefault ();
12631 if ac_fn_c_try_link
"$LINENO"; then :
12633 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12634 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'` ;;
12635 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12636 if ${ac_cv_lib_soname_cups:+false} :; then :
12637 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12641 rm -f core conftest.err conftest.
$ac_objext \
12642 conftest
$ac_exeext conftest.
$ac_ext
12643 LIBS
=$ac_check_soname_save_LIBS
12645 if ${ac_cv_lib_soname_cups:+false} :; then :
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12647 $as_echo "not found" >&6; }
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12651 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12653 cat >>confdefs.h
<<_ACEOF
12654 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12657 CUPS_CFLAGS
="$ac_cups_cflags"
12663 CPPFLAGS
="$ac_save_CPPFLAGS"
12665 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12666 case "x$with_cups" in
12667 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12669 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12670 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12674 if test "x$with_fontconfig" != "xno"
12676 if ${FONTCONFIG_CFLAGS:+false} :; then :
12677 if ${PKG_CONFIG+:} false
; then :
12678 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12681 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12682 if ${FONTCONFIG_LIBS:+false} :; then :
12683 if ${PKG_CONFIG+:} false
; then :
12684 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12687 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12689 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12690 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12691 ac_save_CPPFLAGS
=$CPPFLAGS
12692 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12693 for ac_header
in fontconfig
/fontconfig.h
12695 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12696 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12697 cat >>confdefs.h
<<_ACEOF
12698 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12705 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12708 $as_echo_n "checking for -lfontconfig... " >&6; }
12709 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12710 $as_echo_n "(cached) " >&6
12712 ac_check_soname_save_LIBS
=$LIBS
12713 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12715 /* end confdefs.h. */
12717 /* Override any GCC internal prototype to avoid an error.
12718 Use char because int might match the return type of a GCC
12719 builtin and then its argument prototype would still apply. */
12732 if ac_fn_c_try_link
"$LINENO"; then :
12734 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12735 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'` ;;
12736 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12737 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12738 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12742 rm -f core conftest.err conftest.
$ac_objext \
12743 conftest
$ac_exeext conftest.
$ac_ext
12744 LIBS
=$ac_check_soname_save_LIBS
12746 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12748 $as_echo "not found" >&6; }
12749 FONTCONFIG_CFLAGS
=""
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12752 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12754 cat >>confdefs.h
<<_ACEOF
12755 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12761 FONTCONFIG_CFLAGS
=""
12763 CPPFLAGS
=$ac_save_CPPFLAGS
12764 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12765 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12768 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12769 case "x$with_fontconfig" in
12770 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12772 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12773 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12777 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12780 $as_echo_n "checking for -lgsm... " >&6; }
12781 if ${ac_cv_lib_soname_gsm+:} false
; then :
12782 $as_echo_n "(cached) " >&6
12784 ac_check_soname_save_LIBS
=$LIBS
12786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12787 /* end confdefs.h. */
12789 /* Override any GCC internal prototype to avoid an error.
12790 Use char because int might match the return type of a GCC
12791 builtin and then its argument prototype would still apply. */
12795 char gsm_create ();
12799 return gsm_create ();
12804 if ac_fn_c_try_link
"$LINENO"; then :
12806 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12807 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'` ;;
12808 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12809 if ${ac_cv_lib_soname_gsm:+false} :; then :
12810 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12814 rm -f core conftest.err conftest.
$ac_objext \
12815 conftest
$ac_exeext conftest.
$ac_ext
12816 LIBS
=$ac_check_soname_save_LIBS
12818 if ${ac_cv_lib_soname_gsm:+false} :; then :
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12820 $as_echo "not found" >&6; }
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12824 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12826 cat >>confdefs.h
<<_ACEOF
12827 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12833 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12834 case "x$with_gsm" in
12835 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12837 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12838 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12842 if test "x$with_jpeg" != "xno"
12844 if ${JPEG_CFLAGS:+false} :; then :
12845 if ${PKG_CONFIG+:} false
; then :
12846 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12850 if ${JPEG_LIBS:+false} :; then :
12851 if ${PKG_CONFIG+:} false
; then :
12852 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12857 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12858 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12859 ac_save_CPPFLAGS
=$CPPFLAGS
12860 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12861 for ac_header
in jpeglib.h
12863 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12864 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12865 cat >>confdefs.h
<<_ACEOF
12866 #define HAVE_JPEGLIB_H 1
12873 if test "$ac_cv_header_jpeglib_h" = "yes"
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12876 $as_echo_n "checking for -ljpeg... " >&6; }
12877 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12878 $as_echo_n "(cached) " >&6
12880 ac_check_soname_save_LIBS
=$LIBS
12881 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12883 /* end confdefs.h. */
12885 /* Override any GCC internal prototype to avoid an error.
12886 Use char because int might match the return type of a GCC
12887 builtin and then its argument prototype would still apply. */
12891 char jpeg_start_decompress ();
12895 return jpeg_start_decompress ();
12900 if ac_fn_c_try_link
"$LINENO"; then :
12902 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12903 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'` ;;
12904 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12905 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12906 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12910 rm -f core conftest.err conftest.
$ac_objext \
12911 conftest
$ac_exeext conftest.
$ac_ext
12912 LIBS
=$ac_check_soname_save_LIBS
12914 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12916 $as_echo "not found" >&6; }
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12920 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12922 cat >>confdefs.h
<<_ACEOF
12923 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12931 CPPFLAGS
=$ac_save_CPPFLAGS
12932 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12933 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12936 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12937 case "x$with_jpeg" in
12938 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12940 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12941 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12945 if test "x$with_png" != "xno"
12947 if ${PNG_CFLAGS:+false} :; then :
12948 if ${PKG_CONFIG+:} false
; then :
12949 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12952 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12953 if ${PNG_LIBS:+false} :; then :
12954 if ${PKG_CONFIG+:} false
; then :
12955 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12958 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12960 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12961 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12962 ac_save_CPPFLAGS
=$CPPFLAGS
12963 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12964 for ac_header
in png.h
12966 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12967 if test "x$ac_cv_header_png_h" = xyes
; then :
12968 cat >>confdefs.h
<<_ACEOF
12969 #define HAVE_PNG_H 1
12976 if test "$ac_cv_header_png_h" = "yes"
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12979 $as_echo_n "checking for -lpng... " >&6; }
12980 if ${ac_cv_lib_soname_png+:} false
; then :
12981 $as_echo_n "(cached) " >&6
12983 ac_check_soname_save_LIBS
=$LIBS
12984 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12988 /* Override any GCC internal prototype to avoid an error.
12989 Use char because int might match the return type of a GCC
12990 builtin and then its argument prototype would still apply. */
12994 char png_create_read_struct ();
12998 return png_create_read_struct ();
13003 if ac_fn_c_try_link
"$LINENO"; then :
13005 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13006 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'` ;;
13007 *) 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'`
13008 if ${ac_cv_lib_soname_png:+false} :; then :
13009 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13013 rm -f core conftest.err conftest.
$ac_objext \
13014 conftest
$ac_exeext conftest.
$ac_ext
13015 LIBS
=$ac_check_soname_save_LIBS
13017 if ${ac_cv_lib_soname_png:+false} :; then :
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13019 $as_echo "not found" >&6; }
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13023 $as_echo "$ac_cv_lib_soname_png" >&6; }
13025 cat >>confdefs.h
<<_ACEOF
13026 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13030 /* end confdefs.h. */
13035 typeof(png_set_expand_gray_1_2_4_to_8) *p
13040 if ac_fn_c_try_compile
"$LINENO"; then :
13042 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13050 CPPFLAGS
=$ac_save_CPPFLAGS
13051 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13052 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13055 if test "x$ac_cv_lib_soname_png" = "x"; then :
13056 case "x$with_png" in
13057 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13059 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13060 This is an error since --with-png was requested." "$LINENO" 5 ;;
13064 if test "x$with_tiff" != "xno"
13066 if ${TIFF_CFLAGS:+false} :; then :
13067 if ${PKG_CONFIG+:} false
; then :
13068 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13072 if ${TIFF_LIBS:+false} :; then :
13073 if ${PKG_CONFIG+:} false
; then :
13074 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13079 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13080 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13081 ac_save_CPPFLAGS
=$CPPFLAGS
13082 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13083 for ac_header
in tiffio.h
13085 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13086 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13087 cat >>confdefs.h
<<_ACEOF
13088 #define HAVE_TIFFIO_H 1
13095 if test "$ac_cv_header_tiffio_h" = "yes"
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13098 $as_echo_n "checking for -ltiff... " >&6; }
13099 if ${ac_cv_lib_soname_tiff+:} false
; then :
13100 $as_echo_n "(cached) " >&6
13102 ac_check_soname_save_LIBS
=$LIBS
13103 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13105 /* end confdefs.h. */
13107 /* Override any GCC internal prototype to avoid an error.
13108 Use char because int might match the return type of a GCC
13109 builtin and then its argument prototype would still apply. */
13113 char TIFFClientOpen ();
13117 return TIFFClientOpen ();
13122 if ac_fn_c_try_link
"$LINENO"; then :
13124 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13125 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'` ;;
13126 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13127 if ${ac_cv_lib_soname_tiff:+false} :; then :
13128 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13132 rm -f core conftest.err conftest.
$ac_objext \
13133 conftest
$ac_exeext conftest.
$ac_ext
13134 LIBS
=$ac_check_soname_save_LIBS
13136 if ${ac_cv_lib_soname_tiff:+false} :; then :
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13138 $as_echo "not found" >&6; }
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13142 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13144 cat >>confdefs.h
<<_ACEOF
13145 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13151 CPPFLAGS
=$ac_save_CPPFLAGS
13152 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13153 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13156 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13157 case "x$with_tiff" in
13158 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13160 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13161 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13165 if test "x$with_mpg123" != "xno"
13167 if ${MPG123_CFLAGS:+false} :; then :
13168 if ${PKG_CONFIG+:} false
; then :
13169 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13173 if ${MPG123_LIBS:+false} :; then :
13174 if ${PKG_CONFIG+:} false
; then :
13175 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13179 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13180 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13181 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13182 ac_save_CPPFLAGS
=$CPPFLAGS
13183 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13184 for ac_header
in mpg123.h
13186 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13187 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13188 cat >>confdefs.h
<<_ACEOF
13189 #define HAVE_MPG123_H 1
13196 if test "$ac_cv_header_mpg123_h" = "yes"
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13199 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13200 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13201 $as_echo_n "(cached) " >&6
13203 ac_check_lib_save_LIBS
=$LIBS
13204 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13206 /* end confdefs.h. */
13208 /* Override any GCC internal prototype to avoid an error.
13209 Use char because int might match the return type of a GCC
13210 builtin and then its argument prototype would still apply. */
13214 char mpg123_feed ();
13218 return mpg123_feed ();
13223 if ac_fn_c_try_link
"$LINENO"; then :
13224 ac_cv_lib_mpg123_mpg123_feed
=yes
13226 ac_cv_lib_mpg123_mpg123_feed
=no
13228 rm -f core conftest.err conftest.
$ac_objext \
13229 conftest
$ac_exeext conftest.
$ac_ext
13230 LIBS
=$ac_check_lib_save_LIBS
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13233 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13234 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13244 CPPFLAGS
=$ac_save_CPPFLAGS
13245 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13246 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13249 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13250 case "x$with_mpg123" in
13251 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13253 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13254 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13257 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}
13259 if test "$ac_cv_header_AL_al_h" = "yes"
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13262 $as_echo_n "checking for -lopenal... " >&6; }
13263 if ${ac_cv_lib_soname_openal+:} false
; then :
13264 $as_echo_n "(cached) " >&6
13266 ac_check_soname_save_LIBS
=$LIBS
13267 LIBS
="-lopenal $LIBS"
13268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13269 /* end confdefs.h. */
13271 /* Override any GCC internal prototype to avoid an error.
13272 Use char because int might match the return type of a GCC
13273 builtin and then its argument prototype would still apply. */
13277 char alGetSource3i ();
13281 return alGetSource3i ();
13286 if ac_fn_c_try_link
"$LINENO"; then :
13288 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13289 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'` ;;
13290 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13291 if ${ac_cv_lib_soname_openal:+false} :; then :
13292 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13296 rm -f core conftest.err conftest.
$ac_objext \
13297 conftest
$ac_exeext conftest.
$ac_ext
13298 LIBS
=$ac_check_soname_save_LIBS
13300 if ${ac_cv_lib_soname_openal:+false} :; then :
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13302 $as_echo "not found" >&6; }
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13306 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13308 cat >>confdefs.h
<<_ACEOF
13309 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13312 OPENAL_LIBS
="-lopenal"
13314 ac_cv_lib_openal
=yes
13316 cat >>confdefs.h
<<_ACEOF
13317 #define HAVE_OPENAL 1
13322 if test "x$ac_cv_lib_openal" != xyes
; then :
13323 case "x$with_openal" in
13324 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13326 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13327 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13330 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13332 if test "$ac_cv_header_kstat_h" = "yes"
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13335 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13336 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13337 $as_echo_n "(cached) " >&6
13339 ac_check_lib_save_LIBS
=$LIBS
13340 LIBS
="-lkstat $LIBS"
13341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13342 /* end confdefs.h. */
13344 /* Override any GCC internal prototype to avoid an error.
13345 Use char because int might match the return type of a GCC
13346 builtin and then its argument prototype would still apply. */
13350 char kstat_open ();
13354 return kstat_open ();
13359 if ac_fn_c_try_link
"$LINENO"; then :
13360 ac_cv_lib_kstat_kstat_open
=yes
13362 ac_cv_lib_kstat_kstat_open
=no
13364 rm -f core conftest.err conftest.
$ac_objext \
13365 conftest
$ac_exeext conftest.
$ac_ext
13366 LIBS
=$ac_check_lib_save_LIBS
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13369 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13370 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13372 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13374 KSTAT_LIBS
="-lkstat"
13380 if test "$ac_cv_header_libprocstat_h" = "yes"
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13383 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13384 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13385 $as_echo_n "(cached) " >&6
13387 ac_check_lib_save_LIBS
=$LIBS
13388 LIBS
="-lprocstat $LIBS"
13389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13390 /* end confdefs.h. */
13392 /* Override any GCC internal prototype to avoid an error.
13393 Use char because int might match the return type of a GCC
13394 builtin and then its argument prototype would still apply. */
13398 char procstat_open_sysctl ();
13402 return procstat_open_sysctl ();
13407 if ac_fn_c_try_link
"$LINENO"; then :
13408 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13410 ac_cv_lib_procstat_procstat_open_sysctl
=no
13412 rm -f core conftest.err conftest.
$ac_objext \
13413 conftest
$ac_exeext conftest.
$ac_ext
13414 LIBS
=$ac_check_lib_save_LIBS
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13417 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13418 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13420 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13422 PROCSTAT_LIBS
="-lprocstat"
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13429 $as_echo_n "checking for -lodbc... " >&6; }
13430 if ${ac_cv_lib_soname_odbc+:} false
; then :
13431 $as_echo_n "(cached) " >&6
13433 ac_check_soname_save_LIBS
=$LIBS
13434 LIBS
="-lodbc $LIBS"
13435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13438 /* Override any GCC internal prototype to avoid an error.
13439 Use char because int might match the return type of a GCC
13440 builtin and then its argument prototype would still apply. */
13444 char SQLConnect ();
13448 return SQLConnect ();
13453 if ac_fn_c_try_link
"$LINENO"; then :
13455 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13456 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'` ;;
13457 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13458 if ${ac_cv_lib_soname_odbc:+false} :; then :
13459 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13463 rm -f core conftest.err conftest.
$ac_objext \
13464 conftest
$ac_exeext conftest.
$ac_ext
13465 LIBS
=$ac_check_soname_save_LIBS
13467 if ${ac_cv_lib_soname_odbc:+false} :; then :
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13469 $as_echo "not found" >&6; }
13470 cat >>confdefs.h
<<_ACEOF
13471 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13476 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13478 cat >>confdefs.h
<<_ACEOF
13479 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13485 if test "x$with_netapi" != "xno"
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13488 $as_echo_n "checking for -lnetapi... " >&6; }
13489 if ${ac_cv_lib_soname_netapi+:} false
; then :
13490 $as_echo_n "(cached) " >&6
13492 ac_check_soname_save_LIBS
=$LIBS
13493 LIBS
="-lnetapi $LIBS"
13494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13495 /* end confdefs.h. */
13497 /* Override any GCC internal prototype to avoid an error.
13498 Use char because int might match the return type of a GCC
13499 builtin and then its argument prototype would still apply. */
13503 char libnetapi_init ();
13507 return libnetapi_init ();
13512 if ac_fn_c_try_link
"$LINENO"; then :
13514 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13515 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'` ;;
13516 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13517 if ${ac_cv_lib_soname_netapi:+false} :; then :
13518 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13522 rm -f core conftest.err conftest.
$ac_objext \
13523 conftest
$ac_exeext conftest.
$ac_ext
13524 LIBS
=$ac_check_soname_save_LIBS
13526 if ${ac_cv_lib_soname_netapi:+false} :; then :
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13528 $as_echo "not found" >&6; }
13529 cat >>confdefs.h
<<_ACEOF
13530 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13535 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13537 cat >>confdefs.h
<<_ACEOF
13538 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13545 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13546 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13547 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13548 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13550 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13551 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13552 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13554 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13560 if test "x${GCC}" = "xyes"
13562 EXTRACFLAGS
="-Wall -pipe"
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13565 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13566 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13567 $as_echo_n "(cached) " >&6
13569 if test "$cross_compiling" = yes; then :
13570 ac_cv_c_gcc_strength_bug
="yes"
13572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13574 int L[4] = {0,1,2,3};
13578 static int Array[3];
13579 unsigned int B = 3;
13581 for(i=0; i<B; i++) Array[i] = i - 3;
13582 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13584 return (Array[1] != -2 || L[2] != 3)
13589 if ac_fn_c_try_run
"$LINENO"; then :
13590 ac_cv_c_gcc_strength_bug
="no"
13592 ac_cv_c_gcc_strength_bug
="yes"
13594 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13595 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13600 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13601 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13603 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13607 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13608 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13609 $as_echo_n "(cached) " >&6
13611 ac_wine_try_cflags_saved
=$CFLAGS
13612 CFLAGS
="$CFLAGS -fno-builtin"
13613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13614 /* end confdefs.h. */
13615 int main(int argc, char **argv) { return 0; }
13617 if ac_fn_c_try_link
"$LINENO"; then :
13618 ac_cv_cflags__fno_builtin
=yes
13620 ac_cv_cflags__fno_builtin
=no
13622 rm -f core conftest.err conftest.
$ac_objext \
13623 conftest
$ac_exeext conftest.
$ac_ext
13624 CFLAGS
=$ac_wine_try_cflags_saved
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13627 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13628 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13629 BUILTINFLAG
="-fno-builtin"
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13633 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13634 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13635 $as_echo_n "(cached) " >&6
13637 ac_wine_try_cflags_saved
=$CFLAGS
13638 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13640 /* end confdefs.h. */
13641 int main(int argc, char **argv) { return 0; }
13643 if ac_fn_c_try_link
"$LINENO"; then :
13644 ac_cv_cflags__fno_strict_aliasing
=yes
13646 ac_cv_cflags__fno_strict_aliasing
=no
13648 rm -f core conftest.err conftest.
$ac_objext \
13649 conftest
$ac_exeext conftest.
$ac_ext
13650 CFLAGS
=$ac_wine_try_cflags_saved
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13653 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13654 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13655 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13657 saved_CFLAGS
=$CFLAGS
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13659 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13660 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13661 $as_echo_n "(cached) " >&6
13663 ac_wine_try_cflags_saved
=$CFLAGS
13664 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13666 /* end confdefs.h. */
13667 int main(int argc, char **argv) { return 0; }
13669 if ac_fn_c_try_link
"$LINENO"; then :
13670 ac_cv_cflags__Werror_unknown_warning_option
=yes
13672 ac_cv_cflags__Werror_unknown_warning_option
=no
13674 rm -f core conftest.err conftest.
$ac_objext \
13675 conftest
$ac_exeext conftest.
$ac_ext
13676 CFLAGS
=$ac_wine_try_cflags_saved
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13679 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13680 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13681 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13684 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13685 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13686 $as_echo_n "(cached) " >&6
13688 ac_wine_try_cflags_saved
=$CFLAGS
13689 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13691 /* end confdefs.h. */
13692 int main(int argc, char **argv) { return 0; }
13694 if ac_fn_c_try_link
"$LINENO"; then :
13695 ac_cv_cflags__Wdeclaration_after_statement
=yes
13697 ac_cv_cflags__Wdeclaration_after_statement
=no
13699 rm -f core conftest.err conftest.
$ac_objext \
13700 conftest
$ac_exeext conftest.
$ac_ext
13701 CFLAGS
=$ac_wine_try_cflags_saved
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13704 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13705 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13706 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13709 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13710 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13711 $as_echo_n "(cached) " >&6
13713 ac_wine_try_cflags_saved
=$CFLAGS
13714 CFLAGS
="$CFLAGS -Wempty-body"
13715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13716 /* end confdefs.h. */
13717 int main(int argc, char **argv) { return 0; }
13719 if ac_fn_c_try_link
"$LINENO"; then :
13720 ac_cv_cflags__Wempty_body
=yes
13722 ac_cv_cflags__Wempty_body
=no
13724 rm -f core conftest.err conftest.
$ac_objext \
13725 conftest
$ac_exeext conftest.
$ac_ext
13726 CFLAGS
=$ac_wine_try_cflags_saved
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13729 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13730 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13731 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13734 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13735 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13736 $as_echo_n "(cached) " >&6
13738 ac_wine_try_cflags_saved
=$CFLAGS
13739 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h. */
13742 int main(int argc, char **argv) { return 0; }
13744 if ac_fn_c_try_link
"$LINENO"; then :
13745 ac_cv_cflags__Wignored_qualifiers
=yes
13747 ac_cv_cflags__Wignored_qualifiers
=no
13749 rm -f core conftest.err conftest.
$ac_objext \
13750 conftest
$ac_exeext conftest.
$ac_ext
13751 CFLAGS
=$ac_wine_try_cflags_saved
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13754 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13755 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13756 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13759 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13760 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13761 $as_echo_n "(cached) " >&6
13763 ac_wine_try_cflags_saved
=$CFLAGS
13764 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13766 /* end confdefs.h. */
13767 int main(int argc, char **argv) { return 0; }
13769 if ac_fn_c_try_link
"$LINENO"; then :
13770 ac_cv_cflags__Wstrict_prototypes
=yes
13772 ac_cv_cflags__Wstrict_prototypes
=no
13774 rm -f core conftest.err conftest.
$ac_objext \
13775 conftest
$ac_exeext conftest.
$ac_ext
13776 CFLAGS
=$ac_wine_try_cflags_saved
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13779 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13780 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13781 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13784 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13785 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13786 $as_echo_n "(cached) " >&6
13788 ac_wine_try_cflags_saved
=$CFLAGS
13789 CFLAGS
="$CFLAGS -Wtype-limits"
13790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13791 /* end confdefs.h. */
13792 int main(int argc, char **argv) { return 0; }
13794 if ac_fn_c_try_link
"$LINENO"; then :
13795 ac_cv_cflags__Wtype_limits
=yes
13797 ac_cv_cflags__Wtype_limits
=no
13799 rm -f core conftest.err conftest.
$ac_objext \
13800 conftest
$ac_exeext conftest.
$ac_ext
13801 CFLAGS
=$ac_wine_try_cflags_saved
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13804 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13805 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13806 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13809 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13810 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13811 $as_echo_n "(cached) " >&6
13813 ac_wine_try_cflags_saved
=$CFLAGS
13814 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13816 /* end confdefs.h. */
13817 int main(int argc, char **argv) { return 0; }
13819 if ac_fn_c_try_link
"$LINENO"; then :
13820 ac_cv_cflags__Wunused_but_set_parameter
=yes
13822 ac_cv_cflags__Wunused_but_set_parameter
=no
13824 rm -f core conftest.err conftest.
$ac_objext \
13825 conftest
$ac_exeext conftest.
$ac_ext
13826 CFLAGS
=$ac_wine_try_cflags_saved
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13829 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13830 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13831 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13834 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13835 if ${ac_cv_cflags__Wvla+:} false
; then :
13836 $as_echo_n "(cached) " >&6
13838 ac_wine_try_cflags_saved
=$CFLAGS
13839 CFLAGS
="$CFLAGS -Wvla"
13840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13842 int main(int argc, char **argv) { return 0; }
13844 if ac_fn_c_try_link
"$LINENO"; then :
13845 ac_cv_cflags__Wvla
=yes
13847 ac_cv_cflags__Wvla
=no
13849 rm -f core conftest.err conftest.
$ac_objext \
13850 conftest
$ac_exeext conftest.
$ac_ext
13851 CFLAGS
=$ac_wine_try_cflags_saved
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13854 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13855 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13856 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13859 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13860 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13861 $as_echo_n "(cached) " >&6
13863 ac_wine_try_cflags_saved
=$CFLAGS
13864 CFLAGS
="$CFLAGS -Wwrite-strings"
13865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13866 /* end confdefs.h. */
13867 int main(int argc, char **argv) { return 0; }
13869 if ac_fn_c_try_link
"$LINENO"; then :
13870 ac_cv_cflags__Wwrite_strings
=yes
13872 ac_cv_cflags__Wwrite_strings
=no
13874 rm -f core conftest.err conftest.
$ac_objext \
13875 conftest
$ac_exeext conftest.
$ac_ext
13876 CFLAGS
=$ac_wine_try_cflags_saved
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13879 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13880 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13881 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13885 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13886 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13887 $as_echo_n "(cached) " >&6
13889 ac_wine_try_cflags_saved
=$CFLAGS
13890 CFLAGS
="$CFLAGS -Wpointer-arith"
13891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13893 int main(int argc, char **argv) { return 0; }
13895 if ac_fn_c_try_link
"$LINENO"; then :
13896 ac_cv_cflags__Wpointer_arith
=yes
13898 ac_cv_cflags__Wpointer_arith
=no
13900 rm -f core conftest.err conftest.
$ac_objext \
13901 conftest
$ac_exeext conftest.
$ac_ext
13902 CFLAGS
=$ac_wine_try_cflags_saved
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13905 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13906 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13907 saved_string_h_CFLAGS
=$CFLAGS
13908 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13910 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13911 if ${ac_cv_c_string_h_warnings+:} false
; then :
13912 $as_echo_n "(cached) " >&6
13914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13916 #include <string.h>
13925 if ac_fn_c_try_compile
"$LINENO"; then :
13926 ac_cv_c_string_h_warnings
=no
13928 ac_cv_c_string_h_warnings
=yes
13930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13933 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13934 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13935 CFLAGS
=$saved_string_h_CFLAGS
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13939 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13940 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13941 $as_echo_n "(cached) " >&6
13943 ac_wine_try_cflags_saved
=$CFLAGS
13944 CFLAGS
="$CFLAGS -Wlogical-op"
13945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13947 int main(int argc, char **argv) { return 0; }
13949 if ac_fn_c_try_link
"$LINENO"; then :
13950 ac_cv_cflags__Wlogical_op
=yes
13952 ac_cv_cflags__Wlogical_op
=no
13954 rm -f core conftest.err conftest.
$ac_objext \
13955 conftest
$ac_exeext conftest.
$ac_ext
13956 CFLAGS
=$ac_wine_try_cflags_saved
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13959 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13960 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13961 saved_string_h_CFLAGS
=$CFLAGS
13962 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13964 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13965 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13966 $as_echo_n "(cached) " >&6
13968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13969 /* end confdefs.h. */
13970 #include <string.h>
13971 char*f(const char *h,char n) {return strchr(h,n);}
13980 if ac_fn_c_try_compile
"$LINENO"; then :
13981 ac_cv_c_logicalop_noisy
=no
13983 ac_cv_c_logicalop_noisy
=yes
13985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13988 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13989 CFLAGS
=$saved_string_h_CFLAGS
13990 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13993 CFLAGS
=$saved_CFLAGS
13995 for ac_flag
in $CFLAGS; do
13997 -g) case $host_os in
13998 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13999 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14000 if ${ac_cv_cflags__gstabsp+:} false
; then :
14001 $as_echo_n "(cached) " >&6
14003 ac_wine_try_cflags_saved
=$CFLAGS
14004 CFLAGS
="$CFLAGS -gstabs+"
14005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14007 int main(int argc, char **argv) { return 0; }
14009 if ac_fn_c_try_link
"$LINENO"; then :
14010 ac_cv_cflags__gstabsp
=yes
14012 ac_cv_cflags__gstabsp
=no
14014 rm -f core conftest.err conftest.
$ac_objext \
14015 conftest
$ac_exeext conftest.
$ac_ext
14016 CFLAGS
=$ac_wine_try_cflags_saved
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14019 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14020 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14021 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14023 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14024 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14025 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14026 $as_echo_n "(cached) " >&6
14028 ac_wine_try_cflags_saved
=$CFLAGS
14029 CFLAGS
="$CFLAGS -gdwarf-2"
14030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14031 /* end confdefs.h. */
14032 int main(int argc, char **argv) { return 0; }
14034 if ac_fn_c_try_link
"$LINENO"; then :
14035 ac_cv_cflags__gdwarf_2
=yes
14037 ac_cv_cflags__gdwarf_2
=no
14039 rm -f core conftest.err conftest.
$ac_objext \
14040 conftest
$ac_exeext conftest.
$ac_ext
14041 CFLAGS
=$ac_wine_try_cflags_saved
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14044 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14045 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14046 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14049 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14050 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14051 $as_echo_n "(cached) " >&6
14053 ac_wine_try_cflags_saved
=$CFLAGS
14054 CFLAGS
="$CFLAGS -gstrict-dwarf"
14055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14057 int main(int argc, char **argv) { return 0; }
14059 if ac_fn_c_try_link
"$LINENO"; then :
14060 ac_cv_cflags__gstrict_dwarf
=yes
14062 ac_cv_cflags__gstrict_dwarf
=no
14064 rm -f core conftest.err conftest.
$ac_objext \
14065 conftest
$ac_exeext conftest.
$ac_ext
14066 CFLAGS
=$ac_wine_try_cflags_saved
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14069 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14070 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14071 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14078 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14079 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14080 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14081 $as_echo_n "(cached) " >&6
14083 ac_wine_try_cflags_saved
=$CFLAGS
14084 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14086 /* end confdefs.h. */
14087 int main(int argc, char **argv) { return 0; }
14089 if ac_fn_c_try_link
"$LINENO"; then :
14090 ac_cv_cflags__fno_omit_frame_pointer
=yes
14092 ac_cv_cflags__fno_omit_frame_pointer
=no
14094 rm -f core conftest.err conftest.
$ac_objext \
14095 conftest
$ac_exeext conftest.
$ac_ext
14096 CFLAGS
=$ac_wine_try_cflags_saved
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14099 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14100 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14101 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14106 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14107 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14108 if ${ac_cv_cflags__Wno_format+:} false
; then :
14109 $as_echo_n "(cached) " >&6
14111 ac_wine_try_cflags_saved
=$CFLAGS
14112 CFLAGS
="$CFLAGS -Wno-format"
14113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14114 /* end confdefs.h. */
14115 int main(int argc, char **argv) { return 0; }
14117 if ac_fn_c_try_link
"$LINENO"; then :
14118 ac_cv_cflags__Wno_format
=yes
14120 ac_cv_cflags__Wno_format
=no
14122 rm -f core conftest.err conftest.
$ac_objext \
14123 conftest
$ac_exeext conftest.
$ac_ext
14124 CFLAGS
=$ac_wine_try_cflags_saved
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14127 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14128 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14129 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14133 if test "x$enable_maintainer_mode" = "xyes"
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14136 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14137 if ${ac_cv_cflags__Werror+:} false
; then :
14138 $as_echo_n "(cached) " >&6
14140 ac_wine_try_cflags_saved
=$CFLAGS
14141 CFLAGS
="$CFLAGS -Werror"
14142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h. */
14144 int main(int argc, char **argv) { return 0; }
14146 if ac_fn_c_try_link
"$LINENO"; then :
14147 ac_cv_cflags__Werror
=yes
14149 ac_cv_cflags__Werror
=no
14151 rm -f core conftest.err conftest.
$ac_objext \
14152 conftest
$ac_exeext conftest.
$ac_ext
14153 CFLAGS
=$ac_wine_try_cflags_saved
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14156 $as_echo "$ac_cv_cflags__Werror" >&6; }
14157 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14158 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14162 saved_CFLAGS
="$CFLAGS"
14163 CFLAGS
="$CFLAGS -Werror"
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14165 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14166 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14167 $as_echo_n "(cached) " >&6
14169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14171 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14180 if ac_fn_c_try_compile
"$LINENO"; then :
14181 ac_cv_have_ms_hook_prologue
="yes"
14183 ac_cv_have_ms_hook_prologue
="no"
14185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14188 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14189 CFLAGS
="$saved_CFLAGS"
14190 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14193 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14196 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14203 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14204 if ${ac_cv_c_fortify_enabled+:} false
; then :
14205 $as_echo_n "(cached) " >&6
14207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14209 #include <string.h>
14213 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14214 #error Fortify enabled
14220 if ac_fn_c_try_compile
"$LINENO"; then :
14221 ac_cv_c_fortify_enabled
=no
14223 ac_cv_c_fortify_enabled
=yes
14225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14228 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14229 if test "$ac_cv_c_fortify_enabled" = yes
14231 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14236 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14237 if ${ac_cv_c_extern_prefix+:} false
; then :
14238 $as_echo_n "(cached) " >&6
14240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14242 extern int ac_test;
14246 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14251 if ac_fn_c_try_link
"$LINENO"; then :
14252 ac_cv_c_extern_prefix
="yes"
14254 ac_cv_c_extern_prefix
="no"
14256 rm -f core conftest.err conftest.
$ac_objext \
14257 conftest
$ac_exeext conftest.
$ac_ext
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14260 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14265 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14266 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14267 $as_echo_n "(cached) " >&6
14269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14272 #define __stdcall __attribute__((__stdcall__))
14274 int __stdcall ac_test(int i) { return i; }
14278 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14283 if ac_fn_c_try_link
"$LINENO"; then :
14284 ac_cv_c_stdcall_suffix
="yes"
14286 ac_cv_c_stdcall_suffix
="no"
14288 rm -f core conftest.err conftest.
$ac_objext \
14289 conftest
$ac_exeext conftest.
$ac_ext
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14292 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14293 *) ac_cv_c_stdcall_suffix
="no" ;;
14297 if test "$ac_cv_c_extern_prefix" = "yes"
14299 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14301 asm_name_prefix
="_"
14303 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14309 if test "$ac_cv_c_stdcall_suffix" = "yes"
14311 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14314 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14320 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14321 if ${ac_cv_asm_func_def+:} false
; then :
14322 $as_echo_n "(cached) " >&6
14324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14325 /* end confdefs.h. */
14330 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14335 if ac_fn_c_try_link
"$LINENO"; then :
14336 ac_cv_asm_func_def
=".def"
14338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14344 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14349 if ac_fn_c_try_link
"$LINENO"; then :
14350 ac_cv_asm_func_def
=".type @function"
14352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14353 /* end confdefs.h. */
14358 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14363 if ac_fn_c_try_link
"$LINENO"; then :
14364 ac_cv_asm_func_def
=".type 2"
14366 ac_cv_asm_func_def
="unknown"
14368 rm -f core conftest.err conftest.
$ac_objext \
14369 conftest
$ac_exeext conftest.
$ac_ext
14371 rm -f core conftest.err conftest.
$ac_objext \
14372 conftest
$ac_exeext conftest.
$ac_ext
14374 rm -f core conftest.err conftest.
$ac_objext \
14375 conftest
$ac_exeext conftest.
$ac_ext
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14378 $as_echo "$ac_cv_asm_func_def" >&6; }
14381 case "$ac_cv_asm_func_def" in
14383 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14385 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14387 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14389 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14391 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14393 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14395 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14397 asm_func_header
="" ;;
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14401 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14402 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14403 $as_echo_n "(cached) " >&6
14405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14406 /* end confdefs.h. */
14407 asm(".text\n\t.long 0");
14416 if ac_fn_c_try_compile
"$LINENO"; then :
14417 ac_cv_c_asm_outside_funcs
="yes"
14419 ac_cv_c_asm_outside_funcs
="no"
14421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14424 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14427 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14428 if ${ac_cv_c_dot_previous+:} false
; then :
14429 $as_echo_n "(cached) " >&6
14431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14432 /* end confdefs.h. */
14437 asm(".text\nac_test:\t.long 0\n\t.previous");
14442 if ac_fn_c_try_link
"$LINENO"; then :
14443 ac_cv_c_dot_previous
="yes"
14445 ac_cv_c_dot_previous
="no"
14447 rm -f core conftest.err conftest.
$ac_objext \
14448 conftest
$ac_exeext conftest.
$ac_ext
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14451 $as_echo "$ac_cv_c_dot_previous" >&6; }
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14454 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14455 if ${ac_cv_c_cfi_support+:} false
; then :
14456 $as_echo_n "(cached) " >&6
14458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14459 /* end confdefs.h. */
14460 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14469 if ac_fn_c_try_compile
"$LINENO"; then :
14470 ac_cv_c_cfi_support
="yes"
14472 ac_cv_c_cfi_support
="no"
14474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14477 $as_echo "$ac_cv_c_cfi_support" >&6; }
14479 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14480 asm_func_trailer
=""
14481 if test "$ac_cv_c_dot_previous" = "yes"
14483 asm_func_trailer
="\\n\\t.previous"
14485 if test "$ac_cv_c_cfi_support" = "yes"
14487 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14488 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14490 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14492 UNWINDFLAGS
=-fasynchronous-unwind-tables
14495 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14499 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14502 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14504 cat >>confdefs.h
<<_ACEOF
14505 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14509 cat >>confdefs.h
<<_ACEOF
14510 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14515 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14518 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14523 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14530 *i
[3456789]86*|x86_64
*)
14531 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14532 loader_programs
="$loader_programs $wine_binary-preloader"
14533 as_fn_append LOADER_RULES
"
14534 $wine_binary-preloader: preloader.o
14535 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14537 install install-lib:: $wine_binary-preloader
14538 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14541 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14543 preloader_EXTRADEFS = $BUILTINFLAG
14548 as_fn_append LOADER_RULES
"
14549 PROGRAMS = $loader_programs
14553 ac_save_CFLAGS
="$CFLAGS"
14554 CFLAGS
="$CFLAGS $BUILTINFLAG"
14631 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14632 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14633 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14634 cat >>confdefs.h
<<_ACEOF
14635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14641 CFLAGS
="$ac_save_CFLAGS"
14643 if test "$ac_cv_func_dlopen" = no
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14646 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14647 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14648 $as_echo_n "(cached) " >&6
14650 ac_check_lib_save_LIBS
=$LIBS
14652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14653 /* end confdefs.h. */
14655 /* Override any GCC internal prototype to avoid an error.
14656 Use char because int might match the return type of a GCC
14657 builtin and then its argument prototype would still apply. */
14670 if ac_fn_c_try_link
"$LINENO"; then :
14671 ac_cv_lib_dl_dlopen
=yes
14673 ac_cv_lib_dl_dlopen
=no
14675 rm -f core conftest.err conftest.
$ac_objext \
14676 conftest
$ac_exeext conftest.
$ac_ext
14677 LIBS
=$ac_check_lib_save_LIBS
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14680 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14681 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14682 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14688 ac_wine_check_funcs_save_LIBS
="$LIBS"
14689 LIBS
="$LIBS $DL_LIBS"
14690 for ac_func
in dladdr
14692 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14693 if test "x$ac_cv_func_dladdr" = xyes
; then :
14694 cat >>confdefs.h
<<_ACEOF
14695 #define HAVE_DLADDR 1
14701 LIBS
="$ac_wine_check_funcs_save_LIBS"
14703 if test "$ac_cv_func_poll" = no
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14706 $as_echo_n "checking for poll in -lpoll... " >&6; }
14707 if ${ac_cv_lib_poll_poll+:} false
; then :
14708 $as_echo_n "(cached) " >&6
14710 ac_check_lib_save_LIBS
=$LIBS
14711 LIBS
="-lpoll $LIBS"
14712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14713 /* end confdefs.h. */
14715 /* Override any GCC internal prototype to avoid an error.
14716 Use char because int might match the return type of a GCC
14717 builtin and then its argument prototype would still apply. */
14730 if ac_fn_c_try_link
"$LINENO"; then :
14731 ac_cv_lib_poll_poll
=yes
14733 ac_cv_lib_poll_poll
=no
14735 rm -f core conftest.err conftest.
$ac_objext \
14736 conftest
$ac_exeext conftest.
$ac_ext
14737 LIBS
=$ac_check_lib_save_LIBS
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14740 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14741 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14742 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14750 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14751 if ${ac_cv_search_gethostbyname+:} false
; then :
14752 $as_echo_n "(cached) " >&6
14754 ac_func_search_save_LIBS
=$LIBS
14755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14756 /* end confdefs.h. */
14758 /* Override any GCC internal prototype to avoid an error.
14759 Use char because int might match the return type of a GCC
14760 builtin and then its argument prototype would still apply. */
14764 char gethostbyname ();
14768 return gethostbyname ();
14773 for ac_lib
in '' nsl
; do
14774 if test -z "$ac_lib"; then
14775 ac_res
="none required"
14778 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14780 if ac_fn_c_try_link
"$LINENO"; then :
14781 ac_cv_search_gethostbyname
=$ac_res
14783 rm -f core conftest.err conftest.
$ac_objext \
14785 if ${ac_cv_search_gethostbyname+:} false
; then :
14789 if ${ac_cv_search_gethostbyname+:} false
; then :
14792 ac_cv_search_gethostbyname
=no
14794 rm conftest.
$ac_ext
14795 LIBS
=$ac_func_search_save_LIBS
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14798 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14799 ac_res
=$ac_cv_search_gethostbyname
14800 if test "$ac_res" != no
; then :
14801 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14807 $as_echo_n "checking for library containing connect... " >&6; }
14808 if ${ac_cv_search_connect+:} false
; then :
14809 $as_echo_n "(cached) " >&6
14811 ac_func_search_save_LIBS
=$LIBS
14812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14813 /* end confdefs.h. */
14815 /* Override any GCC internal prototype to avoid an error.
14816 Use char because int might match the return type of a GCC
14817 builtin and then its argument prototype would still apply. */
14830 for ac_lib
in '' socket
; do
14831 if test -z "$ac_lib"; then
14832 ac_res
="none required"
14835 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14837 if ac_fn_c_try_link
"$LINENO"; then :
14838 ac_cv_search_connect
=$ac_res
14840 rm -f core conftest.err conftest.
$ac_objext \
14842 if ${ac_cv_search_connect+:} false
; then :
14846 if ${ac_cv_search_connect+:} false
; then :
14849 ac_cv_search_connect
=no
14851 rm conftest.
$ac_ext
14852 LIBS
=$ac_func_search_save_LIBS
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14855 $as_echo "$ac_cv_search_connect" >&6; }
14856 ac_res
=$ac_cv_search_connect
14857 if test "$ac_res" != no
; then :
14858 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14864 $as_echo_n "checking for library containing inet_aton... " >&6; }
14865 if ${ac_cv_search_inet_aton+:} false
; then :
14866 $as_echo_n "(cached) " >&6
14868 ac_func_search_save_LIBS
=$LIBS
14869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h. */
14872 /* Override any GCC internal prototype to avoid an error.
14873 Use char because int might match the return type of a GCC
14874 builtin and then its argument prototype would still apply. */
14882 return inet_aton ();
14887 for ac_lib
in '' resolv
; do
14888 if test -z "$ac_lib"; then
14889 ac_res
="none required"
14892 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14894 if ac_fn_c_try_link
"$LINENO"; then :
14895 ac_cv_search_inet_aton
=$ac_res
14897 rm -f core conftest.err conftest.
$ac_objext \
14899 if ${ac_cv_search_inet_aton+:} false
; then :
14903 if ${ac_cv_search_inet_aton+:} false
; then :
14906 ac_cv_search_inet_aton
=no
14908 rm conftest.
$ac_ext
14909 LIBS
=$ac_func_search_save_LIBS
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14912 $as_echo "$ac_cv_search_inet_aton" >&6; }
14913 ac_res
=$ac_cv_search_inet_aton
14914 if test "$ac_res" != no
; then :
14915 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14935 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14936 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14937 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14938 cat >>confdefs.h
<<_ACEOF
14939 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14948 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14949 if ${ac_cv_search_clock_gettime+:} false
; then :
14950 $as_echo_n "(cached) " >&6
14952 ac_func_search_save_LIBS
=$LIBS
14953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14956 /* Override any GCC internal prototype to avoid an error.
14957 Use char because int might match the return type of a GCC
14958 builtin and then its argument prototype would still apply. */
14962 char clock_gettime ();
14966 return clock_gettime ();
14971 for ac_lib
in '' rt
; do
14972 if test -z "$ac_lib"; then
14973 ac_res
="none required"
14976 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14978 if ac_fn_c_try_link
"$LINENO"; then :
14979 ac_cv_search_clock_gettime
=$ac_res
14981 rm -f core conftest.err conftest.
$ac_objext \
14983 if ${ac_cv_search_clock_gettime+:} false
; then :
14987 if ${ac_cv_search_clock_gettime+:} false
; then :
14990 ac_cv_search_clock_gettime
=no
14992 rm conftest.
$ac_ext
14993 LIBS
=$ac_func_search_save_LIBS
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14996 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14997 ac_res
=$ac_cv_search_clock_gettime
14998 if test "$ac_res" != no
; then :
14999 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15001 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15003 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15011 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15013 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15015 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15017 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15018 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15019 $as_echo_n "(cached) " >&6
15021 ac_check_lib_save_LIBS
=$LIBS
15022 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15024 /* end confdefs.h. */
15026 /* Override any GCC internal prototype to avoid an error.
15027 Use char because int might match the return type of a GCC
15028 builtin and then its argument prototype would still apply. */
15032 char ldap_initialize ();
15036 return ldap_initialize ();
15041 if ac_fn_c_try_link
"$LINENO"; then :
15042 ac_cv_lib_ldap_r_ldap_initialize
=yes
15044 ac_cv_lib_ldap_r_ldap_initialize
=no
15046 rm -f core conftest.err conftest.
$ac_objext \
15047 conftest
$ac_exeext conftest.
$ac_ext
15048 LIBS
=$ac_check_lib_save_LIBS
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15051 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15052 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15054 $as_echo_n "checking for ber_init in -llber... " >&6; }
15055 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15056 $as_echo_n "(cached) " >&6
15058 ac_check_lib_save_LIBS
=$LIBS
15059 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15063 /* Override any GCC internal prototype to avoid an error.
15064 Use char because int might match the return type of a GCC
15065 builtin and then its argument prototype would still apply. */
15073 return ber_init ();
15078 if ac_fn_c_try_link
"$LINENO"; then :
15079 ac_cv_lib_lber_ber_init
=yes
15081 ac_cv_lib_lber_ber_init
=no
15083 rm -f core conftest.err conftest.
$ac_objext \
15084 conftest
$ac_exeext conftest.
$ac_ext
15085 LIBS
=$ac_check_lib_save_LIBS
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15088 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15089 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15091 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15093 LDAP_LIBS
="-lldap_r -llber"
15100 ac_wine_check_funcs_save_LIBS
="$LIBS"
15101 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15103 ldap_count_references \
15104 ldap_first_reference \
15105 ldap_next_reference \
15106 ldap_parse_reference \
15107 ldap_parse_sort_control \
15108 ldap_parse_sortresponse_control \
15109 ldap_parse_vlv_control \
15110 ldap_parse_vlvresponse_control
15112 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15113 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15114 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15115 cat >>confdefs.h
<<_ACEOF
15116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15122 LIBS
="$ac_wine_check_funcs_save_LIBS"
15124 if test "x$LDAP_LIBS" = "x"; then :
15125 case "x$with_ldap" in
15126 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15128 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15129 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15134 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15135 if ${wine_cv_one_arg_mkdir+:} false
; then :
15136 $as_echo_n "(cached) " >&6
15138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15140 #include <sys/stat.h>
15149 if ac_fn_c_try_compile
"$LINENO"; then :
15150 wine_cv_one_arg_mkdir
=yes
15152 wine_cv_one_arg_mkdir
=no
15154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15157 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15158 if test "$wine_cv_one_arg_mkdir" = "yes"
15161 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15166 $as_echo_n "checking for sched_setaffinity... " >&6; }
15167 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15168 $as_echo_n "(cached) " >&6
15170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15171 /* end confdefs.h. */
15172 #define _GNU_SOURCE
15177 sched_setaffinity(0, 0, 0);
15182 if ac_fn_c_try_link
"$LINENO"; then :
15183 wine_cv_have_sched_setaffinity
=yes
15185 wine_cv_have_sched_setaffinity
=no
15187 rm -f core conftest.err conftest.
$ac_objext \
15188 conftest
$ac_exeext conftest.
$ac_ext
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15191 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15192 if test "$wine_cv_have_sched_setaffinity" = "yes"
15195 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15200 $as_echo_n "checking for fallocate... " >&6; }
15201 if ${wine_cv_have_fallocate+:} false
; then :
15202 $as_echo_n "(cached) " >&6
15204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15205 /* end confdefs.h. */
15206 #define _GNU_SOURCE
15211 fallocate(-1, 0, 0, 0);
15216 if ac_fn_c_try_link
"$LINENO"; then :
15217 wine_cv_have_fallocate
=yes
15219 wine_cv_have_fallocate
=no
15221 rm -f core conftest.err conftest.
$ac_objext \
15222 conftest
$ac_exeext conftest.
$ac_ext
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15225 $as_echo "$wine_cv_have_fallocate" >&6; }
15226 if test "$wine_cv_have_fallocate" = "yes"
15229 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15235 $as_echo_n "checking for inline... " >&6; }
15236 if ${ac_cv_c_inline+:} false
; then :
15237 $as_echo_n "(cached) " >&6
15240 for ac_kw
in inline __inline__ __inline
; do
15241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15242 /* end confdefs.h. */
15243 #ifndef __cplusplus
15245 static $ac_kw foo_t static_foo () {return 0; }
15246 $ac_kw foo_t foo () {return 0; }
15250 if ac_fn_c_try_compile
"$LINENO"; then :
15251 ac_cv_c_inline
=$ac_kw
15253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15254 test "$ac_cv_c_inline" != no
&& break
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15259 $as_echo "$ac_cv_c_inline" >&6; }
15261 case $ac_cv_c_inline in
15264 case $ac_cv_c_inline in
15266 *) ac_val
=$ac_cv_c_inline;;
15268 cat >>confdefs.h
<<_ACEOF
15269 #ifndef __cplusplus
15270 #define inline $ac_val
15276 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15277 if test "x$ac_cv_type_mode_t" = xyes
; then :
15279 cat >>confdefs.h
<<_ACEOF
15280 #define HAVE_MODE_T 1
15285 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15286 if test "x$ac_cv_type_off_t" = xyes
; then :
15288 cat >>confdefs.h
<<_ACEOF
15289 #define HAVE_OFF_T 1
15294 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15295 if test "x$ac_cv_type_pid_t" = xyes
; then :
15297 cat >>confdefs.h
<<_ACEOF
15298 #define HAVE_PID_T 1
15303 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15304 if test "x$ac_cv_type_size_t" = xyes
; then :
15306 cat >>confdefs.h
<<_ACEOF
15307 #define HAVE_SIZE_T 1
15312 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15313 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15315 cat >>confdefs.h
<<_ACEOF
15316 #define HAVE_SSIZE_T 1
15321 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15322 if test "x$ac_cv_type_long_long" = xyes
; then :
15324 cat >>confdefs.h
<<_ACEOF
15325 #define HAVE_LONG_LONG 1
15330 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15331 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15333 cat >>confdefs.h
<<_ACEOF
15334 #define HAVE_FSBLKCNT_T 1
15339 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15340 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15342 cat >>confdefs.h
<<_ACEOF
15343 #define HAVE_FSFILCNT_T 1
15349 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15350 #include <signal.h>
15352 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15354 cat >>confdefs.h
<<_ACEOF
15355 #define HAVE_SIGSET_T 1
15361 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15363 if test "x$ac_cv_type_request_sense" = xyes
; then :
15365 cat >>confdefs.h
<<_ACEOF
15366 #define HAVE_REQUEST_SENSE 1
15373 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15374 #ifdef HAVE_SYS_SOCKET_H
15375 #include <sys/socket.h>
15377 #ifdef HAVE_SYS_SOCKETVAR_H
15378 #include <sys/socketvar.h>
15380 #ifdef HAVE_NET_ROUTE_H
15381 #include <net/route.h>
15383 #ifdef HAVE_NETINET_IN_H
15384 #include <netinet/in.h>
15386 #ifdef HAVE_NETINET_IN_SYSTM_H
15387 #include <netinet/in_systm.h>
15389 #ifdef HAVE_NETINET_IP_H
15390 #include <netinet/ip.h>
15392 #ifdef HAVE_NETINET_IN_PCB_H
15393 #include <netinet/in_pcb.h>
15396 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15398 cat >>confdefs.h
<<_ACEOF
15399 #define HAVE_STRUCT_XINPGEN 1
15406 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15409 #ifdef HAVE_SYS_LINK_H
15410 #include <sys/link.h>
15413 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15415 cat >>confdefs.h
<<_ACEOF
15416 #define HAVE_STRUCT_R_DEBUG 1
15421 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15424 #ifdef HAVE_SYS_LINK_H
15425 #include <sys/link.h>
15428 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15430 cat >>confdefs.h
<<_ACEOF
15431 #define HAVE_STRUCT_LINK_MAP 1
15438 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15439 #include <linux/input.h>
15442 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15444 cat >>confdefs.h
<<_ACEOF
15445 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15453 $as_echo_n "checking for sigaddset... " >&6; }
15454 if ${wine_cv_have_sigaddset+:} false
; then :
15455 $as_echo_n "(cached) " >&6
15457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15458 /* end confdefs.h. */
15459 #include <signal.h>
15463 sigset_t set; sigaddset(&set,SIGTERM);
15468 if ac_fn_c_try_link
"$LINENO"; then :
15469 wine_cv_have_sigaddset
=yes
15471 wine_cv_have_sigaddset
=no
15473 rm -f core conftest.err conftest.
$ac_objext \
15474 conftest
$ac_exeext conftest.
$ac_ext
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15477 $as_echo "$wine_cv_have_sigaddset" >&6; }
15478 if test "$wine_cv_have_sigaddset" = "yes"
15481 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15487 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15488 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15489 $as_echo_n "(cached) " >&6
15491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15492 /* end confdefs.h. */
15500 struct hostent *result;
15507 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15508 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15514 if ac_fn_c_try_link
"$LINENO"; then :
15515 wine_cv_linux_gethostbyname_r_6
=yes
15517 wine_cv_linux_gethostbyname_r_6
=no
15520 rm -f core conftest.err conftest.
$ac_objext \
15521 conftest
$ac_exeext conftest.
$ac_ext
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15525 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15526 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15529 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15533 if test "$ac_cv_header_linux_joystick_h" = "yes"
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15536 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15537 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15538 $as_echo_n "(cached) " >&6
15540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15541 /* end confdefs.h. */
15543 #include <sys/ioctl.h>
15544 #include <sys/types.h>
15545 #include <linux/joystick.h>
15547 struct js_event blub;
15548 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15549 #error "no 2.2 header"
15560 if ac_fn_c_try_compile
"$LINENO"; then :
15561 wine_cv_linux_joystick_22_api
=yes
15563 wine_cv_linux_joystick_22_api
=no
15565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15569 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15570 if test "$wine_cv_linux_joystick_22_api" = "yes"
15573 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15579 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15580 #ifdef HAVE_SYS_PARAM_H
15581 # include <sys/param.h>
15583 #ifdef HAVE_SYS_MOUNT_H
15584 # include <sys/mount.h>
15586 #ifdef HAVE_SYS_VFS_H
15587 # include <sys/vfs.h>
15589 #ifdef HAVE_SYS_STATFS_H
15590 # include <sys/statfs.h>
15593 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15595 cat >>confdefs.h
<<_ACEOF
15596 #define HAVE_STRUCT_STATFS_F_BFREE 1
15601 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15602 #ifdef HAVE_SYS_PARAM_H
15603 # include <sys/param.h>
15605 #ifdef HAVE_SYS_MOUNT_H
15606 # include <sys/mount.h>
15608 #ifdef HAVE_SYS_VFS_H
15609 # include <sys/vfs.h>
15611 #ifdef HAVE_SYS_STATFS_H
15612 # include <sys/statfs.h>
15615 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15617 cat >>confdefs.h
<<_ACEOF
15618 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15623 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15624 #ifdef HAVE_SYS_PARAM_H
15625 # include <sys/param.h>
15627 #ifdef HAVE_SYS_MOUNT_H
15628 # include <sys/mount.h>
15630 #ifdef HAVE_SYS_VFS_H
15631 # include <sys/vfs.h>
15633 #ifdef HAVE_SYS_STATFS_H
15634 # include <sys/statfs.h>
15637 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15639 cat >>confdefs.h
<<_ACEOF
15640 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15645 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15646 #ifdef HAVE_SYS_PARAM_H
15647 # include <sys/param.h>
15649 #ifdef HAVE_SYS_MOUNT_H
15650 # include <sys/mount.h>
15652 #ifdef HAVE_SYS_VFS_H
15653 # include <sys/vfs.h>
15655 #ifdef HAVE_SYS_STATFS_H
15656 # include <sys/statfs.h>
15659 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15661 cat >>confdefs.h
<<_ACEOF
15662 #define HAVE_STRUCT_STATFS_F_FFREE 1
15667 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15668 #ifdef HAVE_SYS_PARAM_H
15669 # include <sys/param.h>
15671 #ifdef HAVE_SYS_MOUNT_H
15672 # include <sys/mount.h>
15674 #ifdef HAVE_SYS_VFS_H
15675 # include <sys/vfs.h>
15677 #ifdef HAVE_SYS_STATFS_H
15678 # include <sys/statfs.h>
15681 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15683 cat >>confdefs.h
<<_ACEOF
15684 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15689 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15690 #ifdef HAVE_SYS_PARAM_H
15691 # include <sys/param.h>
15693 #ifdef HAVE_SYS_MOUNT_H
15694 # include <sys/mount.h>
15696 #ifdef HAVE_SYS_VFS_H
15697 # include <sys/vfs.h>
15699 #ifdef HAVE_SYS_STATFS_H
15700 # include <sys/statfs.h>
15703 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15705 cat >>confdefs.h
<<_ACEOF
15706 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15713 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15714 #include <sys/statvfs.h>
15717 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15719 cat >>confdefs.h
<<_ACEOF
15720 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15727 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15728 #include <dirent.h>
15731 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15733 cat >>confdefs.h
<<_ACEOF
15734 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15741 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15742 #ifdef HAVE_SYS_SOCKET_H
15743 # include <sys/socket.h>
15745 #ifdef HAVE_SYS_UN_H
15746 # include <sys/un.h>
15749 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15751 cat >>confdefs.h
<<_ACEOF
15752 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15757 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15758 #ifdef HAVE_SYS_SOCKET_H
15759 # include <sys/socket.h>
15761 #ifdef HAVE_SYS_UN_H
15762 # include <sys/un.h>
15765 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15767 cat >>confdefs.h
<<_ACEOF
15768 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15773 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15774 #ifdef HAVE_SYS_SOCKET_H
15775 # include <sys/socket.h>
15777 #ifdef HAVE_SYS_UN_H
15778 # include <sys/un.h>
15781 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15783 cat >>confdefs.h
<<_ACEOF
15784 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15791 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15792 #ifdef HAVE_SCSI_SG_H
15793 #include <scsi/sg.h>
15796 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15798 cat >>confdefs.h
<<_ACEOF
15799 #define HAVE_SCSIREQ_T_CMD 1
15804 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>
15805 #ifdef HAVE_SCSI_SG_H
15806 #include <scsi/sg.h>
15809 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15811 cat >>confdefs.h
<<_ACEOF
15812 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15819 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15821 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15823 cat >>confdefs.h
<<_ACEOF
15824 #define HAVE_SIGINFO_T_SI_FD 1
15831 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15832 #ifdef HAVE_SYS_MTIO_H
15833 #include <sys/mtio.h>
15836 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15838 cat >>confdefs.h
<<_ACEOF
15839 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15844 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15845 #ifdef HAVE_SYS_MTIO_H
15846 #include <sys/mtio.h>
15849 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15851 cat >>confdefs.h
<<_ACEOF
15852 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15857 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15858 #ifdef HAVE_SYS_MTIO_H
15859 #include <sys/mtio.h>
15862 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15864 cat >>confdefs.h
<<_ACEOF
15865 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15872 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15873 #include <getopt.h>
15876 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15878 cat >>confdefs.h
<<_ACEOF
15879 #define HAVE_STRUCT_OPTION_NAME 1
15886 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15887 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15889 cat >>confdefs.h
<<_ACEOF
15890 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15895 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15896 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15898 cat >>confdefs.h
<<_ACEOF
15899 #define HAVE_STRUCT_STAT_ST_MTIM 1
15904 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15905 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15907 cat >>confdefs.h
<<_ACEOF
15908 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15913 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15914 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15916 cat >>confdefs.h
<<_ACEOF
15917 #define HAVE_STRUCT_STAT_ST_CTIM 1
15922 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15923 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15925 cat >>confdefs.h
<<_ACEOF
15926 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15931 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15932 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15934 cat >>confdefs.h
<<_ACEOF
15935 #define HAVE_STRUCT_STAT_ST_ATIM 1
15940 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15941 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15943 cat >>confdefs.h
<<_ACEOF
15944 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15949 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15950 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15952 cat >>confdefs.h
<<_ACEOF
15953 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15958 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15959 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15961 cat >>confdefs.h
<<_ACEOF
15962 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15967 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15968 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15970 cat >>confdefs.h
<<_ACEOF
15971 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15976 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15977 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15979 cat >>confdefs.h
<<_ACEOF
15980 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15985 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15986 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15988 cat >>confdefs.h
<<_ACEOF
15989 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15996 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
15997 #include <sys/types.h>
15999 #ifdef HAVE_NETINET_IN_H
16000 #include <netinet/in.h>
16003 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16005 cat >>confdefs.h
<<_ACEOF
16006 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16013 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16014 #include <resolv.h>
16017 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16019 cat >>confdefs.h
<<_ACEOF
16020 #define HAVE_STRUCT___RES_STATE 1
16027 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
16028 #include <resolv.h>
16031 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16033 cat >>confdefs.h
<<_ACEOF
16034 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16041 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16042 #include <sys/types.h>
16044 #ifdef HAVE_NETINET_IN_H
16045 # include <netinet/in.h>
16047 #ifdef HAVE_ARPA_NAMESER_H
16048 # include <arpa/nameser.h>
16051 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16053 cat >>confdefs.h
<<_ACEOF
16054 #define HAVE_NS_MSG__MSG_PTR 1
16061 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16062 #include <sys/types.h>
16064 #ifdef HAVE_NETINET_IP_H
16065 #include <netinet/ip.h>
16067 #ifdef HAVE_NETINET_IP_ICMP_H
16068 #include <netinet/ip_icmp.h>
16070 #ifdef HAVE_NETINET_ICMP_VAR_H
16071 #include <netinet/icmp_var.h>
16074 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16076 cat >>confdefs.h
<<_ACEOF
16077 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16084 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16085 #include <sys/types.h>
16087 #ifdef HAVE_ALIAS_H
16090 #ifdef HAVE_SYS_SOCKET_H
16091 #include <sys/socket.h>
16093 #ifdef HAVE_SYS_SOCKETVAR_H
16094 #include <sys/socketvar.h>
16096 #ifdef HAVE_SYS_TIMEOUT_H
16097 #include <sys/timeout.h>
16099 #ifdef HAVE_NETINET_IN_H
16100 #include <netinet/in.h>
16102 #ifdef HAVE_NETINET_IN_SYSTM_H
16103 #include <netinet/in_systm.h>
16105 #ifdef HAVE_NETINET_IP_H
16106 #include <netinet/ip.h>
16108 #ifdef HAVE_NETINET_IP_VAR_H
16109 #include <netinet/ip_var.h>
16111 #ifdef HAVE_NETINET_IP_ICMP_H
16112 #include <netinet/ip_icmp.h>
16114 #ifdef HAVE_NETINET_ICMP_VAR_H
16115 #include <netinet/icmp_var.h>
16118 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16120 cat >>confdefs.h
<<_ACEOF
16121 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16128 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16129 #include <sys/types.h>
16131 #ifdef HAVE_SYS_SOCKETVAR_H
16132 #include <sys/socketvar.h>
16134 #ifdef HAVE_NETINET_IN_H
16135 #include <netinet/in.h>
16137 #ifdef HAVE_NETINET_IP_VAR_H
16138 #include <netinet/ip_var.h>
16141 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16143 cat >>confdefs.h
<<_ACEOF
16144 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16151 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
16152 #include <netinet/ip_var.h>
16155 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16157 cat >>confdefs.h
<<_ACEOF
16158 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16165 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16166 #include <sys/types.h>
16168 #ifdef HAVE_SYS_SOCKETVAR_H
16169 #include <sys/socketvar.h>
16171 #ifdef HAVE_NETINET_IN_H
16172 #include <netinet/in.h>
16174 #ifdef HAVE_NETINET_TCP_H
16175 #include <netinet/tcp.h>
16177 #ifdef HAVE_NETINET_TCP_VAR_H
16178 #include <netinet/tcp_var.h>
16181 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16183 cat >>confdefs.h
<<_ACEOF
16184 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16191 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
16192 #include <netinet/tcp_var.h>
16195 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16197 cat >>confdefs.h
<<_ACEOF
16198 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16205 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16206 #include <sys/types.h>
16208 #ifdef HAVE_NETINET_IN_H
16209 #include <netinet/in.h>
16211 #ifdef HAVE_NETINET_IP_VAR_H
16212 #include <netinet/ip_var.h>
16214 #ifdef HAVE_NETINET_UDP_H
16215 #include <netinet/udp.h>
16217 #ifdef HAVE_NETINET_UDP_VAR_H
16218 #include <netinet/udp_var.h>
16221 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16223 cat >>confdefs.h
<<_ACEOF
16224 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16231 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16232 #include <sys/types.h>
16234 #ifdef HAVE_NET_IF_H
16235 # include <net/if.h>
16238 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16240 cat >>confdefs.h
<<_ACEOF
16241 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16249 $as_echo_n "checking for timezone variable... " >&6; }
16250 if ${ac_cv_have_timezone+:} false
; then :
16251 $as_echo_n "(cached) " >&6
16253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16254 /* end confdefs.h. */
16264 if ac_fn_c_try_link
"$LINENO"; then :
16265 ac_cv_have_timezone
="yes"
16267 ac_cv_have_timezone
="no"
16269 rm -f core conftest.err conftest.
$ac_objext \
16270 conftest
$ac_exeext conftest.
$ac_ext
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16273 $as_echo "$ac_cv_have_timezone" >&6; }
16274 if test "$ac_cv_have_timezone" = "yes"
16277 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16281 $as_echo_n "checking for daylight variable... " >&6; }
16282 if ${ac_cv_have_daylight+:} false
; then :
16283 $as_echo_n "(cached) " >&6
16285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16286 /* end confdefs.h. */
16296 if ac_fn_c_try_link
"$LINENO"; then :
16297 ac_cv_have_daylight
="yes"
16299 ac_cv_have_daylight
="no"
16301 rm -f core conftest.err conftest.
$ac_objext \
16302 conftest
$ac_exeext conftest.
$ac_ext
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16305 $as_echo "$ac_cv_have_daylight" >&6; }
16306 if test "$ac_cv_have_daylight" = "yes"
16309 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16313 ac_save_LIBS
="$LIBS"
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16316 $as_echo_n "checking for isfinite... " >&6; }
16317 if ${ac_cv_have_isfinite+:} false
; then :
16318 $as_echo_n "(cached) " >&6
16320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16321 /* end confdefs.h. */
16322 #define _GNU_SOURCE
16327 float f = 0.0; return isfinite(f)
16332 if ac_fn_c_try_link
"$LINENO"; then :
16333 ac_cv_have_isfinite
="yes"
16335 ac_cv_have_isfinite
="no"
16337 rm -f core conftest.err conftest.
$ac_objext \
16338 conftest
$ac_exeext conftest.
$ac_ext
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16341 $as_echo "$ac_cv_have_isfinite" >&6; }
16342 if test "$ac_cv_have_isfinite" = "yes"
16345 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16350 $as_echo_n "checking for isinf... " >&6; }
16351 if ${ac_cv_have_isinf+:} false
; then :
16352 $as_echo_n "(cached) " >&6
16354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16355 /* end confdefs.h. */
16360 float f = 0.0; return isinf(f)
16365 if ac_fn_c_try_link
"$LINENO"; then :
16366 ac_cv_have_isinf
="yes"
16368 ac_cv_have_isinf
="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_isinf" >&5
16374 $as_echo "$ac_cv_have_isinf" >&6; }
16375 if test "$ac_cv_have_isinf" = "yes"
16378 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16383 $as_echo_n "checking for isnan... " >&6; }
16384 if ${ac_cv_have_isnan+:} false
; then :
16385 $as_echo_n "(cached) " >&6
16387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16393 float f = 0.0; return isnan(f)
16398 if ac_fn_c_try_link
"$LINENO"; then :
16399 ac_cv_have_isnan
="yes"
16401 ac_cv_have_isnan
="no"
16403 rm -f core conftest.err conftest.
$ac_objext \
16404 conftest
$ac_exeext conftest.
$ac_ext
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16407 $as_echo "$ac_cv_have_isnan" >&6; }
16408 if test "$ac_cv_have_isnan" = "yes"
16411 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16438 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16439 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16440 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16441 cat >>confdefs.h
<<_ACEOF
16442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16448 LIBS
="$ac_save_LIBS"
16452 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16453 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16454 if ${ac_cv_cpp_def___i386__+:} false
; then :
16455 $as_echo_n "(cached) " >&6
16457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16464 $EGREP "yes" >/dev
/null
2>&1; then :
16465 ac_cv_cpp_def___i386__
=yes
16467 ac_cv_cpp_def___i386__
=no
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16473 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16474 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16475 CFLAGS
="$CFLAGS -D__i386__"
16476 LINTFLAGS
="$LINTFLAGS -D__i386__"
16478 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16479 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16480 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16481 $as_echo_n "(cached) " >&6
16483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16484 /* end confdefs.h. */
16489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16490 $EGREP "yes" >/dev
/null
2>&1; then :
16491 ac_cv_cpp_def___x86_64__
=yes
16493 ac_cv_cpp_def___x86_64__
=no
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16499 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16500 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16501 CFLAGS
="$CFLAGS -D__x86_64__"
16502 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16504 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16505 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16506 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16507 $as_echo_n "(cached) " >&6
16509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16510 /* end confdefs.h. */
16511 #ifndef __sparc64__
16515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16516 $EGREP "yes" >/dev
/null
2>&1; then :
16517 ac_cv_cpp_def___sparc64__
=yes
16519 ac_cv_cpp_def___sparc64__
=no
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16525 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16526 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16527 CFLAGS
="$CFLAGS -D__sparc64__"
16528 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16530 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16531 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16532 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16533 $as_echo_n "(cached) " >&6
16535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16542 $EGREP "yes" >/dev
/null
2>&1; then :
16543 ac_cv_cpp_def___sparc__
=yes
16545 ac_cv_cpp_def___sparc__
=no
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16551 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16552 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16553 CFLAGS
="$CFLAGS -D__sparc__"
16554 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16556 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16557 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16558 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16559 $as_echo_n "(cached) " >&6
16561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16562 /* end confdefs.h. */
16563 #ifndef __powerpc64__
16567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16568 $EGREP "yes" >/dev
/null
2>&1; then :
16569 ac_cv_cpp_def___powerpc64__
=yes
16571 ac_cv_cpp_def___powerpc64__
=no
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16577 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16578 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16579 CFLAGS
="$CFLAGS -D__powerpc64__"
16580 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16582 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16583 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16584 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16585 $as_echo_n "(cached) " >&6
16587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16588 /* end confdefs.h. */
16589 #ifndef __powerpc__
16593 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16594 $EGREP "yes" >/dev
/null
2>&1; then :
16595 ac_cv_cpp_def___powerpc__
=yes
16597 ac_cv_cpp_def___powerpc__
=no
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16603 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16604 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16605 CFLAGS
="$CFLAGS -D__powerpc__"
16606 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16608 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16609 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16610 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16611 $as_echo_n "(cached) " >&6
16613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16614 /* end confdefs.h. */
16615 #ifndef __aarch64__
16619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16620 $EGREP "yes" >/dev
/null
2>&1; then :
16621 ac_cv_cpp_def___aarch64__
=yes
16623 ac_cv_cpp_def___aarch64__
=no
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16629 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16630 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16631 CFLAGS
="$CFLAGS -D__aarch64__"
16632 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16634 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16635 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16636 if ${ac_cv_cpp_def___arm__+:} false
; then :
16637 $as_echo_n "(cached) " >&6
16639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16640 /* end confdefs.h. */
16645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16646 $EGREP "yes" >/dev
/null
2>&1; then :
16647 ac_cv_cpp_def___arm__
=yes
16649 ac_cv_cpp_def___arm__
=no
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16655 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16656 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16657 CFLAGS
="$CFLAGS -D__arm__"
16658 LINTFLAGS
="$LINTFLAGS -D__arm__"
16662 case $host_vendor in
16663 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16664 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16665 if ${ac_cv_cpp_def___sun__+:} false
; then :
16666 $as_echo_n "(cached) " >&6
16668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16675 $EGREP "yes" >/dev
/null
2>&1; then :
16676 ac_cv_cpp_def___sun__
=yes
16678 ac_cv_cpp_def___sun__
=no
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16684 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16685 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16686 CFLAGS
="$CFLAGS -D__sun__"
16687 LINTFLAGS
="$LINTFLAGS -D__sun__"
16695 ac_config_commands
="$ac_config_commands include/stamp-h"
16697 $as_echo_n "creating Makefile rules..." >&6
16699 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16700 SOCKET_LIBS = $SOCKET_LIBS
16701 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16702 IOKIT_LIBS = $IOKIT_LIBS
16703 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16704 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16705 CORESERVICES_LIBS = $CORESERVICES_LIBS
16706 APPKIT_LIBS = $APPKIT_LIBS
16707 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16708 SECURITY_LIBS = $SECURITY_LIBS
16709 COREAUDIO_LIBS = $COREAUDIO_LIBS
16710 OPENAL_LIBS = $OPENAL_LIBS
16711 OPENCL_LIBS = $OPENCL_LIBS
16712 QUICKTIME_LIBS = $QUICKTIME_LIBS
16713 CARBON_LIBS = $CARBON_LIBS
16714 PTHREAD_LIBS = $PTHREAD_LIBS
16715 X_CFLAGS = $X_CFLAGS
16716 X_PRE_LIBS = $X_PRE_LIBS
16718 X_EXTRA_LIBS = $X_EXTRA_LIBS
16719 XML2_CFLAGS = $XML2_CFLAGS
16720 XML2_LIBS = $XML2_LIBS
16721 XSLT_CFLAGS = $XSLT_CFLAGS
16722 XSLT_LIBS = $XSLT_LIBS
16723 DBUS_CFLAGS = $DBUS_CFLAGS
16724 DBUS_LIBS = $DBUS_LIBS
16725 HAL_CFLAGS = $HAL_CFLAGS
16726 HAL_LIBS = $HAL_LIBS
16727 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16728 GNUTLS_LIBS = $GNUTLS_LIBS
16729 SANE_CFLAGS = $SANE_CFLAGS
16730 SANE_LIBS = $SANE_LIBS
16731 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16732 GPHOTO2_LIBS = $GPHOTO2_LIBS
16733 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16734 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16735 RESOLV_LIBS = $RESOLV_LIBS
16736 LCMS2_CFLAGS = $LCMS2_CFLAGS
16737 LCMS2_LIBS = $LCMS2_LIBS
16738 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16739 FREETYPE_LIBS = $FREETYPE_LIBS
16741 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16742 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16743 GSTREAMER_LIBS = $GSTREAMER_LIBS
16744 ALSA_LIBS = $ALSA_LIBS
16745 OSS4_CFLAGS = $OSS4_CFLAGS
16746 CAPI20_CFLAGS = $CAPI20_CFLAGS
16747 CAPI20_LIBS = $CAPI20_LIBS
16748 CUPS_CFLAGS = $CUPS_CFLAGS
16749 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16750 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16751 JPEG_CFLAGS = $JPEG_CFLAGS
16752 JPEG_LIBS = $JPEG_LIBS
16753 PNG_CFLAGS = $PNG_CFLAGS
16754 PNG_LIBS = $PNG_LIBS
16755 TIFF_CFLAGS = $TIFF_CFLAGS
16756 TIFF_LIBS = $TIFF_LIBS
16757 MPG123_CFLAGS = $MPG123_CFLAGS
16758 MPG123_LIBS = $MPG123_LIBS
16759 KSTAT_LIBS = $KSTAT_LIBS
16760 PROCSTAT_LIBS = $PROCSTAT_LIBS
16762 POLL_LIBS = $POLL_LIBS
16764 LDAP_LIBS = $LDAP_LIBS
16769 wine_fn_append_rule
"
16770 # Rules automatically generated by configure
16772 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16777 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16778 @./config.status Make.tmp Makefile"
16780 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16781 .gitignore: config.status
16782 @./config.status .gitignore"
16784 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16785 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16787 if test "x$enable_fonts" != xno
; then
16788 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16789 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16790 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16791 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16792 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16794 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16795 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16796 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16797 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16798 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16799 wine_fn_config_symlink wine
16800 if test "x$enable_win64" != xno
; then
16801 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16802 wine_fn_config_symlink wine64
16805 wine_fn_config_dll acledit enable_acledit
16806 wine_fn_config_dll aclui enable_aclui implib
16807 wine_fn_config_dll activeds enable_activeds implib
16808 wine_fn_config_dll actxprxy enable_actxprxy clean
16809 wine_fn_config_lib adsiid
16810 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16811 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16812 wine_fn_config_dll advpack enable_advpack implib
16813 wine_fn_config_test dlls
/advpack
/tests advpack_test
16814 wine_fn_config_dll amstream enable_amstream clean
16815 wine_fn_config_test dlls
/amstream
/tests amstream_test
16816 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16817 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16818 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16819 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16820 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16821 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16822 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16823 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16824 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16825 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16826 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16827 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16828 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16829 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16830 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16831 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16832 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16833 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16834 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16835 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16836 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16837 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16838 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16839 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16840 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16841 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16842 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16843 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16844 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16845 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16846 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16847 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16848 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16849 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16850 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16851 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16852 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16853 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16854 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16855 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16856 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16857 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16858 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16859 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16860 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16861 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16862 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16863 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16864 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16865 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16866 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16867 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16868 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16869 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16870 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16871 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16872 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16873 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16874 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16875 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16876 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16877 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16878 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16879 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16880 wine_fn_config_dll apphelp enable_apphelp
16881 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16882 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16883 wine_fn_config_dll atl enable_atl clean
,implib
16884 wine_fn_config_test dlls
/atl
/tests atl_test
16885 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16886 wine_fn_config_test dlls
/atl100
/tests atl100_test
16887 wine_fn_config_dll atl110 enable_atl110 clean
16888 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16889 wine_fn_config_test dlls
/atl80
/tests atl80_test
16890 wine_fn_config_dll atl90 enable_atl90 clean
16891 wine_fn_config_dll authz enable_authz
16892 wine_fn_config_dll avicap32 enable_avicap32 implib
16893 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16894 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16895 wine_fn_config_dll avifile.dll16 enable_win16
16896 wine_fn_config_dll avrt enable_avrt implib
16897 wine_fn_config_dll bcrypt enable_bcrypt
16898 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16899 wine_fn_config_dll browseui enable_browseui clean
,po
16900 wine_fn_config_test dlls
/browseui
/tests browseui_test
16901 wine_fn_config_dll cabinet enable_cabinet implib
16902 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16903 wine_fn_config_dll capi2032 enable_capi2032 implib
16904 wine_fn_config_dll cards enable_cards implib
16905 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16906 wine_fn_config_dll clusapi enable_clusapi implib
16907 wine_fn_config_dll combase enable_combase
16908 wine_fn_config_dll comcat enable_comcat
16909 wine_fn_config_test dlls
/comcat
/tests comcat_test
16910 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16911 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16912 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16913 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16914 wine_fn_config_dll
comm.drv16 enable_win16
16915 wine_fn_config_dll commdlg.dll16 enable_win16
16916 wine_fn_config_dll compobj.dll16 enable_win16
16917 wine_fn_config_dll compstui enable_compstui implib
16918 wine_fn_config_dll comsvcs enable_comsvcs implib
16919 wine_fn_config_dll credui enable_credui implib
,po
16920 wine_fn_config_test dlls
/credui
/tests credui_test
16921 wine_fn_config_dll crtdll enable_crtdll implib
16922 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16923 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16924 wine_fn_config_dll cryptdlg enable_cryptdlg po
16925 wine_fn_config_dll cryptdll enable_cryptdll implib
16926 wine_fn_config_dll cryptext enable_cryptext
16927 wine_fn_config_dll cryptnet enable_cryptnet implib
16928 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16929 wine_fn_config_dll cryptui enable_cryptui implib
,po
16930 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16931 wine_fn_config_dll ctapi32 enable_ctapi32
16932 wine_fn_config_dll ctl3d.dll16 enable_win16
16933 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16934 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16935 wine_fn_config_dll d2d1 enable_d2d1 implib
16936 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16937 wine_fn_config_dll d3d10 enable_d3d10 implib
16938 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16939 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16940 wine_fn_config_dll d3d10core enable_d3d10core implib
16941 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16942 wine_fn_config_dll d3d11 enable_d3d11
16943 wine_fn_config_dll d3d8 enable_d3d8 implib
16944 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16945 wine_fn_config_dll d3d9 enable_d3d9 implib
16946 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16947 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16948 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16949 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16950 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16951 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16952 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16953 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16954 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16955 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16956 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16957 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16958 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16959 wine_fn_config_dll d3dim enable_d3dim implib
16960 wine_fn_config_dll d3drm enable_d3drm implib
16961 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16962 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16963 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16964 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16965 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16966 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16967 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16968 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16969 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16970 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16971 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16972 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16973 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16974 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16975 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16976 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16977 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16978 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16979 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16980 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16981 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16982 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16983 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16984 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16985 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16986 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16987 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16988 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16989 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16990 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16991 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16992 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16993 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16994 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16995 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16996 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16997 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16998 wine_fn_config_dll dbgeng enable_dbgeng implib
16999 wine_fn_config_dll dbghelp enable_dbghelp implib
17000 wine_fn_config_dll dciman32 enable_dciman32 implib
17001 wine_fn_config_dll ddeml.dll16 enable_win16
17002 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17003 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17004 wine_fn_config_dll ddrawex enable_ddrawex clean
17005 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17006 wine_fn_config_dll devenum enable_devenum clean
,po
17007 wine_fn_config_test dlls
/devenum
/tests devenum_test
17008 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17009 wine_fn_config_dll difxapi enable_difxapi
17010 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17011 wine_fn_config_test dlls
/dinput
/tests dinput_test
17012 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17013 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17014 wine_fn_config_dll dispdib.dll16 enable_win16
17015 wine_fn_config_dll dispex enable_dispex clean
17016 wine_fn_config_test dlls
/dispex
/tests dispex_test
17017 wine_fn_config_dll display.drv16 enable_win16
17018 wine_fn_config_dll dmband enable_dmband clean
17019 wine_fn_config_test dlls
/dmband
/tests dmband_test
17020 wine_fn_config_dll dmcompos enable_dmcompos clean
17021 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17022 wine_fn_config_dll dmime enable_dmime clean
17023 wine_fn_config_test dlls
/dmime
/tests dmime_test
17024 wine_fn_config_dll dmloader enable_dmloader clean
17025 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17026 wine_fn_config_dll dmscript enable_dmscript clean
17027 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17028 wine_fn_config_dll dmstyle enable_dmstyle clean
17029 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17030 wine_fn_config_dll dmsynth enable_dmsynth clean
17031 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17032 wine_fn_config_dll dmusic enable_dmusic clean
17033 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17034 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17035 wine_fn_config_dll dnsapi enable_dnsapi implib
17036 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17037 wine_fn_config_dll dplay enable_dplay implib
17038 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17039 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17040 wine_fn_config_dll dpnaddr enable_dpnaddr
17041 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17042 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17043 wine_fn_config_dll dpnhpast enable_dpnhpast
17044 wine_fn_config_dll dpnlobby enable_dpnlobby
17045 wine_fn_config_dll dpvoice enable_dpvoice clean
17046 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17047 wine_fn_config_dll dpwsockx enable_dpwsockx
17048 wine_fn_config_dll drmclien enable_drmclien
17049 wine_fn_config_dll dsound enable_dsound clean
,implib
17050 wine_fn_config_test dlls
/dsound
/tests dsound_test
17051 wine_fn_config_dll dssenh enable_dssenh
17052 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17053 wine_fn_config_dll dswave enable_dswave clean
17054 wine_fn_config_test dlls
/dswave
/tests dswave_test
17055 wine_fn_config_dll dwmapi enable_dwmapi implib
17056 wine_fn_config_dll dwrite enable_dwrite implib
17057 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17058 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17059 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17060 wine_fn_config_lib dxerr8
17061 wine_fn_config_lib dxerr9
17062 wine_fn_config_dll dxgi enable_dxgi implib
17063 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17064 wine_fn_config_lib dxguid
17065 wine_fn_config_dll dxva2 enable_dxva2
17066 wine_fn_config_dll explorerframe enable_explorerframe clean
17067 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17068 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17069 wine_fn_config_dll faultrep enable_faultrep implib
17070 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17071 wine_fn_config_dll fltlib enable_fltlib
17072 wine_fn_config_dll fntcache enable_fntcache
17073 wine_fn_config_dll fontsub enable_fontsub
17074 wine_fn_config_dll fusion enable_fusion
17075 wine_fn_config_test dlls
/fusion
/tests fusion_test
17076 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17077 wine_fn_config_dll gameux enable_gameux clean
17078 wine_fn_config_test dlls
/gameux
/tests gameux_test
17079 wine_fn_config_dll gdi.exe16 enable_win16
17080 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17081 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17082 wine_fn_config_dll gdiplus enable_gdiplus implib
17083 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17084 wine_fn_config_dll glu32 enable_glu32 implib
17085 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17086 wine_fn_config_dll gpkcsp enable_gpkcsp
17087 wine_fn_config_dll hal enable_hal
17088 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17089 wine_fn_config_dll hid enable_hid implib
17090 wine_fn_config_dll hlink enable_hlink clean
,implib
17091 wine_fn_config_test dlls
/hlink
/tests hlink_test
17092 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17093 wine_fn_config_dll httpapi enable_httpapi
17094 wine_fn_config_dll iccvid enable_iccvid po
17095 wine_fn_config_dll icmp enable_icmp
17096 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17097 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17098 wine_fn_config_dll ifsmgr.vxd enable_win16
17099 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17100 wine_fn_config_dll imagehlp enable_imagehlp implib
17101 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17102 wine_fn_config_dll imm.dll16 enable_win16
17103 wine_fn_config_dll imm32 enable_imm32 implib
17104 wine_fn_config_test dlls
/imm32
/tests imm32_test
17105 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17106 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17107 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17108 wine_fn_config_dll inetmib1 enable_inetmib1
17109 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17110 wine_fn_config_dll infosoft enable_infosoft clean
17111 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17112 wine_fn_config_dll initpki enable_initpki
17113 wine_fn_config_dll inkobj enable_inkobj
17114 wine_fn_config_dll inseng enable_inseng clean
17115 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17116 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17117 wine_fn_config_dll itircl enable_itircl
17118 wine_fn_config_dll itss enable_itss clean
17119 wine_fn_config_test dlls
/itss
/tests itss_test
17120 wine_fn_config_dll joy.cpl enable_joy_cpl po
17121 wine_fn_config_dll jscript enable_jscript clean
,po
17122 wine_fn_config_test dlls
/jscript
/tests jscript_test
17123 wine_fn_config_dll jsproxy enable_jsproxy implib
17124 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17125 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17126 wine_fn_config_dll keyboard.drv16 enable_win16
17127 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17128 wine_fn_config_dll ksuser enable_ksuser
17129 wine_fn_config_dll ktmw32 enable_ktmw32
17130 wine_fn_config_dll loadperf enable_loadperf implib
17131 wine_fn_config_dll localspl enable_localspl po
17132 wine_fn_config_test dlls
/localspl
/tests localspl_test
17133 wine_fn_config_dll localui enable_localui po
17134 wine_fn_config_test dlls
/localui
/tests localui_test
17135 wine_fn_config_dll lz32 enable_lz32 implib
17136 wine_fn_config_test dlls
/lz32
/tests lz32_test
17137 wine_fn_config_dll lzexpand.dll16 enable_win16
17138 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17139 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17140 wine_fn_config_dll mapistub enable_mapistub
17141 wine_fn_config_dll mciavi32 enable_mciavi32
17142 wine_fn_config_dll mcicda enable_mcicda
17143 wine_fn_config_dll mciqtz32 enable_mciqtz32
17144 wine_fn_config_dll mciseq enable_mciseq
17145 wine_fn_config_dll mciwave enable_mciwave
17146 wine_fn_config_dll mgmtapi enable_mgmtapi
17147 wine_fn_config_dll midimap enable_midimap
17148 wine_fn_config_dll mlang enable_mlang clean
,implib
17149 wine_fn_config_test dlls
/mlang
/tests mlang_test
17150 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17151 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17152 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17153 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17154 wine_fn_config_dll mmdevldr.vxd enable_win16
17155 wine_fn_config_dll mmsystem.dll16 enable_win16
17156 wine_fn_config_dll monodebg.vxd enable_win16
17157 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17158 wine_fn_config_dll mouse.drv16 enable_win16
17159 wine_fn_config_dll mpr enable_mpr implib
,po
17160 wine_fn_config_test dlls
/mpr
/tests mpr_test
17161 wine_fn_config_dll mprapi enable_mprapi implib
17162 wine_fn_config_dll msacm.dll16 enable_win16
17163 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17164 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17165 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17166 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17167 wine_fn_config_dll msasn1 enable_msasn1 implib
17168 wine_fn_config_dll mscat32 enable_mscat32
17169 wine_fn_config_dll mscms enable_mscms implib
17170 wine_fn_config_test dlls
/mscms
/tests mscms_test
17171 wine_fn_config_dll mscoree enable_mscoree clean
17172 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17173 wine_fn_config_dll msctf enable_msctf clean
17174 wine_fn_config_test dlls
/msctf
/tests msctf_test
17175 wine_fn_config_dll msdaps enable_msdaps clean
17176 wine_fn_config_dll msdmo enable_msdmo implib
17177 wine_fn_config_dll msftedit enable_msftedit
17178 wine_fn_config_dll msg711.acm enable_msg711_acm
17179 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17180 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17181 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17182 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17183 wine_fn_config_dll msi enable_msi clean
,implib
,po
17184 wine_fn_config_test dlls
/msi
/tests msi_test
17185 wine_fn_config_dll msident enable_msident clean
17186 wine_fn_config_dll msimg32 enable_msimg32 implib
17187 wine_fn_config_dll msimsg enable_msimsg
17188 wine_fn_config_dll msimtf enable_msimtf clean
17189 wine_fn_config_dll msisip enable_msisip
17190 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17191 wine_fn_config_dll msls31 enable_msls31
17192 wine_fn_config_dll msnet32 enable_msnet32
17193 wine_fn_config_dll mspatcha enable_mspatcha
17194 wine_fn_config_dll msrle32 enable_msrle32 po
17195 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17196 wine_fn_config_dll mssign32 enable_mssign32
17197 wine_fn_config_dll mssip32 enable_mssip32
17198 wine_fn_config_dll mstask enable_mstask clean
17199 wine_fn_config_test dlls
/mstask
/tests mstask_test
17200 wine_fn_config_dll msvcirt enable_msvcirt
17201 wine_fn_config_dll msvcm80 enable_msvcm80
17202 wine_fn_config_dll msvcm90 enable_msvcm90
17203 wine_fn_config_dll msvcp100 enable_msvcp100
17204 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17205 wine_fn_config_dll msvcp110 enable_msvcp110
17206 wine_fn_config_dll msvcp120 enable_msvcp120
17207 wine_fn_config_dll msvcp60 enable_msvcp60
17208 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17209 wine_fn_config_dll msvcp70 enable_msvcp70
17210 wine_fn_config_dll msvcp71 enable_msvcp71
17211 wine_fn_config_dll msvcp80 enable_msvcp80
17212 wine_fn_config_dll msvcp90 enable_msvcp90
17213 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17214 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17215 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17216 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17217 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17218 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17219 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17220 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17221 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17222 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17223 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17224 wine_fn_config_dll msvcrt enable_msvcrt implib
17225 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17226 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17227 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17228 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17229 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17230 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17231 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17232 wine_fn_config_dll msvidc32 enable_msvidc32 po
17233 wine_fn_config_dll msvideo.dll16 enable_win16
17234 wine_fn_config_dll mswsock enable_mswsock implib
17235 wine_fn_config_dll msxml enable_msxml clean
17236 wine_fn_config_dll msxml2 enable_msxml2 clean
17237 wine_fn_config_dll msxml3 enable_msxml3 clean
17238 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17239 wine_fn_config_dll msxml4 enable_msxml4 clean
17240 wine_fn_config_dll msxml6 enable_msxml6 clean
17241 wine_fn_config_dll nddeapi enable_nddeapi implib
17242 wine_fn_config_dll ndis.sys enable_ndis_sys
17243 wine_fn_config_dll netapi32 enable_netapi32 implib
17244 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17245 wine_fn_config_dll netcfgx enable_netcfgx clean
17246 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17247 wine_fn_config_dll netprofm enable_netprofm clean
17248 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17249 wine_fn_config_dll newdev enable_newdev implib
17250 wine_fn_config_dll normaliz enable_normaliz implib
17251 wine_fn_config_dll npmshtml enable_npmshtml
17252 wine_fn_config_dll npptools enable_npptools
17253 wine_fn_config_dll ntdll enable_ntdll implib
17254 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17255 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17256 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17257 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17258 wine_fn_config_dll ntprint enable_ntprint
17259 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17260 wine_fn_config_dll objsel enable_objsel clean
17261 wine_fn_config_dll odbc32 enable_odbc32 implib
17262 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17263 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17264 wine_fn_config_dll odbccu32 enable_odbccu32
17265 wine_fn_config_dll ole2.dll16 enable_win16
17266 wine_fn_config_dll ole2conv.dll16 enable_win16
17267 wine_fn_config_dll ole2disp.dll16 enable_win16
17268 wine_fn_config_dll ole2nls.dll16 enable_win16
17269 wine_fn_config_dll ole2prox.dll16 enable_win16
17270 wine_fn_config_dll ole2thk.dll16 enable_win16
17271 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17272 wine_fn_config_test dlls
/ole32
/tests ole32_test
17273 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17274 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17275 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17276 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17277 wine_fn_config_dll olecli.dll16 enable_win16
17278 wine_fn_config_dll olecli32 enable_olecli32 implib
17279 wine_fn_config_dll oledb32 enable_oledb32 clean
17280 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17281 wine_fn_config_dll oledlg enable_oledlg implib
,po
17282 wine_fn_config_dll olepro32 enable_olepro32 implib
17283 wine_fn_config_dll olesvr.dll16 enable_win16
17284 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17285 wine_fn_config_dll olethk32 enable_olethk32
17286 wine_fn_config_dll openal32 enable_openal32
17287 wine_fn_config_dll opencl enable_opencl
17288 wine_fn_config_dll opengl32 enable_opengl32 implib
17289 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17290 wine_fn_config_dll packager enable_packager clean
17291 wine_fn_config_test dlls
/packager
/tests packager_test
17292 wine_fn_config_dll pdh enable_pdh implib
17293 wine_fn_config_test dlls
/pdh
/tests pdh_test
17294 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17295 wine_fn_config_dll pidgen enable_pidgen
17296 wine_fn_config_dll powrprof enable_powrprof implib
17297 wine_fn_config_dll printui enable_printui
17298 wine_fn_config_dll prntvpt enable_prntvpt
17299 wine_fn_config_dll propsys enable_propsys clean
,implib
17300 wine_fn_config_test dlls
/propsys
/tests propsys_test
17301 wine_fn_config_dll psapi enable_psapi implib
17302 wine_fn_config_test dlls
/psapi
/tests psapi_test
17303 wine_fn_config_dll pstorec enable_pstorec clean
17304 wine_fn_config_dll qcap enable_qcap
17305 wine_fn_config_test dlls
/qcap
/tests qcap_test
17306 wine_fn_config_dll qedit enable_qedit clean
17307 wine_fn_config_test dlls
/qedit
/tests qedit_test
17308 wine_fn_config_dll qmgr enable_qmgr clean
17309 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17310 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17311 wine_fn_config_dll quartz enable_quartz clean
,implib
17312 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17313 wine_fn_config_dll query enable_query
17314 wine_fn_config_dll rasapi16.dll16 enable_win16
17315 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17316 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17317 wine_fn_config_dll rasdlg enable_rasdlg implib
17318 wine_fn_config_dll regapi enable_regapi
17319 wine_fn_config_dll resutils enable_resutils implib
17320 wine_fn_config_dll riched20 enable_riched20 implib
17321 wine_fn_config_test dlls
/riched20
/tests riched20_test
17322 wine_fn_config_dll riched32 enable_riched32
17323 wine_fn_config_test dlls
/riched32
/tests riched32_test
17324 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17325 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17326 wine_fn_config_dll rsabase enable_rsabase
17327 wine_fn_config_dll rsaenh enable_rsaenh implib
17328 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17329 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17330 wine_fn_config_dll rtutils enable_rtutils implib
17331 wine_fn_config_dll samlib enable_samlib
17332 wine_fn_config_dll sane.ds enable_sane_ds po
17333 wine_fn_config_dll scarddlg enable_scarddlg
17334 wine_fn_config_dll sccbase enable_sccbase
17335 wine_fn_config_dll schannel enable_schannel
17336 wine_fn_config_test dlls
/schannel
/tests schannel_test
17337 wine_fn_config_dll schedsvc enable_schedsvc clean
17338 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17339 wine_fn_config_dll scrrun enable_scrrun clean
17340 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17341 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17342 wine_fn_config_dll secur32 enable_secur32 implib
17343 wine_fn_config_test dlls
/secur32
/tests secur32_test
17344 wine_fn_config_dll security enable_security
17345 wine_fn_config_dll sensapi enable_sensapi implib
17346 wine_fn_config_dll serialui enable_serialui implib
,po
17347 wine_fn_config_test dlls
/serialui
/tests serialui_test
17348 wine_fn_config_dll setupapi enable_setupapi implib
,po
17349 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17350 wine_fn_config_dll setupx.dll16 enable_win16
17351 wine_fn_config_dll sfc enable_sfc implib
17352 wine_fn_config_dll sfc_os enable_sfc_os implib
17353 wine_fn_config_dll shdoclc enable_shdoclc po
17354 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17355 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17356 wine_fn_config_dll shell.dll16 enable_win16
17357 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17358 wine_fn_config_test dlls
/shell32
/tests shell32_test
17359 wine_fn_config_dll shfolder enable_shfolder implib
17360 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17361 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17362 wine_fn_config_dll slbcsp enable_slbcsp
17363 wine_fn_config_dll slc enable_slc implib
17364 wine_fn_config_dll snmpapi enable_snmpapi implib
17365 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17366 wine_fn_config_dll softpub enable_softpub
17367 wine_fn_config_dll sound.drv16 enable_win16
17368 wine_fn_config_dll spoolss enable_spoolss implib
17369 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17370 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17371 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17372 wine_fn_config_dll sti enable_sti clean
,implib
17373 wine_fn_config_test dlls
/sti
/tests sti_test
17374 wine_fn_config_dll storage.dll16 enable_win16
17375 wine_fn_config_dll stress.dll16 enable_win16
17376 wine_fn_config_lib strmbase
17377 wine_fn_config_lib strmiids
17378 wine_fn_config_dll svrapi enable_svrapi
17379 wine_fn_config_dll sxs enable_sxs implib
17380 wine_fn_config_test dlls
/sxs
/tests sxs_test
17381 wine_fn_config_dll system.drv16 enable_win16
17382 wine_fn_config_dll t2embed enable_t2embed
17383 wine_fn_config_dll tapi32 enable_tapi32 implib
17384 wine_fn_config_dll taskschd enable_taskschd clean
17385 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17386 wine_fn_config_dll toolhelp.dll16 enable_win16
17387 wine_fn_config_dll traffic enable_traffic
17388 wine_fn_config_dll twain.dll16 enable_win16
17389 wine_fn_config_dll twain_32 enable_twain_32
17390 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17391 wine_fn_config_dll typelib.dll16 enable_win16
17392 wine_fn_config_dll unicows enable_unicows implib
17393 wine_fn_config_dll updspapi enable_updspapi
17394 wine_fn_config_dll url enable_url implib
17395 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17396 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17397 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17398 wine_fn_config_dll user.exe16 enable_win16
17399 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17400 wine_fn_config_test dlls
/user32
/tests user32_test
17401 wine_fn_config_dll userenv enable_userenv implib
17402 wine_fn_config_test dlls
/userenv
/tests userenv_test
17403 wine_fn_config_dll usp10 enable_usp10 implib
17404 wine_fn_config_test dlls
/usp10
/tests usp10_test
17405 wine_fn_config_lib uuid
17406 wine_fn_config_dll uxtheme enable_uxtheme implib
17407 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17408 wine_fn_config_dll vbscript enable_vbscript clean
17409 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17410 wine_fn_config_dll vcomp enable_vcomp
17411 wine_fn_config_dll vcomp100 enable_vcomp100
17412 wine_fn_config_dll vcomp90 enable_vcomp90
17413 wine_fn_config_dll vdhcp.vxd enable_win16
17414 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17415 wine_fn_config_dll ver.dll16 enable_win16
17416 wine_fn_config_dll version enable_version implib
17417 wine_fn_config_test dlls
/version
/tests version_test
17418 wine_fn_config_dll vmm.vxd enable_win16
17419 wine_fn_config_dll vnbt.vxd enable_win16
17420 wine_fn_config_dll vnetbios.vxd enable_win16
17421 wine_fn_config_dll vssapi enable_vssapi
17422 wine_fn_config_dll vtdapi.vxd enable_win16
17423 wine_fn_config_dll vwin32.vxd enable_win16
17424 wine_fn_config_dll w32skrnl enable_win16
17425 wine_fn_config_dll w32sys.dll16 enable_win16
17426 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17427 wine_fn_config_dll wbemprox enable_wbemprox clean
17428 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17429 wine_fn_config_dll webservices enable_webservices implib
17430 wine_fn_config_dll wer enable_wer implib
17431 wine_fn_config_test dlls
/wer
/tests wer_test
17432 wine_fn_config_dll wevtapi enable_wevtapi
17433 wine_fn_config_dll wiaservc enable_wiaservc clean
17434 wine_fn_config_dll win32s16.dll16 enable_win16
17435 wine_fn_config_dll win87em.dll16 enable_win16
17436 wine_fn_config_dll winaspi.dll16 enable_win16
17437 wine_fn_config_dll windebug.dll16 enable_win16
17438 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17439 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17440 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17441 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17442 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17443 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17444 wine_fn_config_lib winecrt0
17445 wine_fn_config_dll wined3d enable_wined3d implib
17446 wine_fn_config_dll winegstreamer enable_winegstreamer
17447 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17448 wine_fn_config_dll winemac.drv enable_winemac_drv
17449 wine_fn_config_dll winemapi enable_winemapi
17450 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17451 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17452 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17453 wine_fn_config_dll wineps16.drv16 enable_win16
17454 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17455 wine_fn_config_dll winex11.drv enable_winex11_drv
17456 wine_fn_config_dll wing.dll16 enable_win16
17457 wine_fn_config_dll wing32 enable_wing32
17458 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17459 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17460 wine_fn_config_dll wininet enable_wininet implib
,po
17461 wine_fn_config_test dlls
/wininet
/tests wininet_test
17462 wine_fn_config_dll winmm enable_winmm implib
,po
17463 wine_fn_config_test dlls
/winmm
/tests winmm_test
17464 wine_fn_config_dll winnls.dll16 enable_win16
17465 wine_fn_config_dll winnls32 enable_winnls32 implib
17466 wine_fn_config_dll winscard enable_winscard implib
17467 wine_fn_config_dll winsock.dll16 enable_win16
17468 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17469 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17470 wine_fn_config_dll winsta enable_winsta
17471 wine_fn_config_dll wintab.dll16 enable_win16
17472 wine_fn_config_dll wintab32 enable_wintab32 implib
17473 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17474 wine_fn_config_dll wintrust enable_wintrust implib
17475 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17476 wine_fn_config_dll wlanapi enable_wlanapi
17477 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17478 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17479 wine_fn_config_dll wmi enable_wmi
17480 wine_fn_config_dll wmiutils enable_wmiutils clean
17481 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17482 wine_fn_config_dll wmp enable_wmp clean
17483 wine_fn_config_test dlls
/wmp
/tests wmp_test
17484 wine_fn_config_dll wmvcore enable_wmvcore
17485 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17486 wine_fn_config_dll wow32 enable_win16 implib
17487 wine_fn_config_dll wpcap enable_wpcap
17488 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17489 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17490 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17491 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17492 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17493 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17494 wine_fn_config_dll wsock32 enable_wsock32 implib
17495 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17496 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17497 wine_fn_config_dll wuapi enable_wuapi clean
17498 wine_fn_config_dll wuaueng enable_wuaueng
17499 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17500 wine_fn_config_dll xinput1_1 enable_xinput1_1
17501 wine_fn_config_dll xinput1_2 enable_xinput1_2
17502 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17503 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17504 wine_fn_config_dll xinput1_4 enable_xinput1_4
17505 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17506 wine_fn_config_dll xmllite enable_xmllite implib
17507 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17508 wine_fn_config_dll xolehlp enable_xolehlp
17509 wine_fn_config_dll xpsprint enable_xpsprint
17510 wine_fn_config_dll xpssvcs enable_xpssvcs
17511 wine_fn_config_makefile documentation enable_documentation clean
17512 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17513 wine_fn_config_makefile include enable_include clean
,install-dev
17514 wine_fn_config_makefile libs
/port enable_libs_port
17515 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17516 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17517 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17518 wine_fn_config_program arp enable_arp
install
17519 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17520 wine_fn_config_program attrib enable_attrib
install,po
17521 wine_fn_config_program cabarc enable_cabarc
install
17522 wine_fn_config_program cacls enable_cacls
install
17523 wine_fn_config_program
clock enable_clock
install,po
17524 wine_fn_config_program cmd enable_cmd
install,po
17525 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17526 wine_fn_config_program conhost enable_conhost
install
17527 wine_fn_config_program control enable_control
install
17528 wine_fn_config_program cscript enable_cscript clean
,install
17529 wine_fn_config_program dpnsvr enable_dpnsvr
install
17530 wine_fn_config_program dxdiag enable_dxdiag
install,po
17531 wine_fn_config_program eject enable_eject
install
17532 wine_fn_config_program
expand enable_expand
install
17533 wine_fn_config_program explorer enable_explorer
install,po
17534 wine_fn_config_program extrac32 enable_extrac32
install
17535 wine_fn_config_program findstr enable_findstr
install
17536 wine_fn_config_program hh enable_hh
install
17537 wine_fn_config_program hostname enable_hostname
install,po
17538 wine_fn_config_program icinfo enable_icinfo
install
17539 wine_fn_config_program iexplore enable_iexplore
install
17540 wine_fn_config_program ipconfig enable_ipconfig
install,po
17541 wine_fn_config_program lodctr enable_lodctr
install
17542 wine_fn_config_program mofcomp enable_mofcomp
install
17543 wine_fn_config_program mshta enable_mshta
install
17544 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17545 wine_fn_config_program net enable_net
install,po
17546 wine_fn_config_program netsh enable_netsh
install
17547 wine_fn_config_program netstat enable_netstat
install,po
17548 wine_fn_config_program ngen enable_ngen
install
17549 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17550 wine_fn_config_program oleview enable_oleview
install,po
17551 wine_fn_config_program
ping enable_ping
install
17552 wine_fn_config_program plugplay enable_plugplay
install
17553 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17554 wine_fn_config_program progman enable_progman
install,po
17555 wine_fn_config_program reg enable_reg
install,po
17556 wine_fn_config_test programs
/reg
/tests reg.exe_test
17557 wine_fn_config_program regasm enable_regasm
install
17558 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17559 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17560 wine_fn_config_program regsvcs enable_regsvcs
install
17561 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17562 wine_fn_config_program rpcss enable_rpcss clean
,install
17563 wine_fn_config_program rundll.exe16 enable_win16
install
17564 wine_fn_config_program rundll32 enable_rundll32
install
17565 wine_fn_config_program sc enable_sc
install
17566 wine_fn_config_program schtasks enable_schtasks
install
17567 wine_fn_config_program sdbinst enable_sdbinst
install
17568 wine_fn_config_program secedit enable_secedit
install
17569 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17570 wine_fn_config_program services enable_services clean
,install
17571 wine_fn_config_test programs
/services
/tests services.exe_test
17572 wine_fn_config_program spoolsv enable_spoolsv
install
17573 wine_fn_config_program start enable_start
install,po
17574 wine_fn_config_program svchost enable_svchost
install
17575 wine_fn_config_program systeminfo enable_systeminfo
install
17576 wine_fn_config_program taskkill enable_taskkill
install,po
17577 wine_fn_config_program tasklist enable_tasklist
install
17578 wine_fn_config_program taskmgr enable_taskmgr
install,po
17579 wine_fn_config_program termsv enable_termsv
install
17580 wine_fn_config_program uninstaller enable_uninstaller
install,po
17581 wine_fn_config_program unlodctr enable_unlodctr
install
17582 wine_fn_config_program view enable_view
install,po
17583 wine_fn_config_program wevtutil enable_wevtutil
install
17584 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17585 wine_fn_config_program winebrowser enable_winebrowser
install
17586 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17587 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17588 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17589 wine_fn_config_program winedevice enable_winedevice
install
17590 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17591 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17592 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17593 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17594 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17595 wine_fn_config_program winetest enable_winetest clean
17596 wine_fn_config_program winevdm enable_win16
install
17597 wine_fn_config_program winhelp.exe16 enable_win16
install
17598 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17599 wine_fn_config_program winoldap.mod16 enable_win16
install
17600 wine_fn_config_program winver enable_winver
install
17601 wine_fn_config_program wmic enable_wmic
install,po
17602 wine_fn_config_program wordpad enable_wordpad
install,po
17603 wine_fn_config_program
write enable_write
install,po
17604 wine_fn_config_program wscript enable_wscript clean
,install
17605 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17606 wine_fn_config_program wusa enable_wusa
install
17607 wine_fn_config_program xcopy enable_xcopy
install,po
17608 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17609 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17610 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17611 wine_fn_config_tool tools
/sfnt2fon clean
17612 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17613 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17614 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17615 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17616 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17617 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17669 wine_fn_ignore_file
".gitignore"
17670 wine_fn_ignore_file
"Makefile"
17671 wine_fn_ignore_file
"TAGS"
17672 wine_fn_ignore_file
"tags"
17673 wine_fn_ignore_file
"autom4te.cache"
17674 wine_fn_ignore_file
"config.cache"
17675 wine_fn_ignore_file
"config.log"
17676 wine_fn_ignore_file
"config.status"
17677 wine_fn_ignore_file
"configure.lineno"
17678 wine_fn_ignore_file
"include/config.h"
17679 wine_fn_ignore_file
"include/stamp-h"
17680 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17682 if test "x$enable_tools" != xno
17684 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17685 ac_config_commands
="$ac_config_commands tools/makedep"
17689 ac_config_commands
="$ac_config_commands Makefile"
17692 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17696 if test "x$enable_maintainer_mode" = xyes
17698 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17699 autoconf --warnings=all
17700 include/config.h.in: include/stamp-h.in
17701 include/stamp-h.in: configure.ac aclocal.m4
17702 autoheader --warnings=all
17703 @echo timestamp > \$@"
17706 if test "x$with_gettextpo" = xyes
17708 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17709 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17710 \$(LINGUAS:%=po/%.po): po/wine.pot
17711 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17712 po/wine.pot: \$(ALL_POT_FILES)
17713 msgcat -o \$@ \$(ALL_POT_FILES)"
17716 if test "$MSGFMT" != false
17718 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17720 \$(RM) \$(LINGUAS:%=po/%.mo)"
17723 test "$srcdir" = . || posrc
="$srcdir/po"
17726 wine_fn_ignore_file
"po/$i.mo"
17727 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17728 \$(MSGFMT) -o \$@ $posrc/$i.po"
17734 if test "x$enable_tools" != xno
17736 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17737 @./config.status tools/makedep
17738 Makefile: tools/makedep$ac_exeext
17740 \$(RM) tools/makedep$ac_exeext"
17742 wine_fn_append_rule
"\$(MAKEDEP):
17743 @echo \"You need to run make in $TOOLSDIR first\" && false"
17746 if test -n "$with_wine64"
17748 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17749 fonts server tools:
17750 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17751 $with_wine64/loader/wine:
17752 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17753 $with_wine64/loader/wine-preloader:
17754 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17756 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17758 as_fn_append LOADER_RULES
"
17759 install install-lib:: wine.inf install-man-pages
17760 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17761 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17764 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17768 if test "$srcdir" = .
17770 ac_config_commands
="$ac_config_commands .gitignore"
17774 $as_echo " done" >&6
17775 cat >confcache
<<\_ACEOF
17776 # This file is a shell script that caches the results of configure
17777 # tests run on this system so they can be shared between configure
17778 # scripts and configure runs, see configure's option --config-cache.
17779 # It is not useful on other systems. If it contains results you don't
17780 # want to keep, you may remove or edit it.
17782 # config.status only pays attention to the cache file if you give it
17783 # the --recheck option to rerun configure.
17785 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17786 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17787 # following values.
17791 # The following way of writing the cache mishandles newlines in values,
17792 # but we know of no workaround that is simple, portable, and efficient.
17793 # So, we kill variables containing newlines.
17794 # Ultrix sh set writes to stderr and can't be redirected directly,
17795 # and sets the high bit in the cache file unless we assign to the vars.
17797 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17798 eval ac_val
=\$
$ac_var
17802 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17803 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17806 _ | IFS | as_nl
) ;; #(
17807 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17808 *) { eval $ac_var=; unset $ac_var;} ;;
17814 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17815 *${as_nl}ac_space
=\
*)
17816 # `set' does not quote correctly, so add quotes: double-quote
17817 # substitution turns \\\\ into \\, and sed turns \\ into \.
17820 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17823 # `set' quotes correctly as required by POSIX, so do not add quotes.
17824 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17833 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17835 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17837 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17838 if test -w "$cache_file"; then
17839 if test "x$cache_file" != "x/dev/null"; then
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17841 $as_echo "$as_me: updating cache $cache_file" >&6;}
17842 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17843 cat confcache
>"$cache_file"
17845 case $cache_file in #(
17847 mv -f confcache
"$cache_file"$$
&&
17848 mv -f "$cache_file"$$
"$cache_file" ;; #(
17850 mv -f confcache
"$cache_file" ;;
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17856 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17861 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17862 # Let make expand exec_prefix.
17863 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17865 DEFS
=-DHAVE_CONFIG_H
17870 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17871 # 1. Remove the extension, and $U if already installed.
17872 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17873 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17874 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17875 # will be set to the directory where LIBOBJS objects are built.
17876 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17877 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17879 LIBOBJS
=$ac_libobjs
17881 LTLIBOBJS
=$ac_ltlibobjs
17885 : "${CONFIG_STATUS=./config.status}"
17887 ac_clean_files_save
=$ac_clean_files
17888 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17890 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17892 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17894 # Generated by $as_me.
17895 # Run this file to recreate the current configuration.
17896 # Compiler output produced by configure, useful for debugging
17897 # configure, is in config.log if it exists.
17900 ac_cs_recheck=false
17903 SHELL=\${CONFIG_SHELL-$SHELL}
17906 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17907 ## -------------------- ##
17908 ## M4sh Initialization. ##
17909 ## -------------------- ##
17911 # Be more Bourne compatible
17912 DUALCASE
=1; export DUALCASE
# for MKS sh
17913 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17916 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17917 # is contrary to our usage. Disable this feature.
17918 alias -g '${1+"$@"}'='"$@"'
17919 setopt NO_GLOB_SUBST
17921 case `(set -o) 2>/dev/null` in #(
17933 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17934 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17935 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17936 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17937 # Prefer a ksh shell builtin over an external printf program on Solaris,
17938 # but without wasting forks for bash or zsh.
17939 if test -z "$BASH_VERSION$ZSH_VERSION" \
17940 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17941 as_echo='print
-r --'
17942 as_echo_n='print
-rn --'
17943 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17944 as_echo='printf %s
\n'
17945 as_echo_n='printf %s
'
17947 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17948 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17949 as_echo_n='/usr
/ucb
/echo -n'
17951 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17952 as_echo_n_body='eval
17956 expr "X$arg" : "X\\(.*\\)$as_nl";
17957 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17959 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17961 export as_echo_n_body
17962 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17964 export as_echo_body
17965 as_echo='sh
-c $as_echo_body as_echo
'
17968 # The user is always right.
17969 if test "${PATH_SEPARATOR+set}" != set; then
17971 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17972 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17979 # We need space, tab and new line, in precisely that order. Quoting is
17980 # there to prevent editors from complaining about space-tab.
17981 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17982 # splitting by setting IFS to empty value.)
17985 # Find who we are. Look in the path if we contain no directory separator.
17988 *[\\/]* ) as_myself=$0 ;;
17989 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17990 for as_dir in $PATH
17993 test -z "$as_dir" && as_dir=.
17994 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18000 # We did not find ourselves, most probably we were run as `sh COMMAND'
18001 # in which case we are not to be found in the path.
18002 if test "x$as_myself" = x
; then
18005 if test ! -f "$as_myself"; then
18006 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18010 # Unset variables that we do not need and which cause bugs (e.g. in
18011 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18012 # suppresses any "Segmentation fault" message there. '((' could
18013 # trigger a bug in pdksh 5.2.14.
18014 for as_var
in BASH_ENV ENV MAIL MAILPATH
18015 do eval test x\
${$as_var+set} = xset \
18016 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18029 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18032 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18033 # ----------------------------------------
18034 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18035 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18036 # script with STATUS, using 1 if that was 0.
18039 as_status
=$1; test $as_status -eq 0 && as_status
=1
18041 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18042 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18044 $as_echo "$as_me: error: $2" >&2
18045 as_fn_exit
$as_status
18049 # as_fn_set_status STATUS
18050 # -----------------------
18051 # Set $? to STATUS, without forking.
18052 as_fn_set_status
()
18055 } # as_fn_set_status
18057 # as_fn_exit STATUS
18058 # -----------------
18059 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18063 as_fn_set_status
$1
18069 # Portably unset VAR.
18072 { eval $1=; unset $1;}
18074 as_unset
=as_fn_unset
18075 # as_fn_append VAR VALUE
18076 # ----------------------
18077 # Append the text in VALUE to the end of the definition contained in VAR. Take
18078 # advantage of any shell optimizations that allow amortized linear growth over
18079 # repeated appends, instead of the typical quadratic growth present in naive
18081 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18082 eval 'as_fn_append ()
18093 # as_fn_arith ARG...
18094 # ------------------
18095 # Perform arithmetic evaluation on the ARGs, and store the result in the
18096 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18097 # must be portable across $(()) and expr.
18098 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18099 eval 'as_fn_arith ()
18106 as_val
=`expr "$@" || test $? -eq 1`
18111 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18112 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18118 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18119 as_basename
=basename
18124 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18130 as_me
=`$as_basename -- "$0" ||
18131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18132 X"$0" : 'X\(//\)$' \| \
18133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18135 sed '/^.*\/\([^/][^/]*\)\/*$/{
18149 # Avoid depending upon Character Ranges.
18150 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18151 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18152 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18153 as_cr_digits
='0123456789'
18154 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18156 ECHO_C
= ECHO_N
= ECHO_T
=
18157 case `echo -n x` in #(((((
18159 case `echo 'xy\c'` in
18160 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18162 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18169 rm -f conf$$ conf$$.exe conf$$.
file
18170 if test -d conf$$.dir
; then
18171 rm -f conf$$.dir
/conf$$.
file
18174 mkdir conf$$.dir
2>/dev
/null
18176 if (echo >conf$$.
file) 2>/dev
/null
; then
18177 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18179 # ... but there are two gotchas:
18180 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18181 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18182 # In both cases, we have to default to `cp -pR'.
18183 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18185 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18193 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18194 rmdir conf$$.dir
2>/dev
/null
18199 # Create "$as_dir" as a directory, including parents if necessary.
18204 -*) as_dir
=.
/$as_dir;;
18206 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18210 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18211 *) as_qdir
=$as_dir;;
18213 as_dirs
="'$as_qdir' $as_dirs"
18214 as_dir
=`$as_dirname -- "$as_dir" ||
18215 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18216 X"$as_dir" : 'X\(//\)[^/]' \| \
18217 X"$as_dir" : 'X\(//\)$' \| \
18218 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18219 $as_echo X"$as_dir" |
18220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18224 /^X\(\/\/\)[^/].*/{
18237 test -d "$as_dir" && break
18239 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18240 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18244 if mkdir
-p .
2>/dev
/null
; then
18245 as_mkdir_p
='mkdir -p "$as_dir"'
18247 test -d .
/-p && rmdir .
/-p
18252 # as_fn_executable_p FILE
18253 # -----------------------
18254 # Test if FILE is an executable regular file.
18255 as_fn_executable_p
()
18257 test -f "$1" && test -x "$1"
18258 } # as_fn_executable_p
18259 as_test_x
='test -x'
18260 as_executable_p
=as_fn_executable_p
18262 # Sed expression to map a string onto a valid CPP name.
18263 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18265 # Sed expression to map a string onto a valid variable name.
18266 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18270 ## ----------------------------------- ##
18271 ## Main body of $CONFIG_STATUS script. ##
18272 ## ----------------------------------- ##
18274 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18277 # Save the log message, to keep $0 and so on meaningful, and to
18278 # report actual input values of CONFIG_FILES etc. instead of their
18279 # values after options handling.
18281 This file was extended by Wine $as_me 1.7.32, which was
18282 generated by GNU Autoconf 2.69. Invocation command line was
18284 CONFIG_FILES = $CONFIG_FILES
18285 CONFIG_HEADERS = $CONFIG_HEADERS
18286 CONFIG_LINKS = $CONFIG_LINKS
18287 CONFIG_COMMANDS = $CONFIG_COMMANDS
18290 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18295 case $ac_config_files in *"
18296 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18299 case $ac_config_headers in *"
18300 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18305 # Files that config.status was made for.
18306 config_files="$ac_config_files"
18307 config_headers="$ac_config_headers"
18308 config_links="$ac_config_links"
18309 config_commands="$ac_config_commands"
18313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18315 \`$as_me' instantiates files and other configuration actions
18316 from templates according to the current configuration. Unless the files
18317 and actions are specified as TAGs, all are instantiated by default.
18319 Usage: $0 [OPTION]... [TAG]...
18321 -h, --help print this help, then exit
18322 -V, --version print version number and configuration settings, then exit
18323 --config print configuration, then exit
18324 -q, --quiet, --silent
18325 do not print progress messages
18326 -d, --debug don't remove temporary files
18327 --recheck update $as_me by reconfiguring in the same conditions
18328 --file=FILE[:TEMPLATE]
18329 instantiate the configuration file FILE
18330 --header=FILE[:TEMPLATE]
18331 instantiate the configuration header FILE
18333 Configuration files:
18336 Configuration headers:
18339 Configuration links:
18342 Configuration commands:
18345 Report bugs to <wine-devel@winehq.org>.
18346 Wine home page: <http://www.winehq.org>."
18349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18350 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18352 Wine config.status 1.7.32
18353 configured by $0, generated by GNU Autoconf 2.69,
18354 with options \\"\$ac_cs_config\\"
18356 Copyright (C) 2012 Free Software Foundation, Inc.
18357 This config.status script is free software; the Free Software Foundation
18358 gives unlimited permission to copy, distribute and modify it."
18362 test -n "\$AWK" || AWK=awk
18365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18366 # The default lists apply if the user does not specify any file.
18372 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18373 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18377 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18389 # Handling of the options.
18390 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18392 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18393 $as_echo "$ac_cs_version"; exit ;;
18394 --config |
--confi |
--conf |
--con |
--co |
--c )
18395 $as_echo "$ac_cs_config"; exit ;;
18396 --debug |
--debu |
--deb |
--de |
--d |
-d )
18398 --file |
--fil |
--fi |
--f )
18401 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18402 '') as_fn_error $?
"missing file argument" ;;
18404 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18405 ac_need_defaults
=false
;;
18406 --header |
--heade |
--head |
--hea )
18409 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18411 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18412 ac_need_defaults
=false
;;
18414 # Conflict between --help and --header
18415 as_fn_error $?
"ambiguous option: \`$1'
18416 Try \`$0 --help' for more information.";;
18417 --help |
--hel |
-h )
18418 $as_echo "$ac_cs_usage"; exit ;;
18419 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18420 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18423 # This is an error.
18424 -*) as_fn_error $?
"unrecognized option: \`$1'
18425 Try \`$0 --help' for more information." ;;
18427 *) as_fn_append ac_config_targets
" $1"
18428 ac_need_defaults
=false
;;
18434 ac_configure_extra_args
=
18436 if $ac_cs_silent; then
18438 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18443 if \$ac_cs_recheck; then
18444 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18446 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18447 CONFIG_SHELL='$SHELL'
18448 export CONFIG_SHELL
18453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18457 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18458 ## Running $as_me. ##
18464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18468 wine_fn_output_makedep ()
18470 as_dir=tools; as_fn_mkdir_p
18471 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18473 wine_fn_output_makefile ()
18475 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18476 `cat $wine_rules_file`
18478 as_fn_error $? "could not create Makefile" "$LINENO" 5
18480 wine_fn_output_gitignore ()
18482 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18485 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18492 # Handling of arguments.
18493 for ac_config_target
in $ac_config_targets
18495 case $ac_config_target in
18496 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18497 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18498 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18499 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18500 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18501 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18502 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18503 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18504 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18505 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18506 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18507 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18508 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18509 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18511 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18516 # If the user did not use the arguments to specify the items to instantiate,
18517 # then the envvar interface is used. Set only those that are not.
18518 # We use the long form for the default assignment because of an extremely
18519 # bizarre bug on SunOS 4.1.3.
18520 if $ac_need_defaults; then
18521 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18522 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18523 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18524 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18527 # Have a temporary directory for convenience. Make it in the build tree
18528 # simply because there is no reason against having it here, and in addition,
18529 # creating and moving files from /tmp can sometimes cause problems.
18530 # Hook for its removal unless debugging.
18531 # Note that there is a small window in which the directory will not be cleaned:
18532 # after its creation but before its name has been assigned to `$tmp'.
18536 trap 'exit_status=$?
18537 : "${ac_tmp:=$tmp}"
18538 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18540 trap 'as_fn_exit 1' 1 2 13 15
18542 # Create a (secure) tmp directory for tmp files.
18545 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18549 tmp
=.
/conf$$
-$RANDOM
18550 (umask 077 && mkdir
"$tmp")
18551 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18554 # Set up the scripts for CONFIG_FILES section.
18555 # No need to generate them if there are no CONFIG_FILES.
18556 # This happens for instance with `./config.status config.h'.
18557 if test -n "$CONFIG_FILES"; then
18560 ac_cr
=`echo X | tr X '\015'`
18561 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18562 # But we know of no other shell where ac_cr would be empty at this
18563 # point, so we can use a bashism as a fallback.
18564 if test "x$ac_cr" = x
; then
18565 eval ac_cr
=\$
\'\\r
\'
18567 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18568 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18571 ac_cs_awk_cr
=$ac_cr
18574 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18579 echo "cat >conf$$subs.awk <<_ACEOF" &&
18580 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18582 } >conf$$subs.sh ||
18583 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18584 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18586 for ac_last_try in false false false false false :; do
18587 . ./conf$$subs.sh ||
18588 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18590 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18591 if test $ac_delim_n = $ac_delim_num; then
18593 elif $ac_last_try; then
18594 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18596 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18599 rm -f conf$$subs.sh
18601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18602 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18606 s/^/S["/; s
/!.
*/"]=/
18616 s/\(.\{148\}\)..*/\1/
18618 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18623 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18630 s/\(.\{148\}\)..*/\1/
18632 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18636 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18641 ' <conf$$subs.awk | sed '
18646 ' >>$CONFIG_STATUS || ac_write_fail=1
18647 rm -f conf$$subs.awk
18648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18650 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18651 for (key in S) S_is_set[key] = 1
18657 nfields = split(line, field, "@
")
18659 len = length(field[1])
18660 for (i = 2; i < nfields; i++) {
18662 keylen = length(key)
18663 if (S_is_set[key]) {
18665 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18666 len += length(value) + length(field[++i])
18677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18678 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18679 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18682 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18683 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18686 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18687 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18688 # trailing colons and then remove the whole line if VPATH becomes empty
18689 # (actually we leave an empty line to preserve line numbers).
18690 if test "x
$srcdir" = x.; then
18691 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18710 fi # test -n "$CONFIG_FILES"
18712 # Set up the scripts for CONFIG_HEADERS section.
18713 # No need to generate them if there are no CONFIG_HEADERS.
18714 # This happens for instance with `./config.status Makefile'.
18715 if test -n "$CONFIG_HEADERS"; then
18716 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18720 # Transform confdefs.h into an awk script `defines.awk', embedded as
18721 # here-document in config.status, that substitutes the proper values into
18722 # config.h.in to produce config.h.
18724 # Create a delimiter string that does not exist in confdefs.h, to ease
18725 # handling of long lines.
18727 for ac_last_try in false false :; do
18728 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18729 if test -z "$ac_tt"; then
18731 elif $ac_last_try; then
18732 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18734 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18738 # For the awk script, D is an array of macro values keyed by name,
18739 # likewise P contains macro parameters if any. Preserve backslash
18740 # newline sequences.
18742 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18744 s/.\{148\}/&'"$ac_delim"'/g
18747 s/^[ ]*#[ ]*define[ ][ ]*/ /
18754 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18756 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18760 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18761 D["\
1"]=" \
3\\\\\\n
"\\/p
18763 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18768 s/.\{148\}/&'"$ac_delim"'/g
18773 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18776 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18778 ' <confdefs.h | sed '
18779 s/'"$ac_delim"'/"\\\
18780 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18783 for (key in D) D_is_set[key] = 1
18786 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18788 split(line, arg, " ")
18789 if (arg[1] == "#") {
18793 defundef
= substr
(arg
[1], 2)
18796 split(mac1
, mac2
, "(") #)
18798 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18799 if (D_is_set
[macro
]) {
18800 # Preserve the white space surrounding the "#".
18801 print prefix
"define", macro P
[macro
] D
[macro
]
18804 # Replace #undef with comments. This is necessary, for example,
18805 # in the case of _POSIX_SOURCE, which is predefined and required
18806 # on some systems where configure will not decide to define it.
18807 if (defundef
== "undef") {
18808 print
"/*", prefix defundef
, macro
, "*/"
18816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18817 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18818 fi # test -n "$CONFIG_HEADERS"
18821 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18826 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18828 case $ac_mode$ac_tag in
18830 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18831 :[FH
]-) ac_tag
=-:-;;
18832 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18849 -) ac_f
="$ac_tmp/stdin";;
18850 *) # Look for the file first in the build tree, then in the source tree
18851 # (if the path is not absolute). The absolute path cannot be DOS-style,
18852 # because $ac_f cannot contain `:'.
18856 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18858 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18860 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18861 as_fn_append ac_file_inputs
" '$ac_f'"
18864 # Let's still pretend it is `configure' which instantiates (i.e., don't
18865 # use $as_me), people would be surprised to read:
18866 # /* config.h. Generated by config.status. */
18867 configure_input
='Generated from '`
18868 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18870 if test x
"$ac_file" != x-
; then
18871 configure_input
="$ac_file. $configure_input"
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18873 $as_echo "$as_me: creating $ac_file" >&6;}
18875 # Neutralize special characters interpreted by sed in replacement strings.
18876 case $configure_input in #(
18877 *\
&* |
*\|
* |
*\\* )
18878 ac_sed_conf_input
=`$as_echo "$configure_input" |
18879 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18880 *) ac_sed_conf_input
=$configure_input;;
18884 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18885 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18890 ac_dir
=`$as_dirname -- "$ac_file" ||
18891 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18892 X"$ac_file" : 'X\(//\)[^/]' \| \
18893 X"$ac_file" : 'X\(//\)$' \| \
18894 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18895 $as_echo X"$ac_file" |
18896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18900 /^X\(\/\/\)[^/].*/{
18913 as_dir
="$ac_dir"; as_fn_mkdir_p
18917 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18919 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18920 # A ".." for each directory in $ac_dir_suffix.
18921 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18922 case $ac_top_builddir_sub in
18923 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18924 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18927 ac_abs_top_builddir
=$ac_pwd
18928 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18929 # for backward compatibility:
18930 ac_top_builddir
=$ac_top_build_prefix
18933 .
) # We are building in place.
18935 ac_top_srcdir
=$ac_top_builddir_sub
18936 ac_abs_top_srcdir
=$ac_pwd ;;
18937 [\\/]* | ?
:[\\/]* ) # Absolute name.
18938 ac_srcdir
=$srcdir$ac_dir_suffix;
18939 ac_top_srcdir
=$srcdir
18940 ac_abs_top_srcdir
=$srcdir ;;
18941 *) # Relative name.
18942 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18943 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18944 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18946 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18958 # If the template does not know about datarootdir, expand it.
18959 # FIXME: This hack should be removed a few years after 2.60.
18960 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18971 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18972 *datarootdir
*) ac_datarootdir_seen
=yes;;
18973 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18975 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18978 ac_datarootdir_hack='
18979 s&@datadir@&$datadir&g
18980 s&@docdir@&$docdir&g
18981 s&@infodir@&$infodir&g
18982 s&@localedir@&$localedir&g
18983 s&@mandir@&$mandir&g
18984 s&\\\${datarootdir}&$datarootdir&g' ;;
18988 # Neutralize VPATH when `$srcdir' = `.'.
18989 # Shell code in configure.ac might set extrasub.
18990 # FIXME: do we really want to maintain this feature?
18991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18992 ac_sed_extra="$ac_vpsub
18995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18997 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18998 s|@configure_input@|
$ac_sed_conf_input|
;t t
18999 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19000 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19001 s
&@srcdir@
&$ac_srcdir&;t t
19002 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19003 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19004 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19005 s
&@builddir@
&$ac_builddir&;t t
19006 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19007 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19008 $ac_datarootdir_hack
19010 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19011 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19013 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19014 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19015 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19016 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19018 which seems to be undefined. Please make sure it is defined" >&5
19019 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19020 which seems to be undefined. Please make sure it is defined" >&2;}
19022 rm -f "$ac_tmp/stdin"
19024 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19025 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19027 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19033 if test x"$ac_file" != x-; then
19035 $as_echo "/* $configure_input */" \
19036 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19037 } >"$ac_tmp/config.h" \
19038 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19039 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19041 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19044 mv "$ac_tmp/config.h" "$ac_file" \
19045 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19048 $as_echo "/* $configure_input */" \
19049 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19050 || as_fn_error $? "could not create -" "$LINENO" 5
19058 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19061 # Prefer the file from the source tree if names are identical.
19062 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19063 ac_source=$srcdir/$ac_source
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19067 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19069 if test ! -r "$ac_source"; then
19070 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19074 # Try a relative symlink, then a hard link, then a copy.
19076 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19077 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19079 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19080 ln "$ac_source" "$ac_file" 2>/dev/null ||
19081 cp -p "$ac_source" "$ac_file" ||
19082 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19085 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19086 $as_echo "$as_me: executing $ac_file commands" >&6;}
19091 case $ac_file$ac_mode in
19092 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19093 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19094 "Makefile":C) wine_fn_output_makefile Makefile ;;
19095 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19103 ac_clean_files=$ac_clean_files_save
19105 test $ac_write_fail = 0 ||
19106 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19109 # configure is writing to config.log, and then calls config.status.
19110 # config.status does its own redirection, appending to config.log.
19111 # Unfortunately, on DOS this fails, as config.log is still kept open
19112 # by configure, so config.status won't be able to
write to it
; its
19113 # output is simply discarded. So we exec the FD to /dev/null,
19114 # effectively closing config.log, so it can be properly (re)opened and
19115 # appended to by config.status. When coming back to configure, we
19116 # need to make the FD available again.
19117 if test "$no_create" != yes; then
19119 ac_config_status_args
=
19120 test "$silent" = yes &&
19121 ac_config_status_args
="$ac_config_status_args --quiet"
19123 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19125 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19126 # would make configure fail if this is the last instruction.
19127 $ac_cs_success || as_fn_exit
1
19129 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19131 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19135 if test "$no_create" = "yes"
19141 if test "x$wine_notices != "x
; then
19144 for msg
in $wine_notices; do
19146 if ${msg:+false} :; then :
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19150 $as_echo "$as_me: $msg" >&6;}
19155 for msg
in $wine_warnings; do
19157 if ${msg:+false} :; then :
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19162 $as_echo "$as_me: WARNING: $msg" >&2;}
19168 $as_me: Finished. Do '${ac_make}' to compile Wine.