2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.34.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.7.34'
584 PACKAGE_STRING
='Wine 1.7.34'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
698 APPLICATIONSERVICES_LIBS
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
1201 enable_photometadatahandler
1283 enable_windowscodecs
1284 enable_windowscodecsext
1286 enable_winecoreaudio_drv
1288 enable_winegstreamer
1289 enable_winejoystick_drv
1295 enable_wineqtdecoder
1333 enable_documentation
1341 enable_aspnet_regiis
1374 enable_presentationfontcache
1387 enable_servicemodelreg
1408 enable_winemenubuilder
1410 enable_winemsibuilder
1424 ac_precious_vars
='build_alias
1473 # Initialize some variables set by options.
1475 ac_init_version
=false
1476 ac_unrecognized_opts
=
1477 ac_unrecognized_sep
=
1478 # The variables have the same names as the options, with
1479 # dashes changed to underlines.
1480 cache_file
=/dev
/null
1487 program_transform_name
=s
,x
,x
,
1495 # Installation directory options.
1496 # These are left unexpanded so users can "make install exec_prefix=/foo"
1497 # and all the variables that are supposed to be based on exec_prefix
1498 # by default will actually change.
1499 # Use braces instead of parens because sh, perl, etc. also accept them.
1500 # (The list follows the same order as the GNU Coding Standards.)
1501 bindir
='${exec_prefix}/bin'
1502 sbindir
='${exec_prefix}/sbin'
1503 libexecdir
='${exec_prefix}/libexec'
1504 datarootdir
='${prefix}/share'
1505 datadir
='${datarootdir}'
1506 sysconfdir
='${prefix}/etc'
1507 sharedstatedir
='${prefix}/com'
1508 localstatedir
='${prefix}/var'
1509 includedir
='${prefix}/include'
1510 oldincludedir
='/usr/include'
1511 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1512 infodir
='${datarootdir}/info'
1517 libdir
='${exec_prefix}/lib'
1518 localedir
='${datarootdir}/locale'
1519 mandir
='${datarootdir}/man'
1525 # If the previous option needs an argument, assign it.
1526 if test -n "$ac_prev"; then
1527 eval $ac_prev=\
$ac_option
1533 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1538 # Accept the important Cygnus configure options, so we can diagnose typos.
1540 case $ac_dashdash$ac_option in
1544 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1546 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1547 bindir
=$ac_optarg ;;
1549 -build |
--build |
--buil |
--bui |
--bu)
1550 ac_prev
=build_alias
;;
1551 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1552 build_alias
=$ac_optarg ;;
1554 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1555 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1556 ac_prev
=cache_file
;;
1557 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1558 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1559 cache_file
=$ac_optarg ;;
1561 --config-cache |
-C)
1562 cache_file
=config.cache
;;
1564 -datadir |
--datadir |
--datadi |
--datad)
1566 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1567 datadir
=$ac_optarg ;;
1569 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1570 |
--dataroo |
--dataro |
--datar)
1571 ac_prev
=datarootdir
;;
1572 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1573 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1574 datarootdir
=$ac_optarg ;;
1576 -disable-* |
--disable-*)
1577 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1578 # Reject names that are not valid shell variable names.
1579 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1580 as_fn_error $?
"invalid feature name: $ac_useropt"
1581 ac_useropt_orig
=$ac_useropt
1582 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1583 case $ac_user_opts in
1585 "enable_
$ac_useropt"
1587 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1588 ac_unrecognized_sep
=', ';;
1590 eval enable_
$ac_useropt=no
;;
1592 -docdir |
--docdir |
--docdi |
--doc |
--do)
1594 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1595 docdir
=$ac_optarg ;;
1597 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1599 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1600 dvidir
=$ac_optarg ;;
1602 -enable-* |
--enable-*)
1603 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1604 # Reject names that are not valid shell variable names.
1605 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1606 as_fn_error $?
"invalid feature name: $ac_useropt"
1607 ac_useropt_orig
=$ac_useropt
1608 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1609 case $ac_user_opts in
1611 "enable_
$ac_useropt"
1613 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1614 ac_unrecognized_sep
=', ';;
1616 eval enable_
$ac_useropt=\
$ac_optarg ;;
1618 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1619 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1620 |
--exec |
--exe |
--ex)
1621 ac_prev
=exec_prefix
;;
1622 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1623 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1624 |
--exec=* |
--exe=* |
--ex=*)
1625 exec_prefix
=$ac_optarg ;;
1627 -gas |
--gas |
--ga |
--g)
1628 # Obsolete; use --with-gas.
1631 -help |
--help |
--hel |
--he |
-h)
1632 ac_init_help
=long
;;
1633 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1634 ac_init_help
=recursive
;;
1635 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1636 ac_init_help
=short
;;
1638 -host |
--host |
--hos |
--ho)
1639 ac_prev
=host_alias
;;
1640 -host=* |
--host=* |
--hos=* |
--ho=*)
1641 host_alias
=$ac_optarg ;;
1643 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1645 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1647 htmldir
=$ac_optarg ;;
1649 -includedir |
--includedir |
--includedi |
--included |
--include \
1650 |
--includ |
--inclu |
--incl |
--inc)
1651 ac_prev
=includedir
;;
1652 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1653 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1654 includedir
=$ac_optarg ;;
1656 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1658 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1659 infodir
=$ac_optarg ;;
1661 -libdir |
--libdir |
--libdi |
--libd)
1663 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1664 libdir
=$ac_optarg ;;
1666 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1667 |
--libexe |
--libex |
--libe)
1668 ac_prev
=libexecdir
;;
1669 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1670 |
--libexe=* |
--libex=* |
--libe=*)
1671 libexecdir
=$ac_optarg ;;
1673 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1674 ac_prev
=localedir
;;
1675 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1676 localedir
=$ac_optarg ;;
1678 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1679 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1680 ac_prev
=localstatedir
;;
1681 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1682 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1683 localstatedir
=$ac_optarg ;;
1685 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1687 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1688 mandir
=$ac_optarg ;;
1690 -nfp |
--nfp |
--nf)
1691 # Obsolete; use --without-fp.
1694 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1695 |
--no-cr |
--no-c |
-n)
1698 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1699 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1702 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1703 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1704 |
--oldin |
--oldi |
--old |
--ol |
--o)
1705 ac_prev
=oldincludedir
;;
1706 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1707 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1708 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1709 oldincludedir
=$ac_optarg ;;
1711 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1713 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1714 prefix
=$ac_optarg ;;
1716 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1717 |
--program-pre |
--program-pr |
--program-p)
1718 ac_prev
=program_prefix
;;
1719 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1720 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1721 program_prefix
=$ac_optarg ;;
1723 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1724 |
--program-suf |
--program-su |
--program-s)
1725 ac_prev
=program_suffix
;;
1726 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1727 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1728 program_suffix
=$ac_optarg ;;
1730 -program-transform-name |
--program-transform-name \
1731 |
--program-transform-nam |
--program-transform-na \
1732 |
--program-transform-n |
--program-transform- \
1733 |
--program-transform |
--program-transfor \
1734 |
--program-transfo |
--program-transf \
1735 |
--program-trans |
--program-tran \
1736 |
--progr-tra |
--program-tr |
--program-t)
1737 ac_prev
=program_transform_name
;;
1738 -program-transform-name=* |
--program-transform-name=* \
1739 |
--program-transform-nam=* |
--program-transform-na=* \
1740 |
--program-transform-n=* |
--program-transform-=* \
1741 |
--program-transform=* |
--program-transfor=* \
1742 |
--program-transfo=* |
--program-transf=* \
1743 |
--program-trans=* |
--program-tran=* \
1744 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1745 program_transform_name
=$ac_optarg ;;
1747 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1749 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1750 pdfdir
=$ac_optarg ;;
1752 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1754 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1757 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1758 |
-silent |
--silent |
--silen |
--sile |
--sil)
1761 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1763 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1765 sbindir
=$ac_optarg ;;
1767 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1768 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1769 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1771 ac_prev
=sharedstatedir
;;
1772 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1773 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1774 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1776 sharedstatedir
=$ac_optarg ;;
1778 -site |
--site |
--sit)
1780 -site=* |
--site=* |
--sit=*)
1783 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1785 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1786 srcdir
=$ac_optarg ;;
1788 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1789 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1790 ac_prev
=sysconfdir
;;
1791 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1792 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1793 sysconfdir
=$ac_optarg ;;
1795 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1796 ac_prev
=target_alias
;;
1797 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1798 target_alias
=$ac_optarg ;;
1800 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1803 -version |
--version |
--versio |
--versi |
--vers |
-V)
1804 ac_init_version
=: ;;
1807 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1808 # Reject names that are not valid shell variable names.
1809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1810 as_fn_error $?
"invalid package name: $ac_useropt"
1811 ac_useropt_orig
=$ac_useropt
1812 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1813 case $ac_user_opts in
1817 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1818 ac_unrecognized_sep
=', ';;
1820 eval with_
$ac_useropt=\
$ac_optarg ;;
1822 -without-* |
--without-*)
1823 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1824 # Reject names that are not valid shell variable names.
1825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1826 as_fn_error $?
"invalid package name: $ac_useropt"
1827 ac_useropt_orig
=$ac_useropt
1828 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1829 case $ac_user_opts in
1833 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1834 ac_unrecognized_sep
=', ';;
1836 eval with_
$ac_useropt=no
;;
1839 # Obsolete; use --with-x.
1842 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1843 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1844 ac_prev
=x_includes
;;
1845 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1846 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1847 x_includes
=$ac_optarg ;;
1849 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1850 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1851 ac_prev
=x_libraries
;;
1852 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1853 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1854 x_libraries
=$ac_optarg ;;
1856 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1857 Try \`$0 --help' for more information"
1861 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1862 # Reject names that are not valid shell variable names.
1863 case $ac_envvar in #(
1864 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1865 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1867 eval $ac_envvar=\
$ac_optarg
1868 export $ac_envvar ;;
1871 # FIXME: should be removed in autoconf 3.0.
1872 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1873 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1874 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1875 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1881 if test -n "$ac_prev"; then
1882 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1883 as_fn_error $?
"missing argument to $ac_option"
1886 if test -n "$ac_unrecognized_opts"; then
1887 case $enable_option_checking in
1889 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1890 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1894 # Check all directory arguments for consistency.
1895 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1896 datadir sysconfdir sharedstatedir localstatedir includedir \
1897 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1898 libdir localedir mandir
1900 eval ac_val
=\$
$ac_var
1901 # Remove trailing slashes.
1904 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1905 eval $ac_var=\
$ac_val;;
1907 # Be sure to have absolute directory names.
1909 [\\/$
]* | ?
:[\\/]* ) continue;;
1910 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1912 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1915 # There might be people who depend on the old broken behavior: `$host'
1916 # used to hold the argument of --host etc.
1917 # FIXME: To remove some day.
1920 target
=$target_alias
1922 # FIXME: To remove some day.
1923 if test "x$host_alias" != x
; then
1924 if test "x$build_alias" = x
; then
1925 cross_compiling
=maybe
1926 elif test "x$build_alias" != "x$host_alias"; then
1932 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1934 test "$silent" = yes && exec 6>/dev
/null
1937 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1938 ac_ls_di
=`ls -di .` &&
1939 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1940 as_fn_error $?
"working directory cannot be determined"
1941 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1942 as_fn_error $?
"pwd does not report name of working directory"
1945 # Find the source files, if location was not specified.
1946 if test -z "$srcdir"; then
1947 ac_srcdir_defaulted
=yes
1948 # Try the directory containing this script, then the parent directory.
1949 ac_confdir
=`$as_dirname -- "$as_myself" ||
1950 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1951 X"$as_myself" : 'X\(//\)[^/]' \| \
1952 X"$as_myself" : 'X\(//\)$' \| \
1953 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1954 $as_echo X"$as_myself" |
1955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1973 if test ! -r "$srcdir/$ac_unique_file"; then
1977 ac_srcdir_defaulted
=no
1979 if test ! -r "$srcdir/$ac_unique_file"; then
1980 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1981 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1983 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1985 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1987 # When building in place, set srcdir=.
1988 if test "$ac_abs_confdir" = "$ac_pwd"; then
1991 # Remove unnecessary trailing slashes from srcdir.
1992 # Double slashes in file names in object file debugging info
1993 # mess up M-x gdb in Emacs.
1995 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1997 for ac_var
in $ac_precious_vars; do
1998 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1999 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2000 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2001 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2005 # Report the --help message.
2007 if test "$ac_init_help" = "long"; then
2008 # Omit some internal or obsolete options to make the list less imposing.
2009 # This message is too long to be a string in the A/UX 3.1 sh.
2011 \`configure' configures Wine 1.7.34 to adapt to many kinds of systems.
2013 Usage: $0 [OPTION]... [VAR=VALUE]...
2015 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2016 VAR=VALUE. See below for descriptions of some of the useful variables.
2018 Defaults for the options are specified in brackets.
2021 -h, --help display this help and exit
2022 --help=short display options specific to this package
2023 --help=recursive display the short help of all the included packages
2024 -V, --version display version information and exit
2025 -q, --quiet, --silent do not print \`checking ...' messages
2026 --cache-file=FILE cache test results in FILE [disabled]
2027 -C, --config-cache alias for \`--cache-file=config.cache'
2028 -n, --no-create do not create output files
2029 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2031 Installation directories:
2032 --prefix=PREFIX install architecture-independent files in PREFIX
2033 [$ac_default_prefix]
2034 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2037 By default, \`make install' will install all the files in
2038 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2039 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2040 for instance \`--prefix=\$HOME'.
2042 For better control, use the options below.
2044 Fine tuning of the installation directories:
2045 --bindir=DIR user executables [EPREFIX/bin]
2046 --sbindir=DIR system admin executables [EPREFIX/sbin]
2047 --libexecdir=DIR program executables [EPREFIX/libexec]
2048 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2049 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2050 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2051 --libdir=DIR object code libraries [EPREFIX/lib]
2052 --includedir=DIR C header files [PREFIX/include]
2053 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2054 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2055 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2056 --infodir=DIR info documentation [DATAROOTDIR/info]
2057 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2058 --mandir=DIR man documentation [DATAROOTDIR/man]
2059 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2060 --htmldir=DIR html documentation [DOCDIR]
2061 --dvidir=DIR dvi documentation [DOCDIR]
2062 --pdfdir=DIR pdf documentation [DOCDIR]
2063 --psdir=DIR ps documentation [DOCDIR]
2069 --x-includes=DIR X include files are
in DIR
2070 --x-libraries=DIR X library files are
in DIR
2073 --build=BUILD configure
for building on BUILD
[guessed
]
2074 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2078 if test -n "$ac_init_help"; then
2079 case $ac_init_help in
2080 short | recursive
) echo "Configuration of Wine 1.7.34:";;
2085 --disable-option-checking ignore unrecognized
--enable/--with options
2086 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2087 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2088 --disable-win16 do not include Win16 support
2089 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2091 --disable-tests do not build the regression tests
2092 --enable-maintainer-mode
2093 enable maintainer-specific build rules
2094 --disable-largefile omit support for large files
2097 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2098 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2099 --without-alsa do not use the Alsa sound support
2100 --without-capi do not use CAPI (ISDN support)
2101 --without-cms do not use CMS (color management support)
2102 --without-coreaudio do not use the CoreAudio sound support
2103 --without-cups do not use CUPS
2104 --without-curses do not use (n)curses
2105 --without-dbus do not use DBus (dynamic device support)
2106 --without-fontconfig do not use fontconfig
2107 --without-freetype do not use the FreeType library
2108 --without-gettext do not use gettext
2109 --with-gettextpo use the GetTextPO library to rebuild po files
2110 --without-gphoto do not use gphoto (Digital Camera support)
2111 --without-glu do not use the GLU library
2112 --without-gnutls do not use GnuTLS (schannel support)
2113 --without-gsm do not use libgsm (GSM 06.10 codec support)
2114 --without-gstreamer do not use GStreamer (codecs support)
2115 --without-hal do not use HAL (dynamic device support)
2116 --without-jpeg do not use JPEG
2117 --without-ldap do not use LDAP
2118 --without-mpg123 do not use the mpg123 library
2119 --without-netapi do not use the Samba NetAPI library
2120 --without-openal do not use OpenAL
2121 --without-opencl do not use OpenCL
2122 --without-opengl do not use OpenGL
2123 --without-osmesa do not use the OSMesa library
2124 --without-oss do not use the OSS sound support
2125 --without-pcap do not use the Packet Capture library
2126 --without-png do not use PNG
2127 --without-pthread do not use the pthread library
2128 --without-sane do not use SANE (scanner support)
2129 --without-tiff do not use TIFF
2130 --without-v4l do not use v4l1 (v4l support)
2131 --without-xcomposite do not use the Xcomposite extension
2132 --without-xcursor do not use the Xcursor extension
2133 --without-xinerama do not use Xinerama (multi-monitor support)
2134 --without-xinput do not use the Xinput extension
2135 --without-xinput2 do not use the Xinput 2 extension
2136 --without-xml do not use XML
2137 --without-xrandr do not use Xrandr (resolution changes)
2138 --without-xrender do not use the Xrender extension
2139 --without-xshape do not use the Xshape extension
2140 --without-xshm do not use XShm (shared memory extension)
2141 --without-xslt do not use XSLT
2142 --without-xxf86vm do not use XFree video mode extension
2143 --without-zlib do not use Zlib (data compression)
2144 --with-wine-tools=DIR use Wine tools from directory DIR
2145 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2146 --with-x use the X Window System
2148 Some influential environment variables:
2149 CC C compiler command
2150 CFLAGS C compiler flags
2151 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2152 nonstandard directory <lib dir>
2153 LIBS libraries to pass to the linker, e.g. -l<library>
2154 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2155 you have headers in a nonstandard directory <include dir>
2156 CXX C++ compiler command
2157 CXXFLAGS C++ compiler flags
2159 XMKMF Path to xmkmf, Makefile generator for X Window System
2160 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2161 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2162 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2163 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2164 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2165 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2166 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2167 HAL_LIBS Linker flags for hal, overriding pkg-config
2169 C compiler flags for gnutls, overriding pkg-config
2170 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2171 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2172 SANE_LIBS Linker flags for libsane, overriding pkg-config
2174 C compiler flags for libgphoto2, overriding pkg-config
2176 Linker flags for libgphoto2, overriding pkg-config
2178 C compiler flags for libgphoto2_port, overriding pkg-config
2180 Linker flags for libgphoto2_port, overriding pkg-config
2182 C compiler flags for lcms2, overriding pkg-config
2183 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2185 C compiler flags for freetype2, overriding pkg-config
2187 Linker flags for freetype2, overriding pkg-config
2189 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2191 Linker flags for gstreamer-app-0.10, overriding pkg-config
2193 C compiler flags for capi20, overriding pkg-config
2194 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2196 C compiler flags for fontconfig, overriding pkg-config
2198 Linker flags for fontconfig, overriding pkg-config
2199 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2200 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2201 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2202 PNG_LIBS Linker flags for libpng, overriding pkg-config
2203 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2204 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2206 C compiler flags for libmpg123, overriding pkg-config
2207 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2209 Use these variables to override the choices made by `configure' or to
help
2210 it to
find libraries and programs with nonstandard names
/locations.
2212 Report bugs to
<wine-devel@winehq.org
>.
2213 Wine home page
: <http
://www.winehq.org
>.
2218 if test "$ac_init_help" = "recursive"; then
2219 # If there are subdirs, report their specific --help.
2220 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2221 test -d "$ac_dir" ||
2222 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2227 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2229 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2230 # A ".." for each directory in $ac_dir_suffix.
2231 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2232 case $ac_top_builddir_sub in
2233 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2234 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2237 ac_abs_top_builddir
=$ac_pwd
2238 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2239 # for backward compatibility:
2240 ac_top_builddir
=$ac_top_build_prefix
2243 .
) # We are building in place.
2245 ac_top_srcdir
=$ac_top_builddir_sub
2246 ac_abs_top_srcdir
=$ac_pwd ;;
2247 [\\/]* | ?
:[\\/]* ) # Absolute name.
2248 ac_srcdir
=$srcdir$ac_dir_suffix;
2249 ac_top_srcdir
=$srcdir
2250 ac_abs_top_srcdir
=$srcdir ;;
2252 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2253 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2254 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2256 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2258 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2259 # Check for guested configure.
2260 if test -f "$ac_srcdir/configure.gnu"; then
2262 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2263 elif test -f "$ac_srcdir/configure"; then
2265 $SHELL "$ac_srcdir/configure" --help=recursive
2267 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2269 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2273 test -n "$ac_init_help" && exit $ac_status
2274 if $ac_init_version; then
2276 Wine configure
1.7.34
2277 generated by GNU Autoconf
2.69
2279 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2280 This configure
script is free software
; the Free Software Foundation
2281 gives unlimited permission to copy
, distribute and modify it.
2286 ## ------------------------ ##
2287 ## Autoconf initialization. ##
2288 ## ------------------------ ##
2290 # ac_fn_c_try_compile LINENO
2291 # --------------------------
2292 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2293 ac_fn_c_try_compile
()
2295 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2296 rm -f conftest.
$ac_objext
2297 if { { ac_try
="$ac_compile"
2299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2300 *) ac_try_echo=$ac_try;;
2302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2303 $as_echo "$ac_try_echo"; } >&5
2304 (eval "$ac_compile") 2>conftest.err
2306 if test -s conftest.err; then
2307 grep -v '^ *+' conftest.err >conftest.er1
2308 cat conftest.er1 >&5
2309 mv -f conftest.er1 conftest.err
2311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2312 test $ac_status = 0; } && {
2313 test -z "$ac_c_werror_flag" ||
2314 test ! -s conftest.err
2315 } && test -s conftest.$ac_objext; then :
2318 $as_echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.$ac_ext >&5
2323 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324 as_fn_set_status $ac_retval
2326 } # ac_fn_c_try_compile
2328 # ac_fn_cxx_try_compile LINENO
2329 # ----------------------------
2330 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2331 ac_fn_cxx_try_compile ()
2333 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2334 rm -f conftest.$ac_objext
2335 if { { ac_try="$ac_compile"
2337 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2338 *) ac_try_echo
=$ac_try;;
2340 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2341 $as_echo "$ac_try_echo"; } >&5
2342 (eval "$ac_compile") 2>conftest.err
2344 if test -s conftest.err
; then
2345 grep -v '^ *+' conftest.err
>conftest.er1
2346 cat conftest.er1
>&5
2347 mv -f conftest.er1 conftest.err
2349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2350 test $ac_status = 0; } && {
2351 test -z "$ac_cxx_werror_flag" ||
2352 test ! -s conftest.err
2353 } && test -s conftest.
$ac_objext; then :
2356 $as_echo "$as_me: failed program was:" >&5
2357 sed 's/^/| /' conftest.
$ac_ext >&5
2361 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2362 as_fn_set_status
$ac_retval
2364 } # ac_fn_cxx_try_compile
2366 # ac_fn_c_try_link LINENO
2367 # -----------------------
2368 # Try to link conftest.$ac_ext, and return whether this succeeded.
2371 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2372 rm -f conftest.
$ac_objext conftest
$ac_exeext
2373 if { { ac_try
="$ac_link"
2375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2379 $as_echo "$ac_try_echo"; } >&5
2380 (eval "$ac_link") 2>conftest.err
2382 if test -s conftest.err; then
2383 grep -v '^ *+' conftest.err >conftest.er1
2384 cat conftest.er1 >&5
2385 mv -f conftest.er1 conftest.err
2387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2388 test $ac_status = 0; } && {
2389 test -z "$ac_c_werror_flag" ||
2390 test ! -s conftest.err
2391 } && test -s conftest$ac_exeext && {
2392 test "$cross_compiling" = yes ||
2393 test -x conftest$ac_exeext
2397 $as_echo "$as_me: failed program was:" >&5
2398 sed 's/^/| /' conftest.$ac_ext >&5
2402 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2403 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2404 # interfere with the next link command; also delete a directory that is
2405 # left behind by Apple's compiler. We do this before executing the actions.
2406 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2407 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2408 as_fn_set_status $ac_retval
2410 } # ac_fn_c_try_link
2412 # ac_fn_c_try_cpp LINENO
2413 # ----------------------
2414 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2418 if { { ac_try="$ac_cpp conftest.$ac_ext"
2420 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2421 *) ac_try_echo
=$ac_try;;
2423 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2424 $as_echo "$ac_try_echo"; } >&5
2425 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2427 if test -s conftest.err
; then
2428 grep -v '^ *+' conftest.err
>conftest.er1
2429 cat conftest.er1
>&5
2430 mv -f conftest.er1 conftest.err
2432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2433 test $ac_status = 0; } > conftest.i
&& {
2434 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2435 test ! -s conftest.err
2439 $as_echo "$as_me: failed program was:" >&5
2440 sed 's/^/| /' conftest.
$ac_ext >&5
2444 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2445 as_fn_set_status
$ac_retval
2449 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2450 # -------------------------------------------------------
2451 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2452 # the include files in INCLUDES and setting the cache variable VAR
2454 ac_fn_c_check_header_mongrel
()
2456 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2457 if eval \
${$3+:} false
; then :
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2459 $as_echo_n "checking for $2... " >&6; }
2460 if eval \
${$3+:} false
; then :
2461 $as_echo_n "(cached) " >&6
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2465 $as_echo "$ac_res" >&6; }
2467 # Is the header compilable?
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2469 $as_echo_n "checking $2 usability... " >&6; }
2470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2471 /* end confdefs.h. */
2475 if ac_fn_c_try_compile
"$LINENO"; then :
2476 ac_header_compiler
=yes
2478 ac_header_compiler
=no
2480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2482 $as_echo "$ac_header_compiler" >&6; }
2484 # Is the header present?
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2486 $as_echo_n "checking $2 presence... " >&6; }
2487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2488 /* end confdefs.h. */
2491 if ac_fn_c_try_cpp
"$LINENO"; then :
2492 ac_header_preproc
=yes
2494 ac_header_preproc
=no
2496 rm -f conftest.err conftest.i conftest.
$ac_ext
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2498 $as_echo "$ac_header_preproc" >&6; }
2500 # So? What about this header?
2501 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2504 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2506 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2510 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2512 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2514 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2516 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2518 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2519 ( $as_echo "## ------------------------------------ ##
2520 ## Report this to wine-devel@winehq.org ##
2521 ## ------------------------------------ ##"
2522 ) |
sed "s/^/$as_me: WARNING: /" >&2
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2526 $as_echo_n "checking for $2... " >&6; }
2527 if eval \
${$3+:} false
; then :
2528 $as_echo_n "(cached) " >&6
2530 eval "$3=\$ac_header_compiler"
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2534 $as_echo "$ac_res" >&6; }
2536 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2538 } # ac_fn_c_check_header_mongrel
2540 # ac_fn_c_try_run LINENO
2541 # ----------------------
2542 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2543 # that executables *can* be run.
2546 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2547 if { { ac_try
="$ac_link"
2549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2550 *) ac_try_echo=$ac_try;;
2552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2553 $as_echo "$ac_try_echo"; } >&5
2554 (eval "$ac_link") 2>&5
2556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2557 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2558 { { case "(($ac_try" in
2559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2560 *) ac_try_echo
=$ac_try;;
2562 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2563 $as_echo "$ac_try_echo"; } >&5
2564 (eval "$ac_try") 2>&5
2566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2567 test $ac_status = 0; }; }; then :
2570 $as_echo "$as_me: program exited with status $ac_status" >&5
2571 $as_echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.
$ac_ext >&5
2574 ac_retval
=$ac_status
2576 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2578 as_fn_set_status
$ac_retval
2582 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2583 # -------------------------------------------------------
2584 # Tests whether HEADER exists and can be compiled using the include files in
2585 # INCLUDES, setting the cache variable VAR accordingly.
2586 ac_fn_c_check_header_compile
()
2588 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2590 $as_echo_n "checking for $2... " >&6; }
2591 if eval \
${$3+:} false
; then :
2592 $as_echo_n "(cached) " >&6
2594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2595 /* end confdefs.h. */
2599 if ac_fn_c_try_compile
"$LINENO"; then :
2604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2608 $as_echo "$ac_res" >&6; }
2609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2611 } # ac_fn_c_check_header_compile
2613 # ac_fn_c_check_func LINENO FUNC VAR
2614 # ----------------------------------
2615 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2616 ac_fn_c_check_func
()
2618 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2620 $as_echo_n "checking for $2... " >&6; }
2621 if eval \
${$3+:} false
; then :
2622 $as_echo_n "(cached) " >&6
2624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2625 /* end confdefs.h. */
2626 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2628 #define $2 innocuous_$2
2630 /* System header to define __stub macros and hopefully few prototypes,
2631 which can conflict with char $2 (); below.
2632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2633 <limits.h> exists even on freestanding compilers. */
2636 # include <limits.h>
2638 # include <assert.h>
2643 /* Override any GCC internal prototype to avoid an error.
2644 Use char because int might match the return type of a GCC
2645 builtin and then its argument prototype would still apply. */
2650 /* The GNU C library defines this for functions which it implements
2651 to always fail with ENOSYS. Some functions are actually named
2652 something starting with __ and the normal name is an alias. */
2653 #if defined __stub_$2 || defined __stub___$2
2665 if ac_fn_c_try_link
"$LINENO"; then :
2670 rm -f core conftest.err conftest.
$ac_objext \
2671 conftest
$ac_exeext conftest.
$ac_ext
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2675 $as_echo "$ac_res" >&6; }
2676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2678 } # ac_fn_c_check_func
2680 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2681 # ----------------------------------------------------
2682 # Tries to find if the field MEMBER exists in type AGGR, after including
2683 # INCLUDES, setting cache variable VAR accordingly.
2684 ac_fn_c_check_member
()
2686 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2688 $as_echo_n "checking for $2.$3... " >&6; }
2689 if eval \
${$4+:} false
; then :
2690 $as_echo_n "(cached) " >&6
2692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2693 /* end confdefs.h. */
2705 if ac_fn_c_try_compile
"$LINENO"; then :
2708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2709 /* end confdefs.h. */
2715 if (sizeof ac_aggr.$3)
2721 if ac_fn_c_try_compile
"$LINENO"; then :
2726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2732 $as_echo "$ac_res" >&6; }
2733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2735 } # ac_fn_c_check_member
2737 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2738 # -------------------------------------------
2739 # Tests whether TYPE exists after having included INCLUDES, setting cache
2740 # variable VAR accordingly.
2741 ac_fn_c_check_type
()
2743 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2745 $as_echo_n "checking for $2... " >&6; }
2746 if eval \
${$3+:} false
; then :
2747 $as_echo_n "(cached) " >&6
2750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2751 /* end confdefs.h. */
2762 if ac_fn_c_try_compile
"$LINENO"; then :
2763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2764 /* end confdefs.h. */
2775 if ac_fn_c_try_compile
"$LINENO"; then :
2780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2786 $as_echo "$ac_res" >&6; }
2787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2789 } # ac_fn_c_check_type
2790 cat >config.log
<<_ACEOF
2791 This file contains any messages produced by compilers while
2792 running configure, to aid debugging if configure makes a mistake.
2794 It was created by Wine $as_me 1.7.34, which was
2795 generated by GNU Autoconf 2.69. Invocation command line was
2807 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2808 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2809 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2810 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2811 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2813 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2814 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2816 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2817 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2818 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2819 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2820 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2821 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2822 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir
=.
2831 $as_echo "PATH: $as_dir"
2847 # Keep a trace of the command line.
2848 # Strip out --no-create and --no-recursion so they do not pile up.
2849 # Strip out --silent because we don't want to record it for future runs.
2850 # Also quote any args containing shell meta-characters.
2851 # Make two passes to allow for proper duplicate-argument suppression.
2855 ac_must_keep_next
=false
2861 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2862 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2863 |
-silent |
--silent |
--silen |
--sile |
--sil)
2866 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2869 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2871 as_fn_append ac_configure_args1
" '$ac_arg'"
2872 if test $ac_must_keep_next = true
; then
2873 ac_must_keep_next
=false
# Got value, back to normal.
2876 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2877 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2878 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2879 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2880 case "$ac_configure_args0 " in
2881 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2884 -* ) ac_must_keep_next
=true
;;
2887 as_fn_append ac_configure_args
" '$ac_arg'"
2892 { ac_configure_args0
=; unset ac_configure_args0
;}
2893 { ac_configure_args1
=; unset ac_configure_args1
;}
2895 # When interrupted or exit'd, cleanup temporary files, and complete
2896 # config.log. We remove comments because anyway the quotes in there
2897 # would cause problems or look ugly.
2898 # WARNING: Use '\'' to represent an apostrophe within the trap.
2899 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2900 trap 'exit_status=$?
2901 # Save into config.log some information that might help in debugging.
2905 $as_echo "## ---------------- ##
2906 ## Cache variables. ##
2907 ## ---------------- ##"
2909 # The following way of writing the cache mishandles newlines in values,
2911 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2912 eval ac_val=\$$ac_var
2916 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2917 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2920 _ | IFS | as_nl) ;; #(
2921 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2922 *) { eval $ac_var=; unset $ac_var;} ;;
2927 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2928 *${as_nl}ac_space=\ *)
2930 "s/'\''/'\''\\\\'\'''\''/g;
2931 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2934 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2941 $as_echo "## ----------------- ##
2942 ## Output variables. ##
2943 ## ----------------- ##"
2945 for ac_var in $ac_subst_vars
2947 eval ac_val=\$$ac_var
2949 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2951 $as_echo "$ac_var='\''$ac_val'\''"
2955 if test -n "$ac_subst_files"; then
2956 $as_echo "## ------------------- ##
2957 ## File substitutions. ##
2958 ## ------------------- ##"
2960 for ac_var
in $ac_subst_files
2962 eval ac_val
=\$
$ac_var
2964 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2966 $as_echo "$ac_var='\''$ac_val'\''"
2971 if test -s confdefs.h; then
2972 $as_echo "## ----------- ##
2979 test "$ac_signal" != 0 &&
2980 $as_echo "$as_me: caught signal $ac_signal"
2981 $as_echo "$as_me: exit $exit_status"
2983 rm -f core *.core core.conftest.* &&
2984 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2987 for ac_signal
in 1 2 13 15; do
2988 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2992 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2993 rm -f -r conftest
* confdefs.h
2995 $as_echo "/* confdefs.h */" > confdefs.h
2997 # Predefined preprocessor variables.
2999 cat >>confdefs.h
<<_ACEOF
3000 #define PACKAGE_NAME "$PACKAGE_NAME"
3003 cat >>confdefs.h
<<_ACEOF
3004 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3007 cat >>confdefs.h
<<_ACEOF
3008 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3011 cat >>confdefs.h
<<_ACEOF
3012 #define PACKAGE_STRING "$PACKAGE_STRING"
3015 cat >>confdefs.h
<<_ACEOF
3016 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3019 cat >>confdefs.h
<<_ACEOF
3020 #define PACKAGE_URL "$PACKAGE_URL"
3024 # Let the site file select an alternate cache file if it wants to.
3025 # Prefer an explicitly selected file to automatically selected ones.
3028 if test -n "$CONFIG_SITE"; then
3029 # We do not want a PATH search for config.site.
3030 case $CONFIG_SITE in #((
3031 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3032 */*) ac_site_file1
=$CONFIG_SITE;;
3033 *) ac_site_file1
=.
/$CONFIG_SITE;;
3035 elif test "x$prefix" != xNONE
; then
3036 ac_site_file1
=$prefix/share
/config.site
3037 ac_site_file2
=$prefix/etc
/config.site
3039 ac_site_file1
=$ac_default_prefix/share
/config.site
3040 ac_site_file2
=$ac_default_prefix/etc
/config.site
3042 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3044 test "x$ac_site_file" = xNONE
&& continue
3045 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3047 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3048 sed 's/^/| /' "$ac_site_file" >&5
3050 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3052 as_fn_error $?
"failed to load site script $ac_site_file
3053 See \`config.log' for more details" "$LINENO" 5; }
3057 if test -r "$cache_file"; then
3058 # Some versions of bash will fail to source /dev/null (special files
3059 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3060 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3062 $as_echo "$as_me: loading cache $cache_file" >&6;}
3064 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3065 *) .
"./$cache_file";;
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3070 $as_echo "$as_me: creating cache $cache_file" >&6;}
3074 # Check that the precious variables saved in the cache have kept the same
3076 ac_cache_corrupted
=false
3077 for ac_var
in $ac_precious_vars; do
3078 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3079 eval ac_new_set
=\
$ac_env_${ac_var}_set
3080 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3081 eval ac_new_val
=\
$ac_env_${ac_var}_value
3082 case $ac_old_set,$ac_new_set in
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3085 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3086 ac_cache_corrupted
=: ;;
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3089 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3090 ac_cache_corrupted
=: ;;
3093 if test "x$ac_old_val" != "x$ac_new_val"; then
3094 # differences in whitespace do not lead to failure.
3095 ac_old_val_w
=`echo x $ac_old_val`
3096 ac_new_val_w
=`echo x $ac_new_val`
3097 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3099 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3100 ac_cache_corrupted
=:
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3103 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3104 eval $ac_var=\
$ac_old_val
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3107 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3109 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3112 # Pass precious variables to config.status.
3113 if test "$ac_new_set" = set; then
3115 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3116 *) ac_arg
=$ac_var=$ac_new_val ;;
3118 case " $ac_configure_args " in
3119 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3120 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3124 if $ac_cache_corrupted; then
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3128 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3129 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3131 ## -------------------- ##
3132 ## Main body of script. ##
3133 ## -------------------- ##
3136 ac_cpp
='$CPP $CPPFLAGS'
3137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3143 ac_config_headers
="$ac_config_headers include/config.h"
3146 for ac_dir
in tools
"$srcdir"/tools
; do
3147 if test -f "$ac_dir/install-sh"; then
3149 ac_install_sh
="$ac_aux_dir/install-sh -c"
3151 elif test -f "$ac_dir/install.sh"; then
3153 ac_install_sh
="$ac_aux_dir/install.sh -c"
3155 elif test -f "$ac_dir/shtool"; then
3157 ac_install_sh
="$ac_aux_dir/shtool install -c"
3161 if test -z "$ac_aux_dir"; then
3162 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3165 # These three variables are undocumented and unsupported,
3166 # and are intended to be withdrawn in a future Autoconf release.
3167 # They can cause serious problems if a builder's source tree is in a directory
3168 # whose full name contains unusual characters.
3169 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3170 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3171 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3175 libwine_version
="1.0"
3179 # Check whether --enable-win16 was given.
3180 if test "${enable_win16+set}" = set; then :
3181 enableval
=$enable_win16;
3184 # Check whether --enable-win64 was given.
3185 if test "${enable_win64+set}" = set; then :
3186 enableval
=$enable_win64;
3189 # Check whether --enable-tests was given.
3190 if test "${enable_tests+set}" = set; then :
3191 enableval
=$enable_tests;
3194 # Check whether --enable-maintainer-mode was given.
3195 if test "${enable_maintainer_mode+set}" = set; then :
3196 enableval
=$enable_maintainer_mode;
3201 # Check whether --with-alsa was given.
3202 if test "${with_alsa+set}" = set; then :
3203 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3207 # Check whether --with-capi was given.
3208 if test "${with_capi+set}" = set; then :
3213 # Check whether --with-cms was given.
3214 if test "${with_cms+set}" = set; then :
3219 # Check whether --with-coreaudio was given.
3220 if test "${with_coreaudio+set}" = set; then :
3221 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3225 # Check whether --with-cups was given.
3226 if test "${with_cups+set}" = set; then :
3231 # Check whether --with-curses was given.
3232 if test "${with_curses+set}" = set; then :
3233 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3237 # Check whether --with-dbus was given.
3238 if test "${with_dbus+set}" = set; then :
3243 # Check whether --with-fontconfig was given.
3244 if test "${with_fontconfig+set}" = set; then :
3245 withval
=$with_fontconfig;
3249 # Check whether --with-freetype was given.
3250 if test "${with_freetype+set}" = set; then :
3251 withval
=$with_freetype;
3255 # Check whether --with-gettext was given.
3256 if test "${with_gettext+set}" = set; then :
3257 withval
=$with_gettext;
3261 # Check whether --with-gettextpo was given.
3262 if test "${with_gettextpo+set}" = set; then :
3263 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3267 # Check whether --with-gphoto was given.
3268 if test "${with_gphoto+set}" = set; then :
3269 withval
=$with_gphoto;
3273 # Check whether --with-glu was given.
3274 if test "${with_glu+set}" = set; then :
3279 # Check whether --with-gnutls was given.
3280 if test "${with_gnutls+set}" = set; then :
3281 withval
=$with_gnutls;
3285 # Check whether --with-gsm was given.
3286 if test "${with_gsm+set}" = set; then :
3287 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3291 # Check whether --with-gstreamer was given.
3292 if test "${with_gstreamer+set}" = set; then :
3293 withval
=$with_gstreamer;
3297 # Check whether --with-hal was given.
3298 if test "${with_hal+set}" = set; then :
3303 # Check whether --with-jpeg was given.
3304 if test "${with_jpeg+set}" = set; then :
3309 # Check whether --with-ldap was given.
3310 if test "${with_ldap+set}" = set; then :
3311 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3315 # Check whether --with-mpg123 was given.
3316 if test "${with_mpg123+set}" = set; then :
3317 withval
=$with_mpg123;
3321 # Check whether --with-netapi was given.
3322 if test "${with_netapi+set}" = set; then :
3323 withval
=$with_netapi;
3327 # Check whether --with-openal was given.
3328 if test "${with_openal+set}" = set; then :
3329 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3333 # Check whether --with-opencl was given.
3334 if test "${with_opencl+set}" = set; then :
3335 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3339 # Check whether --with-opengl was given.
3340 if test "${with_opengl+set}" = set; then :
3341 withval
=$with_opengl;
3345 # Check whether --with-osmesa was given.
3346 if test "${with_osmesa+set}" = set; then :
3347 withval
=$with_osmesa;
3351 # Check whether --with-oss was given.
3352 if test "${with_oss+set}" = set; then :
3357 # Check whether --with-pcap was given.
3358 if test "${with_pcap+set}" = set; then :
3359 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3363 # Check whether --with-png was given.
3364 if test "${with_png+set}" = set; then :
3369 # Check whether --with-pthread was given.
3370 if test "${with_pthread+set}" = set; then :
3371 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3375 # Check whether --with-sane was given.
3376 if test "${with_sane+set}" = set; then :
3381 # Check whether --with-tiff was given.
3382 if test "${with_tiff+set}" = set; then :
3387 # Check whether --with-v4l was given.
3388 if test "${with_v4l+set}" = set; then :
3393 # Check whether --with-xcomposite was given.
3394 if test "${with_xcomposite+set}" = set; then :
3395 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3399 # Check whether --with-xcursor was given.
3400 if test "${with_xcursor+set}" = set; then :
3401 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3405 # Check whether --with-xinerama was given.
3406 if test "${with_xinerama+set}" = set; then :
3407 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3411 # Check whether --with-xinput was given.
3412 if test "${with_xinput+set}" = set; then :
3413 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3417 # Check whether --with-xinput2 was given.
3418 if test "${with_xinput2+set}" = set; then :
3419 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3423 # Check whether --with-xml was given.
3424 if test "${with_xml+set}" = set; then :
3429 # Check whether --with-xrandr was given.
3430 if test "${with_xrandr+set}" = set; then :
3431 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3435 # Check whether --with-xrender was given.
3436 if test "${with_xrender+set}" = set; then :
3437 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3441 # Check whether --with-xshape was given.
3442 if test "${with_xshape+set}" = set; then :
3443 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3447 # Check whether --with-xshm was given.
3448 if test "${with_xshm+set}" = set; then :
3449 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3453 # Check whether --with-xslt was given.
3454 if test "${with_xslt+set}" = set; then :
3459 # Check whether --with-xxf86vm was given.
3460 if test "${with_xxf86vm+set}" = set; then :
3461 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
3465 # Check whether --with-zlib was given.
3466 if test "${with_zlib+set}" = set; then :
3467 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3472 # Check whether --with-wine-tools was given.
3473 if test "${with_wine_tools+set}" = set; then :
3474 withval
=$with_wine_tools;
3478 # Check whether --with-wine64 was given.
3479 if test "${with_wine64+set}" = set; then :
3480 withval
=$with_wine64;
3484 # Make sure we can run config.sub.
3485 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3486 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3489 $as_echo_n "checking build system type... " >&6; }
3490 if ${ac_cv_build+:} false
; then :
3491 $as_echo_n "(cached) " >&6
3493 ac_build_alias
=$build_alias
3494 test "x$ac_build_alias" = x
&&
3495 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3496 test "x$ac_build_alias" = x
&&
3497 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3498 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3499 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3503 $as_echo "$ac_cv_build" >&6; }
3504 case $ac_cv_build in
3506 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3509 ac_save_IFS
=$IFS; IFS
='-'
3515 # Remember, the first character of IFS is used to create $*,
3516 # except with old shells:
3519 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3523 $as_echo_n "checking host system type... " >&6; }
3524 if ${ac_cv_host+:} false
; then :
3525 $as_echo_n "(cached) " >&6
3527 if test "x$host_alias" = x
; then
3528 ac_cv_host
=$ac_cv_build
3530 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3531 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3536 $as_echo "$ac_cv_host" >&6; }
3539 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3542 ac_save_IFS
=$IFS; IFS
='-'
3548 # Remember, the first character of IFS is used to create $*,
3549 # except with old shells:
3552 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3558 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3559 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3560 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3566 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3568 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3569 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3570 $as_echo_n "(cached) " >&6
3572 cat >conftest.
make <<\_ACEOF
3575 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3577 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3578 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3580 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3582 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3586 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3588 $as_echo "yes" >&6; }
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3592 $as_echo "no" >&6; }
3593 SET_MAKE
="MAKE=${MAKE-make}"
3597 ac_cpp
='$CPP $CPPFLAGS'
3598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3601 if test -n "$ac_tool_prefix"; then
3602 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3603 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3605 $as_echo_n "checking for $ac_word... " >&6; }
3606 if ${ac_cv_prog_CC+:} false
; then :
3607 $as_echo_n "(cached) " >&6
3609 if test -n "$CC"; then
3610 ac_cv_prog_CC
="$CC" # Let the user override the test.
3612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3616 test -z "$as_dir" && as_dir
=.
3617 for ac_exec_ext
in '' $ac_executable_extensions; do
3618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3619 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3630 if test -n "$CC"; then
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3632 $as_echo "$CC" >&6; }
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3635 $as_echo "no" >&6; }
3640 if test -z "$ac_cv_prog_CC"; then
3642 # Extract the first word of "gcc", so it can be a program name with args.
3643 set dummy gcc
; ac_word
=$2
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3645 $as_echo_n "checking for $ac_word... " >&6; }
3646 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3647 $as_echo_n "(cached) " >&6
3649 if test -n "$ac_ct_CC"; then
3650 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3656 test -z "$as_dir" && as_dir
=.
3657 for ac_exec_ext
in '' $ac_executable_extensions; do
3658 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3659 ac_cv_prog_ac_ct_CC
="gcc"
3660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3670 if test -n "$ac_ct_CC"; then
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3672 $as_echo "$ac_ct_CC" >&6; }
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3675 $as_echo "no" >&6; }
3678 if test "x$ac_ct_CC" = x
; then
3681 case $cross_compiling:$ac_tool_warned in
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3685 ac_tool_warned
=yes ;;
3693 if test -z "$CC"; then
3694 if test -n "$ac_tool_prefix"; then
3695 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3696 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698 $as_echo_n "checking for $ac_word... " >&6; }
3699 if ${ac_cv_prog_CC+:} false
; then :
3700 $as_echo_n "(cached) " >&6
3702 if test -n "$CC"; then
3703 ac_cv_prog_CC
="$CC" # Let the user override the test.
3705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3709 test -z "$as_dir" && as_dir
=.
3710 for ac_exec_ext
in '' $ac_executable_extensions; do
3711 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3712 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3723 if test -n "$CC"; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3725 $as_echo "$CC" >&6; }
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 $as_echo "no" >&6; }
3734 if test -z "$CC"; then
3735 # Extract the first word of "cc", so it can be a program name with args.
3736 set dummy cc
; ac_word
=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if ${ac_cv_prog_CC+:} false
; then :
3740 $as_echo_n "(cached) " >&6
3742 if test -n "$CC"; then
3743 ac_cv_prog_CC
="$CC" # Let the user override the test.
3746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3750 test -z "$as_dir" && as_dir
=.
3751 for ac_exec_ext
in '' $ac_executable_extensions; do
3752 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3753 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3754 ac_prog_rejected
=yes
3758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 if test $ac_prog_rejected = yes; then
3766 # We found a bogon in the path, so make sure we never use it.
3767 set dummy
$ac_cv_prog_CC
3769 if test $# != 0; then
3770 # We chose a different compiler from the bogus one.
3771 # However, it has the same basename, so the bogon will be chosen
3772 # first if we set CC to just the basename; use the full file name.
3774 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3780 if test -n "$CC"; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3782 $as_echo "$CC" >&6; }
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785 $as_echo "no" >&6; }
3790 if test -z "$CC"; then
3791 if test -n "$ac_tool_prefix"; then
3792 for ac_prog
in cl.exe
3794 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3795 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3797 $as_echo_n "checking for $ac_word... " >&6; }
3798 if ${ac_cv_prog_CC+:} false
; then :
3799 $as_echo_n "(cached) " >&6
3801 if test -n "$CC"; then
3802 ac_cv_prog_CC
="$CC" # Let the user override the test.
3804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3808 test -z "$as_dir" && as_dir
=.
3809 for ac_exec_ext
in '' $ac_executable_extensions; do
3810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3811 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3822 if test -n "$CC"; then
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3824 $as_echo "$CC" >&6; }
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3827 $as_echo "no" >&6; }
3831 test -n "$CC" && break
3834 if test -z "$CC"; then
3836 for ac_prog
in cl.exe
3838 # Extract the first word of "$ac_prog", so it can be a program name with args.
3839 set dummy
$ac_prog; ac_word
=$2
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3841 $as_echo_n "checking for $ac_word... " >&6; }
3842 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3843 $as_echo_n "(cached) " >&6
3845 if test -n "$ac_ct_CC"; then
3846 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3852 test -z "$as_dir" && as_dir
=.
3853 for ac_exec_ext
in '' $ac_executable_extensions; do
3854 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3855 ac_cv_prog_ac_ct_CC
="$ac_prog"
3856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3865 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3866 if test -n "$ac_ct_CC"; then
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3868 $as_echo "$ac_ct_CC" >&6; }
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3871 $as_echo "no" >&6; }
3875 test -n "$ac_ct_CC" && break
3878 if test "x$ac_ct_CC" = x
; then
3881 case $cross_compiling:$ac_tool_warned in
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3885 ac_tool_warned
=yes ;;
3894 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3896 as_fn_error $?
"no acceptable C compiler found in \$PATH
3897 See \`config.log' for more details" "$LINENO" 5; }
3899 # Provide some information about the compiler.
3900 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3903 for ac_option
in --version -v -V -qversion; do
3904 { { ac_try
="$ac_compiler $ac_option >&5"
3906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3907 *) ac_try_echo=$ac_try;;
3909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3910 $as_echo "$ac_try_echo"; } >&5
3911 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3913 if test -s conftest.err; then
3915 ... rest of stderr output deleted ...
3916 10q' conftest.err >conftest.er1
3917 cat conftest.er1 >&5
3919 rm -f conftest.er1 conftest.err
3920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3921 test $ac_status = 0; }
3924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3925 /* end confdefs.h. */
3935 ac_clean_files_save=$ac_clean_files
3936 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3937 # Try to create an executable without -o first, disregard a.out.
3938 # It will help us diagnose broken compilers, and finding out an intuition
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3941 $as_echo_n "checking whether the C compiler works... " >&6; }
3942 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3944 # The possible output files:
3945 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3948 for ac_file in $ac_files
3951 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3952 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3957 if { { ac_try="$ac_link_default"
3959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3960 *) ac_try_echo
=$ac_try;;
3962 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3963 $as_echo "$ac_try_echo"; } >&5
3964 (eval "$ac_link_default") 2>&5
3966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3967 test $ac_status = 0; }; then :
3968 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3969 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3970 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3971 # so that the user can short-circuit this test for compilers unknown to
3973 for ac_file
in $ac_files ''
3975 test -f "$ac_file" ||
continue
3977 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3980 # We found the default executable, but exeext='' is most
3984 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3986 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3988 # We set ac_cv_exeext here because the later test for it is not
3989 # safe: cross compilers may not add the suffix if given an `-o'
3990 # argument, so we may need to know it at that point already.
3991 # Even if this section looks crufty: it has the advantage of
3998 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4003 if test -z "$ac_file"; then :
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4005 $as_echo "no" >&6; }
4006 $as_echo "$as_me: failed program was:" >&5
4007 sed 's/^/| /' conftest.
$ac_ext >&5
4009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4011 as_fn_error
77 "C compiler cannot create executables
4012 See \`config.log' for more details" "$LINENO" 5; }
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4015 $as_echo "yes" >&6; }
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4018 $as_echo_n "checking for C compiler default output file name... " >&6; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4020 $as_echo "$ac_file" >&6; }
4021 ac_exeext
=$ac_cv_exeext
4023 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4024 ac_clean_files
=$ac_clean_files_save
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4026 $as_echo_n "checking for suffix of executables... " >&6; }
4027 if { { ac_try
="$ac_link"
4029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4030 *) ac_try_echo=$ac_try;;
4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 $as_echo "$ac_try_echo"; } >&5
4034 (eval "$ac_link") 2>&5
4036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4037 test $ac_status = 0; }; then :
4038 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4039 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4040 # work properly (i.e., refer to `conftest.exe'), while it won't with
4042 for ac_file
in conftest.exe conftest conftest.
*; do
4043 test -f "$ac_file" ||
continue
4045 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4046 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4054 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4055 See \`config.log' for more details" "$LINENO" 5; }
4057 rm -f conftest conftest
$ac_cv_exeext
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4059 $as_echo "$ac_cv_exeext" >&6; }
4061 rm -f conftest.
$ac_ext
4062 EXEEXT
=$ac_cv_exeext
4064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h. */
4070 FILE *f = fopen ("conftest.out", "w");
4071 return ferror (f) || fclose (f) != 0;
4077 ac_clean_files
="$ac_clean_files conftest.out"
4078 # Check that the compiler produces executables we can run. If not, either
4079 # the compiler is broken, or we cross compile.
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4081 $as_echo_n "checking whether we are cross compiling... " >&6; }
4082 if test "$cross_compiling" != yes; then
4083 { { ac_try
="$ac_link"
4085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4086 *) ac_try_echo=$ac_try;;
4088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089 $as_echo "$ac_try_echo"; } >&5
4090 (eval "$ac_link") 2>&5
4092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093 test $ac_status = 0; }
4094 if { ac_try='./conftest$ac_cv_exeext'
4095 { { case "(($ac_try" in
4096 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4097 *) ac_try_echo
=$ac_try;;
4099 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100 $as_echo "$ac_try_echo"; } >&5
4101 (eval "$ac_try") 2>&5
4103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104 test $ac_status = 0; }; }; then
4107 if test "$cross_compiling" = maybe
; then
4110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4112 as_fn_error $?
"cannot run C compiled programs.
4113 If you meant to cross compile, use \`--host'.
4114 See \`config.log' for more details" "$LINENO" 5; }
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4119 $as_echo "$cross_compiling" >&6; }
4121 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4122 ac_clean_files
=$ac_clean_files_save
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4124 $as_echo_n "checking for suffix of object files... " >&6; }
4125 if ${ac_cv_objext+:} false
; then :
4126 $as_echo_n "(cached) " >&6
4128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4139 rm -f conftest.o conftest.obj
4140 if { { ac_try
="$ac_compile"
4142 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4143 *) ac_try_echo=$ac_try;;
4145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4146 $as_echo "$ac_try_echo"; } >&5
4147 (eval "$ac_compile") 2>&5
4149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4150 test $ac_status = 0; }; then :
4151 for ac_file in conftest.o conftest.obj conftest.*; do
4152 test -f "$ac_file" || continue;
4154 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4155 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4160 $as_echo "$as_me: failed program was:" >&5
4161 sed 's/^/| /' conftest.$ac_ext >&5
4163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4165 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4166 See \
`config.log' for more details" "$LINENO" 5; }
4168 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4171 $as_echo "$ac_cv_objext" >&6; }
4172 OBJEXT=$ac_cv_objext
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4175 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4176 if ${ac_cv_c_compiler_gnu+:} false; then :
4177 $as_echo_n "(cached) " >&6
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4193 if ac_fn_c_try_compile "$LINENO"; then :
4198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4199 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4203 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4204 if test $ac_compiler_gnu = yes; then
4209 ac_test_CFLAGS=${CFLAGS+set}
4210 ac_save_CFLAGS=$CFLAGS
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4212 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4213 if ${ac_cv_prog_cc_g+:} false; then :
4214 $as_echo_n "(cached) " >&6
4216 ac_save_c_werror_flag=$ac_c_werror_flag
4217 ac_c_werror_flag=yes
4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4231 if ac_fn_c_try_compile "$LINENO"; then :
4235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4236 /* end confdefs.h. */
4246 if ac_fn_c_try_compile "$LINENO"; then :
4249 ac_c_werror_flag=$ac_save_c_werror_flag
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4262 if ac_fn_c_try_compile "$LINENO"; then :
4265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4270 ac_c_werror_flag=$ac_save_c_werror_flag
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4273 $as_echo "$ac_cv_prog_cc_g" >&6; }
4274 if test "$ac_test_CFLAGS" = set; then
4275 CFLAGS=$ac_save_CFLAGS
4276 elif test $ac_cv_prog_cc_g = yes; then
4277 if test "$GCC" = yes; then
4283 if test "$GCC" = yes; then
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4290 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4291 if ${ac_cv_prog_cc_c89+:} false; then :
4292 $as_echo_n "(cached) " >&6
4294 ac_cv_prog_cc_c89=no
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4301 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4302 struct buf { int x; };
4303 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4304 static char *e (p, i)
4310 static char *f (char * (*g) (char **, int), char **p, ...)
4315 s = g (p, va_arg (v,int));
4320 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4321 function prototypes and stuff, but not '\xHH' hex character constants.
4322 These don't provoke an error unfortunately, instead are silently treated
4323 as 'x'. The following induces an error, until -std is added to get
4324 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4325 array size at least. It's necessary to write '\x00'==0 to get something
4326 that's true only with -std. */
4327 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4329 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4330 inside strings and character constants. */
4332 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4334 int test (int i, double x);
4335 struct s1 {int (*f) (int a);};
4336 struct s2 {int (*f) (double a);};
4337 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4343 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4348 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4349 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4351 CC="$ac_save_CC $ac_arg"
4352 if ac_fn_c_try_compile "$LINENO"; then :
4353 ac_cv_prog_cc_c89=$ac_arg
4355 rm -f core conftest.err conftest.$ac_objext
4356 test "x$ac_cv_prog_cc_c89" != "xno" && break
4358 rm -f conftest.$ac_ext
4363 case "x$ac_cv_prog_cc_c89" in
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4366 $as_echo "none needed" >&6; } ;;
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4369 $as_echo "unsupported" >&6; } ;;
4371 CC="$CC $ac_cv_prog_cc_c89"
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4373 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4375 if test "x$ac_cv_prog_cc_c89" != xno; then :
4380 ac_cpp='$CPP $CPPFLAGS'
4381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4386 ac_cpp='$CXXCPP $CPPFLAGS'
4387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4390 if test -z "$CXX"; then
4391 if test -n "$CCC"; then
4394 if test -n "$ac_tool_prefix"; then
4395 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4397 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4398 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4400 $as_echo_n "checking for $ac_word... " >&6; }
4401 if ${ac_cv_prog_CXX+:} false; then :
4402 $as_echo_n "(cached) " >&6
4404 if test -n "$CXX"; then
4405 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4411 test -z "$as_dir" && as_dir=.
4412 for ac_exec_ext in '' $ac_executable_extensions; do
4413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4414 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4425 if test -n "$CXX"; then
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4427 $as_echo "$CXX" >&6; }
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4430 $as_echo "no" >&6; }
4434 test -n "$CXX" && break
4437 if test -z "$CXX"; then
4439 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4441 # Extract the first word of "$ac_prog", so it can be a program name with args.
4442 set dummy $ac_prog; ac_word=$2
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4444 $as_echo_n "checking for $ac_word... " >&6; }
4445 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4446 $as_echo_n "(cached) " >&6
4448 if test -n "$ac_ct_CXX"; then
4449 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4455 test -z "$as_dir" && as_dir=.
4456 for ac_exec_ext in '' $ac_executable_extensions; do
4457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4458 ac_cv_prog_ac_ct_CXX="$ac_prog"
4459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4468 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4469 if test -n "$ac_ct_CXX"; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4471 $as_echo "$ac_ct_CXX" >&6; }
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474 $as_echo "no" >&6; }
4478 test -n "$ac_ct_CXX" && break
4481 if test "x$ac_ct_CXX" = x; then
4484 case $cross_compiling:$ac_tool_warned in
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4488 ac_tool_warned=yes ;;
4496 # Provide some information about the compiler.
4497 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4500 for ac_option in --version -v -V -qversion; do
4501 { { ac_try="$ac_compiler $ac_option >&5"
4503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4504 *) ac_try_echo
=$ac_try;;
4506 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4507 $as_echo "$ac_try_echo"; } >&5
4508 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4510 if test -s conftest.err
; then
4512 ... rest of stderr output deleted ...
4513 10q' conftest.err
>conftest.er1
4514 cat conftest.er1
>&5
4516 rm -f conftest.er1 conftest.err
4517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4518 test $ac_status = 0; }
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4522 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4523 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4524 $as_echo_n "(cached) " >&6
4526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4540 if ac_fn_cxx_try_compile
"$LINENO"; then :
4545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4546 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4550 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4551 if test $ac_compiler_gnu = yes; then
4556 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4557 ac_save_CXXFLAGS
=$CXXFLAGS
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4559 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4560 if ${ac_cv_prog_cxx_g+:} false
; then :
4561 $as_echo_n "(cached) " >&6
4563 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4564 ac_cxx_werror_flag
=yes
4567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4568 /* end confdefs.h. */
4578 if ac_fn_cxx_try_compile
"$LINENO"; then :
4579 ac_cv_prog_cxx_g
=yes
4582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4583 /* end confdefs.h. */
4593 if ac_fn_cxx_try_compile
"$LINENO"; then :
4596 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4599 /* end confdefs.h. */
4609 if ac_fn_cxx_try_compile
"$LINENO"; then :
4610 ac_cv_prog_cxx_g
=yes
4612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4617 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4620 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4621 if test "$ac_test_CXXFLAGS" = set; then
4622 CXXFLAGS
=$ac_save_CXXFLAGS
4623 elif test $ac_cv_prog_cxx_g = yes; then
4624 if test "$GXX" = yes; then
4630 if test "$GXX" = yes; then
4637 ac_cpp
='$CPP $CPPFLAGS'
4638 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4639 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4640 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4642 if test -n "$ac_tool_prefix"; then
4643 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4644 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4646 $as_echo_n "checking for $ac_word... " >&6; }
4647 if ${ac_cv_prog_CPPBIN+:} false
; then :
4648 $as_echo_n "(cached) " >&6
4650 if test -n "$CPPBIN"; then
4651 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4657 test -z "$as_dir" && as_dir
=.
4658 for ac_exec_ext
in '' $ac_executable_extensions; do
4659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4660 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4670 CPPBIN
=$ac_cv_prog_CPPBIN
4671 if test -n "$CPPBIN"; then
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4673 $as_echo "$CPPBIN" >&6; }
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4676 $as_echo "no" >&6; }
4681 if test -z "$ac_cv_prog_CPPBIN"; then
4682 ac_ct_CPPBIN
=$CPPBIN
4683 # Extract the first word of "cpp", so it can be a program name with args.
4684 set dummy cpp
; ac_word
=$2
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4686 $as_echo_n "checking for $ac_word... " >&6; }
4687 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4688 $as_echo_n "(cached) " >&6
4690 if test -n "$ac_ct_CPPBIN"; then
4691 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4697 test -z "$as_dir" && as_dir
=.
4698 for ac_exec_ext
in '' $ac_executable_extensions; do
4699 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4700 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4710 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4711 if test -n "$ac_ct_CPPBIN"; then
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4713 $as_echo "$ac_ct_CPPBIN" >&6; }
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4716 $as_echo "no" >&6; }
4719 if test "x$ac_ct_CPPBIN" = x
; then
4722 case $cross_compiling:$ac_tool_warned in
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4726 ac_tool_warned
=yes ;;
4728 CPPBIN
=$ac_ct_CPPBIN
4731 CPPBIN
="$ac_cv_prog_CPPBIN"
4735 cat >>confdefs.h
<<_ACEOF
4736 #define EXEEXT "$ac_exeext"
4742 if test "x$enable_win64" = "xyes"
4747 notice_platform
="64-bit "
4754 notice_platform
="32-bit "
4757 enable_win16
=${enable_win16:-yes}
4759 with_fontconfig
=${with_fontconfig:-no}
4762 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4767 $as_echo_n "checking whether $CC works... " >&6; }
4769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4780 if ac_fn_c_try_link
"$LINENO"; then :
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4782 $as_echo "yes" >&6; }
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4785 $as_echo "no" >&6; }
4786 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4788 rm -f core conftest.err conftest.
$ac_objext \
4789 conftest
$ac_exeext conftest.
$ac_ext
4791 notice_platform
="32-bit "
4794 enable_win16
=${enable_win16:-yes}
4796 if test "x${GCC}" = "xyes"
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4799 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4806 void func(__builtin_ms_va_list *args);
4811 if ac_fn_c_try_compile
"$LINENO"; then :
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4813 $as_echo "yes" >&6; }
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 $as_echo "no" >&6; }
4817 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4827 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4829 /* end confdefs.h. */
4830 int ac_test(int i) { return i; }
4834 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4839 if ac_fn_c_try_link
"$LINENO"; then :
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4841 $as_echo "yes" >&6; }
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4844 $as_echo "no" >&6; }
4845 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4847 rm -f core conftest.err conftest.
$ac_objext \
4848 conftest
$ac_exeext conftest.
$ac_ext
4849 CFLAGS
="$CFLAGS -marm"
4853 *-mingw32*|
*-cygwin*)
4854 enable_win16
=${enable_win16:-no}
4855 CFLAGS
="$CFLAGS -D_WIN32"
4858 enable_win16
=${enable_win16:-yes}
4862 enable_win16
=${enable_win16:-no}
4863 enable_win64
=${enable_win64:-no}
4865 enable_winetest
=${enable_winetest:-$enable_tests}
4867 if test -n "$with_wine64"
4869 if test "x$enable_win64" = "xyes"
4871 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4872 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4874 enable_fonts
=${enable_fonts:-no}
4875 enable_server
=${enable_server:-no}
4876 elif test "x$enable_win64" = "xyes"
4878 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4882 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4883 if ${wine_cv_toolsdir+:} false
; then :
4884 $as_echo_n "(cached) " >&6
4886 wine_cv_toolsdir
="$with_wine_tools"
4887 if test -z "$with_wine_tools"; then
4888 if test "$cross_compiling" = "yes"; then
4889 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4890 elif test -n "$with_wine64"; then
4891 wine_cv_toolsdir
="$with_wine64"
4894 if test -z "$wine_cv_toolsdir"; then
4895 wine_makedep
=tools
/makedep
4896 wine_cv_toolsdir
="\$(top_builddir)"
4897 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4898 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4899 case "$wine_cv_toolsdir" in
4901 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4903 enable_tools
=${enable_tools:-no}
4904 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4906 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4910 $as_echo "$wine_cv_toolsdir" >&6; }
4911 TOOLSDIR
=$wine_cv_toolsdir
4913 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4915 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4921 # Extract the first word of "$ac_prog", so it can be a program name with args.
4922 set dummy
$ac_prog; ac_word
=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if ${ac_cv_prog_FLEX+:} false
; then :
4926 $as_echo_n "(cached) " >&6
4928 if test -n "$FLEX"; then
4929 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4935 test -z "$as_dir" && as_dir
=.
4936 for ac_exec_ext
in '' $ac_executable_extensions; do
4937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_FLEX
="$ac_prog"
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 FLEX
=$ac_cv_prog_FLEX
4949 if test -n "$FLEX"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4951 $as_echo "$FLEX" >&6; }
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4958 test -n "$FLEX" && break
4960 test -n "$FLEX" || FLEX
="none"
4962 if test "$FLEX" = "none"
4964 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4967 $as_echo_n "checking whether flex is recent enough... " >&6; }
4968 cat >conftest.l
<<EOF
4970 #include "prediluvian.h"
4974 if $FLEX -t conftest.l
>/dev
/null
2>&5
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4977 $as_echo "yes" >&6; }
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4980 $as_echo "no" >&6; }
4981 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4984 for ac_prog
in bison
4986 # Extract the first word of "$ac_prog", so it can be a program name with args.
4987 set dummy
$ac_prog; ac_word
=$2
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989 $as_echo_n "checking for $ac_word... " >&6; }
4990 if ${ac_cv_prog_BISON+:} false
; then :
4991 $as_echo_n "(cached) " >&6
4993 if test -n "$BISON"; then
4994 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5000 test -z "$as_dir" && as_dir
=.
5001 for ac_exec_ext
in '' $ac_executable_extensions; do
5002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5003 ac_cv_prog_BISON
="$ac_prog"
5004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5013 BISON
=$ac_cv_prog_BISON
5014 if test -n "$BISON"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5016 $as_echo "$BISON" >&6; }
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019 $as_echo "no" >&6; }
5023 test -n "$BISON" && break
5025 test -n "$BISON" || BISON
="none"
5027 if test "$BISON" = "none"
5029 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5032 if test -n "$ac_tool_prefix"; then
5033 for ac_prog
in ar gar
5035 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5036 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if ${ac_cv_prog_AR+:} false
; then :
5040 $as_echo_n "(cached) " >&6
5042 if test -n "$AR"; then
5043 ac_cv_prog_AR
="$AR" # Let the user override the test.
5045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5049 test -z "$as_dir" && as_dir
=.
5050 for ac_exec_ext
in '' $ac_executable_extensions; do
5051 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5052 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5063 if test -n "$AR"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5065 $as_echo "$AR" >&6; }
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5072 test -n "$AR" && break
5075 if test -z "$AR"; then
5077 for ac_prog
in ar gar
5079 # Extract the first word of "$ac_prog", so it can be a program name with args.
5080 set dummy
$ac_prog; ac_word
=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5084 $as_echo_n "(cached) " >&6
5086 if test -n "$ac_ct_AR"; then
5087 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5093 test -z "$as_dir" && as_dir
=.
5094 for ac_exec_ext
in '' $ac_executable_extensions; do
5095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5096 ac_cv_prog_ac_ct_AR
="$ac_prog"
5097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5107 if test -n "$ac_ct_AR"; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5109 $as_echo "$ac_ct_AR" >&6; }
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5116 test -n "$ac_ct_AR" && break
5119 if test "x$ac_ct_AR" = x
; then
5122 case $cross_compiling:$ac_tool_warned in
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5126 ac_tool_warned
=yes ;;
5132 if test -n "$ac_tool_prefix"; then
5133 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5134 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5136 $as_echo_n "checking for $ac_word... " >&6; }
5137 if ${ac_cv_prog_STRIP+:} false
; then :
5138 $as_echo_n "(cached) " >&6
5140 if test -n "$STRIP"; then
5141 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5147 test -z "$as_dir" && as_dir
=.
5148 for ac_exec_ext
in '' $ac_executable_extensions; do
5149 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5150 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 STRIP
=$ac_cv_prog_STRIP
5161 if test -n "$STRIP"; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5163 $as_echo "$STRIP" >&6; }
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5166 $as_echo "no" >&6; }
5171 if test -z "$ac_cv_prog_STRIP"; then
5173 # Extract the first word of "strip", so it can be a program name with args.
5174 set dummy strip
; ac_word
=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5178 $as_echo_n "(cached) " >&6
5180 if test -n "$ac_ct_STRIP"; then
5181 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5187 test -z "$as_dir" && as_dir
=.
5188 for ac_exec_ext
in '' $ac_executable_extensions; do
5189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5190 ac_cv_prog_ac_ct_STRIP
="strip"
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5200 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5201 if test -n "$ac_ct_STRIP"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5203 $as_echo "$ac_ct_STRIP" >&6; }
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5209 if test "x$ac_ct_STRIP" = x
; then
5212 case $cross_compiling:$ac_tool_warned in
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5216 ac_tool_warned
=yes ;;
5221 STRIP
="$ac_cv_prog_STRIP"
5226 if test -n "$ac_tool_prefix"; then
5227 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5228 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if ${ac_cv_prog_RANLIB+:} false
; then :
5232 $as_echo_n "(cached) " >&6
5234 if test -n "$RANLIB"; then
5235 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5241 test -z "$as_dir" && as_dir
=.
5242 for ac_exec_ext
in '' $ac_executable_extensions; do
5243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 RANLIB
=$ac_cv_prog_RANLIB
5255 if test -n "$RANLIB"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5257 $as_echo "$RANLIB" >&6; }
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5265 if test -z "$ac_cv_prog_RANLIB"; then
5266 ac_ct_RANLIB
=$RANLIB
5267 # Extract the first word of "ranlib", so it can be a program name with args.
5268 set dummy ranlib
; ac_word
=$2
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270 $as_echo_n "checking for $ac_word... " >&6; }
5271 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5272 $as_echo_n "(cached) " >&6
5274 if test -n "$ac_ct_RANLIB"; then
5275 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5281 test -z "$as_dir" && as_dir
=.
5282 for ac_exec_ext
in '' $ac_executable_extensions; do
5283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5284 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5295 if test -n "$ac_ct_RANLIB"; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5297 $as_echo "$ac_ct_RANLIB" >&6; }
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300 $as_echo "no" >&6; }
5303 if test "x$ac_ct_RANLIB" = x
; then
5306 case $cross_compiling:$ac_tool_warned in
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5310 ac_tool_warned
=yes ;;
5312 RANLIB
=$ac_ct_RANLIB
5315 RANLIB
="$ac_cv_prog_RANLIB"
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5319 $as_echo_n "checking whether ln -s works... " >&6; }
5321 if test "$LN_S" = "ln -s"; then
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5323 $as_echo "yes" >&6; }
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5326 $as_echo "no, using $LN_S" >&6; }
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5330 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5331 if ${ac_cv_path_GREP+:} false
; then :
5332 $as_echo_n "(cached) " >&6
5334 if test -z "$GREP"; then
5335 ac_path_GREP_found
=false
5336 # Loop through the user's path and test for each of PROGNAME-LIST
5337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5338 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5341 test -z "$as_dir" && as_dir
=.
5342 for ac_prog
in grep ggrep
; do
5343 for ac_exec_ext
in '' $ac_executable_extensions; do
5344 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5345 as_fn_executable_p
"$ac_path_GREP" ||
continue
5346 # Check for GNU ac_path_GREP and select it if it is found.
5347 # Check for GNU $ac_path_GREP
5348 case `"$ac_path_GREP" --version 2>&1` in
5350 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5353 $as_echo_n 0123456789 >"conftest.in"
5356 cat "conftest.in" "conftest.in" >"conftest.tmp"
5357 mv "conftest.tmp" "conftest.in"
5358 cp "conftest.in" "conftest.nl"
5359 $as_echo 'GREP' >> "conftest.nl"
5360 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5361 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5362 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5363 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5364 # Best one so far, save it but keep looking for a better one
5365 ac_cv_path_GREP
="$ac_path_GREP"
5366 ac_path_GREP_max
=$ac_count
5368 # 10*(2^10) chars as input seems more than enough
5369 test $ac_count -gt 10 && break
5371 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5374 $ac_path_GREP_found && break 3
5379 if test -z "$ac_cv_path_GREP"; then
5380 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5383 ac_cv_path_GREP
=$GREP
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5388 $as_echo "$ac_cv_path_GREP" >&6; }
5389 GREP
="$ac_cv_path_GREP"
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5393 $as_echo_n "checking for egrep... " >&6; }
5394 if ${ac_cv_path_EGREP+:} false
; then :
5395 $as_echo_n "(cached) " >&6
5397 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5398 then ac_cv_path_EGREP
="$GREP -E"
5400 if test -z "$EGREP"; then
5401 ac_path_EGREP_found
=false
5402 # Loop through the user's path and test for each of PROGNAME-LIST
5403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5404 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5407 test -z "$as_dir" && as_dir
=.
5408 for ac_prog
in egrep; do
5409 for ac_exec_ext
in '' $ac_executable_extensions; do
5410 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5411 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5412 # Check for GNU ac_path_EGREP and select it if it is found.
5413 # Check for GNU $ac_path_EGREP
5414 case `"$ac_path_EGREP" --version 2>&1` in
5416 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5419 $as_echo_n 0123456789 >"conftest.in"
5422 cat "conftest.in" "conftest.in" >"conftest.tmp"
5423 mv "conftest.tmp" "conftest.in"
5424 cp "conftest.in" "conftest.nl"
5425 $as_echo 'EGREP' >> "conftest.nl"
5426 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5427 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5428 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5429 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5430 # Best one so far, save it but keep looking for a better one
5431 ac_cv_path_EGREP
="$ac_path_EGREP"
5432 ac_path_EGREP_max
=$ac_count
5434 # 10*(2^10) chars as input seems more than enough
5435 test $ac_count -gt 10 && break
5437 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5440 $ac_path_EGREP_found && break 3
5445 if test -z "$ac_cv_path_EGREP"; then
5446 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5449 ac_cv_path_EGREP
=$EGREP
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5455 $as_echo "$ac_cv_path_EGREP" >&6; }
5456 EGREP
="$ac_cv_path_EGREP"
5459 # Extract the first word of "ldconfig", so it can be a program name with args.
5460 set dummy ldconfig
; ac_word
=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_path_LDCONFIG+:} false
; then :
5464 $as_echo_n "(cached) " >&6
5468 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5472 for as_dir
in /sbin
/usr
/sbin
$PATH
5475 test -z "$as_dir" && as_dir
=.
5476 for ac_exec_ext
in '' $ac_executable_extensions; do
5477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5478 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5486 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5490 LDCONFIG
=$ac_cv_path_LDCONFIG
5491 if test -n "$LDCONFIG"; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5493 $as_echo "$LDCONFIG" >&6; }
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496 $as_echo "no" >&6; }
5500 for ac_prog
in msgfmt
5502 # Extract the first word of "$ac_prog", so it can be a program name with args.
5503 set dummy
$ac_prog; ac_word
=$2
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5505 $as_echo_n "checking for $ac_word... " >&6; }
5506 if ${ac_cv_prog_MSGFMT+:} false
; then :
5507 $as_echo_n "(cached) " >&6
5509 if test -n "$MSGFMT"; then
5510 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5516 test -z "$as_dir" && as_dir
=.
5517 for ac_exec_ext
in '' $ac_executable_extensions; do
5518 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5519 ac_cv_prog_MSGFMT
="$ac_prog"
5520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5529 MSGFMT
=$ac_cv_prog_MSGFMT
5530 if test -n "$MSGFMT"; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5532 $as_echo "$MSGFMT" >&6; }
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5535 $as_echo "no" >&6; }
5539 test -n "$MSGFMT" && break
5541 test -n "$MSGFMT" || MSGFMT
="false"
5543 if ${ac_tool_prefix+:} false
; then :
5544 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5545 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547 $as_echo_n "checking for $ac_word... " >&6; }
5548 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5549 $as_echo_n "(cached) " >&6
5551 if test -n "$PKG_CONFIG"; then
5552 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5558 test -z "$as_dir" && as_dir
=.
5559 for ac_exec_ext
in '' $ac_executable_extensions; do
5560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5561 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5571 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5572 if test -n "$PKG_CONFIG"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5574 $as_echo "$PKG_CONFIG" >&6; }
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577 $as_echo "no" >&6; }
5582 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5583 if test "x$cross_compiling" = xyes
; then :
5586 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5587 # Extract the first word of "pkg-config", so it can be a program name with args.
5588 set dummy pkg-config
; ac_word
=$2
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5590 $as_echo_n "checking for $ac_word... " >&6; }
5591 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5592 $as_echo_n "(cached) " >&6
5594 if test -n "$PKG_CONFIG"; then
5595 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5601 test -z "$as_dir" && as_dir
=.
5602 for ac_exec_ext
in '' $ac_executable_extensions; do
5603 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5604 ac_cv_prog_PKG_CONFIG
="pkg-config"
5605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5614 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5615 if test -n "$PKG_CONFIG"; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5617 $as_echo "$PKG_CONFIG" >&6; }
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5620 $as_echo "no" >&6; }
5626 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5629 if test "x$enable_maintainer_mode" != "xyes"
5636 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5637 for ac_prog
in fontforge
5639 # Extract the first word of "$ac_prog", so it can be a program name with args.
5640 set dummy
$ac_prog; ac_word
=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5642 $as_echo_n "checking for $ac_word... " >&6; }
5643 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5644 $as_echo_n "(cached) " >&6
5646 if test -n "$FONTFORGE"; then
5647 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5653 test -z "$as_dir" && as_dir
=.
5654 for ac_exec_ext
in '' $ac_executable_extensions; do
5655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5656 ac_cv_prog_FONTFORGE
="$ac_prog"
5657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5666 FONTFORGE
=$ac_cv_prog_FONTFORGE
5667 if test -n "$FONTFORGE"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5669 $as_echo "$FONTFORGE" >&6; }
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672 $as_echo "no" >&6; }
5676 test -n "$FONTFORGE" && break
5678 test -n "$FONTFORGE" || FONTFORGE
="false"
5682 # Extract the first word of "$ac_prog", so it can be a program name with args.
5683 set dummy
$ac_prog; ac_word
=$2
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 $as_echo_n "checking for $ac_word... " >&6; }
5686 if ${ac_cv_prog_RSVG+:} false
; then :
5687 $as_echo_n "(cached) " >&6
5689 if test -n "$RSVG"; then
5690 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5696 test -z "$as_dir" && as_dir
=.
5697 for ac_exec_ext
in '' $ac_executable_extensions; do
5698 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5699 ac_cv_prog_RSVG
="$ac_prog"
5700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5709 RSVG
=$ac_cv_prog_RSVG
5710 if test -n "$RSVG"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5712 $as_echo "$RSVG" >&6; }
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5719 test -n "$RSVG" && break
5721 test -n "$RSVG" || RSVG
="false"
5723 for ac_prog
in convert
5725 # Extract the first word of "$ac_prog", so it can be a program name with args.
5726 set dummy
$ac_prog; ac_word
=$2
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5728 $as_echo_n "checking for $ac_word... " >&6; }
5729 if ${ac_cv_prog_CONVERT+:} false
; then :
5730 $as_echo_n "(cached) " >&6
5732 if test -n "$CONVERT"; then
5733 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5739 test -z "$as_dir" && as_dir
=.
5740 for ac_exec_ext
in '' $ac_executable_extensions; do
5741 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5742 ac_cv_prog_CONVERT
="$ac_prog"
5743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 CONVERT
=$ac_cv_prog_CONVERT
5753 if test -n "$CONVERT"; then
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5755 $as_echo "$CONVERT" >&6; }
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5758 $as_echo "no" >&6; }
5762 test -n "$CONVERT" && break
5764 test -n "$CONVERT" || CONVERT
="false"
5766 for ac_prog
in icotool
5768 # Extract the first word of "$ac_prog", so it can be a program name with args.
5769 set dummy
$ac_prog; ac_word
=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5773 $as_echo_n "(cached) " >&6
5775 if test -n "$ICOTOOL"; then
5776 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5782 test -z "$as_dir" && as_dir
=.
5783 for ac_exec_ext
in '' $ac_executable_extensions; do
5784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5785 ac_cv_prog_ICOTOOL
="$ac_prog"
5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 ICOTOOL
=$ac_cv_prog_ICOTOOL
5796 if test -n "$ICOTOOL"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5798 $as_echo "$ICOTOOL" >&6; }
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5805 test -n "$ICOTOOL" && break
5807 test -n "$ICOTOOL" || ICOTOOL
="false"
5809 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5810 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5812 if test "$CONVERT" = false
5814 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5817 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5818 convert_version
=`convert --version | head -n1`
5819 if test "x$convert_version" != "x"
5821 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5822 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5823 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5828 if test "$CONVERT" = false
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5831 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5832 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5835 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5839 if test "$ICOTOOL" = false
5841 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5844 $as_echo_n "checking for recent enough icotool... " >&6; }
5845 icotool_version
=`icotool --version | head -n1`
5846 if test "x$icotool_version" != "x"
5848 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5849 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5850 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5853 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5856 if test "$ICOTOOL" = false
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5859 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5860 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5863 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5869 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5872 test "x$with_gettext" != xno || MSGFMT
=false
5873 if test "$MSGFMT" != "false"
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5876 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5877 cat >conftest.po
<<EOF
5883 if $MSGFMT -o /dev
/null conftest.po
2>&5
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5886 $as_echo "yes" >&6; }
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5889 $as_echo "no" >&6; }
5893 if test "$MSGFMT" = false
; then :
5894 case "x$with_gettext" in
5895 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5897 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5898 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5904 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5905 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5906 $as_echo_n "(cached) " >&6
5908 ac_check_lib_save_LIBS
=$LIBS
5910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5911 /* end confdefs.h. */
5913 /* Override any GCC internal prototype to avoid an error.
5914 Use char because int might match the return type of a GCC
5915 builtin and then its argument prototype would still apply. */
5919 char i386_set_ldt ();
5923 return i386_set_ldt ();
5928 if ac_fn_c_try_link
"$LINENO"; then :
5929 ac_cv_lib_i386_i386_set_ldt
=yes
5931 ac_cv_lib_i386_i386_set_ldt
=no
5933 rm -f core conftest.err conftest.
$ac_objext \
5934 conftest
$ac_exeext conftest.
$ac_ext
5935 LIBS
=$ac_check_lib_save_LIBS
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5938 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5939 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5940 cat >>confdefs.h
<<_ACEOF
5941 #define HAVE_LIBI386 1
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5949 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5950 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5951 $as_echo_n "(cached) " >&6
5953 ac_check_lib_save_LIBS
=$LIBS
5954 LIBS
="-lossaudio $LIBS"
5955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5956 /* end confdefs.h. */
5958 /* Override any GCC internal prototype to avoid an error.
5959 Use char because int might match the return type of a GCC
5960 builtin and then its argument prototype would still apply. */
5968 return _oss_ioctl ();
5973 if ac_fn_c_try_link
"$LINENO"; then :
5974 ac_cv_lib_ossaudio__oss_ioctl
=yes
5976 ac_cv_lib_ossaudio__oss_ioctl
=no
5978 rm -f core conftest.err conftest.
$ac_objext \
5979 conftest
$ac_exeext conftest.
$ac_ext
5980 LIBS
=$ac_check_lib_save_LIBS
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5983 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5984 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5985 cat >>confdefs.h
<<_ACEOF
5986 #define HAVE_LIBOSSAUDIO 1
5989 LIBS
="-lossaudio $LIBS"
5998 # Check whether --enable-largefile was given.
5999 if test "${enable_largefile+set}" = set; then :
6000 enableval
=$enable_largefile;
6003 if test "$enable_largefile" != no
; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6006 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6007 if ${ac_cv_sys_largefile_CC+:} false
; then :
6008 $as_echo_n "(cached) " >&6
6010 ac_cv_sys_largefile_CC
=no
6011 if test "$GCC" != yes; then
6014 # IRIX 6.2 and later do not support large files by default,
6015 # so use the C compiler's -n32 option if that helps.
6016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6017 /* end confdefs.h. */
6018 #include <sys/types.h>
6019 /* Check that off_t can represent 2**63 - 1 correctly.
6020 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6021 since some C++ compilers masquerading as C compilers
6022 incorrectly reject 9223372036854775807. */
6023 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6024 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6025 && LARGE_OFF_T % 2147483647 == 1)
6035 if ac_fn_c_try_compile
"$LINENO"; then :
6038 rm -f core conftest.err conftest.
$ac_objext
6040 if ac_fn_c_try_compile
"$LINENO"; then :
6041 ac_cv_sys_largefile_CC
=' -n32'; break
6043 rm -f core conftest.err conftest.
$ac_objext
6047 rm -f conftest.
$ac_ext
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6051 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6052 if test "$ac_cv_sys_largefile_CC" != no
; then
6053 CC
=$CC$ac_cv_sys_largefile_CC
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6057 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6058 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6059 $as_echo_n "(cached) " >&6
6062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6063 /* end confdefs.h. */
6064 #include <sys/types.h>
6065 /* Check that off_t can represent 2**63 - 1 correctly.
6066 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6067 since some C++ compilers masquerading as C compilers
6068 incorrectly reject 9223372036854775807. */
6069 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6070 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6071 && LARGE_OFF_T % 2147483647 == 1)
6081 if ac_fn_c_try_compile
"$LINENO"; then :
6082 ac_cv_sys_file_offset_bits
=no
; break
6084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6086 /* end confdefs.h. */
6087 #define _FILE_OFFSET_BITS 64
6088 #include <sys/types.h>
6089 /* Check that off_t can represent 2**63 - 1 correctly.
6090 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6091 since some C++ compilers masquerading as C compilers
6092 incorrectly reject 9223372036854775807. */
6093 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6094 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6095 && LARGE_OFF_T % 2147483647 == 1)
6105 if ac_fn_c_try_compile
"$LINENO"; then :
6106 ac_cv_sys_file_offset_bits
=64; break
6108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6109 ac_cv_sys_file_offset_bits
=unknown
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6114 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6115 case $ac_cv_sys_file_offset_bits in #(
6118 cat >>confdefs.h
<<_ACEOF
6119 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6124 if test $ac_cv_sys_file_offset_bits = unknown
; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6126 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6127 if ${ac_cv_sys_large_files+:} false
; then :
6128 $as_echo_n "(cached) " >&6
6131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6132 /* end confdefs.h. */
6133 #include <sys/types.h>
6134 /* Check that off_t can represent 2**63 - 1 correctly.
6135 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6136 since some C++ compilers masquerading as C compilers
6137 incorrectly reject 9223372036854775807. */
6138 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6139 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6140 && LARGE_OFF_T % 2147483647 == 1)
6150 if ac_fn_c_try_compile
"$LINENO"; then :
6151 ac_cv_sys_large_files
=no
; break
6153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6155 /* end confdefs.h. */
6156 #define _LARGE_FILES 1
6157 #include <sys/types.h>
6158 /* Check that off_t can represent 2**63 - 1 correctly.
6159 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6160 since some C++ compilers masquerading as C compilers
6161 incorrectly reject 9223372036854775807. */
6162 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6163 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6164 && LARGE_OFF_T % 2147483647 == 1)
6174 if ac_fn_c_try_compile
"$LINENO"; then :
6175 ac_cv_sys_large_files
=1; break
6177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6178 ac_cv_sys_large_files
=unknown
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6183 $as_echo "$ac_cv_sys_large_files" >&6; }
6184 case $ac_cv_sys_large_files in #(
6187 cat >>confdefs.h
<<_ACEOF
6188 #define _LARGE_FILES $ac_cv_sys_large_files
6200 ac_cpp
='$CPP $CPPFLAGS'
6201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6205 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6206 # On Suns, sometimes $CPP names a directory.
6207 if test -n "$CPP" && test -d "$CPP"; then
6210 if test -z "$CPP"; then
6211 if ${ac_cv_prog_CPP+:} false
; then :
6212 $as_echo_n "(cached) " >&6
6214 # Double quotes because CPP needs to be expanded
6215 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6218 for ac_c_preproc_warn_flag
in '' yes
6220 # Use a header file that comes with gcc, so configuring glibc
6221 # with a fresh cross-compiler works.
6222 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6223 # <limits.h> exists even on freestanding compilers.
6224 # On the NeXT, cc -E runs the code through the compiler's parser,
6225 # not just through cpp. "Syntax error" is here to catch this case.
6226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6227 /* end confdefs.h. */
6229 # include <limits.h>
6231 # include <assert.h>
6235 if ac_fn_c_try_cpp
"$LINENO"; then :
6238 # Broken: fails on valid input.
6241 rm -f conftest.err conftest.i conftest.
$ac_ext
6243 # OK, works on sane cases. Now check whether nonexistent headers
6244 # can be detected and how.
6245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6246 /* end confdefs.h. */
6247 #include <ac_nonexistent.h>
6249 if ac_fn_c_try_cpp
"$LINENO"; then :
6250 # Broken: success on invalid input.
6253 # Passes both tests.
6257 rm -f conftest.err conftest.i conftest.
$ac_ext
6260 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6261 rm -f conftest.i conftest.err conftest.
$ac_ext
6262 if $ac_preproc_ok; then :
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6275 $as_echo "$CPP" >&6; }
6277 for ac_c_preproc_warn_flag
in '' yes
6279 # Use a header file that comes with gcc, so configuring glibc
6280 # with a fresh cross-compiler works.
6281 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6282 # <limits.h> exists even on freestanding compilers.
6283 # On the NeXT, cc -E runs the code through the compiler's parser,
6284 # not just through cpp. "Syntax error" is here to catch this case.
6285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6286 /* end confdefs.h. */
6288 # include <limits.h>
6290 # include <assert.h>
6294 if ac_fn_c_try_cpp
"$LINENO"; then :
6297 # Broken: fails on valid input.
6300 rm -f conftest.err conftest.i conftest.
$ac_ext
6302 # OK, works on sane cases. Now check whether nonexistent headers
6303 # can be detected and how.
6304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h. */
6306 #include <ac_nonexistent.h>
6308 if ac_fn_c_try_cpp
"$LINENO"; then :
6309 # Broken: success on invalid input.
6312 # Passes both tests.
6316 rm -f conftest.err conftest.i conftest.
$ac_ext
6319 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6320 rm -f conftest.i conftest.err conftest.
$ac_ext
6321 if $ac_preproc_ok; then :
6324 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6326 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6327 See \`config.log' for more details" "$LINENO" 5; }
6331 ac_cpp
='$CPP $CPPFLAGS'
6332 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6333 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6334 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6338 $as_echo_n "checking for ANSI C header files... " >&6; }
6339 if ${ac_cv_header_stdc+:} false
; then :
6340 $as_echo_n "(cached) " >&6
6342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6357 if ac_fn_c_try_compile
"$LINENO"; then :
6358 ac_cv_header_stdc
=yes
6360 ac_cv_header_stdc
=no
6362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6364 if test $ac_cv_header_stdc = yes; then
6365 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6367 /* end confdefs.h. */
6371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6372 $EGREP "memchr" >/dev
/null
2>&1; then :
6375 ac_cv_header_stdc
=no
6381 if test $ac_cv_header_stdc = yes; then
6382 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6384 /* end confdefs.h. */
6388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6389 $EGREP "free" >/dev
/null
2>&1; then :
6392 ac_cv_header_stdc
=no
6398 if test $ac_cv_header_stdc = yes; then
6399 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6400 if test "$cross_compiling" = yes; then :
6403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6404 /* end confdefs.h. */
6407 #if ((' ' & 0x0FF) == 0x020)
6408 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6409 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6411 # define ISLOWER(c) \
6412 (('a' <= (c) && (c) <= 'i') \
6413 || ('j' <= (c) && (c) <= 'r') \
6414 || ('s' <= (c) && (c) <= 'z'))
6415 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6418 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6423 for (i = 0; i < 256; i++)
6424 if (XOR (islower (i), ISLOWER (i))
6425 || toupper (i) != TOUPPER (i))
6430 if ac_fn_c_try_run
"$LINENO"; then :
6433 ac_cv_header_stdc
=no
6435 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6436 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6442 $as_echo "$ac_cv_header_stdc" >&6; }
6443 if test $ac_cv_header_stdc = yes; then
6445 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6449 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6450 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6451 inttypes.h stdint.h unistd.h
6453 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6454 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6456 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6457 cat >>confdefs.h
<<_ACEOF
6458 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6468 ApplicationServices
/ApplicationServices.h \
6469 AudioToolbox
/AudioConverter.h \
6470 AudioUnit
/AudioUnit.h \
6471 AudioUnit
/AudioComponent.h \
6474 CoreAudio
/CoreAudio.h \
6475 CoreServices
/CoreServices.h \
6476 DiskArbitration
/DiskArbitration.h \
6478 IOKit
/hid
/IOHIDLib.h \
6481 QuickTime
/ImageCompression.h \
6482 Security
/Security.h \
6533 netinet
/in_systm.h \
6595 valgrind
/memcheck.h \
6596 valgrind
/valgrind.h \
6600 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6601 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6602 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6603 cat >>confdefs.h
<<_ACEOF
6604 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6612 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6613 if ${ac_cv_header_stat_broken+:} false
; then :
6614 $as_echo_n "(cached) " >&6
6616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6618 #include <sys/types.h>
6619 #include <sys/stat.h>
6621 #if defined S_ISBLK && defined S_IFDIR
6622 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6625 #if defined S_ISBLK && defined S_IFCHR
6626 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6629 #if defined S_ISLNK && defined S_IFREG
6630 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6633 #if defined S_ISSOCK && defined S_IFREG
6634 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6638 if ac_fn_c_try_compile
"$LINENO"; then :
6639 ac_cv_header_stat_broken
=no
6641 ac_cv_header_stat_broken
=yes
6643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6646 $as_echo "$ac_cv_header_stat_broken" >&6; }
6647 if test $ac_cv_header_stat_broken = yes; then
6649 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6655 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6657 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6658 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6659 #ifdef HAVE_SYS_PARAM_H
6660 # include <sys/param.h>
6663 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6664 cat >>confdefs.h
<<_ACEOF
6665 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6680 netinet
/if_ether.h \
6681 netinet
/if_inarp.h \
6690 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6691 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6692 #ifdef HAVE_SYS_SOCKET_H
6693 # include <sys/socket.h>
6695 #ifdef HAVE_SYS_SOCKETVAR_H
6696 # include <sys/socketvar.h>
6698 #ifdef HAVE_NET_ROUTE_H
6699 # include <net/route.h>
6701 #ifdef HAVE_NETINET_IN_H
6702 # include <netinet/in.h>
6704 #ifdef HAVE_NETINET_IN_SYSTM_H
6705 # include <netinet/in_systm.h>
6707 #ifdef HAVE_NET_IF_H
6708 # include <net/if.h>
6710 #ifdef HAVE_NETINET_IP_H
6711 # include <netinet/ip.h>
6714 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6715 cat >>confdefs.h
<<_ACEOF
6716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6724 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6726 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6727 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6731 #ifdef HAVE_SYS_SOCKET_H
6732 # include <sys/socket.h>
6734 #ifdef HAVE_SYS_SOCKETVAR_H
6735 # include <sys/socketvar.h>
6737 #ifdef HAVE_SYS_TIMEOUT_H
6738 # include <sys/timeout.h>
6740 #ifdef HAVE_NETINET_IN_H
6741 # include <netinet/in.h>
6743 #ifdef HAVE_NETINET_IN_SYSTM_H
6744 # include <netinet/in_systm.h>
6746 #ifdef HAVE_NETINET_IP_H
6747 # include <netinet/ip.h>
6749 #ifdef HAVE_NETINET_IP_VAR_H
6750 # include <netinet/ip_var.h>
6752 #ifdef HAVE_NETINET_IP_ICMP_H
6753 # include <netinet/ip_icmp.h>
6755 #ifdef HAVE_NETINET_UDP_H
6756 # include <netinet/udp.h>
6758 #ifdef HAVE_NETINET_TCP_H
6759 # include <netinet/tcp.h>
6761 #ifdef HAVE_NETINET_TCP_TIMER_H
6762 #include <netinet/tcp_timer.h>
6765 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6766 cat >>confdefs.h
<<_ACEOF
6767 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6775 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6777 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6778 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6779 #ifdef HAVE_ASM_TYPES_H
6780 # include <asm/types.h>
6782 #ifdef HAVE_SYS_SOCKET_H
6783 # include <sys/socket.h>
6785 #ifdef HAVE_LINUX_TYPES_H
6786 # include <linux/types.h>
6789 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6790 cat >>confdefs.h
<<_ACEOF
6791 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6799 for ac_header
in mach-o
/dyld_images.h
6801 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6802 # include <stdbool.h>
6804 #ifdef HAVE_STDINT_H
6805 # include <stdint.h>
6808 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6809 cat >>confdefs.h
<<_ACEOF
6810 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6818 for ac_header
in resolv.h
6820 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6821 #ifdef HAVE_SYS_SOCKET_H
6822 # include <sys/socket.h>
6824 #ifdef HAVE_NETINET_IN_H
6825 # include <netinet/in.h>
6827 #ifdef HAVE_ARPA_NAMESER_H
6828 # include <arpa/nameser.h>
6831 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6832 cat >>confdefs.h
<<_ACEOF
6833 #define HAVE_RESOLV_H 1
6841 for ac_header
in ifaddrs.h
6843 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6845 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6846 cat >>confdefs.h
<<_ACEOF
6847 #define HAVE_IFADDRS_H 1
6855 for ac_header
in sys
/ucontext.h
6857 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6859 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6860 cat >>confdefs.h
<<_ACEOF
6861 #define HAVE_SYS_UCONTEXT_H 1
6869 for ac_header
in sys
/thr.h
6871 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6872 #ifdef HAVE_SYS_UCONTEXT_H
6873 #include <sys/ucontext.h>
6876 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6877 cat >>confdefs.h
<<_ACEOF
6878 #define HAVE_SYS_THR_H 1
6886 for ac_header
in pthread_np.h
6888 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6889 #include <pthread.h>
6892 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6893 cat >>confdefs.h
<<_ACEOF
6894 #define HAVE_PTHREAD_NP_H 1
6902 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6904 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6905 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6906 #include <sys/time.h>
6908 #include <sys/types.h>
6909 #ifdef HAVE_ASM_TYPES_H
6910 #include <asm/types.h>
6913 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6914 cat >>confdefs.h
<<_ACEOF
6915 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6923 for ac_header
in libprocstat.h
6925 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6926 #include <sys/param.h>
6928 #ifdef HAVE_SYS_QUEUE_H
6929 #include <sys/queue.h>
6931 #ifdef HAVE_SYS_SOCKET_H
6932 #include <sys/socket.h>
6935 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6936 cat >>confdefs.h
<<_ACEOF
6937 #define HAVE_LIBPROCSTAT_H 1
6946 dlldir
="\${libdir}/wine"
6950 DLLFLAGS
="-D_REENTRANT"
6959 STATIC_IMPLIBEXT
="def.a"
6960 # Extract the first word of "ldd", so it can be a program name with args.
6961 set dummy ldd
; ac_word
=$2
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6963 $as_echo_n "checking for $ac_word... " >&6; }
6964 if ${ac_cv_path_LDD+:} false
; then :
6965 $as_echo_n "(cached) " >&6
6969 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6973 as_dummy
="/sbin:/usr/sbin:$PATH"
6974 for as_dir
in $as_dummy
6977 test -z "$as_dir" && as_dir
=.
6978 for ac_exec_ext
in '' $ac_executable_extensions; do
6979 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6980 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6988 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6993 if test -n "$LDD"; then
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6995 $as_echo "$LDD" >&6; }
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6998 $as_echo "no" >&6; }
7002 if test -n "$ac_tool_prefix"; then
7003 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7004 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006 $as_echo_n "checking for $ac_word... " >&6; }
7007 if ${ac_cv_prog_READELF+:} false
; then :
7008 $as_echo_n "(cached) " >&6
7010 if test -n "$READELF"; then
7011 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7017 test -z "$as_dir" && as_dir
=.
7018 for ac_exec_ext
in '' $ac_executable_extensions; do
7019 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7020 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7030 READELF
=$ac_cv_prog_READELF
7031 if test -n "$READELF"; then
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7033 $as_echo "$READELF" >&6; }
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7036 $as_echo "no" >&6; }
7041 if test -z "$ac_cv_prog_READELF"; then
7042 ac_ct_READELF
=$READELF
7043 # Extract the first word of "readelf", so it can be a program name with args.
7044 set dummy readelf
; ac_word
=$2
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7046 $as_echo_n "checking for $ac_word... " >&6; }
7047 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7048 $as_echo_n "(cached) " >&6
7050 if test -n "$ac_ct_READELF"; then
7051 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7057 test -z "$as_dir" && as_dir
=.
7058 for ac_exec_ext
in '' $ac_executable_extensions; do
7059 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7060 ac_cv_prog_ac_ct_READELF
="readelf"
7061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7070 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7071 if test -n "$ac_ct_READELF"; then
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7073 $as_echo "$ac_ct_READELF" >&6; }
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7076 $as_echo "no" >&6; }
7079 if test "x$ac_ct_READELF" = x
; then
7082 case $cross_compiling:$ac_tool_warned in
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7086 ac_tool_warned
=yes ;;
7088 READELF
=$ac_ct_READELF
7091 READELF
="$ac_cv_prog_READELF"
7094 wine_rules_file
=conf$
$rules.
make
7095 rm -f $wine_rules_file
7097 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7098 ALL_TEST_RESOURCES
=""
7101 wine_fn_append_file
()
7103 as_fn_append
$1 " \\$as_nl $2"
7106 wine_fn_ignore_file
()
7109 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7110 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7111 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7115 wine_fn_append_rule
()
7117 $as_echo "$1" >>$wine_rules_file
7122 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7125 wine_fn_depend_rules
()
7127 wine_fn_append_rule \
7128 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7129 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7130 depend: $ac_dir/depend
7131 .PHONY: $ac_dir/depend
7132 $ac_dir/depend: \$(MAKEDEP) dummy
7133 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7136 wine_fn_pot_rules
()
7138 test "x$with_gettextpo" = xyes ||
return
7140 if wine_fn_has_flag mc
7142 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7143 wine_fn_append_rule \
7144 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7145 @cd $ac_dir && \$(MAKE) msg.pot
7146 $ac_dir/msg.pot: tools/wmc include"
7148 if wine_fn_has_flag po
7150 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7151 wine_fn_append_rule \
7152 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7153 @cd $ac_dir && \$(MAKE) rsrc.pot
7154 $ac_dir/rsrc.pot: tools/wrc include"
7158 wine_fn_all_rules
()
7160 wine_fn_depend_rules
7161 wine_fn_append_rule \
7164 $ac_dir: $ac_dir/Makefile dummy
7165 @cd $ac_dir && \$(MAKE)"
7168 wine_fn_install_rules
()
7170 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7172 wine_fn_append_rule \
7173 ".PHONY: $ac_dir/install $ac_dir/uninstall
7174 $ac_dir/install:: $ac_dir
7175 @cd $ac_dir && \$(MAKE) install
7176 $ac_dir/uninstall:: $ac_dir/Makefile
7177 @cd $ac_dir && \$(MAKE) uninstall
7178 install:: $ac_dir/install
7179 __uninstall__: $ac_dir/uninstall"
7181 if wine_fn_has_flag install-lib
7183 wine_fn_append_rule \
7184 ".PHONY: $ac_dir/install-lib
7185 $ac_dir/install-lib:: $ac_dir
7186 @cd $ac_dir && \$(MAKE) install-lib
7187 install-lib:: $ac_dir/install-lib"
7190 if wine_fn_has_flag install-dev
7192 wine_fn_append_rule \
7193 ".PHONY: $ac_dir/install-dev
7194 $ac_dir/install-dev:: $ac_dir
7195 @cd $ac_dir && \$(MAKE) install-dev
7196 install-dev:: $ac_dir/install-dev"
7200 wine_fn_clean_rules
()
7203 ac_extraclean
="$ac_dir/Makefile"
7204 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7206 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7209 if wine_fn_has_flag clean
7211 wine_fn_append_rule \
7212 "__clean__: $ac_dir/clean
7213 .PHONY: $ac_dir/clean
7214 $ac_dir/clean: $ac_dir/Makefile
7215 @cd $ac_dir && \$(MAKE) clean
7216 \$(RM) $ac_extraclean"
7218 wine_fn_append_rule \
7219 "__clean__: $ac_dir/clean
7220 .PHONY: $ac_dir/clean
7221 $ac_dir/clean: dummy
7222 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7226 wine_fn_disabled_rules
()
7229 ac_extraclean
="$ac_dir/Makefile"
7230 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7232 wine_fn_append_rule \
7233 "__clean__: $ac_dir/clean
7234 .PHONY: $ac_dir/clean
7235 $ac_dir/clean: dummy
7236 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7239 wine_fn_config_makefile
()
7245 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7246 wine_fn_disabled_rules
; return
7249 wine_fn_install_rules
7253 wine_fn_config_lib
()
7257 ac_dir
=dlls
/$ac_name
7260 if test "x$enable_tools" = xno
; then :
7263 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7268 wine_fn_append_rule \
7269 ".PHONY: $ac_dir/install $ac_dir/uninstall
7270 $ac_dir/install:: $ac_dir
7271 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7273 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7274 install install-dev:: $ac_dir/install
7275 __uninstall__: $ac_dir/uninstall
7276 __builddeps__: $ac_dir
7280 wine_fn_config_dll
()
7283 ac_dir
=dlls
/$ac_name
7286 ac_implib
=${4:-$ac_name}
7287 ac_file
=$ac_dir/lib
$ac_implib
7292 if test "x$enable_tools" = xno
; then :
7295 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7298 *16) ac_implibflags
=" -m16" ;;
7300 *) ac_dll
=$ac_dll.dll
;;
7304 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7305 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7306 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7307 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7309 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7310 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7312 wine_fn_depend_rules
7313 wine_fn_clean_rules
$ac_clean
7315 wine_fn_disabled_rules
$ac_clean
7320 wine_fn_clean_rules
$ac_clean
7321 wine_fn_append_rule \
7322 "$ac_dir: __builddeps__
7323 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7324 @cd $ac_dir && \$(MAKE) \$@
7325 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7326 install install-lib:: $ac_dir/install-lib
7327 __uninstall__: $ac_dir/uninstall"
7328 if test -n "$DLLEXT"
7330 wine_fn_append_rule \
7331 "$ac_dir/install-lib:: $ac_dir
7332 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7333 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7335 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7337 wine_fn_append_rule \
7338 "$ac_dir/install-lib:: $ac_dir
7339 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7341 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7347 if wine_fn_has_flag staticimplib
7349 wine_fn_append_rule \
7350 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7351 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7352 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7353 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7354 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7355 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7356 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7357 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7358 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7360 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7361 install install-dev:: $ac_dir/install-dev
7362 __uninstall__: $ac_dir/uninstall"
7364 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7366 wine_fn_append_rule \
7367 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7368 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7370 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7373 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7375 wine_fn_append_rule \
7376 "__builddeps__: $ac_file.cross.a
7377 $ac_file.cross.a: $ac_dir/Makefile dummy
7378 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7381 elif wine_fn_has_flag implib
7383 wine_fn_append_rule \
7384 "__builddeps__: $ac_file.$IMPLIBEXT
7385 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7386 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7387 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7388 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7389 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7390 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7391 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7393 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7394 install install-dev:: $ac_dir/install-dev
7395 __uninstall__: $ac_dir/uninstall"
7396 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7398 wine_fn_append_rule \
7399 "__builddeps__: $ac_file.cross.a
7400 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7401 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7404 if test "$ac_name" != "$ac_implib"
7406 wine_fn_append_rule \
7407 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7408 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7409 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7411 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7412 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7413 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7415 wine_fn_append_rule \
7416 "__builddeps__: dlls/lib$ac_implib.cross.a
7417 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7418 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7420 \$(RM) dlls/lib$ac_implib.cross.a"
7421 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7427 wine_fn_config_program
()
7430 ac_dir
=programs
/$ac_name
7437 *) ac_program
=$ac_program.exe
;;
7441 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7442 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7443 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7444 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7446 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7447 wine_fn_disabled_rules
$ac_clean; return
7451 wine_fn_clean_rules
$ac_clean
7452 wine_fn_append_rule
"$ac_dir: __builddeps__"
7455 wine_fn_has_flag
install ||
return
7456 wine_fn_append_rule \
7457 ".PHONY: $ac_dir/install $ac_dir/uninstall
7458 install install-lib:: $ac_dir/install
7459 __uninstall__: $ac_dir/uninstall"
7461 if test -n "$DLLEXT"
7463 wine_fn_append_rule \
7464 "$ac_dir/install:: $ac_dir
7465 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7466 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7468 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7470 if test -z "$with_wine64" && wine_fn_has_flag installbin
7472 wine_fn_append_rule \
7473 "$ac_dir/install:: __tooldeps__
7474 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7476 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7479 wine_fn_append_rule \
7480 "$ac_dir/install:: $ac_dir
7481 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7483 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7486 if test -z "$with_wine64" && wine_fn_has_flag manpage
7488 wine_fn_append_rule \
7489 "$ac_dir/install:: $ac_dir
7490 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7492 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7496 wine_fn_config_test
()
7503 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7504 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7506 if test "x$enable_tests" = xno
; then :
7507 wine_fn_disabled_rules
$ac_clean; return
7510 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7512 wine_fn_clean_rules
$ac_clean
7514 wine_fn_append_rule \
7515 "$ac_dir: programs/winetest/Makefile __builddeps__
7516 programs/winetest: $ac_dir
7517 check test: $ac_dir/test
7518 .PHONY: $ac_dir/test
7520 @cd $ac_dir && \$(MAKE) test
7522 \$(RM) $ac_dir/*.ok"
7524 if test -n "$CROSSTARGET"
7526 wine_fn_append_rule \
7527 "crosstest: $ac_dir/crosstest
7528 .PHONY: $ac_dir/crosstest
7529 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7530 @cd $ac_dir && \$(MAKE) crosstest"
7534 wine_fn_config_tool
()
7538 if test "x$enable_tools" = xno
; then :
7543 wine_fn_install_rules
7546 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7547 wine_fn_append_rule
"$ac_dir: libs/port"
7549 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7553 wine_fn_config_symlink
()
7556 if test "x$1" = "x-d"
7562 wine_fn_append_rule \
7564 @./config.status \$@
7567 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7568 test -n "$ac_linkdir" ||
return
7569 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7573 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7574 loader_programs
="$wine_binary wine-installed"
7575 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7580 install install-lib:: wine-installed
7581 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7584 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7590 if test -n "$ac_tool_prefix"; then
7591 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7592 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7594 $as_echo_n "checking for $ac_word... " >&6; }
7595 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7596 $as_echo_n "(cached) " >&6
7598 if test -n "$DLLTOOL"; then
7599 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7605 test -z "$as_dir" && as_dir
=.
7606 for ac_exec_ext
in '' $ac_executable_extensions; do
7607 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7608 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7618 DLLTOOL
=$ac_cv_prog_DLLTOOL
7619 if test -n "$DLLTOOL"; then
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7621 $as_echo "$DLLTOOL" >&6; }
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7624 $as_echo "no" >&6; }
7629 if test -z "$ac_cv_prog_DLLTOOL"; then
7630 ac_ct_DLLTOOL
=$DLLTOOL
7631 # Extract the first word of "dlltool", so it can be a program name with args.
7632 set dummy dlltool
; ac_word
=$2
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7634 $as_echo_n "checking for $ac_word... " >&6; }
7635 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7636 $as_echo_n "(cached) " >&6
7638 if test -n "$ac_ct_DLLTOOL"; then
7639 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7645 test -z "$as_dir" && as_dir
=.
7646 for ac_exec_ext
in '' $ac_executable_extensions; do
7647 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7648 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7658 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7659 if test -n "$ac_ct_DLLTOOL"; then
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7661 $as_echo "$ac_ct_DLLTOOL" >&6; }
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7664 $as_echo "no" >&6; }
7667 if test "x$ac_ct_DLLTOOL" = x
; then
7670 case $cross_compiling:$ac_tool_warned in
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7674 ac_tool_warned
=yes ;;
7676 DLLTOOL
=$ac_ct_DLLTOOL
7679 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7685 STATIC_IMPLIBEXT
="a"
7686 enable_iphlpapi
=${enable_iphlpapi:-no}
7687 enable_kernel32
=${enable_kernel32:-no}
7688 enable_msvcrt
=${enable_msvcrt:-no}
7689 enable_ntdll
=${enable_ntdll:-no}
7690 enable_ws2_32
=${enable_ws2_32:-no}
7691 enable_loader
=${enable_loader:-no}
7692 enable_server
=${enable_server:-no}
7693 with_x
=${with_x:-no}
7694 with_pthread
=${with_pthread:-no}
7700 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7704 libwine_targets
="libwine.dll libwine.a"
7706 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7708 all: libwine.dll libwine.a
7710 libwine.a: \$(srcdir)/wine.def
7711 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7713 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7714 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7716 install install-lib:: libwine.dll
7717 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7719 install install-dev:: libwine.a
7720 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7723 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7730 DLLFLAGS
="$DLLFLAGS -fPIC"
7731 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7732 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7733 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7734 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7736 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7738 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7740 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7742 CORESERVICES_LIBS
="-framework CoreServices"
7744 APPKIT_LIBS
="-framework AppKit"
7746 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7748 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7749 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7750 $as_echo_n "(cached) " >&6
7752 ac_wine_try_cflags_saved
=$CFLAGS
7753 CFLAGS
="$CFLAGS -Wl,-no_pie"
7754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h. */
7756 int main(int argc, char **argv) { return 0; }
7758 if ac_fn_c_try_link
"$LINENO"; then :
7759 ac_cv_cflags__Wl__no_pie
=yes
7761 ac_cv_cflags__Wl__no_pie
=no
7763 rm -f core conftest.err conftest.
$ac_objext \
7764 conftest
$ac_exeext conftest.
$ac_ext
7765 CFLAGS
=$ac_wine_try_cflags_saved
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7768 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7769 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7770 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7772 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7774 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7777 if test "$ac_cv_header_Security_Security_h" = "yes"
7779 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7781 ac_save_LIBS
="$LIBS"
7782 LIBS
="$LIBS $SECURITY_LIBS"
7783 for ac_func
in SSLCopyPeerCertificates
7785 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7786 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7787 cat >>confdefs.h
<<_ACEOF
7788 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7794 LIBS
="$ac_save_LIBS"
7795 with_gnutls
=${with_gnutls:-no}
7797 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7799 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7801 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7804 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7807 ac_save_LIBS
="$LIBS"
7808 LIBS
="$LIBS $COREAUDIO_LIBS"
7809 for ac_func
in AUGraphAddNode
7811 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7812 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7813 cat >>confdefs.h
<<_ACEOF
7814 #define HAVE_AUGRAPHADDNODE 1
7820 LIBS
="$ac_save_LIBS"
7822 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7824 OPENAL_LIBS
="-framework OpenAL"
7827 cat >>confdefs.h
<<_ACEOF
7828 #define HAVE_OPENAL 1
7831 ac_cv_lib_openal
=yes
7833 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7835 OPENCL_LIBS
="-framework OpenCL"
7837 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7839 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7841 ac_save_LIBS
="$LIBS"
7842 LIBS
="$LIBS $IOKIT_LIBS"
7843 for ac_func
in IOHIDManagerCreate
7845 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7846 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7847 cat >>confdefs.h
<<_ACEOF
7848 #define HAVE_IOHIDMANAGERCREATE 1
7854 LIBS
="$ac_save_LIBS"
7856 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7858 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7860 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7862 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7864 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7866 CARBON_LIBS
="-framework Carbon"
7870 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7872 ac_save_LIBS
="$LIBS"
7873 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7874 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7875 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7876 enable_winemac_drv
=${enable_winemac_drv:-yes}
7879 LIBS
="$ac_save_LIBS"
7882 if test "x$enable_win16" = "xyes"
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7885 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7886 if test "$cross_compiling" = yes; then :
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7888 $as_echo "cross-compiling, assuming yes" >&6; }
7890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7891 /* end confdefs.h. */
7894 "good:\tnop;nop\n\t"
7895 ".globl _testfunc\n"
7896 "_testfunc:\tcallw good");
7897 extern void testfunc();
7901 unsigned short *p = (unsigned short *)testfunc;
7902 return p[0] != 0xe866 || p[1] != 0xfffa
7907 if ac_fn_c_try_run
"$LINENO"; then :
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7909 $as_echo "yes" >&6; }
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7912 $as_echo "no" >&6; }
7913 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
7915 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7916 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7921 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7923 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7927 libwine.$libwine_version.dylib: \$(OBJS)
7928 \$(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 \$@
7930 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7931 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7933 libwine.dylib: libwine.$libwine_soversion.dylib
7934 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7936 install install-lib:: libwine.$libwine_version.dylib
7937 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7938 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7940 install install-dev::
7941 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7944 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7948 as_fn_append LOADER_RULES
"
7949 $wine_binary: main.o wine_info.plist
7950 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7952 wine-installed: main.o wine_info.plist
7953 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7958 DLLFLAGS
="$DLLFLAGS -fPIC"
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7963 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7964 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7965 $as_echo_n "(cached) " >&6
7967 ac_wine_try_cflags_saved
=$CFLAGS
7968 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7970 /* end confdefs.h. */
7971 int main(int argc, char **argv) { return 0; }
7973 if ac_fn_c_try_link
"$LINENO"; then :
7974 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7976 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7978 rm -f core conftest.err conftest.
$ac_objext \
7979 conftest
$ac_exeext conftest.
$ac_ext
7980 CFLAGS
=$ac_wine_try_cflags_saved
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7983 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7984 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7985 LDEXECFLAGS
="-Wl,--export-dynamic"
7987 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7989 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7990 if eval \
${$as_ac_var+:} false
; then :
7991 $as_echo_n "(cached) " >&6
7993 ac_wine_try_cflags_saved
=$CFLAGS
7994 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7996 /* end confdefs.h. */
7997 int main(int argc, char **argv) { return 0; }
7999 if ac_fn_c_try_link
"$LINENO"; then :
8000 eval "$as_ac_var=yes"
8002 eval "$as_ac_var=no"
8004 rm -f core conftest.err conftest.
$ac_objext \
8005 conftest
$ac_exeext conftest.
$ac_ext
8006 CFLAGS
=$ac_wine_try_cflags_saved
8008 eval ac_res
=\$
$as_ac_var
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8010 $as_echo "$ac_res" >&6; }
8011 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8012 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8013 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8015 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8017 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8018 if eval \
${$as_ac_var+:} false
; then :
8019 $as_echo_n "(cached) " >&6
8021 ac_wine_try_cflags_saved
=$CFLAGS
8022 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8024 /* end confdefs.h. */
8025 int main(int argc, char **argv) { return 0; }
8027 if ac_fn_c_try_link
"$LINENO"; then :
8028 eval "$as_ac_var=yes"
8030 eval "$as_ac_var=no"
8032 rm -f core conftest.err conftest.
$ac_objext \
8033 conftest
$ac_exeext conftest.
$ac_ext
8034 CFLAGS
=$ac_wine_try_cflags_saved
8036 eval ac_res
=\$
$as_ac_var
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8038 $as_echo "$ac_res" >&6; }
8039 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8040 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8041 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8046 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8047 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8048 $as_echo_n "(cached) " >&6
8050 ac_wine_try_cflags_saved
=$CFLAGS
8051 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8053 /* end confdefs.h. */
8054 int main(int argc, char **argv) { return 0; }
8056 if ac_fn_c_try_link
"$LINENO"; then :
8057 ac_cv_cflags__Wl___enable_new_dtags
=yes
8059 ac_cv_cflags__Wl___enable_new_dtags
=no
8061 rm -f core conftest.err conftest.
$ac_objext \
8062 conftest
$ac_exeext conftest.
$ac_ext
8063 CFLAGS
=$ac_wine_try_cflags_saved
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8066 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8067 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8068 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8072 *i
[3456789]86* | x86_64
)
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8074 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8075 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8076 $as_echo_n "(cached) " >&6
8078 ac_wine_try_cflags_saved
=$CFLAGS
8079 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8081 /* end confdefs.h. */
8082 int main(int argc, char **argv) { return 0; }
8084 if ac_fn_c_try_link
"$LINENO"; then :
8085 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8087 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8089 rm -f core conftest.err conftest.
$ac_objext \
8090 conftest
$ac_exeext conftest.
$ac_ext
8091 CFLAGS
=$ac_wine_try_cflags_saved
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8094 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8095 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8096 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8101 libwine_targets
="libwine.so"
8103 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8107 libwine.so: \$(OBJS)
8108 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8110 install install-lib:: libwine.so
8111 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8114 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8118 as_fn_append LOADER_RULES
"
8119 $wine_binary: main.o
8120 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8122 wine-installed: main.o
8123 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8128 DLLFLAGS
="$DLLFLAGS -fPIC"
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8131 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8132 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8133 $as_echo_n "(cached) " >&6
8135 ac_wine_try_cflags_saved
=$CFLAGS
8136 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8138 /* end confdefs.h. */
8141 if ac_fn_c_try_link
"$LINENO"; then :
8142 ac_cv_c_dll_gnuelf
="yes"
8144 ac_cv_c_dll_gnuelf
="no"
8146 rm -f core conftest.err conftest.
$ac_objext \
8147 conftest
$ac_exeext conftest.
$ac_ext
8148 CFLAGS
=$ac_wine_try_cflags_saved
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8151 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8152 if test "$ac_cv_c_dll_gnuelf" = "yes"
8154 LDSHARED
="\$(CC) -shared"
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8156 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8157 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8158 $as_echo_n "(cached) " >&6
8160 ac_wine_try_cflags_saved
=$CFLAGS
8161 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8163 /* end confdefs.h. */
8164 int main(int argc, char **argv) { return 0; }
8166 if ac_fn_c_try_link
"$LINENO"; then :
8167 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8169 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8171 rm -f core conftest.err conftest.
$ac_objext \
8172 conftest
$ac_exeext conftest.
$ac_ext
8173 CFLAGS
=$ac_wine_try_cflags_saved
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8176 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8177 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8178 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8181 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8182 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8183 $as_echo_n "(cached) " >&6
8185 ac_wine_try_cflags_saved
=$CFLAGS
8186 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8188 /* end confdefs.h. */
8189 int main(int argc, char **argv) { return 0; }
8191 if ac_fn_c_try_link
"$LINENO"; then :
8192 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8194 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8196 rm -f core conftest.err conftest.
$ac_objext \
8197 conftest
$ac_exeext conftest.
$ac_ext
8198 CFLAGS
=$ac_wine_try_cflags_saved
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8201 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8202 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8203 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8207 echo '{ global: *; };' >conftest.map
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8209 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8210 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8211 $as_echo_n "(cached) " >&6
8213 ac_wine_try_cflags_saved
=$CFLAGS
8214 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8216 /* end confdefs.h. */
8217 int main(int argc, char **argv) { return 0; }
8219 if ac_fn_c_try_link
"$LINENO"; then :
8220 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8222 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8224 rm -f core conftest.err conftest.
$ac_objext \
8225 conftest
$ac_exeext conftest.
$ac_ext
8226 CFLAGS
=$ac_wine_try_cflags_saved
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8229 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8230 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8231 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8236 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8237 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8238 $as_echo_n "(cached) " >&6
8240 ac_wine_try_cflags_saved
=$CFLAGS
8241 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8243 /* end confdefs.h. */
8244 int main(int argc, char **argv) { return 0; }
8246 if ac_fn_c_try_link
"$LINENO"; then :
8247 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8249 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8251 rm -f core conftest.err conftest.
$ac_objext \
8252 conftest
$ac_exeext conftest.
$ac_ext
8253 CFLAGS
=$ac_wine_try_cflags_saved
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8256 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8257 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8258 LDEXECFLAGS
="-Wl,--export-dynamic"
8261 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8263 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8264 if eval \
${$as_ac_var+:} false
; then :
8265 $as_echo_n "(cached) " >&6
8267 ac_wine_try_cflags_saved
=$CFLAGS
8268 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8270 /* end confdefs.h. */
8271 int main(int argc, char **argv) { return 0; }
8273 if ac_fn_c_try_link
"$LINENO"; then :
8274 eval "$as_ac_var=yes"
8276 eval "$as_ac_var=no"
8278 rm -f core conftest.err conftest.
$ac_objext \
8279 conftest
$ac_exeext conftest.
$ac_ext
8280 CFLAGS
=$ac_wine_try_cflags_saved
8282 eval ac_res
=\$
$as_ac_var
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8284 $as_echo "$ac_res" >&6; }
8285 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8286 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8287 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8289 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8291 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8292 if eval \
${$as_ac_var+:} false
; then :
8293 $as_echo_n "(cached) " >&6
8295 ac_wine_try_cflags_saved
=$CFLAGS
8296 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8298 /* end confdefs.h. */
8299 int main(int argc, char **argv) { return 0; }
8301 if ac_fn_c_try_link
"$LINENO"; then :
8302 eval "$as_ac_var=yes"
8304 eval "$as_ac_var=no"
8306 rm -f core conftest.err conftest.
$ac_objext \
8307 conftest
$ac_exeext conftest.
$ac_ext
8308 CFLAGS
=$ac_wine_try_cflags_saved
8310 eval ac_res
=\$
$as_ac_var
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8312 $as_echo "$ac_res" >&6; }
8313 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8314 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8315 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8320 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8321 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8322 $as_echo_n "(cached) " >&6
8324 ac_wine_try_cflags_saved
=$CFLAGS
8325 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8327 /* end confdefs.h. */
8328 int main(int argc, char **argv) { return 0; }
8330 if ac_fn_c_try_link
"$LINENO"; then :
8331 ac_cv_cflags__Wl___enable_new_dtags
=yes
8333 ac_cv_cflags__Wl___enable_new_dtags
=no
8335 rm -f core conftest.err conftest.
$ac_objext \
8336 conftest
$ac_exeext conftest.
$ac_ext
8337 CFLAGS
=$ac_wine_try_cflags_saved
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8340 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8341 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8342 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8346 *i
[3456789]86* | x86_64
)
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8348 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8349 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8350 $as_echo_n "(cached) " >&6
8352 ac_wine_try_cflags_saved
=$CFLAGS
8353 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8355 /* end confdefs.h. */
8356 int main(int argc, char **argv) { return 0; }
8358 if ac_fn_c_try_link
"$LINENO"; then :
8359 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8361 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8363 rm -f core conftest.err conftest.
$ac_objext \
8364 conftest
$ac_exeext conftest.
$ac_ext
8365 CFLAGS
=$ac_wine_try_cflags_saved
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8368 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8369 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8371 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8372 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8376 # Extract the first word of "prelink", so it can be a program name with args.
8377 set dummy prelink
; ac_word
=$2
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8379 $as_echo_n "checking for $ac_word... " >&6; }
8380 if ${ac_cv_path_PRELINK+:} false
; then :
8381 $as_echo_n "(cached) " >&6
8385 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8389 for as_dir
in /sbin
/usr
/sbin
$PATH
8392 test -z "$as_dir" && as_dir
=.
8393 for ac_exec_ext
in '' $ac_executable_extensions; do
8394 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8395 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8403 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8407 PRELINK
=$ac_cv_path_PRELINK
8408 if test -n "$PRELINK"; then
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8410 $as_echo "$PRELINK" >&6; }
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8413 $as_echo "no" >&6; }
8417 if test "x$PRELINK" = xfalse
8419 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8426 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8427 if ${ac_cv_c_dll_unixware+:} false
; then :
8428 $as_echo_n "(cached) " >&6
8430 ac_wine_try_cflags_saved
=$CFLAGS
8431 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8433 /* end confdefs.h. */
8436 if ac_fn_c_try_link
"$LINENO"; then :
8437 ac_cv_c_dll_unixware
="yes"
8439 ac_cv_c_dll_unixware
="no"
8441 rm -f core conftest.err conftest.
$ac_objext \
8442 conftest
$ac_exeext conftest.
$ac_ext
8443 CFLAGS
=$ac_wine_try_cflags_saved
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8446 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8447 if test "$ac_cv_c_dll_unixware" = "yes"
8449 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8452 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8454 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8458 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8459 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8461 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8462 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8464 libwine.so: libwine.so.$libwine_soversion
8465 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8467 install install-lib:: libwine.so.$libwine_version
8468 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8469 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8471 install install-dev::
8472 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8475 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8479 as_fn_append LOADER_RULES
"
8480 $wine_binary: main.o
8481 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8483 wine-installed: main.o
8484 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8489 as_fn_append LIBWINE_RULES
"
8490 EXTRA_TARGETS = $libwine_targets
8493 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8494 enable_winemac_drv
=${enable_winemac_drv:-no}
8498 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8502 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
8505 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 " ;;
8507 ac_prefix_list
="" ;;
8509 for ac_prog
in $ac_prefix_list
8511 # Extract the first word of "$ac_prog", so it can be a program name with args.
8512 set dummy
$ac_prog; ac_word
=$2
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8514 $as_echo_n "checking for $ac_word... " >&6; }
8515 if ${ac_cv_prog_CROSSCC+:} false
; then :
8516 $as_echo_n "(cached) " >&6
8518 if test -n "$CROSSCC"; then
8519 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8525 test -z "$as_dir" && as_dir
=.
8526 for ac_exec_ext
in '' $ac_executable_extensions; do
8527 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8528 ac_cv_prog_CROSSCC
="$ac_prog"
8529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8538 CROSSCC
=$ac_cv_prog_CROSSCC
8539 if test -n "$CROSSCC"; then
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8541 $as_echo "$CROSSCC" >&6; }
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8544 $as_echo "no" >&6; }
8548 test -n "$CROSSCC" && break
8550 test -n "$CROSSCC" || CROSSCC
="false"
8552 if test "$CROSSCC" != "false"
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8557 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8569 if ac_fn_c_try_compile
"$LINENO"; then :
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8571 $as_echo "yes" >&6; }
8577 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8583 $as_echo "no" >&6; }
8585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8591 if test "$ac_cv_header_pthread_h" = "yes"
8593 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8594 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8598 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8599 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8600 $as_echo_n "(cached) " >&6
8602 ac_check_lib_save_LIBS
=$LIBS
8603 LIBS
="-lpthread $LIBS"
8604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8605 /* end confdefs.h. */
8607 /* Override any GCC internal prototype to avoid an error.
8608 Use char because int might match the return type of a GCC
8609 builtin and then its argument prototype would still apply. */
8613 char pthread_create ();
8617 return pthread_create ();
8622 if ac_fn_c_try_link
"$LINENO"; then :
8623 ac_cv_lib_pthread_pthread_create
=yes
8625 ac_cv_lib_pthread_pthread_create
=no
8627 rm -f core conftest.err conftest.
$ac_objext \
8628 conftest
$ac_exeext conftest.
$ac_ext
8629 LIBS
=$ac_check_lib_save_LIBS
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8632 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8633 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8634 PTHREAD_LIBS
="-lpthread"
8641 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8642 case "x$with_pthread" in
8644 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8645 Wine cannot support threads without libpthread.
8646 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8652 $as_echo_n "checking for X... " >&6; }
8655 # Check whether --with-x was given.
8656 if test "${with_x+set}" = set; then :
8660 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8661 if test "x$with_x" = xno
; then
8662 # The user explicitly disabled X.
8665 case $x_includes,$x_libraries in #(
8666 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8667 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8668 $as_echo_n "(cached) " >&6
8670 # One or both of the vars are not set, and there is no cached value.
8671 ac_x_includes
=no ac_x_libraries
=no
8672 rm -f -r conftest.dir
8673 if mkdir conftest.dir
; then
8675 cat >Imakefile
<<'_ACEOF'
8677 @echo incroot='${INCROOT}'
8679 @echo usrlibdir='${USRLIBDIR}'
8681 @echo libdir='${LIBDIR}'
8683 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8684 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8685 for ac_var
in incroot usrlibdir libdir
; do
8686 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8688 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8689 for ac_extension
in a so sl dylib la dll
; do
8690 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8691 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8692 ac_im_usrlibdir
=$ac_im_libdir; break
8695 # Screen out bogus values from the imake configuration. They are
8696 # bogus both because they are the default anyway, and because
8697 # using them would break gcc on systems where it needs fixed includes.
8698 case $ac_im_incroot in
8699 /usr
/include
) ac_x_includes
= ;;
8700 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8702 case $ac_im_usrlibdir in
8703 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8704 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8708 rm -f -r conftest.dir
8711 # Standard set of common directories for X headers.
8712 # Check X11 before X11Rn because it is often a symlink to the current release.
8726 /usr/local/X11/include
8727 /usr/local/X11R7/include
8728 /usr/local/X11R6/include
8729 /usr/local/X11R5/include
8730 /usr/local/X11R4/include
8732 /usr/local/include/X11
8733 /usr/local/include/X11R7
8734 /usr/local/include/X11R6
8735 /usr/local/include/X11R5
8736 /usr/local/include/X11R4
8740 /usr/XFree86/include/X11
8744 /usr/unsupported/include
8746 /usr/local/x11r5/include
8747 /usr/lpp/Xamples/include
8749 /usr/openwin/include
8750 /usr/openwin/share/include'
8752 if test "$ac_x_includes" = no
; then
8753 # Guess where to find include files, by looking for Xlib.h.
8754 # First, try using that file with no special directory specified.
8755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8756 /* end confdefs.h. */
8757 #include <X11/Xlib.h>
8759 if ac_fn_c_try_cpp
"$LINENO"; then :
8760 # We can compile using X headers with no special include directory.
8763 for ac_dir
in $ac_x_header_dirs; do
8764 if test -r "$ac_dir/X11/Xlib.h"; then
8765 ac_x_includes
=$ac_dir
8770 rm -f conftest.err conftest.i conftest.
$ac_ext
8771 fi # $ac_x_includes = no
8773 if test "$ac_x_libraries" = no
; then
8774 # Check for the libraries.
8775 # See if we find them without any special options.
8776 # Don't add to $LIBS permanently.
8779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8780 /* end confdefs.h. */
8781 #include <X11/Xlib.h>
8790 if ac_fn_c_try_link
"$LINENO"; then :
8792 # We can link X programs with no special library path.
8796 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8798 # Don't even attempt the hair of trying to link an X program!
8799 for ac_extension
in a so sl dylib la dll
; do
8800 if test -r "$ac_dir/libX11.$ac_extension"; then
8801 ac_x_libraries
=$ac_dir
8807 rm -f core conftest.err conftest.
$ac_objext \
8808 conftest
$ac_exeext conftest.
$ac_ext
8809 fi # $ac_x_libraries = no
8811 case $ac_x_includes,$ac_x_libraries in #(
8813 # Didn't find X, or a directory has "'" in its name.
8814 ac_cv_have_x
="have_x=no";; #(
8816 # Record where we found X for the cache.
8817 ac_cv_have_x
="have_x=yes\
8818 ac_x_includes='$ac_x_includes'\
8819 ac_x_libraries='$ac_x_libraries'"
8825 eval "$ac_cv_have_x"
8828 if test "$have_x" != yes; then
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8830 $as_echo "$have_x" >&6; }
8833 # If each of the values was on the command line, it overrides each guess.
8834 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8835 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8836 # Update the cache value to reflect the command line values.
8837 ac_cv_have_x
="have_x=yes\
8838 ac_x_includes='$x_includes'\
8839 ac_x_libraries='$x_libraries'"
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8841 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8844 if test "$no_x" = yes; then
8845 # Not all programs may use this symbol, but it does not hurt to define it.
8847 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8849 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8851 if test -n "$x_includes"; then
8852 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8855 # It would also be nice to do this for all -L options, not just this one.
8856 if test -n "$x_libraries"; then
8857 X_LIBS
="$X_LIBS -L$x_libraries"
8858 # For Solaris; some versions of Sun CC require a space after -R and
8859 # others require no space. Words are not sufficient . . . .
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8861 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8862 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8863 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8864 ac_c_werror_flag
=yes
8865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8866 /* end confdefs.h. */
8876 if ac_fn_c_try_link
"$LINENO"; then :
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8878 $as_echo "no" >&6; }
8879 X_LIBS
="$X_LIBS -R$x_libraries"
8881 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8883 /* end confdefs.h. */
8893 if ac_fn_c_try_link
"$LINENO"; then :
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8895 $as_echo "yes" >&6; }
8896 X_LIBS
="$X_LIBS -R $x_libraries"
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8899 $as_echo "neither works" >&6; }
8901 rm -f core conftest.err conftest.
$ac_objext \
8902 conftest
$ac_exeext conftest.
$ac_ext
8904 rm -f core conftest.err conftest.
$ac_objext \
8905 conftest
$ac_exeext conftest.
$ac_ext
8906 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8910 # Check for system-dependent libraries X programs must link with.
8911 # Do this before checking for the system-independent R6 libraries
8912 # (-lICE), since we may need -lsocket or whatever for X linking.
8914 if test "$ISC" = yes; then
8915 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8917 # Martyn Johnson says this is needed for Ultrix, if the X
8918 # libraries were built with DECnet support. And Karl Berry says
8919 # the Alpha needs dnet_stub (dnet does not exist).
8920 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8922 /* end confdefs.h. */
8924 /* Override any GCC internal prototype to avoid an error.
8925 Use char because int might match the return type of a GCC
8926 builtin and then its argument prototype would still apply. */
8930 char XOpenDisplay ();
8934 return XOpenDisplay ();
8939 if ac_fn_c_try_link
"$LINENO"; then :
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8943 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8944 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8945 $as_echo_n "(cached) " >&6
8947 ac_check_lib_save_LIBS
=$LIBS
8949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8950 /* end confdefs.h. */
8952 /* Override any GCC internal prototype to avoid an error.
8953 Use char because int might match the return type of a GCC
8954 builtin and then its argument prototype would still apply. */
8962 return dnet_ntoa ();
8967 if ac_fn_c_try_link
"$LINENO"; then :
8968 ac_cv_lib_dnet_dnet_ntoa
=yes
8970 ac_cv_lib_dnet_dnet_ntoa
=no
8972 rm -f core conftest.err conftest.
$ac_objext \
8973 conftest
$ac_exeext conftest.
$ac_ext
8974 LIBS
=$ac_check_lib_save_LIBS
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8977 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8978 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8979 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8982 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8984 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8985 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8986 $as_echo_n "(cached) " >&6
8988 ac_check_lib_save_LIBS
=$LIBS
8989 LIBS
="-ldnet_stub $LIBS"
8990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8991 /* end confdefs.h. */
8993 /* Override any GCC internal prototype to avoid an error.
8994 Use char because int might match the return type of a GCC
8995 builtin and then its argument prototype would still apply. */
9003 return dnet_ntoa ();
9008 if ac_fn_c_try_link
"$LINENO"; then :
9009 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9011 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9013 rm -f core conftest.err conftest.
$ac_objext \
9014 conftest
$ac_exeext conftest.
$ac_ext
9015 LIBS
=$ac_check_lib_save_LIBS
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9018 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9019 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9020 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9025 rm -f core conftest.err conftest.
$ac_objext \
9026 conftest
$ac_exeext conftest.
$ac_ext
9027 LIBS
="$ac_xsave_LIBS"
9029 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9030 # to get the SysV transport functions.
9031 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9033 # The nsl library prevents programs from opening the X display
9034 # on Irix 5.2, according to T.E. Dickey.
9035 # The functions gethostbyname, getservbyname, and inet_addr are
9036 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9037 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9038 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9042 if test $ac_cv_func_gethostbyname = no
; then
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9044 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9045 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9046 $as_echo_n "(cached) " >&6
9048 ac_check_lib_save_LIBS
=$LIBS
9050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9051 /* end confdefs.h. */
9053 /* Override any GCC internal prototype to avoid an error.
9054 Use char because int might match the return type of a GCC
9055 builtin and then its argument prototype would still apply. */
9059 char gethostbyname ();
9063 return gethostbyname ();
9068 if ac_fn_c_try_link
"$LINENO"; then :
9069 ac_cv_lib_nsl_gethostbyname
=yes
9071 ac_cv_lib_nsl_gethostbyname
=no
9073 rm -f core conftest.err conftest.
$ac_objext \
9074 conftest
$ac_exeext conftest.
$ac_ext
9075 LIBS
=$ac_check_lib_save_LIBS
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9078 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9079 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9080 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9083 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9085 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9086 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9087 $as_echo_n "(cached) " >&6
9089 ac_check_lib_save_LIBS
=$LIBS
9091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9092 /* end confdefs.h. */
9094 /* Override any GCC internal prototype to avoid an error.
9095 Use char because int might match the return type of a GCC
9096 builtin and then its argument prototype would still apply. */
9100 char gethostbyname ();
9104 return gethostbyname ();
9109 if ac_fn_c_try_link
"$LINENO"; then :
9110 ac_cv_lib_bsd_gethostbyname
=yes
9112 ac_cv_lib_bsd_gethostbyname
=no
9114 rm -f core conftest.err conftest.
$ac_objext \
9115 conftest
$ac_exeext conftest.
$ac_ext
9116 LIBS
=$ac_check_lib_save_LIBS
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9119 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9120 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9121 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9127 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9128 # socket/setsockopt and other routines are undefined under SCO ODT
9129 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9130 # on later versions), says Simon Leinen: it contains gethostby*
9131 # variants that don't use the name server (or something). -lsocket
9132 # must be given before -lnsl if both are needed. We assume that
9133 # if connect needs -lnsl, so does gethostbyname.
9134 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9135 if test "x$ac_cv_func_connect" = xyes
; then :
9139 if test $ac_cv_func_connect = no
; then
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9141 $as_echo_n "checking for connect in -lsocket... " >&6; }
9142 if ${ac_cv_lib_socket_connect+:} false
; then :
9143 $as_echo_n "(cached) " >&6
9145 ac_check_lib_save_LIBS
=$LIBS
9146 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9150 /* Override any GCC internal prototype to avoid an error.
9151 Use char because int might match the return type of a GCC
9152 builtin and then its argument prototype would still apply. */
9165 if ac_fn_c_try_link
"$LINENO"; then :
9166 ac_cv_lib_socket_connect
=yes
9168 ac_cv_lib_socket_connect
=no
9170 rm -f core conftest.err conftest.
$ac_objext \
9171 conftest
$ac_exeext conftest.
$ac_ext
9172 LIBS
=$ac_check_lib_save_LIBS
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9175 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9176 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9177 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9182 # Guillermo Gomez says -lposix is necessary on A/UX.
9183 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9184 if test "x$ac_cv_func_remove" = xyes
; then :
9188 if test $ac_cv_func_remove = no
; then
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9190 $as_echo_n "checking for remove in -lposix... " >&6; }
9191 if ${ac_cv_lib_posix_remove+:} false
; then :
9192 $as_echo_n "(cached) " >&6
9194 ac_check_lib_save_LIBS
=$LIBS
9195 LIBS
="-lposix $LIBS"
9196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9197 /* end confdefs.h. */
9199 /* Override any GCC internal prototype to avoid an error.
9200 Use char because int might match the return type of a GCC
9201 builtin and then its argument prototype would still apply. */
9214 if ac_fn_c_try_link
"$LINENO"; then :
9215 ac_cv_lib_posix_remove
=yes
9217 ac_cv_lib_posix_remove
=no
9219 rm -f core conftest.err conftest.
$ac_objext \
9220 conftest
$ac_exeext conftest.
$ac_ext
9221 LIBS
=$ac_check_lib_save_LIBS
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9224 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9225 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9226 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9231 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9232 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9233 if test "x$ac_cv_func_shmat" = xyes
; then :
9237 if test $ac_cv_func_shmat = no
; then
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9239 $as_echo_n "checking for shmat in -lipc... " >&6; }
9240 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9241 $as_echo_n "(cached) " >&6
9243 ac_check_lib_save_LIBS
=$LIBS
9245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9246 /* end confdefs.h. */
9248 /* Override any GCC internal prototype to avoid an error.
9249 Use char because int might match the return type of a GCC
9250 builtin and then its argument prototype would still apply. */
9263 if ac_fn_c_try_link
"$LINENO"; then :
9264 ac_cv_lib_ipc_shmat
=yes
9266 ac_cv_lib_ipc_shmat
=no
9268 rm -f core conftest.err conftest.
$ac_objext \
9269 conftest
$ac_exeext conftest.
$ac_ext
9270 LIBS
=$ac_check_lib_save_LIBS
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9273 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9274 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9275 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9281 # Check for libraries that X11R6 Xt/Xaw programs need.
9282 ac_save_LDFLAGS
=$LDFLAGS
9283 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9284 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9285 # check for ICE first), but we must link in the order -lSM -lICE or
9286 # we get undefined symbols. So assume we have SM if we have ICE.
9287 # These have to be linked with before -lX11, unlike the other
9288 # libraries we check for below, so use a different variable.
9289 # John Interrante, Karl Berry
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9291 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9292 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9293 $as_echo_n "(cached) " >&6
9295 ac_check_lib_save_LIBS
=$LIBS
9296 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9298 /* end confdefs.h. */
9300 /* Override any GCC internal prototype to avoid an error.
9301 Use char because int might match the return type of a GCC
9302 builtin and then its argument prototype would still apply. */
9306 char IceConnectionNumber ();
9310 return IceConnectionNumber ();
9315 if ac_fn_c_try_link
"$LINENO"; then :
9316 ac_cv_lib_ICE_IceConnectionNumber
=yes
9318 ac_cv_lib_ICE_IceConnectionNumber
=no
9320 rm -f core conftest.err conftest.
$ac_objext \
9321 conftest
$ac_exeext conftest.
$ac_ext
9322 LIBS
=$ac_check_lib_save_LIBS
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9325 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9326 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9327 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9330 LDFLAGS
=$ac_save_LDFLAGS
9335 if test "$have_x" = "yes"
9337 ac_save_CPPFLAGS
="$CPPFLAGS"
9338 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9341 $as_echo_n "checking for -lX11... " >&6; }
9342 if ${ac_cv_lib_soname_X11+:} false
; then :
9343 $as_echo_n "(cached) " >&6
9345 ac_check_soname_save_LIBS
=$LIBS
9346 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9348 /* end confdefs.h. */
9350 /* Override any GCC internal prototype to avoid an error.
9351 Use char because int might match the return type of a GCC
9352 builtin and then its argument prototype would still apply. */
9356 char XCreateWindow ();
9360 return XCreateWindow ();
9365 if ac_fn_c_try_link
"$LINENO"; then :
9367 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9368 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'` ;;
9369 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9370 if ${ac_cv_lib_soname_X11:+false} :; then :
9371 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9375 rm -f core conftest.err conftest.
$ac_objext \
9376 conftest
$ac_exeext conftest.
$ac_ext
9377 LIBS
=$ac_check_soname_save_LIBS
9379 if ${ac_cv_lib_soname_X11:+false} :; then :
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9381 $as_echo "not found" >&6; }
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9385 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9387 cat >>confdefs.h
<<_ACEOF
9388 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9394 $as_echo_n "checking for -lXext... " >&6; }
9395 if ${ac_cv_lib_soname_Xext+:} false
; then :
9396 $as_echo_n "(cached) " >&6
9398 ac_check_soname_save_LIBS
=$LIBS
9399 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9401 /* end confdefs.h. */
9403 /* Override any GCC internal prototype to avoid an error.
9404 Use char because int might match the return type of a GCC
9405 builtin and then its argument prototype would still apply. */
9409 char XextCreateExtension ();
9413 return XextCreateExtension ();
9418 if ac_fn_c_try_link
"$LINENO"; then :
9420 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9421 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'` ;;
9422 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9423 if ${ac_cv_lib_soname_Xext:+false} :; then :
9424 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9428 rm -f core conftest.err conftest.
$ac_objext \
9429 conftest
$ac_exeext conftest.
$ac_ext
9430 LIBS
=$ac_check_soname_save_LIBS
9432 if ${ac_cv_lib_soname_Xext:+false} :; then :
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9434 $as_echo "not found" >&6; }
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9438 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9440 cat >>confdefs.h
<<_ACEOF
9441 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9444 X_LIBS
="$X_LIBS -lXext"
9446 X_LIBS
="$X_LIBS -lX11"
9448 for ac_header
in X11
/Xlib.h \
9451 X11
/Xcursor
/Xcursor.h \
9452 X11
/extensions
/shape.h \
9453 X11
/extensions
/XInput.h \
9454 X11
/extensions
/XInput2.h \
9455 X11
/extensions
/XShm.h \
9456 X11
/extensions
/Xcomposite.h \
9457 X11
/extensions
/Xinerama.h \
9458 X11
/extensions
/Xrandr.h \
9459 X11
/extensions
/Xrender.h \
9460 X11
/extensions
/xf86vmode.h \
9461 X11
/extensions
/xf86vmproto.h
9463 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9464 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9465 # include <X11/Xlib.h>
9467 #ifdef HAVE_X11_XUTIL_H
9468 # include <X11/Xutil.h>
9471 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9472 cat >>confdefs.h
<<_ACEOF
9473 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9481 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9484 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9485 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9486 $as_echo_n "(cached) " >&6
9488 ac_check_lib_save_LIBS
=$LIBS
9489 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9493 /* Override any GCC internal prototype to avoid an error.
9494 Use char because int might match the return type of a GCC
9495 builtin and then its argument prototype would still apply. */
9499 char XkbQueryExtension ();
9503 return XkbQueryExtension ();
9508 if ac_fn_c_try_link
"$LINENO"; then :
9509 ac_cv_lib_X11_XkbQueryExtension
=yes
9511 ac_cv_lib_X11_XkbQueryExtension
=no
9513 rm -f core conftest.err conftest.
$ac_objext \
9514 conftest
$ac_exeext conftest.
$ac_ext
9515 LIBS
=$ac_check_lib_save_LIBS
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9518 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9519 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9521 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9527 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9530 $as_echo_n "checking for -lXcursor... " >&6; }
9531 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9532 $as_echo_n "(cached) " >&6
9534 ac_check_soname_save_LIBS
=$LIBS
9535 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9539 /* Override any GCC internal prototype to avoid an error.
9540 Use char because int might match the return type of a GCC
9541 builtin and then its argument prototype would still apply. */
9545 char XcursorImageLoadCursor ();
9549 return XcursorImageLoadCursor ();
9554 if ac_fn_c_try_link
"$LINENO"; then :
9556 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9557 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'` ;;
9558 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9559 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9560 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9564 rm -f core conftest.err conftest.
$ac_objext \
9565 conftest
$ac_exeext conftest.
$ac_ext
9566 LIBS
=$ac_check_soname_save_LIBS
9568 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9570 $as_echo "not found" >&6; }
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9574 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9576 cat >>confdefs.h
<<_ACEOF
9577 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9583 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9584 case "x$with_xcursor" in
9585 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9587 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9588 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9592 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9595 $as_echo_n "checking for -lXi... " >&6; }
9596 if ${ac_cv_lib_soname_Xi+:} false
; then :
9597 $as_echo_n "(cached) " >&6
9599 ac_check_soname_save_LIBS
=$LIBS
9600 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9602 /* end confdefs.h. */
9604 /* Override any GCC internal prototype to avoid an error.
9605 Use char because int might match the return type of a GCC
9606 builtin and then its argument prototype would still apply. */
9610 char XOpenDevice ();
9614 return XOpenDevice ();
9619 if ac_fn_c_try_link
"$LINENO"; then :
9621 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9622 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'` ;;
9623 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9624 if ${ac_cv_lib_soname_Xi:+false} :; then :
9625 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9629 rm -f core conftest.err conftest.
$ac_objext \
9630 conftest
$ac_exeext conftest.
$ac_ext
9631 LIBS
=$ac_check_soname_save_LIBS
9633 if ${ac_cv_lib_soname_Xi:+false} :; then :
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9635 $as_echo "not found" >&6; }
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9639 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9641 cat >>confdefs.h
<<_ACEOF
9642 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9648 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9649 case "x$with_xinput" in
9650 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9652 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9653 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9657 if test "x$ac_cv_lib_soname_Xi" != x
9659 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9660 case "x$with_xinput2" in
9661 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9663 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9664 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9669 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9672 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9673 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9674 $as_echo_n "(cached) " >&6
9676 ac_check_lib_save_LIBS
=$LIBS
9677 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9679 /* end confdefs.h. */
9681 /* Override any GCC internal prototype to avoid an error.
9682 Use char because int might match the return type of a GCC
9683 builtin and then its argument prototype would still apply. */
9687 char XShmQueryExtension ();
9691 return XShmQueryExtension ();
9696 if ac_fn_c_try_link
"$LINENO"; then :
9697 ac_cv_lib_Xext_XShmQueryExtension
=yes
9699 ac_cv_lib_Xext_XShmQueryExtension
=no
9701 rm -f core conftest.err conftest.
$ac_objext \
9702 conftest
$ac_exeext conftest.
$ac_ext
9703 LIBS
=$ac_check_lib_save_LIBS
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9706 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9707 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9709 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9714 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9715 case "x$with_xshm" in
9716 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9718 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9719 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9723 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9726 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9727 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9728 $as_echo_n "(cached) " >&6
9730 ac_check_lib_save_LIBS
=$LIBS
9731 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9733 /* end confdefs.h. */
9735 /* Override any GCC internal prototype to avoid an error.
9736 Use char because int might match the return type of a GCC
9737 builtin and then its argument prototype would still apply. */
9741 char XShapeQueryExtension ();
9745 return XShapeQueryExtension ();
9750 if ac_fn_c_try_link
"$LINENO"; then :
9751 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9753 ac_cv_lib_Xext_XShapeQueryExtension
=no
9755 rm -f core conftest.err conftest.
$ac_objext \
9756 conftest
$ac_exeext conftest.
$ac_ext
9757 LIBS
=$ac_check_lib_save_LIBS
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9760 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9761 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9763 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9768 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9769 case "x$with_xshape" in
9770 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9772 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9773 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9777 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9780 $as_echo_n "checking for -lXxf86vm... " >&6; }
9781 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9782 $as_echo_n "(cached) " >&6
9784 ac_check_soname_save_LIBS
=$LIBS
9785 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9787 /* end confdefs.h. */
9789 /* Override any GCC internal prototype to avoid an error.
9790 Use char because int might match the return type of a GCC
9791 builtin and then its argument prototype would still apply. */
9795 char XF86VidModeQueryExtension ();
9799 return XF86VidModeQueryExtension ();
9804 if ac_fn_c_try_link
"$LINENO"; then :
9806 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9807 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'` ;;
9808 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9809 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9810 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9814 rm -f core conftest.err conftest.
$ac_objext \
9815 conftest
$ac_exeext conftest.
$ac_ext
9816 LIBS
=$ac_check_soname_save_LIBS
9818 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9820 $as_echo "not found" >&6; }
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9824 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9826 cat >>confdefs.h
<<_ACEOF
9827 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9833 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9834 case "x$with_xxf86vm" in
9835 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9837 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9838 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9842 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9845 $as_echo_n "checking for -lXrender... " >&6; }
9846 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9847 $as_echo_n "(cached) " >&6
9849 ac_check_soname_save_LIBS
=$LIBS
9850 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h. */
9854 /* Override any GCC internal prototype to avoid an error.
9855 Use char because int might match the return type of a GCC
9856 builtin and then its argument prototype would still apply. */
9860 char XRenderQueryExtension ();
9864 return XRenderQueryExtension ();
9869 if ac_fn_c_try_link
"$LINENO"; then :
9871 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9872 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'` ;;
9873 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9874 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9875 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9879 rm -f core conftest.err conftest.
$ac_objext \
9880 conftest
$ac_exeext conftest.
$ac_ext
9881 LIBS
=$ac_check_soname_save_LIBS
9883 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9885 $as_echo "not found" >&6; }
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9889 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9891 cat >>confdefs.h
<<_ACEOF
9892 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9896 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9897 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9898 $as_echo_n "(cached) " >&6
9900 ac_check_lib_save_LIBS
=$LIBS
9901 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9903 /* end confdefs.h. */
9905 /* Override any GCC internal prototype to avoid an error.
9906 Use char because int might match the return type of a GCC
9907 builtin and then its argument prototype would still apply. */
9911 char XRenderSetPictureTransform ();
9915 return XRenderSetPictureTransform ();
9920 if ac_fn_c_try_link
"$LINENO"; then :
9921 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9923 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9925 rm -f core conftest.err conftest.
$ac_objext \
9926 conftest
$ac_exeext conftest.
$ac_ext
9927 LIBS
=$ac_check_lib_save_LIBS
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9930 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9931 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9933 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9938 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9939 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9940 $as_echo_n "(cached) " >&6
9942 ac_check_lib_save_LIBS
=$LIBS
9943 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9945 /* end confdefs.h. */
9947 /* Override any GCC internal prototype to avoid an error.
9948 Use char because int might match the return type of a GCC
9949 builtin and then its argument prototype would still apply. */
9953 char XRenderCreateLinearGradient ();
9957 return XRenderCreateLinearGradient ();
9962 if ac_fn_c_try_link
"$LINENO"; then :
9963 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9965 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9967 rm -f core conftest.err conftest.
$ac_objext \
9968 conftest
$ac_exeext conftest.
$ac_ext
9969 LIBS
=$ac_check_lib_save_LIBS
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9972 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9973 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9975 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9982 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9983 case "x$with_xrender" in
9984 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9986 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9987 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9991 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9994 /* end confdefs.h. */
9995 #include <X11/Xlib.h>
9996 #include <X11/extensions/Xrandr.h>
10000 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10005 if ac_fn_c_try_compile
"$LINENO"; then :
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10007 $as_echo_n "checking for -lXrandr... " >&6; }
10008 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10009 $as_echo_n "(cached) " >&6
10011 ac_check_soname_save_LIBS
=$LIBS
10012 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10014 /* end confdefs.h. */
10016 /* Override any GCC internal prototype to avoid an error.
10017 Use char because int might match the return type of a GCC
10018 builtin and then its argument prototype would still apply. */
10022 char XRRQueryExtension ();
10026 return XRRQueryExtension ();
10031 if ac_fn_c_try_link
"$LINENO"; then :
10033 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10034 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'` ;;
10035 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10036 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10037 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10041 rm -f core conftest.err conftest.
$ac_objext \
10042 conftest
$ac_exeext conftest.
$ac_ext
10043 LIBS
=$ac_check_soname_save_LIBS
10045 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10047 $as_echo "not found" >&6; }
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10051 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10053 cat >>confdefs.h
<<_ACEOF
10054 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10059 #include <X11/Xlib.h>
10060 #include <X11/extensions/Xrandr.h>
10064 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10069 if ac_fn_c_try_compile
"$LINENO"; then :
10071 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10079 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10080 case "x$with_xrandr" in
10081 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10083 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10084 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10088 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10092 #include <X11/Xlib.h>
10093 #include <X11/extensions/Xinerama.h>
10097 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10102 if ac_fn_c_try_compile
"$LINENO"; then :
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10104 $as_echo_n "checking for -lXinerama... " >&6; }
10105 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10106 $as_echo_n "(cached) " >&6
10108 ac_check_soname_save_LIBS
=$LIBS
10109 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10113 /* Override any GCC internal prototype to avoid an error.
10114 Use char because int might match the return type of a GCC
10115 builtin and then its argument prototype would still apply. */
10119 char XineramaQueryScreens ();
10123 return XineramaQueryScreens ();
10128 if ac_fn_c_try_link
"$LINENO"; then :
10130 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10131 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'` ;;
10132 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10133 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10134 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10138 rm -f core conftest.err conftest.
$ac_objext \
10139 conftest
$ac_exeext conftest.
$ac_ext
10140 LIBS
=$ac_check_soname_save_LIBS
10142 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10144 $as_echo "not found" >&6; }
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10148 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10150 cat >>confdefs.h
<<_ACEOF
10151 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10159 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10160 case "x$with_xinerama" in
10161 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10163 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10164 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10168 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10171 $as_echo_n "checking for -lXcomposite... " >&6; }
10172 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10173 $as_echo_n "(cached) " >&6
10175 ac_check_soname_save_LIBS
=$LIBS
10176 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10180 /* Override any GCC internal prototype to avoid an error.
10181 Use char because int might match the return type of a GCC
10182 builtin and then its argument prototype would still apply. */
10186 char XCompositeRedirectWindow ();
10190 return XCompositeRedirectWindow ();
10195 if ac_fn_c_try_link
"$LINENO"; then :
10197 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10198 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'` ;;
10199 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10200 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10201 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10205 rm -f core conftest.err conftest.
$ac_objext \
10206 conftest
$ac_exeext conftest.
$ac_ext
10207 LIBS
=$ac_check_soname_save_LIBS
10209 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10211 $as_echo "not found" >&6; }
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10215 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10217 cat >>confdefs.h
<<_ACEOF
10218 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10224 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10225 case "x$with_xcomposite" in
10226 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10228 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10229 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10233 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10234 #include <X11/Xlib.h>
10237 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10239 cat >>confdefs.h
<<_ACEOF
10240 #define HAVE_XICCALLBACK_CALLBACK 1
10245 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10246 #include <X11/Xlib.h>
10249 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10251 cat >>confdefs.h
<<_ACEOF
10252 #define HAVE_XEVENT_XCOOKIE 1
10261 if test "x$with_opengl" != "xno"
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10264 $as_echo_n "checking for -lGL... " >&6; }
10265 if ${ac_cv_lib_soname_GL+:} false
; then :
10266 $as_echo_n "(cached) " >&6
10268 ac_check_soname_save_LIBS
=$LIBS
10269 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10271 /* end confdefs.h. */
10273 /* Override any GCC internal prototype to avoid an error.
10274 Use char because int might match the return type of a GCC
10275 builtin and then its argument prototype would still apply. */
10279 char glXCreateContext ();
10283 return glXCreateContext ();
10288 if ac_fn_c_try_link
"$LINENO"; then :
10290 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10291 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'` ;;
10292 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10293 if ${ac_cv_lib_soname_GL:+false} :; then :
10294 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10298 rm -f core conftest.err conftest.
$ac_objext \
10299 conftest
$ac_exeext conftest.
$ac_ext
10300 LIBS
=$ac_check_soname_save_LIBS
10302 if ${ac_cv_lib_soname_GL:+false} :; then :
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10304 $as_echo "not found" >&6; }
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10306 $as_echo_n "checking for -lGL... " >&6; }
10307 if ${ac_cv_lib_soname_GL+:} false
; then :
10308 $as_echo_n "(cached) " >&6
10310 ac_check_soname_save_LIBS
=$LIBS
10311 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"
10312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10315 /* Override any GCC internal prototype to avoid an error.
10316 Use char because int might match the return type of a GCC
10317 builtin and then its argument prototype would still apply. */
10321 char glXCreateContext ();
10325 return glXCreateContext ();
10330 if ac_fn_c_try_link
"$LINENO"; then :
10332 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10333 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'` ;;
10334 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10335 if ${ac_cv_lib_soname_GL:+false} :; then :
10336 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10340 rm -f core conftest.err conftest.
$ac_objext \
10341 conftest
$ac_exeext conftest.
$ac_ext
10342 LIBS
=$ac_check_soname_save_LIBS
10344 if ${ac_cv_lib_soname_GL:+false} :; then :
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10346 $as_echo "not found" >&6; }
10347 if test -f /usr
/X11R
6/lib
/libGL.a
10349 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10350 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10352 opengl_msg
="No OpenGL library found on this system."
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10356 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10358 cat >>confdefs.h
<<_ACEOF
10359 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10362 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"
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10366 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10368 cat >>confdefs.h
<<_ACEOF
10369 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10374 if test "x$with_glu" != "xno"
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10377 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10378 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10379 $as_echo_n "(cached) " >&6
10381 ac_check_lib_save_LIBS
=$LIBS
10382 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10384 /* end confdefs.h. */
10386 /* Override any GCC internal prototype to avoid an error.
10387 Use char because int might match the return type of a GCC
10388 builtin and then its argument prototype would still apply. */
10396 return gluLookAt ();
10401 if ac_fn_c_try_link
"$LINENO"; then :
10402 ac_cv_lib_GLU_gluLookAt
=yes
10404 ac_cv_lib_GLU_gluLookAt
=no
10406 rm -f core conftest.err conftest.
$ac_objext \
10407 conftest
$ac_exeext conftest.
$ac_ext
10408 LIBS
=$ac_check_lib_save_LIBS
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10411 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10412 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10416 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10417 case "x$with_glu" in
10418 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10420 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10421 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10426 if test "x$with_osmesa" != "xno"
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10429 $as_echo_n "checking for -lOSMesa... " >&6; }
10430 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10431 $as_echo_n "(cached) " >&6
10433 ac_check_soname_save_LIBS
=$LIBS
10434 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10436 /* end confdefs.h. */
10438 /* Override any GCC internal prototype to avoid an error.
10439 Use char because int might match the return type of a GCC
10440 builtin and then its argument prototype would still apply. */
10453 if ac_fn_c_try_link
"$LINENO"; then :
10455 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10456 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'` ;;
10457 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10458 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10459 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10463 rm -f core conftest.err conftest.
$ac_objext \
10464 conftest
$ac_exeext conftest.
$ac_ext
10465 LIBS
=$ac_check_soname_save_LIBS
10467 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10469 $as_echo "not found" >&6; }
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10473 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10475 cat >>confdefs.h
<<_ACEOF
10476 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10481 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10482 case "x$with_osmesa" in
10483 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10485 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10486 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10491 if test -n "$opengl_msg"; then :
10492 case "x$with_opengl" in
10493 x
) as_fn_append wine_warnings
"|$opengl_msg
10494 OpenGL and Direct3D won't be supported." ;;
10496 *) as_fn_error $?
"$opengl_msg
10497 OpenGL and Direct3D won't be supported.
10498 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10502 CPPFLAGS
="$ac_save_CPPFLAGS"
10506 enable_winex11_drv
=${enable_winex11_drv:-no}
10508 if test "x$X_LIBS" = "x"; then :
10511 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10512 without X support, which probably isn't what you want. You will need
10513 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10514 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10518 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10520 if test "$ac_cv_header_CL_cl_h" = "yes"
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10523 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10524 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10525 $as_echo_n "(cached) " >&6
10527 ac_check_lib_save_LIBS
=$LIBS
10528 LIBS
="-lOpenCL $LIBS"
10529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10530 /* end confdefs.h. */
10532 /* Override any GCC internal prototype to avoid an error.
10533 Use char because int might match the return type of a GCC
10534 builtin and then its argument prototype would still apply. */
10538 char clGetPlatformInfo ();
10542 return clGetPlatformInfo ();
10547 if ac_fn_c_try_link
"$LINENO"; then :
10548 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10550 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10552 rm -f core conftest.err conftest.
$ac_objext \
10553 conftest
$ac_exeext conftest.
$ac_ext
10554 LIBS
=$ac_check_lib_save_LIBS
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10557 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10558 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10559 OPENCL_LIBS
="-lOpenCL"
10564 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10565 case "x$with_opencl" in
10566 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10568 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10569 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10572 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10574 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10577 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10578 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10579 $as_echo_n "(cached) " >&6
10581 ac_check_lib_save_LIBS
=$LIBS
10582 LIBS
="-lpcap $LIBS"
10583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10584 /* end confdefs.h. */
10586 /* Override any GCC internal prototype to avoid an error.
10587 Use char because int might match the return type of a GCC
10588 builtin and then its argument prototype would still apply. */
10592 char pcap_create ();
10596 return pcap_create ();
10601 if ac_fn_c_try_link
"$LINENO"; then :
10602 ac_cv_lib_pcap_pcap_create
=yes
10604 ac_cv_lib_pcap_pcap_create
=no
10606 rm -f core conftest.err conftest.
$ac_objext \
10607 conftest
$ac_exeext conftest.
$ac_ext
10608 LIBS
=$ac_check_lib_save_LIBS
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10611 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10612 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10618 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10619 case "x$with_pcap" in
10620 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10622 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10623 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10626 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10629 if test "x$with_xml" != "xno"
10631 if ${XML2_CFLAGS:+false} :; then :
10632 if ${PKG_CONFIG+:} false
; then :
10633 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10636 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10637 if ${XML2_LIBS:+false} :; then :
10638 if ${PKG_CONFIG+:} false
; then :
10639 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10642 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10643 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10644 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10645 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10646 ac_save_CPPFLAGS
=$CPPFLAGS
10647 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10648 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10650 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10651 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10652 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10653 cat >>confdefs.h
<<_ACEOF
10654 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10661 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"
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10664 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10665 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10666 $as_echo_n "(cached) " >&6
10668 ac_check_lib_save_LIBS
=$LIBS
10669 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10671 /* end confdefs.h. */
10673 /* Override any GCC internal prototype to avoid an error.
10674 Use char because int might match the return type of a GCC
10675 builtin and then its argument prototype would still apply. */
10679 char xmlParseMemory ();
10683 return xmlParseMemory ();
10688 if ac_fn_c_try_link
"$LINENO"; then :
10689 ac_cv_lib_xml2_xmlParseMemory
=yes
10691 ac_cv_lib_xml2_xmlParseMemory
=no
10693 rm -f core conftest.err conftest.
$ac_objext \
10694 conftest
$ac_exeext conftest.
$ac_ext
10695 LIBS
=$ac_check_lib_save_LIBS
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10698 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10699 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10701 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10708 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10709 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10710 $as_echo_n "(cached) " >&6
10712 ac_check_lib_save_LIBS
=$LIBS
10713 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10715 /* end confdefs.h. */
10717 /* Override any GCC internal prototype to avoid an error.
10718 Use char because int might match the return type of a GCC
10719 builtin and then its argument prototype would still apply. */
10723 char xmlReadMemory ();
10727 return xmlReadMemory ();
10732 if ac_fn_c_try_link
"$LINENO"; then :
10733 ac_cv_lib_xml2_xmlReadMemory
=yes
10735 ac_cv_lib_xml2_xmlReadMemory
=no
10737 rm -f core conftest.err conftest.
$ac_objext \
10738 conftest
$ac_exeext conftest.
$ac_ext
10739 LIBS
=$ac_check_lib_save_LIBS
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10742 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10743 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10745 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10750 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10751 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10752 $as_echo_n "(cached) " >&6
10754 ac_check_lib_save_LIBS
=$LIBS
10755 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10759 /* Override any GCC internal prototype to avoid an error.
10760 Use char because int might match the return type of a GCC
10761 builtin and then its argument prototype would still apply. */
10765 char xmlNewDocPI ();
10769 return xmlNewDocPI ();
10774 if ac_fn_c_try_link
"$LINENO"; then :
10775 ac_cv_lib_xml2_xmlNewDocPI
=yes
10777 ac_cv_lib_xml2_xmlNewDocPI
=no
10779 rm -f core conftest.err conftest.
$ac_objext \
10780 conftest
$ac_exeext conftest.
$ac_ext
10781 LIBS
=$ac_check_lib_save_LIBS
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10784 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10785 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10787 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10792 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10793 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10794 $as_echo_n "(cached) " >&6
10796 ac_check_lib_save_LIBS
=$LIBS
10797 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10799 /* end confdefs.h. */
10801 /* Override any GCC internal prototype to avoid an error.
10802 Use char because int might match the return type of a GCC
10803 builtin and then its argument prototype would still apply. */
10807 char xmlSchemaSetParserStructuredErrors ();
10811 return xmlSchemaSetParserStructuredErrors ();
10816 if ac_fn_c_try_link
"$LINENO"; then :
10817 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10819 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10821 rm -f core conftest.err conftest.
$ac_objext \
10822 conftest
$ac_exeext conftest.
$ac_ext
10823 LIBS
=$ac_check_lib_save_LIBS
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10826 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10827 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10829 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10834 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10835 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10836 $as_echo_n "(cached) " >&6
10838 ac_check_lib_save_LIBS
=$LIBS
10839 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10841 /* end confdefs.h. */
10843 /* Override any GCC internal prototype to avoid an error.
10844 Use char because int might match the return type of a GCC
10845 builtin and then its argument prototype would still apply. */
10849 char xmlSchemaSetValidStructuredErrors ();
10853 return xmlSchemaSetValidStructuredErrors ();
10858 if ac_fn_c_try_link
"$LINENO"; then :
10859 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10861 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10863 rm -f core conftest.err conftest.
$ac_objext \
10864 conftest
$ac_exeext conftest.
$ac_ext
10865 LIBS
=$ac_check_lib_save_LIBS
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10868 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10869 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10871 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10876 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10877 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10878 $as_echo_n "(cached) " >&6
10880 ac_check_lib_save_LIBS
=$LIBS
10881 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10885 /* Override any GCC internal prototype to avoid an error.
10886 Use char because int might match the return type of a GCC
10887 builtin and then its argument prototype would still apply. */
10891 char xmlFirstElementChild ();
10895 return xmlFirstElementChild ();
10900 if ac_fn_c_try_link
"$LINENO"; then :
10901 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10903 ac_cv_lib_xml2_xmlFirstElementChild
=no
10905 rm -f core conftest.err conftest.
$ac_objext \
10906 conftest
$ac_exeext conftest.
$ac_ext
10907 LIBS
=$ac_check_lib_save_LIBS
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10910 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10911 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10913 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10917 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10919 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10921 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10929 CPPFLAGS
=$ac_save_CPPFLAGS
10930 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10931 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10934 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10935 case "x$with_xml" in
10936 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10938 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10939 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10943 if test "x$with_xslt" != "xno"
10945 if ${XSLT_CFLAGS:+false} :; then :
10946 if ${PKG_CONFIG+:} false
; then :
10947 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10950 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10951 if ${XSLT_LIBS:+false} :; then :
10952 if ${PKG_CONFIG+:} false
; then :
10953 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10956 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10957 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10958 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10959 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10960 ac_save_CPPFLAGS
=$CPPFLAGS
10961 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10962 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10964 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10965 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10966 # include <libxslt/pattern.h>
10969 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10970 cat >>confdefs.h
<<_ACEOF
10971 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10978 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10981 $as_echo_n "checking for -lxslt... " >&6; }
10982 if ${ac_cv_lib_soname_xslt+:} false
; then :
10983 $as_echo_n "(cached) " >&6
10985 ac_check_soname_save_LIBS
=$LIBS
10986 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10990 /* Override any GCC internal prototype to avoid an error.
10991 Use char because int might match the return type of a GCC
10992 builtin and then its argument prototype would still apply. */
10996 char xsltCompilePattern ();
11000 return xsltCompilePattern ();
11005 if ac_fn_c_try_link
"$LINENO"; then :
11007 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11008 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'` ;;
11009 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11010 if ${ac_cv_lib_soname_xslt:+false} :; then :
11011 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11015 rm -f core conftest.err conftest.
$ac_objext \
11016 conftest
$ac_exeext conftest.
$ac_ext
11017 LIBS
=$ac_check_soname_save_LIBS
11019 if ${ac_cv_lib_soname_xslt:+false} :; then :
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11021 $as_echo "not found" >&6; }
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11025 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11027 cat >>confdefs.h
<<_ACEOF
11028 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11036 CPPFLAGS
=$ac_save_CPPFLAGS
11037 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11038 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11041 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11042 case "x$with_xslt" in
11043 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11045 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11046 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11050 if test "x$with_dbus" != "xno"
11052 if ${DBUS_CFLAGS:+false} :; then :
11053 if ${PKG_CONFIG+:} false
; then :
11054 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11058 if ${DBUS_LIBS:+false} :; then :
11059 if ${PKG_CONFIG+:} false
; then :
11060 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11065 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11066 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11067 ac_save_CPPFLAGS
=$CPPFLAGS
11068 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11069 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11070 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11072 $as_echo_n "checking for -ldbus-1... " >&6; }
11073 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11074 $as_echo_n "(cached) " >&6
11076 ac_check_soname_save_LIBS
=$LIBS
11077 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11081 /* Override any GCC internal prototype to avoid an error.
11082 Use char because int might match the return type of a GCC
11083 builtin and then its argument prototype would still apply. */
11087 char dbus_connection_close ();
11091 return dbus_connection_close ();
11096 if ac_fn_c_try_link
"$LINENO"; then :
11098 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11099 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'` ;;
11100 *) 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'`
11101 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11102 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11106 rm -f core conftest.err conftest.
$ac_objext \
11107 conftest
$ac_exeext conftest.
$ac_ext
11108 LIBS
=$ac_check_soname_save_LIBS
11110 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11112 $as_echo "not found" >&6; }
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11116 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11118 cat >>confdefs.h
<<_ACEOF
11119 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11129 CPPFLAGS
=$ac_save_CPPFLAGS
11130 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11131 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11134 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11135 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11136 case "x$with_dbus" in
11137 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11139 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11140 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11144 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11146 if ${HAL_CFLAGS:+false} :; then :
11147 if ${PKG_CONFIG+:} false
; then :
11148 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11152 if ${HAL_LIBS:+false} :; then :
11153 if ${PKG_CONFIG+:} false
; then :
11154 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11158 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11159 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11160 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11161 ac_save_CPPFLAGS
=$CPPFLAGS
11162 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11163 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11164 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11166 $as_echo_n "checking for -lhal... " >&6; }
11167 if ${ac_cv_lib_soname_hal+:} false
; then :
11168 $as_echo_n "(cached) " >&6
11170 ac_check_soname_save_LIBS
=$LIBS
11171 LIBS
="-lhal $HAL_LIBS $LIBS"
11172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11173 /* end confdefs.h. */
11175 /* Override any GCC internal prototype to avoid an error.
11176 Use char because int might match the return type of a GCC
11177 builtin and then its argument prototype would still apply. */
11181 char libhal_ctx_new ();
11185 return libhal_ctx_new ();
11190 if ac_fn_c_try_link
"$LINENO"; then :
11192 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11193 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'` ;;
11194 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11195 if ${ac_cv_lib_soname_hal:+false} :; then :
11196 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11200 rm -f core conftest.err conftest.
$ac_objext \
11201 conftest
$ac_exeext conftest.
$ac_ext
11202 LIBS
=$ac_check_soname_save_LIBS
11204 if ${ac_cv_lib_soname_hal:+false} :; then :
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11206 $as_echo "not found" >&6; }
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11210 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11212 cat >>confdefs.h
<<_ACEOF
11213 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11223 CPPFLAGS
=$ac_save_CPPFLAGS
11224 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11225 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11227 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11228 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11229 case "x$with_hal" in
11230 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11232 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11233 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11238 if test "x$with_gnutls" != "xno"
11240 if ${GNUTLS_CFLAGS:+false} :; then :
11241 if ${PKG_CONFIG+:} false
; then :
11242 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11246 if ${GNUTLS_LIBS:+false} :; then :
11247 if ${PKG_CONFIG+:} false
; then :
11248 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11253 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11254 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11255 ac_save_CPPFLAGS
=$CPPFLAGS
11256 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11257 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11258 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11260 /* end confdefs.h. */
11261 #include <gnutls/gnutls.h>
11262 #include <gnutls/crypto.h>
11266 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11271 if ac_fn_c_try_compile
"$LINENO"; then :
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11273 $as_echo_n "checking for -lgnutls... " >&6; }
11274 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11275 $as_echo_n "(cached) " >&6
11277 ac_check_soname_save_LIBS
=$LIBS
11278 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h. */
11282 /* Override any GCC internal prototype to avoid an error.
11283 Use char because int might match the return type of a GCC
11284 builtin and then its argument prototype would still apply. */
11288 char gnutls_global_init ();
11292 return gnutls_global_init ();
11297 if ac_fn_c_try_link
"$LINENO"; then :
11299 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11300 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'` ;;
11301 *) 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'`
11302 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11303 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'`
11307 rm -f core conftest.err conftest.
$ac_objext \
11308 conftest
$ac_exeext conftest.
$ac_ext
11309 LIBS
=$ac_check_soname_save_LIBS
11311 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11313 $as_echo "not found" >&6; }
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11317 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11319 cat >>confdefs.h
<<_ACEOF
11320 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11332 CPPFLAGS
=$ac_save_CPPFLAGS
11333 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11334 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11337 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11338 case "x$with_gnutls" in
11339 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11341 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11342 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11347 if test "$ac_cv_header_ncurses_h" = "yes"
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11350 $as_echo_n "checking for -lncurses... " >&6; }
11351 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11352 $as_echo_n "(cached) " >&6
11354 ac_check_soname_save_LIBS
=$LIBS
11355 LIBS
="-lncurses $LIBS"
11356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11359 /* Override any GCC internal prototype to avoid an error.
11360 Use char because int might match the return type of a GCC
11361 builtin and then its argument prototype would still apply. */
11374 if ac_fn_c_try_link
"$LINENO"; then :
11376 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11377 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'` ;;
11378 *) 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'`
11379 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11380 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11384 rm -f core conftest.err conftest.
$ac_objext \
11385 conftest
$ac_exeext conftest.
$ac_ext
11386 LIBS
=$ac_check_soname_save_LIBS
11388 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11390 $as_echo "not found" >&6; }
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11394 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11396 cat >>confdefs.h
<<_ACEOF
11397 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11400 CURSES_LIBS
="-lncurses"
11402 elif test "$ac_cv_header_curses_h" = "yes"
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11405 $as_echo_n "checking for -lcurses... " >&6; }
11406 if ${ac_cv_lib_soname_curses+:} false
; then :
11407 $as_echo_n "(cached) " >&6
11409 ac_check_soname_save_LIBS
=$LIBS
11410 LIBS
="-lcurses $LIBS"
11411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11414 /* Override any GCC internal prototype to avoid an error.
11415 Use char because int might match the return type of a GCC
11416 builtin and then its argument prototype would still apply. */
11429 if ac_fn_c_try_link
"$LINENO"; then :
11431 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11432 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'` ;;
11433 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11434 if ${ac_cv_lib_soname_curses:+false} :; then :
11435 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11439 rm -f core conftest.err conftest.
$ac_objext \
11440 conftest
$ac_exeext conftest.
$ac_ext
11441 LIBS
=$ac_check_soname_save_LIBS
11443 if ${ac_cv_lib_soname_curses:+false} :; then :
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11445 $as_echo "not found" >&6; }
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11449 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11451 cat >>confdefs.h
<<_ACEOF
11452 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11455 CURSES_LIBS
="-lcurses"
11458 ac_save_LIBS
="$LIBS"
11459 LIBS
="$LIBS $CURSES_LIBS"
11460 for ac_func
in mousemask
11462 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11463 if test "x$ac_cv_func_mousemask" = xyes
; then :
11464 cat >>confdefs.h
<<_ACEOF
11465 #define HAVE_MOUSEMASK 1
11471 LIBS
="$ac_save_LIBS"
11472 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11473 case "x$with_curses" in
11474 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11476 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11477 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11481 if test "x$with_sane" != "xno"
11483 if ${SANE_CFLAGS:+false} :; then :
11484 if ${PKG_CONFIG+:} false
; then :
11485 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11488 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11489 if ${SANE_LIBS:+false} :; then :
11490 if ${PKG_CONFIG+:} false
; then :
11491 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11494 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11496 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11497 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11498 ac_save_CPPFLAGS
=$CPPFLAGS
11499 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11500 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11501 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11503 $as_echo_n "checking for -lsane... " >&6; }
11504 if ${ac_cv_lib_soname_sane+:} false
; then :
11505 $as_echo_n "(cached) " >&6
11507 ac_check_soname_save_LIBS
=$LIBS
11508 LIBS
="-lsane $SANE_LIBS $LIBS"
11509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11512 /* Override any GCC internal prototype to avoid an error.
11513 Use char because int might match the return type of a GCC
11514 builtin and then its argument prototype would still apply. */
11522 return sane_init ();
11527 if ac_fn_c_try_link
"$LINENO"; then :
11529 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11530 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'` ;;
11531 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11532 if ${ac_cv_lib_soname_sane:+false} :; then :
11533 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11537 rm -f core conftest.err conftest.
$ac_objext \
11538 conftest
$ac_exeext conftest.
$ac_ext
11539 LIBS
=$ac_check_soname_save_LIBS
11541 if ${ac_cv_lib_soname_sane:+false} :; then :
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11543 $as_echo "not found" >&6; }
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11547 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11549 cat >>confdefs.h
<<_ACEOF
11550 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11560 CPPFLAGS
=$ac_save_CPPFLAGS
11561 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11562 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11565 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11566 case "x$with_sane" in
11567 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11569 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11570 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11574 if test "x$with_v4l" != "xno"
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11577 $as_echo_n "checking for -lv4l1... " >&6; }
11578 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11579 $as_echo_n "(cached) " >&6
11581 ac_check_soname_save_LIBS
=$LIBS
11582 LIBS
="-lv4l1 $LIBS"
11583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11584 /* end confdefs.h. */
11586 /* Override any GCC internal prototype to avoid an error.
11587 Use char because int might match the return type of a GCC
11588 builtin and then its argument prototype would still apply. */
11596 return v4l1_open ();
11601 if ac_fn_c_try_link
"$LINENO"; then :
11603 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11604 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'` ;;
11605 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11606 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11607 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11611 rm -f core conftest.err conftest.
$ac_objext \
11612 conftest
$ac_exeext conftest.
$ac_ext
11613 LIBS
=$ac_check_soname_save_LIBS
11615 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11617 $as_echo "not found" >&6; }
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11621 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11623 cat >>confdefs.h
<<_ACEOF
11624 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11630 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11631 case "x$with_v4l" in
11632 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11634 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11635 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11639 if test "x$with_gphoto" != "xno"
11641 if ${GPHOTO2_CFLAGS:+false} :; then :
11642 if ${PKG_CONFIG+:} false
; then :
11643 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11646 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11647 if ${GPHOTO2_LIBS:+false} :; then :
11648 if ${PKG_CONFIG+:} false
; then :
11649 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11652 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11653 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11654 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11655 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11656 ac_save_CPPFLAGS
=$CPPFLAGS
11657 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11658 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11659 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11661 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11662 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11663 $as_echo_n "(cached) " >&6
11665 ac_check_lib_save_LIBS
=$LIBS
11666 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11670 /* Override any GCC internal prototype to avoid an error.
11671 Use char because int might match the return type of a GCC
11672 builtin and then its argument prototype would still apply. */
11676 char gp_camera_new ();
11680 return gp_camera_new ();
11685 if ac_fn_c_try_link
"$LINENO"; then :
11686 ac_cv_lib_gphoto2_gp_camera_new
=yes
11688 ac_cv_lib_gphoto2_gp_camera_new
=no
11690 rm -f core conftest.err conftest.
$ac_objext \
11691 conftest
$ac_exeext conftest.
$ac_ext
11692 LIBS
=$ac_check_lib_save_LIBS
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11695 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11696 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11698 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11701 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11705 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11709 CPPFLAGS
=$ac_save_CPPFLAGS
11710 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11711 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11713 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11714 if ${PKG_CONFIG+:} false
; then :
11715 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11718 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11719 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11720 if ${PKG_CONFIG+:} false
; then :
11721 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11724 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11725 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11726 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11727 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11728 ac_save_CPPFLAGS
=$CPPFLAGS
11729 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11730 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11731 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11733 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11734 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11735 $as_echo_n "(cached) " >&6
11737 ac_check_lib_save_LIBS
=$LIBS
11738 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11740 /* end confdefs.h. */
11742 /* Override any GCC internal prototype to avoid an error.
11743 Use char because int might match the return type of a GCC
11744 builtin and then its argument prototype would still apply. */
11748 char gp_port_info_list_new ();
11752 return gp_port_info_list_new ();
11757 if ac_fn_c_try_link
"$LINENO"; then :
11758 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11760 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11762 rm -f core conftest.err conftest.
$ac_objext \
11763 conftest
$ac_exeext conftest.
$ac_ext
11764 LIBS
=$ac_check_lib_save_LIBS
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11767 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11768 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11770 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11773 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11777 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11781 CPPFLAGS
=$ac_save_CPPFLAGS
11782 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11783 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11786 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11787 case "x$with_gphoto" in
11788 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11790 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11791 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11794 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11795 case "x$with_gphoto" in
11796 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11798 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11799 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11804 if test "$ac_cv_header_resolv_h" = "yes"
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11807 $as_echo_n "checking for resolver library... " >&6; }
11808 if ${ac_cv_have_resolv+:} false
; then :
11809 $as_echo_n "(cached) " >&6
11811 ac_save_LIBS
="$LIBS"
11812 for lib
in '' -lresolv
11814 LIBS
="$lib $ac_save_LIBS"
11815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11817 #ifdef HAVE_NETINET_IN_H
11818 #include <netinet/in.h>
11820 #include <resolv.h>
11824 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11829 if ac_fn_c_try_link
"$LINENO"; then :
11830 ac_cv_have_resolv
=${lib:-"none required"}
11832 ac_cv_have_resolv
="not found"
11834 rm -f core conftest.err conftest.
$ac_objext \
11835 conftest
$ac_exeext conftest.
$ac_ext
11836 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11838 LIBS
="$ac_save_LIBS"
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11841 $as_echo "$ac_cv_have_resolv" >&6; }
11843 case "$ac_cv_have_resolv" in
11847 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11850 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11852 RESOLV_LIBS
=$ac_cv_have_resolv
11857 if test "x$with_cms" != "xno"
11859 if ${LCMS2_CFLAGS:+false} :; then :
11860 if ${PKG_CONFIG+:} false
; then :
11861 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11865 if ${LCMS2_LIBS:+false} :; then :
11866 if ${PKG_CONFIG+:} false
; then :
11867 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11871 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11872 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11873 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11874 ac_save_CPPFLAGS
=$CPPFLAGS
11875 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11876 for ac_header
in lcms2.h
11878 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11879 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11880 cat >>confdefs.h
<<_ACEOF
11881 #define HAVE_LCMS2_H 1
11888 if test "$ac_cv_header_lcms2_h" = "yes"
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11891 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11892 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11893 $as_echo_n "(cached) " >&6
11895 ac_check_lib_save_LIBS
=$LIBS
11896 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h. */
11900 /* Override any GCC internal prototype to avoid an error.
11901 Use char because int might match the return type of a GCC
11902 builtin and then its argument prototype would still apply. */
11906 char cmsOpenProfileFromFile ();
11910 return cmsOpenProfileFromFile ();
11915 if ac_fn_c_try_link
"$LINENO"; then :
11916 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11918 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11920 rm -f core conftest.err conftest.
$ac_objext \
11921 conftest
$ac_exeext conftest.
$ac_ext
11922 LIBS
=$ac_check_lib_save_LIBS
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11925 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11926 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11928 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11938 CPPFLAGS
=$ac_save_CPPFLAGS
11939 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11940 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11943 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11944 case "x$with_cms" in
11945 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11947 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11948 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11952 if test "x$with_freetype" != "xno"
11954 if ${FREETYPE_CFLAGS:+false} :; then :
11955 if ${PKG_CONFIG+:} false
; then :
11956 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11959 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11960 if ${FREETYPE_LIBS:+false} :; then :
11961 if ${PKG_CONFIG+:} false
; then :
11962 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11965 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11966 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11967 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11968 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11969 ac_save_CPPFLAGS
=$CPPFLAGS
11970 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11971 for ac_header
in ft2build.h
11973 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11974 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11975 cat >>confdefs.h
<<_ACEOF
11976 #define HAVE_FT2BUILD_H 1
11983 if test "$ac_cv_header_ft2build_h" = "yes"
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11986 $as_echo_n "checking for -lfreetype... " >&6; }
11987 if ${ac_cv_lib_soname_freetype+:} false
; then :
11988 $as_echo_n "(cached) " >&6
11990 ac_check_soname_save_LIBS
=$LIBS
11991 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11995 /* Override any GCC internal prototype to avoid an error.
11996 Use char because int might match the return type of a GCC
11997 builtin and then its argument prototype would still apply. */
12001 char FT_Init_FreeType ();
12005 return FT_Init_FreeType ();
12010 if ac_fn_c_try_link
"$LINENO"; then :
12012 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12013 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'` ;;
12014 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12015 if ${ac_cv_lib_soname_freetype:+false} :; then :
12016 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12020 rm -f core conftest.err conftest.
$ac_objext \
12021 conftest
$ac_exeext conftest.
$ac_ext
12022 LIBS
=$ac_check_soname_save_LIBS
12024 if ${ac_cv_lib_soname_freetype:+false} :; then :
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12026 $as_echo "not found" >&6; }
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12030 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12032 cat >>confdefs.h
<<_ACEOF
12033 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12037 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12039 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12040 #include FT_MODULE_H
12042 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12044 cat >>confdefs.h
<<_ACEOF
12045 #define HAVE_FT_TRUETYPEENGINETYPE 1
12056 CPPFLAGS
=$ac_save_CPPFLAGS
12057 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12058 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12061 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12062 case "x$with_freetype" in
12064 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12065 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12068 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12071 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12072 if ${ac_cv_c_ppdev+:} false
; then :
12073 $as_echo_n "(cached) " >&6
12075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12077 #ifdef HAVE_SYS_IOCTL_H
12078 # include <sys/ioctl.h>
12080 #include <linux/ppdev.h>
12084 ioctl (1,PPCLAIM,0)
12089 if ac_fn_c_try_compile
"$LINENO"; then :
12090 ac_cv_c_ppdev
="yes"
12094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12097 $as_echo "$ac_cv_c_ppdev" >&6; }
12098 if test "$ac_cv_c_ppdev" = "yes"
12101 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12105 ac_wine_check_funcs_save_LIBS
="$LIBS"
12106 LIBS
="$LIBS $PTHREAD_LIBS"
12108 pthread_attr_get_np \
12109 pthread_getattr_np \
12110 pthread_getthreadid_np \
12111 pthread_get_stackaddr_np \
12112 pthread_get_stacksize_np
12114 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12115 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12116 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12117 cat >>confdefs.h
<<_ACEOF
12118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12124 LIBS
="$ac_wine_check_funcs_save_LIBS"
12126 if test "$ac_cv_header_zlib_h" = "yes"
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12129 $as_echo_n "checking for inflate in -lz... " >&6; }
12130 if ${ac_cv_lib_z_inflate+:} false
; then :
12131 $as_echo_n "(cached) " >&6
12133 ac_check_lib_save_LIBS
=$LIBS
12135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12136 /* end confdefs.h. */
12138 /* Override any GCC internal prototype to avoid an error.
12139 Use char because int might match the return type of a GCC
12140 builtin and then its argument prototype would still apply. */
12153 if ac_fn_c_try_link
"$LINENO"; then :
12154 ac_cv_lib_z_inflate
=yes
12156 ac_cv_lib_z_inflate
=no
12158 rm -f core conftest.err conftest.
$ac_objext \
12159 conftest
$ac_exeext conftest.
$ac_ext
12160 LIBS
=$ac_check_lib_save_LIBS
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12163 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12164 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12166 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12173 if test "x$Z_LIBS" = "x"; then :
12174 case "x$with_zlib" in
12175 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12177 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12178 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12182 if test "x$enable_tools" != xno
12184 if test "$ac_cv_header_gettext_po_h" = "yes"
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12187 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12188 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12189 $as_echo_n "(cached) " >&6
12191 ac_check_lib_save_LIBS
=$LIBS
12192 LIBS
="-lgettextpo $LIBS"
12193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12194 /* end confdefs.h. */
12196 /* Override any GCC internal prototype to avoid an error.
12197 Use char because int might match the return type of a GCC
12198 builtin and then its argument prototype would still apply. */
12202 char po_message_msgctxt ();
12206 return po_message_msgctxt ();
12211 if ac_fn_c_try_link
"$LINENO"; then :
12212 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12214 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12216 rm -f core conftest.err conftest.
$ac_objext \
12217 conftest
$ac_exeext conftest.
$ac_ext
12218 LIBS
=$ac_check_lib_save_LIBS
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12221 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12222 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12224 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12226 GETTEXTPO_LIBS
="-lgettextpo"
12231 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12232 case "x$with_gettextpo" in
12233 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12235 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12236 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12241 if test "x$with_gstreamer" != "xno"
12243 if ${GSTREAMER_CFLAGS:+false} :; then :
12244 if ${PKG_CONFIG+:} false
; then :
12245 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12249 if ${GSTREAMER_LIBS:+false} :; then :
12250 if ${PKG_CONFIG+:} false
; then :
12251 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12256 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12257 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12258 ac_save_CPPFLAGS
=$CPPFLAGS
12259 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12261 for i
in $GSTREAMER_CFLAGS
12264 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12267 GSTREAMER_CFLAGS
=$ac_gst_incl
12268 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12269 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12270 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12271 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12272 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12274 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12276 /* end confdefs.h. */
12277 #include <gst/app/gstappsink.h>
12281 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12286 if ac_fn_c_try_compile
"$LINENO"; then :
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12288 $as_echo "yes" >&6; }
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12290 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12291 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12292 $as_echo_n "(cached) " >&6
12294 ac_check_lib_save_LIBS
=$LIBS
12295 LIBS
="-lgstreamer-0.10 $LIBS"
12296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12297 /* end confdefs.h. */
12299 /* Override any GCC internal prototype to avoid an error.
12300 Use char because int might match the return type of a GCC
12301 builtin and then its argument prototype would still apply. */
12305 char gst_pad_get_caps_reffed ();
12309 return gst_pad_get_caps_reffed ();
12314 if ac_fn_c_try_link
"$LINENO"; then :
12315 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12317 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12319 rm -f core conftest.err conftest.
$ac_objext \
12320 conftest
$ac_exeext conftest.
$ac_ext
12321 LIBS
=$ac_check_lib_save_LIBS
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12324 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12325 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12327 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12328 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12329 $as_echo_n "(cached) " >&6
12331 ac_check_lib_save_LIBS
=$LIBS
12332 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12334 /* end confdefs.h. */
12336 /* Override any GCC internal prototype to avoid an error.
12337 Use char because int might match the return type of a GCC
12338 builtin and then its argument prototype would still apply. */
12342 char gst_app_buffer_new ();
12346 return gst_app_buffer_new ();
12351 if ac_fn_c_try_link
"$LINENO"; then :
12352 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12354 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12356 rm -f core conftest.err conftest.
$ac_objext \
12357 conftest
$ac_exeext conftest.
$ac_ext
12358 LIBS
=$ac_check_lib_save_LIBS
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12361 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12362 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12370 $as_echo "no" >&6; }
12372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12377 GSTREAMER_CFLAGS
=""
12381 CPPFLAGS
=$ac_save_CPPFLAGS
12382 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12383 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12386 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12387 case "x$with_gstreamer" in
12388 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12390 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12391 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12394 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12398 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12401 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12402 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12403 $as_echo_n "(cached) " >&6
12405 ac_check_lib_save_LIBS
=$LIBS
12406 LIBS
="-lasound $LIBS"
12407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12410 /* Override any GCC internal prototype to avoid an error.
12411 Use char because int might match the return type of a GCC
12412 builtin and then its argument prototype would still apply. */
12416 char snd_pcm_hw_params_get_access_mask ();
12420 return snd_pcm_hw_params_get_access_mask ();
12425 if ac_fn_c_try_link
"$LINENO"; then :
12426 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12428 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12430 rm -f core conftest.err conftest.
$ac_objext \
12431 conftest
$ac_exeext conftest.
$ac_ext
12432 LIBS
=$ac_check_lib_save_LIBS
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12435 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12436 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h. */
12439 #ifdef HAVE_ALSA_ASOUNDLIB_H
12440 #include <alsa/asoundlib.h>
12441 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12442 #include <sys/asoundlib.h>
12447 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12452 if ac_fn_c_try_compile
"$LINENO"; then :
12453 ALSA_LIBS
="-lasound"
12455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12460 if test "x$with_oss" != xno
12462 ac_save_CPPFLAGS
="$CPPFLAGS"
12463 if test -f /etc
/oss.conf
12467 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12468 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12469 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12470 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12471 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12473 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12475 cat >>confdefs.h
<<_ACEOF
12476 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12479 OSS4_CFLAGS
="$ac_oss_incl"
12486 CPPFLAGS
="$ac_save_CPPFLAGS"
12487 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12489 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12493 if test "x$with_capi" != "xno"
12495 if ${CAPI20_CFLAGS:+false} :; then :
12496 if ${PKG_CONFIG+:} false
; then :
12497 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12501 if ${CAPI20_LIBS:+false} :; then :
12502 if ${PKG_CONFIG+:} false
; then :
12503 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12508 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12509 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12510 ac_save_CPPFLAGS
=$CPPFLAGS
12511 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12512 for ac_header
in capi20.h linux
/capi.h
12514 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12515 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12517 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12518 cat >>confdefs.h
<<_ACEOF
12519 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12526 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12529 $as_echo_n "checking for -lcapi20... " >&6; }
12530 if ${ac_cv_lib_soname_capi20+:} false
; then :
12531 $as_echo_n "(cached) " >&6
12533 ac_check_soname_save_LIBS
=$LIBS
12534 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12536 /* end confdefs.h. */
12538 /* Override any GCC internal prototype to avoid an error.
12539 Use char because int might match the return type of a GCC
12540 builtin and then its argument prototype would still apply. */
12544 char capi20_register ();
12548 return capi20_register ();
12553 if ac_fn_c_try_link
"$LINENO"; then :
12555 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12556 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'` ;;
12557 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12558 if ${ac_cv_lib_soname_capi20:+false} :; then :
12559 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12563 rm -f core conftest.err conftest.
$ac_objext \
12564 conftest
$ac_exeext conftest.
$ac_ext
12565 LIBS
=$ac_check_soname_save_LIBS
12567 if ${ac_cv_lib_soname_capi20:+false} :; then :
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12569 $as_echo "not found" >&6; }
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12573 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12575 cat >>confdefs.h
<<_ACEOF
12576 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12582 CPPFLAGS
=$ac_save_CPPFLAGS
12583 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12584 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12587 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12588 case "x$with_capi" in
12589 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12591 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12592 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12598 if test "x$with_cups" != "xno"
12600 ac_save_CPPFLAGS
="$CPPFLAGS"
12601 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12602 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12603 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12604 for ac_header
in cups
/cups.h
12606 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12607 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12608 cat >>confdefs.h
<<_ACEOF
12609 #define HAVE_CUPS_CUPS_H 1
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12612 $as_echo_n "checking for -lcups... " >&6; }
12613 if ${ac_cv_lib_soname_cups+:} false
; then :
12614 $as_echo_n "(cached) " >&6
12616 ac_check_soname_save_LIBS
=$LIBS
12617 LIBS
="-lcups $ac_cups_libs $LIBS"
12618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12619 /* end confdefs.h. */
12621 /* Override any GCC internal prototype to avoid an error.
12622 Use char because int might match the return type of a GCC
12623 builtin and then its argument prototype would still apply. */
12627 char cupsGetDefault ();
12631 return cupsGetDefault ();
12636 if ac_fn_c_try_link
"$LINENO"; then :
12638 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12639 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'` ;;
12640 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12641 if ${ac_cv_lib_soname_cups:+false} :; then :
12642 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12646 rm -f core conftest.err conftest.
$ac_objext \
12647 conftest
$ac_exeext conftest.
$ac_ext
12648 LIBS
=$ac_check_soname_save_LIBS
12650 if ${ac_cv_lib_soname_cups:+false} :; then :
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12652 $as_echo "not found" >&6; }
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12656 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12658 cat >>confdefs.h
<<_ACEOF
12659 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12662 CUPS_CFLAGS
="$ac_cups_cflags"
12668 CPPFLAGS
="$ac_save_CPPFLAGS"
12670 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12671 case "x$with_cups" in
12672 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12674 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12675 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12679 if test "x$with_fontconfig" != "xno"
12681 if ${FONTCONFIG_CFLAGS:+false} :; then :
12682 if ${PKG_CONFIG+:} false
; then :
12683 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12686 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12687 if ${FONTCONFIG_LIBS:+false} :; then :
12688 if ${PKG_CONFIG+:} false
; then :
12689 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12692 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12694 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12695 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12696 ac_save_CPPFLAGS
=$CPPFLAGS
12697 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12698 for ac_header
in fontconfig
/fontconfig.h
12700 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12701 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12702 cat >>confdefs.h
<<_ACEOF
12703 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12710 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12713 $as_echo_n "checking for -lfontconfig... " >&6; }
12714 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12715 $as_echo_n "(cached) " >&6
12717 ac_check_soname_save_LIBS
=$LIBS
12718 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12720 /* end confdefs.h. */
12722 /* Override any GCC internal prototype to avoid an error.
12723 Use char because int might match the return type of a GCC
12724 builtin and then its argument prototype would still apply. */
12737 if ac_fn_c_try_link
"$LINENO"; then :
12739 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12740 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'` ;;
12741 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12742 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12743 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12747 rm -f core conftest.err conftest.
$ac_objext \
12748 conftest
$ac_exeext conftest.
$ac_ext
12749 LIBS
=$ac_check_soname_save_LIBS
12751 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12753 $as_echo "not found" >&6; }
12754 FONTCONFIG_CFLAGS
=""
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12757 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12759 cat >>confdefs.h
<<_ACEOF
12760 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12766 FONTCONFIG_CFLAGS
=""
12768 CPPFLAGS
=$ac_save_CPPFLAGS
12769 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12770 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12773 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12774 case "x$with_fontconfig" in
12775 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12777 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12778 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12782 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12785 $as_echo_n "checking for -lgsm... " >&6; }
12786 if ${ac_cv_lib_soname_gsm+:} false
; then :
12787 $as_echo_n "(cached) " >&6
12789 ac_check_soname_save_LIBS
=$LIBS
12791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12792 /* end confdefs.h. */
12794 /* Override any GCC internal prototype to avoid an error.
12795 Use char because int might match the return type of a GCC
12796 builtin and then its argument prototype would still apply. */
12800 char gsm_create ();
12804 return gsm_create ();
12809 if ac_fn_c_try_link
"$LINENO"; then :
12811 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12812 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'` ;;
12813 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12814 if ${ac_cv_lib_soname_gsm:+false} :; then :
12815 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12819 rm -f core conftest.err conftest.
$ac_objext \
12820 conftest
$ac_exeext conftest.
$ac_ext
12821 LIBS
=$ac_check_soname_save_LIBS
12823 if ${ac_cv_lib_soname_gsm:+false} :; then :
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12825 $as_echo "not found" >&6; }
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12829 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12831 cat >>confdefs.h
<<_ACEOF
12832 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12838 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12839 case "x$with_gsm" in
12840 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12842 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12843 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12847 if test "x$with_jpeg" != "xno"
12849 if ${JPEG_CFLAGS:+false} :; then :
12850 if ${PKG_CONFIG+:} false
; then :
12851 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12855 if ${JPEG_LIBS:+false} :; then :
12856 if ${PKG_CONFIG+:} false
; then :
12857 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12862 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12863 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12864 ac_save_CPPFLAGS
=$CPPFLAGS
12865 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12866 for ac_header
in jpeglib.h
12868 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12869 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12870 cat >>confdefs.h
<<_ACEOF
12871 #define HAVE_JPEGLIB_H 1
12878 if test "$ac_cv_header_jpeglib_h" = "yes"
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12881 $as_echo_n "checking for -ljpeg... " >&6; }
12882 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12883 $as_echo_n "(cached) " >&6
12885 ac_check_soname_save_LIBS
=$LIBS
12886 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12888 /* end confdefs.h. */
12890 /* Override any GCC internal prototype to avoid an error.
12891 Use char because int might match the return type of a GCC
12892 builtin and then its argument prototype would still apply. */
12896 char jpeg_start_decompress ();
12900 return jpeg_start_decompress ();
12905 if ac_fn_c_try_link
"$LINENO"; then :
12907 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12908 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'` ;;
12909 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12910 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12911 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12915 rm -f core conftest.err conftest.
$ac_objext \
12916 conftest
$ac_exeext conftest.
$ac_ext
12917 LIBS
=$ac_check_soname_save_LIBS
12919 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12921 $as_echo "not found" >&6; }
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12925 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12927 cat >>confdefs.h
<<_ACEOF
12928 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12936 CPPFLAGS
=$ac_save_CPPFLAGS
12937 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12938 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12941 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12942 case "x$with_jpeg" in
12943 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12945 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12946 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12950 if test "x$with_png" != "xno"
12952 if ${PNG_CFLAGS:+false} :; then :
12953 if ${PKG_CONFIG+:} false
; then :
12954 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12957 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12958 if ${PNG_LIBS:+false} :; then :
12959 if ${PKG_CONFIG+:} false
; then :
12960 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12963 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12965 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12966 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12967 ac_save_CPPFLAGS
=$CPPFLAGS
12968 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12969 for ac_header
in png.h
12971 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12972 if test "x$ac_cv_header_png_h" = xyes
; then :
12973 cat >>confdefs.h
<<_ACEOF
12974 #define HAVE_PNG_H 1
12981 if test "$ac_cv_header_png_h" = "yes"
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12984 $as_echo_n "checking for -lpng... " >&6; }
12985 if ${ac_cv_lib_soname_png+:} false
; then :
12986 $as_echo_n "(cached) " >&6
12988 ac_check_soname_save_LIBS
=$LIBS
12989 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h. */
12993 /* Override any GCC internal prototype to avoid an error.
12994 Use char because int might match the return type of a GCC
12995 builtin and then its argument prototype would still apply. */
12999 char png_create_read_struct ();
13003 return png_create_read_struct ();
13008 if ac_fn_c_try_link
"$LINENO"; then :
13010 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13011 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'` ;;
13012 *) 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'`
13013 if ${ac_cv_lib_soname_png:+false} :; then :
13014 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13018 rm -f core conftest.err conftest.
$ac_objext \
13019 conftest
$ac_exeext conftest.
$ac_ext
13020 LIBS
=$ac_check_soname_save_LIBS
13022 if ${ac_cv_lib_soname_png:+false} :; then :
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13024 $as_echo "not found" >&6; }
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13028 $as_echo "$ac_cv_lib_soname_png" >&6; }
13030 cat >>confdefs.h
<<_ACEOF
13031 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13035 /* end confdefs.h. */
13040 typeof(png_set_expand_gray_1_2_4_to_8) *p
13045 if ac_fn_c_try_compile
"$LINENO"; then :
13047 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13055 CPPFLAGS
=$ac_save_CPPFLAGS
13056 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13057 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13060 if test "x$ac_cv_lib_soname_png" = "x"; then :
13061 case "x$with_png" in
13062 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13064 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13065 This is an error since --with-png was requested." "$LINENO" 5 ;;
13069 if test "x$with_tiff" != "xno"
13071 if ${TIFF_CFLAGS:+false} :; then :
13072 if ${PKG_CONFIG+:} false
; then :
13073 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13077 if ${TIFF_LIBS:+false} :; then :
13078 if ${PKG_CONFIG+:} false
; then :
13079 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13084 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13085 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13086 ac_save_CPPFLAGS
=$CPPFLAGS
13087 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13088 for ac_header
in tiffio.h
13090 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13091 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13092 cat >>confdefs.h
<<_ACEOF
13093 #define HAVE_TIFFIO_H 1
13100 if test "$ac_cv_header_tiffio_h" = "yes"
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13103 $as_echo_n "checking for -ltiff... " >&6; }
13104 if ${ac_cv_lib_soname_tiff+:} false
; then :
13105 $as_echo_n "(cached) " >&6
13107 ac_check_soname_save_LIBS
=$LIBS
13108 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13112 /* Override any GCC internal prototype to avoid an error.
13113 Use char because int might match the return type of a GCC
13114 builtin and then its argument prototype would still apply. */
13118 char TIFFClientOpen ();
13122 return TIFFClientOpen ();
13127 if ac_fn_c_try_link
"$LINENO"; then :
13129 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13130 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'` ;;
13131 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13132 if ${ac_cv_lib_soname_tiff:+false} :; then :
13133 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13137 rm -f core conftest.err conftest.
$ac_objext \
13138 conftest
$ac_exeext conftest.
$ac_ext
13139 LIBS
=$ac_check_soname_save_LIBS
13141 if ${ac_cv_lib_soname_tiff:+false} :; then :
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13143 $as_echo "not found" >&6; }
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13147 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13149 cat >>confdefs.h
<<_ACEOF
13150 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13156 CPPFLAGS
=$ac_save_CPPFLAGS
13157 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13158 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13161 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13162 case "x$with_tiff" in
13163 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13165 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13166 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13170 if test "x$with_mpg123" != "xno"
13172 if ${MPG123_CFLAGS:+false} :; then :
13173 if ${PKG_CONFIG+:} false
; then :
13174 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13178 if ${MPG123_LIBS:+false} :; then :
13179 if ${PKG_CONFIG+:} false
; then :
13180 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13184 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13185 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13186 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13187 ac_save_CPPFLAGS
=$CPPFLAGS
13188 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13189 for ac_header
in mpg123.h
13191 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13192 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13193 cat >>confdefs.h
<<_ACEOF
13194 #define HAVE_MPG123_H 1
13201 if test "$ac_cv_header_mpg123_h" = "yes"
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13204 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13205 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13206 $as_echo_n "(cached) " >&6
13208 ac_check_lib_save_LIBS
=$LIBS
13209 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13211 /* end confdefs.h. */
13213 /* Override any GCC internal prototype to avoid an error.
13214 Use char because int might match the return type of a GCC
13215 builtin and then its argument prototype would still apply. */
13219 char mpg123_feed ();
13223 return mpg123_feed ();
13228 if ac_fn_c_try_link
"$LINENO"; then :
13229 ac_cv_lib_mpg123_mpg123_feed
=yes
13231 ac_cv_lib_mpg123_mpg123_feed
=no
13233 rm -f core conftest.err conftest.
$ac_objext \
13234 conftest
$ac_exeext conftest.
$ac_ext
13235 LIBS
=$ac_check_lib_save_LIBS
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13238 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13239 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13249 CPPFLAGS
=$ac_save_CPPFLAGS
13250 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13251 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13254 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13255 case "x$with_mpg123" in
13256 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13258 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13259 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13262 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}
13264 if test "$ac_cv_header_AL_al_h" = "yes"
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13267 $as_echo_n "checking for -lopenal... " >&6; }
13268 if ${ac_cv_lib_soname_openal+:} false
; then :
13269 $as_echo_n "(cached) " >&6
13271 ac_check_soname_save_LIBS
=$LIBS
13272 LIBS
="-lopenal $LIBS"
13273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13276 /* Override any GCC internal prototype to avoid an error.
13277 Use char because int might match the return type of a GCC
13278 builtin and then its argument prototype would still apply. */
13282 char alGetSource3i ();
13286 return alGetSource3i ();
13291 if ac_fn_c_try_link
"$LINENO"; then :
13293 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13294 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'` ;;
13295 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13296 if ${ac_cv_lib_soname_openal:+false} :; then :
13297 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13301 rm -f core conftest.err conftest.
$ac_objext \
13302 conftest
$ac_exeext conftest.
$ac_ext
13303 LIBS
=$ac_check_soname_save_LIBS
13305 if ${ac_cv_lib_soname_openal:+false} :; then :
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13307 $as_echo "not found" >&6; }
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13311 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13313 cat >>confdefs.h
<<_ACEOF
13314 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13317 OPENAL_LIBS
="-lopenal"
13319 ac_cv_lib_openal
=yes
13321 cat >>confdefs.h
<<_ACEOF
13322 #define HAVE_OPENAL 1
13327 if test "x$ac_cv_lib_openal" != xyes
; then :
13328 case "x$with_openal" in
13329 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13331 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13332 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13335 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13337 if test "$ac_cv_header_kstat_h" = "yes"
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13340 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13341 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13342 $as_echo_n "(cached) " >&6
13344 ac_check_lib_save_LIBS
=$LIBS
13345 LIBS
="-lkstat $LIBS"
13346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13347 /* end confdefs.h. */
13349 /* Override any GCC internal prototype to avoid an error.
13350 Use char because int might match the return type of a GCC
13351 builtin and then its argument prototype would still apply. */
13355 char kstat_open ();
13359 return kstat_open ();
13364 if ac_fn_c_try_link
"$LINENO"; then :
13365 ac_cv_lib_kstat_kstat_open
=yes
13367 ac_cv_lib_kstat_kstat_open
=no
13369 rm -f core conftest.err conftest.
$ac_objext \
13370 conftest
$ac_exeext conftest.
$ac_ext
13371 LIBS
=$ac_check_lib_save_LIBS
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13374 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13375 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13377 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13379 KSTAT_LIBS
="-lkstat"
13385 if test "$ac_cv_header_libprocstat_h" = "yes"
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13388 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13389 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13390 $as_echo_n "(cached) " >&6
13392 ac_check_lib_save_LIBS
=$LIBS
13393 LIBS
="-lprocstat $LIBS"
13394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13395 /* end confdefs.h. */
13397 /* Override any GCC internal prototype to avoid an error.
13398 Use char because int might match the return type of a GCC
13399 builtin and then its argument prototype would still apply. */
13403 char procstat_open_sysctl ();
13407 return procstat_open_sysctl ();
13412 if ac_fn_c_try_link
"$LINENO"; then :
13413 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13415 ac_cv_lib_procstat_procstat_open_sysctl
=no
13417 rm -f core conftest.err conftest.
$ac_objext \
13418 conftest
$ac_exeext conftest.
$ac_ext
13419 LIBS
=$ac_check_lib_save_LIBS
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13422 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13423 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13425 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13427 PROCSTAT_LIBS
="-lprocstat"
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13434 $as_echo_n "checking for -lodbc... " >&6; }
13435 if ${ac_cv_lib_soname_odbc+:} false
; then :
13436 $as_echo_n "(cached) " >&6
13438 ac_check_soname_save_LIBS
=$LIBS
13439 LIBS
="-lodbc $LIBS"
13440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13441 /* end confdefs.h. */
13443 /* Override any GCC internal prototype to avoid an error.
13444 Use char because int might match the return type of a GCC
13445 builtin and then its argument prototype would still apply. */
13449 char SQLConnect ();
13453 return SQLConnect ();
13458 if ac_fn_c_try_link
"$LINENO"; then :
13460 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13461 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'` ;;
13462 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13463 if ${ac_cv_lib_soname_odbc:+false} :; then :
13464 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13468 rm -f core conftest.err conftest.
$ac_objext \
13469 conftest
$ac_exeext conftest.
$ac_ext
13470 LIBS
=$ac_check_soname_save_LIBS
13472 if ${ac_cv_lib_soname_odbc:+false} :; then :
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13474 $as_echo "not found" >&6; }
13475 cat >>confdefs.h
<<_ACEOF
13476 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13481 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13483 cat >>confdefs.h
<<_ACEOF
13484 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13490 if test "x$with_netapi" != "xno"
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13493 $as_echo_n "checking for -lnetapi... " >&6; }
13494 if ${ac_cv_lib_soname_netapi+:} false
; then :
13495 $as_echo_n "(cached) " >&6
13497 ac_check_soname_save_LIBS
=$LIBS
13498 LIBS
="-lnetapi $LIBS"
13499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13500 /* end confdefs.h. */
13502 /* Override any GCC internal prototype to avoid an error.
13503 Use char because int might match the return type of a GCC
13504 builtin and then its argument prototype would still apply. */
13508 char libnetapi_init ();
13512 return libnetapi_init ();
13517 if ac_fn_c_try_link
"$LINENO"; then :
13519 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13520 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'` ;;
13521 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13522 if ${ac_cv_lib_soname_netapi:+false} :; then :
13523 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13527 rm -f core conftest.err conftest.
$ac_objext \
13528 conftest
$ac_exeext conftest.
$ac_ext
13529 LIBS
=$ac_check_soname_save_LIBS
13531 if ${ac_cv_lib_soname_netapi:+false} :; then :
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13533 $as_echo "not found" >&6; }
13534 cat >>confdefs.h
<<_ACEOF
13535 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13540 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13542 cat >>confdefs.h
<<_ACEOF
13543 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13550 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13551 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13552 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13553 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13555 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13556 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13557 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13559 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13565 if test "x${GCC}" = "xyes"
13567 EXTRACFLAGS
="-Wall -pipe"
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13570 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13571 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13572 $as_echo_n "(cached) " >&6
13574 if test "$cross_compiling" = yes; then :
13575 ac_cv_c_gcc_strength_bug
="yes"
13577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13578 /* end confdefs.h. */
13579 int L[4] = {0,1,2,3};
13583 static int Array[3];
13584 unsigned int B = 3;
13586 for(i=0; i<B; i++) Array[i] = i - 3;
13587 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13589 return (Array[1] != -2 || L[2] != 3)
13594 if ac_fn_c_try_run
"$LINENO"; then :
13595 ac_cv_c_gcc_strength_bug
="no"
13597 ac_cv_c_gcc_strength_bug
="yes"
13599 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13600 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13605 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13606 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13608 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13612 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13613 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13614 $as_echo_n "(cached) " >&6
13616 ac_wine_try_cflags_saved
=$CFLAGS
13617 CFLAGS
="$CFLAGS -fno-builtin"
13618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13619 /* end confdefs.h. */
13620 int main(int argc, char **argv) { return 0; }
13622 if ac_fn_c_try_link
"$LINENO"; then :
13623 ac_cv_cflags__fno_builtin
=yes
13625 ac_cv_cflags__fno_builtin
=no
13627 rm -f core conftest.err conftest.
$ac_objext \
13628 conftest
$ac_exeext conftest.
$ac_ext
13629 CFLAGS
=$ac_wine_try_cflags_saved
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13632 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13633 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13634 BUILTINFLAG
="-fno-builtin"
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13638 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13639 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13640 $as_echo_n "(cached) " >&6
13642 ac_wine_try_cflags_saved
=$CFLAGS
13643 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13645 /* end confdefs.h. */
13646 int main(int argc, char **argv) { return 0; }
13648 if ac_fn_c_try_link
"$LINENO"; then :
13649 ac_cv_cflags__fno_strict_aliasing
=yes
13651 ac_cv_cflags__fno_strict_aliasing
=no
13653 rm -f core conftest.err conftest.
$ac_objext \
13654 conftest
$ac_exeext conftest.
$ac_ext
13655 CFLAGS
=$ac_wine_try_cflags_saved
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13658 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13659 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13660 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13662 saved_CFLAGS
=$CFLAGS
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13664 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13665 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13666 $as_echo_n "(cached) " >&6
13668 ac_wine_try_cflags_saved
=$CFLAGS
13669 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13672 int main(int argc, char **argv) { return 0; }
13674 if ac_fn_c_try_link
"$LINENO"; then :
13675 ac_cv_cflags__Werror_unknown_warning_option
=yes
13677 ac_cv_cflags__Werror_unknown_warning_option
=no
13679 rm -f core conftest.err conftest.
$ac_objext \
13680 conftest
$ac_exeext conftest.
$ac_ext
13681 CFLAGS
=$ac_wine_try_cflags_saved
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13684 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13685 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13686 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13689 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13690 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13691 $as_echo_n "(cached) " >&6
13693 ac_wine_try_cflags_saved
=$CFLAGS
13694 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13696 /* end confdefs.h. */
13697 int main(int argc, char **argv) { return 0; }
13699 if ac_fn_c_try_link
"$LINENO"; then :
13700 ac_cv_cflags__Wdeclaration_after_statement
=yes
13702 ac_cv_cflags__Wdeclaration_after_statement
=no
13704 rm -f core conftest.err conftest.
$ac_objext \
13705 conftest
$ac_exeext conftest.
$ac_ext
13706 CFLAGS
=$ac_wine_try_cflags_saved
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13709 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13710 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13711 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13714 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13715 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13716 $as_echo_n "(cached) " >&6
13718 ac_wine_try_cflags_saved
=$CFLAGS
13719 CFLAGS
="$CFLAGS -Wempty-body"
13720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13721 /* end confdefs.h. */
13722 int main(int argc, char **argv) { return 0; }
13724 if ac_fn_c_try_link
"$LINENO"; then :
13725 ac_cv_cflags__Wempty_body
=yes
13727 ac_cv_cflags__Wempty_body
=no
13729 rm -f core conftest.err conftest.
$ac_objext \
13730 conftest
$ac_exeext conftest.
$ac_ext
13731 CFLAGS
=$ac_wine_try_cflags_saved
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13734 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13735 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13736 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13739 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13740 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13741 $as_echo_n "(cached) " >&6
13743 ac_wine_try_cflags_saved
=$CFLAGS
13744 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13746 /* end confdefs.h. */
13747 int main(int argc, char **argv) { return 0; }
13749 if ac_fn_c_try_link
"$LINENO"; then :
13750 ac_cv_cflags__Wignored_qualifiers
=yes
13752 ac_cv_cflags__Wignored_qualifiers
=no
13754 rm -f core conftest.err conftest.
$ac_objext \
13755 conftest
$ac_exeext conftest.
$ac_ext
13756 CFLAGS
=$ac_wine_try_cflags_saved
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13759 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13760 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13761 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13764 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13765 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13766 $as_echo_n "(cached) " >&6
13768 ac_wine_try_cflags_saved
=$CFLAGS
13769 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13772 int main(int argc, char **argv) { return 0; }
13774 if ac_fn_c_try_link
"$LINENO"; then :
13775 ac_cv_cflags__Wstrict_prototypes
=yes
13777 ac_cv_cflags__Wstrict_prototypes
=no
13779 rm -f core conftest.err conftest.
$ac_objext \
13780 conftest
$ac_exeext conftest.
$ac_ext
13781 CFLAGS
=$ac_wine_try_cflags_saved
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13784 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13785 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13786 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13789 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13790 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13791 $as_echo_n "(cached) " >&6
13793 ac_wine_try_cflags_saved
=$CFLAGS
13794 CFLAGS
="$CFLAGS -Wtype-limits"
13795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h. */
13797 int main(int argc, char **argv) { return 0; }
13799 if ac_fn_c_try_link
"$LINENO"; then :
13800 ac_cv_cflags__Wtype_limits
=yes
13802 ac_cv_cflags__Wtype_limits
=no
13804 rm -f core conftest.err conftest.
$ac_objext \
13805 conftest
$ac_exeext conftest.
$ac_ext
13806 CFLAGS
=$ac_wine_try_cflags_saved
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13809 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13810 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13811 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13814 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13815 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13816 $as_echo_n "(cached) " >&6
13818 ac_wine_try_cflags_saved
=$CFLAGS
13819 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13821 /* end confdefs.h. */
13822 int main(int argc, char **argv) { return 0; }
13824 if ac_fn_c_try_link
"$LINENO"; then :
13825 ac_cv_cflags__Wunused_but_set_parameter
=yes
13827 ac_cv_cflags__Wunused_but_set_parameter
=no
13829 rm -f core conftest.err conftest.
$ac_objext \
13830 conftest
$ac_exeext conftest.
$ac_ext
13831 CFLAGS
=$ac_wine_try_cflags_saved
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13834 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13835 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13836 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13839 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13840 if ${ac_cv_cflags__Wvla+:} false
; then :
13841 $as_echo_n "(cached) " >&6
13843 ac_wine_try_cflags_saved
=$CFLAGS
13844 CFLAGS
="$CFLAGS -Wvla"
13845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13847 int main(int argc, char **argv) { return 0; }
13849 if ac_fn_c_try_link
"$LINENO"; then :
13850 ac_cv_cflags__Wvla
=yes
13852 ac_cv_cflags__Wvla
=no
13854 rm -f core conftest.err conftest.
$ac_objext \
13855 conftest
$ac_exeext conftest.
$ac_ext
13856 CFLAGS
=$ac_wine_try_cflags_saved
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13859 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13860 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13861 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13864 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13865 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13866 $as_echo_n "(cached) " >&6
13868 ac_wine_try_cflags_saved
=$CFLAGS
13869 CFLAGS
="$CFLAGS -Wwrite-strings"
13870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13872 int main(int argc, char **argv) { return 0; }
13874 if ac_fn_c_try_link
"$LINENO"; then :
13875 ac_cv_cflags__Wwrite_strings
=yes
13877 ac_cv_cflags__Wwrite_strings
=no
13879 rm -f core conftest.err conftest.
$ac_objext \
13880 conftest
$ac_exeext conftest.
$ac_ext
13881 CFLAGS
=$ac_wine_try_cflags_saved
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13884 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13885 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13886 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13890 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13891 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13892 $as_echo_n "(cached) " >&6
13894 ac_wine_try_cflags_saved
=$CFLAGS
13895 CFLAGS
="$CFLAGS -Wpointer-arith"
13896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13898 int main(int argc, char **argv) { return 0; }
13900 if ac_fn_c_try_link
"$LINENO"; then :
13901 ac_cv_cflags__Wpointer_arith
=yes
13903 ac_cv_cflags__Wpointer_arith
=no
13905 rm -f core conftest.err conftest.
$ac_objext \
13906 conftest
$ac_exeext conftest.
$ac_ext
13907 CFLAGS
=$ac_wine_try_cflags_saved
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13910 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13911 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13912 saved_string_h_CFLAGS
=$CFLAGS
13913 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13915 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13916 if ${ac_cv_c_string_h_warnings+:} false
; then :
13917 $as_echo_n "(cached) " >&6
13919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13920 /* end confdefs.h. */
13921 #include <string.h>
13930 if ac_fn_c_try_compile
"$LINENO"; then :
13931 ac_cv_c_string_h_warnings
=no
13933 ac_cv_c_string_h_warnings
=yes
13935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13938 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13939 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13940 CFLAGS
=$saved_string_h_CFLAGS
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13944 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13945 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13946 $as_echo_n "(cached) " >&6
13948 ac_wine_try_cflags_saved
=$CFLAGS
13949 CFLAGS
="$CFLAGS -Wlogical-op"
13950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13951 /* end confdefs.h. */
13952 int main(int argc, char **argv) { return 0; }
13954 if ac_fn_c_try_link
"$LINENO"; then :
13955 ac_cv_cflags__Wlogical_op
=yes
13957 ac_cv_cflags__Wlogical_op
=no
13959 rm -f core conftest.err conftest.
$ac_objext \
13960 conftest
$ac_exeext conftest.
$ac_ext
13961 CFLAGS
=$ac_wine_try_cflags_saved
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13964 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13965 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13966 saved_string_h_CFLAGS
=$CFLAGS
13967 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13969 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13970 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13971 $as_echo_n "(cached) " >&6
13973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13974 /* end confdefs.h. */
13975 #include <string.h>
13976 char*f(const char *h,char n) {return strchr(h,n);}
13985 if ac_fn_c_try_compile
"$LINENO"; then :
13986 ac_cv_c_logicalop_noisy
=no
13988 ac_cv_c_logicalop_noisy
=yes
13990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13993 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13994 CFLAGS
=$saved_string_h_CFLAGS
13995 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13998 CFLAGS
=$saved_CFLAGS
14000 for ac_flag
in $CFLAGS; do
14002 -g) case $host_os in
14003 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14004 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14005 if ${ac_cv_cflags__gstabsp+:} false
; then :
14006 $as_echo_n "(cached) " >&6
14008 ac_wine_try_cflags_saved
=$CFLAGS
14009 CFLAGS
="$CFLAGS -gstabs+"
14010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14011 /* end confdefs.h. */
14012 int main(int argc, char **argv) { return 0; }
14014 if ac_fn_c_try_link
"$LINENO"; then :
14015 ac_cv_cflags__gstabsp
=yes
14017 ac_cv_cflags__gstabsp
=no
14019 rm -f core conftest.err conftest.
$ac_objext \
14020 conftest
$ac_exeext conftest.
$ac_ext
14021 CFLAGS
=$ac_wine_try_cflags_saved
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14024 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14025 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14026 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14028 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14029 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14030 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14031 $as_echo_n "(cached) " >&6
14033 ac_wine_try_cflags_saved
=$CFLAGS
14034 CFLAGS
="$CFLAGS -gdwarf-2"
14035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14037 int main(int argc, char **argv) { return 0; }
14039 if ac_fn_c_try_link
"$LINENO"; then :
14040 ac_cv_cflags__gdwarf_2
=yes
14042 ac_cv_cflags__gdwarf_2
=no
14044 rm -f core conftest.err conftest.
$ac_objext \
14045 conftest
$ac_exeext conftest.
$ac_ext
14046 CFLAGS
=$ac_wine_try_cflags_saved
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14049 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14050 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14051 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14054 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14055 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14056 $as_echo_n "(cached) " >&6
14058 ac_wine_try_cflags_saved
=$CFLAGS
14059 CFLAGS
="$CFLAGS -gstrict-dwarf"
14060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14061 /* end confdefs.h. */
14062 int main(int argc, char **argv) { return 0; }
14064 if ac_fn_c_try_link
"$LINENO"; then :
14065 ac_cv_cflags__gstrict_dwarf
=yes
14067 ac_cv_cflags__gstrict_dwarf
=no
14069 rm -f core conftest.err conftest.
$ac_objext \
14070 conftest
$ac_exeext conftest.
$ac_ext
14071 CFLAGS
=$ac_wine_try_cflags_saved
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14074 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14075 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14076 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14083 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14084 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14085 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14086 $as_echo_n "(cached) " >&6
14088 ac_wine_try_cflags_saved
=$CFLAGS
14089 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14091 /* end confdefs.h. */
14092 int main(int argc, char **argv) { return 0; }
14094 if ac_fn_c_try_link
"$LINENO"; then :
14095 ac_cv_cflags__fno_omit_frame_pointer
=yes
14097 ac_cv_cflags__fno_omit_frame_pointer
=no
14099 rm -f core conftest.err conftest.
$ac_objext \
14100 conftest
$ac_exeext conftest.
$ac_ext
14101 CFLAGS
=$ac_wine_try_cflags_saved
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14104 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14105 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14106 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14111 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14112 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14113 if ${ac_cv_cflags__Wno_format+:} false
; then :
14114 $as_echo_n "(cached) " >&6
14116 ac_wine_try_cflags_saved
=$CFLAGS
14117 CFLAGS
="$CFLAGS -Wno-format"
14118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14119 /* end confdefs.h. */
14120 int main(int argc, char **argv) { return 0; }
14122 if ac_fn_c_try_link
"$LINENO"; then :
14123 ac_cv_cflags__Wno_format
=yes
14125 ac_cv_cflags__Wno_format
=no
14127 rm -f core conftest.err conftest.
$ac_objext \
14128 conftest
$ac_exeext conftest.
$ac_ext
14129 CFLAGS
=$ac_wine_try_cflags_saved
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14132 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14133 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14134 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14138 if test "x$enable_maintainer_mode" = "xyes"
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14141 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14142 if ${ac_cv_cflags__Werror+:} false
; then :
14143 $as_echo_n "(cached) " >&6
14145 ac_wine_try_cflags_saved
=$CFLAGS
14146 CFLAGS
="$CFLAGS -Werror"
14147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14148 /* end confdefs.h. */
14149 int main(int argc, char **argv) { return 0; }
14151 if ac_fn_c_try_link
"$LINENO"; then :
14152 ac_cv_cflags__Werror
=yes
14154 ac_cv_cflags__Werror
=no
14156 rm -f core conftest.err conftest.
$ac_objext \
14157 conftest
$ac_exeext conftest.
$ac_ext
14158 CFLAGS
=$ac_wine_try_cflags_saved
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14161 $as_echo "$ac_cv_cflags__Werror" >&6; }
14162 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14163 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14167 saved_CFLAGS
="$CFLAGS"
14168 CFLAGS
="$CFLAGS -Werror"
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14170 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14171 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14172 $as_echo_n "(cached) " >&6
14174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14175 /* end confdefs.h. */
14176 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14185 if ac_fn_c_try_compile
"$LINENO"; then :
14186 ac_cv_have_ms_hook_prologue
="yes"
14188 ac_cv_have_ms_hook_prologue
="no"
14190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14193 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14194 CFLAGS
="$saved_CFLAGS"
14195 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14198 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14201 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14208 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14209 if ${ac_cv_c_fortify_enabled+:} false
; then :
14210 $as_echo_n "(cached) " >&6
14212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14214 #include <string.h>
14218 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14219 #error Fortify enabled
14225 if ac_fn_c_try_compile
"$LINENO"; then :
14226 ac_cv_c_fortify_enabled
=no
14228 ac_cv_c_fortify_enabled
=yes
14230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14233 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14234 if test "$ac_cv_c_fortify_enabled" = yes
14236 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14241 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14242 if ${ac_cv_c_extern_prefix+:} false
; then :
14243 $as_echo_n "(cached) " >&6
14245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14247 extern int ac_test;
14251 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14256 if ac_fn_c_try_link
"$LINENO"; then :
14257 ac_cv_c_extern_prefix
="yes"
14259 ac_cv_c_extern_prefix
="no"
14261 rm -f core conftest.err conftest.
$ac_objext \
14262 conftest
$ac_exeext conftest.
$ac_ext
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14265 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14270 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14271 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14272 $as_echo_n "(cached) " >&6
14274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14277 #define __stdcall __attribute__((__stdcall__))
14279 int __stdcall ac_test(int i) { return i; }
14283 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14288 if ac_fn_c_try_link
"$LINENO"; then :
14289 ac_cv_c_stdcall_suffix
="yes"
14291 ac_cv_c_stdcall_suffix
="no"
14293 rm -f core conftest.err conftest.
$ac_objext \
14294 conftest
$ac_exeext conftest.
$ac_ext
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14297 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14298 *) ac_cv_c_stdcall_suffix
="no" ;;
14302 if test "$ac_cv_c_extern_prefix" = "yes"
14304 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14306 asm_name_prefix
="_"
14308 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14314 if test "$ac_cv_c_stdcall_suffix" = "yes"
14316 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14319 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14325 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14326 if ${ac_cv_asm_func_def+:} false
; then :
14327 $as_echo_n "(cached) " >&6
14329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14330 /* end confdefs.h. */
14335 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14340 if ac_fn_c_try_link
"$LINENO"; then :
14341 ac_cv_asm_func_def
=".def"
14343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14349 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14354 if ac_fn_c_try_link
"$LINENO"; then :
14355 ac_cv_asm_func_def
=".type @function"
14357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14363 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14368 if ac_fn_c_try_link
"$LINENO"; then :
14369 ac_cv_asm_func_def
=".type 2"
14371 ac_cv_asm_func_def
="unknown"
14373 rm -f core conftest.err conftest.
$ac_objext \
14374 conftest
$ac_exeext conftest.
$ac_ext
14376 rm -f core conftest.err conftest.
$ac_objext \
14377 conftest
$ac_exeext conftest.
$ac_ext
14379 rm -f core conftest.err conftest.
$ac_objext \
14380 conftest
$ac_exeext conftest.
$ac_ext
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14383 $as_echo "$ac_cv_asm_func_def" >&6; }
14386 case "$ac_cv_asm_func_def" in
14388 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14390 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14392 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14394 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14396 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14398 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14400 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14402 asm_func_header
="" ;;
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14406 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14407 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14408 $as_echo_n "(cached) " >&6
14410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14412 asm(".text\n\t.long 0");
14421 if ac_fn_c_try_compile
"$LINENO"; then :
14422 ac_cv_c_asm_outside_funcs
="yes"
14424 ac_cv_c_asm_outside_funcs
="no"
14426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14429 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14432 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14433 if ${ac_cv_c_dot_previous+:} false
; then :
14434 $as_echo_n "(cached) " >&6
14436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14437 /* end confdefs.h. */
14442 asm(".text\nac_test:\t.long 0\n\t.previous");
14447 if ac_fn_c_try_link
"$LINENO"; then :
14448 ac_cv_c_dot_previous
="yes"
14450 ac_cv_c_dot_previous
="no"
14452 rm -f core conftest.err conftest.
$ac_objext \
14453 conftest
$ac_exeext conftest.
$ac_ext
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14456 $as_echo "$ac_cv_c_dot_previous" >&6; }
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14459 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14460 if ${ac_cv_c_cfi_support+:} false
; then :
14461 $as_echo_n "(cached) " >&6
14463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14464 /* end confdefs.h. */
14465 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14474 if ac_fn_c_try_compile
"$LINENO"; then :
14475 ac_cv_c_cfi_support
="yes"
14477 ac_cv_c_cfi_support
="no"
14479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14482 $as_echo "$ac_cv_c_cfi_support" >&6; }
14484 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14485 asm_func_trailer
=""
14486 if test "$ac_cv_c_dot_previous" = "yes"
14488 asm_func_trailer
="\\n\\t.previous"
14490 if test "$ac_cv_c_cfi_support" = "yes"
14492 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14493 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14495 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14497 UNWINDFLAGS
=-fasynchronous-unwind-tables
14500 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14504 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14507 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14509 cat >>confdefs.h
<<_ACEOF
14510 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14514 cat >>confdefs.h
<<_ACEOF
14515 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14520 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14523 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14528 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14535 *i
[3456789]86*|x86_64
*)
14536 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14537 loader_programs
="$loader_programs $wine_binary-preloader"
14538 as_fn_append LOADER_RULES
"
14539 $wine_binary-preloader: preloader.o
14540 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14542 install install-lib:: $wine_binary-preloader
14543 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14546 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14548 preloader_EXTRADEFS = $BUILTINFLAG
14553 as_fn_append LOADER_RULES
"
14554 PROGRAMS = $loader_programs
14558 ac_save_CFLAGS
="$CFLAGS"
14559 CFLAGS
="$CFLAGS $BUILTINFLAG"
14636 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14637 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14638 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14639 cat >>confdefs.h
<<_ACEOF
14640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14646 CFLAGS
="$ac_save_CFLAGS"
14648 if test "$ac_cv_func_dlopen" = no
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14651 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14652 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14653 $as_echo_n "(cached) " >&6
14655 ac_check_lib_save_LIBS
=$LIBS
14657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14658 /* end confdefs.h. */
14660 /* Override any GCC internal prototype to avoid an error.
14661 Use char because int might match the return type of a GCC
14662 builtin and then its argument prototype would still apply. */
14675 if ac_fn_c_try_link
"$LINENO"; then :
14676 ac_cv_lib_dl_dlopen
=yes
14678 ac_cv_lib_dl_dlopen
=no
14680 rm -f core conftest.err conftest.
$ac_objext \
14681 conftest
$ac_exeext conftest.
$ac_ext
14682 LIBS
=$ac_check_lib_save_LIBS
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14685 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14686 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14687 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14693 ac_wine_check_funcs_save_LIBS
="$LIBS"
14694 LIBS
="$LIBS $DL_LIBS"
14695 for ac_func
in dladdr
14697 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14698 if test "x$ac_cv_func_dladdr" = xyes
; then :
14699 cat >>confdefs.h
<<_ACEOF
14700 #define HAVE_DLADDR 1
14706 LIBS
="$ac_wine_check_funcs_save_LIBS"
14708 if test "$ac_cv_func_poll" = no
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14711 $as_echo_n "checking for poll in -lpoll... " >&6; }
14712 if ${ac_cv_lib_poll_poll+:} false
; then :
14713 $as_echo_n "(cached) " >&6
14715 ac_check_lib_save_LIBS
=$LIBS
14716 LIBS
="-lpoll $LIBS"
14717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14718 /* end confdefs.h. */
14720 /* Override any GCC internal prototype to avoid an error.
14721 Use char because int might match the return type of a GCC
14722 builtin and then its argument prototype would still apply. */
14735 if ac_fn_c_try_link
"$LINENO"; then :
14736 ac_cv_lib_poll_poll
=yes
14738 ac_cv_lib_poll_poll
=no
14740 rm -f core conftest.err conftest.
$ac_objext \
14741 conftest
$ac_exeext conftest.
$ac_ext
14742 LIBS
=$ac_check_lib_save_LIBS
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14745 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14746 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14747 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14755 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14756 if ${ac_cv_search_gethostbyname+:} false
; then :
14757 $as_echo_n "(cached) " >&6
14759 ac_func_search_save_LIBS
=$LIBS
14760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14763 /* Override any GCC internal prototype to avoid an error.
14764 Use char because int might match the return type of a GCC
14765 builtin and then its argument prototype would still apply. */
14769 char gethostbyname ();
14773 return gethostbyname ();
14778 for ac_lib
in '' nsl
; do
14779 if test -z "$ac_lib"; then
14780 ac_res
="none required"
14783 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14785 if ac_fn_c_try_link
"$LINENO"; then :
14786 ac_cv_search_gethostbyname
=$ac_res
14788 rm -f core conftest.err conftest.
$ac_objext \
14790 if ${ac_cv_search_gethostbyname+:} false
; then :
14794 if ${ac_cv_search_gethostbyname+:} false
; then :
14797 ac_cv_search_gethostbyname
=no
14799 rm conftest.
$ac_ext
14800 LIBS
=$ac_func_search_save_LIBS
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14803 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14804 ac_res
=$ac_cv_search_gethostbyname
14805 if test "$ac_res" != no
; then :
14806 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14812 $as_echo_n "checking for library containing connect... " >&6; }
14813 if ${ac_cv_search_connect+:} false
; then :
14814 $as_echo_n "(cached) " >&6
14816 ac_func_search_save_LIBS
=$LIBS
14817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14818 /* end confdefs.h. */
14820 /* Override any GCC internal prototype to avoid an error.
14821 Use char because int might match the return type of a GCC
14822 builtin and then its argument prototype would still apply. */
14835 for ac_lib
in '' socket
; do
14836 if test -z "$ac_lib"; then
14837 ac_res
="none required"
14840 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14842 if ac_fn_c_try_link
"$LINENO"; then :
14843 ac_cv_search_connect
=$ac_res
14845 rm -f core conftest.err conftest.
$ac_objext \
14847 if ${ac_cv_search_connect+:} false
; then :
14851 if ${ac_cv_search_connect+:} false
; then :
14854 ac_cv_search_connect
=no
14856 rm conftest.
$ac_ext
14857 LIBS
=$ac_func_search_save_LIBS
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14860 $as_echo "$ac_cv_search_connect" >&6; }
14861 ac_res
=$ac_cv_search_connect
14862 if test "$ac_res" != no
; then :
14863 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14869 $as_echo_n "checking for library containing inet_aton... " >&6; }
14870 if ${ac_cv_search_inet_aton+:} false
; then :
14871 $as_echo_n "(cached) " >&6
14873 ac_func_search_save_LIBS
=$LIBS
14874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14877 /* Override any GCC internal prototype to avoid an error.
14878 Use char because int might match the return type of a GCC
14879 builtin and then its argument prototype would still apply. */
14887 return inet_aton ();
14892 for ac_lib
in '' resolv
; do
14893 if test -z "$ac_lib"; then
14894 ac_res
="none required"
14897 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14899 if ac_fn_c_try_link
"$LINENO"; then :
14900 ac_cv_search_inet_aton
=$ac_res
14902 rm -f core conftest.err conftest.
$ac_objext \
14904 if ${ac_cv_search_inet_aton+:} false
; then :
14908 if ${ac_cv_search_inet_aton+:} false
; then :
14911 ac_cv_search_inet_aton
=no
14913 rm conftest.
$ac_ext
14914 LIBS
=$ac_func_search_save_LIBS
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14917 $as_echo "$ac_cv_search_inet_aton" >&6; }
14918 ac_res
=$ac_cv_search_inet_aton
14919 if test "$ac_res" != no
; then :
14920 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14940 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14941 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14942 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14943 cat >>confdefs.h
<<_ACEOF
14944 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14953 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14954 if ${ac_cv_search_clock_gettime+:} false
; then :
14955 $as_echo_n "(cached) " >&6
14957 ac_func_search_save_LIBS
=$LIBS
14958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14959 /* end confdefs.h. */
14961 /* Override any GCC internal prototype to avoid an error.
14962 Use char because int might match the return type of a GCC
14963 builtin and then its argument prototype would still apply. */
14967 char clock_gettime ();
14971 return clock_gettime ();
14976 for ac_lib
in '' rt
; do
14977 if test -z "$ac_lib"; then
14978 ac_res
="none required"
14981 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14983 if ac_fn_c_try_link
"$LINENO"; then :
14984 ac_cv_search_clock_gettime
=$ac_res
14986 rm -f core conftest.err conftest.
$ac_objext \
14988 if ${ac_cv_search_clock_gettime+:} false
; then :
14992 if ${ac_cv_search_clock_gettime+:} false
; then :
14995 ac_cv_search_clock_gettime
=no
14997 rm conftest.
$ac_ext
14998 LIBS
=$ac_func_search_save_LIBS
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15001 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15002 ac_res
=$ac_cv_search_clock_gettime
15003 if test "$ac_res" != no
; then :
15004 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15006 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15008 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15016 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15018 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15020 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15022 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15023 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15024 $as_echo_n "(cached) " >&6
15026 ac_check_lib_save_LIBS
=$LIBS
15027 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h. */
15031 /* Override any GCC internal prototype to avoid an error.
15032 Use char because int might match the return type of a GCC
15033 builtin and then its argument prototype would still apply. */
15037 char ldap_initialize ();
15041 return ldap_initialize ();
15046 if ac_fn_c_try_link
"$LINENO"; then :
15047 ac_cv_lib_ldap_r_ldap_initialize
=yes
15049 ac_cv_lib_ldap_r_ldap_initialize
=no
15051 rm -f core conftest.err conftest.
$ac_objext \
15052 conftest
$ac_exeext conftest.
$ac_ext
15053 LIBS
=$ac_check_lib_save_LIBS
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15056 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15057 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15059 $as_echo_n "checking for ber_init in -llber... " >&6; }
15060 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15061 $as_echo_n "(cached) " >&6
15063 ac_check_lib_save_LIBS
=$LIBS
15064 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h. */
15068 /* Override any GCC internal prototype to avoid an error.
15069 Use char because int might match the return type of a GCC
15070 builtin and then its argument prototype would still apply. */
15078 return ber_init ();
15083 if ac_fn_c_try_link
"$LINENO"; then :
15084 ac_cv_lib_lber_ber_init
=yes
15086 ac_cv_lib_lber_ber_init
=no
15088 rm -f core conftest.err conftest.
$ac_objext \
15089 conftest
$ac_exeext conftest.
$ac_ext
15090 LIBS
=$ac_check_lib_save_LIBS
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15093 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15094 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15096 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15098 LDAP_LIBS
="-lldap_r -llber"
15105 ac_wine_check_funcs_save_LIBS
="$LIBS"
15106 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15108 ldap_count_references \
15109 ldap_first_reference \
15110 ldap_next_reference \
15111 ldap_parse_reference \
15112 ldap_parse_sort_control \
15113 ldap_parse_sortresponse_control \
15114 ldap_parse_vlv_control \
15115 ldap_parse_vlvresponse_control
15117 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15118 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15119 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15120 cat >>confdefs.h
<<_ACEOF
15121 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15127 LIBS
="$ac_wine_check_funcs_save_LIBS"
15129 if test "x$LDAP_LIBS" = "x"; then :
15130 case "x$with_ldap" in
15131 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15133 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15134 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15139 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15140 if ${wine_cv_one_arg_mkdir+:} false
; then :
15141 $as_echo_n "(cached) " >&6
15143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15144 /* end confdefs.h. */
15145 #include <sys/stat.h>
15154 if ac_fn_c_try_compile
"$LINENO"; then :
15155 wine_cv_one_arg_mkdir
=yes
15157 wine_cv_one_arg_mkdir
=no
15159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15162 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15163 if test "$wine_cv_one_arg_mkdir" = "yes"
15166 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15171 $as_echo_n "checking for sched_setaffinity... " >&6; }
15172 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15173 $as_echo_n "(cached) " >&6
15175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15176 /* end confdefs.h. */
15177 #define _GNU_SOURCE
15182 sched_setaffinity(0, 0, 0);
15187 if ac_fn_c_try_link
"$LINENO"; then :
15188 wine_cv_have_sched_setaffinity
=yes
15190 wine_cv_have_sched_setaffinity
=no
15192 rm -f core conftest.err conftest.
$ac_objext \
15193 conftest
$ac_exeext conftest.
$ac_ext
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15196 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15197 if test "$wine_cv_have_sched_setaffinity" = "yes"
15200 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15205 $as_echo_n "checking for fallocate... " >&6; }
15206 if ${wine_cv_have_fallocate+:} false
; then :
15207 $as_echo_n "(cached) " >&6
15209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15210 /* end confdefs.h. */
15211 #define _GNU_SOURCE
15216 fallocate(-1, 0, 0, 0);
15221 if ac_fn_c_try_link
"$LINENO"; then :
15222 wine_cv_have_fallocate
=yes
15224 wine_cv_have_fallocate
=no
15226 rm -f core conftest.err conftest.
$ac_objext \
15227 conftest
$ac_exeext conftest.
$ac_ext
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15230 $as_echo "$wine_cv_have_fallocate" >&6; }
15231 if test "$wine_cv_have_fallocate" = "yes"
15234 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15240 $as_echo_n "checking for inline... " >&6; }
15241 if ${ac_cv_c_inline+:} false
; then :
15242 $as_echo_n "(cached) " >&6
15245 for ac_kw
in inline __inline__ __inline
; do
15246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15247 /* end confdefs.h. */
15248 #ifndef __cplusplus
15250 static $ac_kw foo_t static_foo () {return 0; }
15251 $ac_kw foo_t foo () {return 0; }
15255 if ac_fn_c_try_compile
"$LINENO"; then :
15256 ac_cv_c_inline
=$ac_kw
15258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15259 test "$ac_cv_c_inline" != no
&& break
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15264 $as_echo "$ac_cv_c_inline" >&6; }
15266 case $ac_cv_c_inline in
15269 case $ac_cv_c_inline in
15271 *) ac_val
=$ac_cv_c_inline;;
15273 cat >>confdefs.h
<<_ACEOF
15274 #ifndef __cplusplus
15275 #define inline $ac_val
15281 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15282 if test "x$ac_cv_type_mode_t" = xyes
; then :
15284 cat >>confdefs.h
<<_ACEOF
15285 #define HAVE_MODE_T 1
15290 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15291 if test "x$ac_cv_type_off_t" = xyes
; then :
15293 cat >>confdefs.h
<<_ACEOF
15294 #define HAVE_OFF_T 1
15299 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15300 if test "x$ac_cv_type_pid_t" = xyes
; then :
15302 cat >>confdefs.h
<<_ACEOF
15303 #define HAVE_PID_T 1
15308 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15309 if test "x$ac_cv_type_size_t" = xyes
; then :
15311 cat >>confdefs.h
<<_ACEOF
15312 #define HAVE_SIZE_T 1
15317 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15318 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15320 cat >>confdefs.h
<<_ACEOF
15321 #define HAVE_SSIZE_T 1
15326 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15327 if test "x$ac_cv_type_long_long" = xyes
; then :
15329 cat >>confdefs.h
<<_ACEOF
15330 #define HAVE_LONG_LONG 1
15335 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15336 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15338 cat >>confdefs.h
<<_ACEOF
15339 #define HAVE_FSBLKCNT_T 1
15344 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15345 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15347 cat >>confdefs.h
<<_ACEOF
15348 #define HAVE_FSFILCNT_T 1
15354 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15355 #include <signal.h>
15357 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15359 cat >>confdefs.h
<<_ACEOF
15360 #define HAVE_SIGSET_T 1
15366 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15368 if test "x$ac_cv_type_request_sense" = xyes
; then :
15370 cat >>confdefs.h
<<_ACEOF
15371 #define HAVE_REQUEST_SENSE 1
15378 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15379 #ifdef HAVE_SYS_SOCKET_H
15380 #include <sys/socket.h>
15382 #ifdef HAVE_SYS_SOCKETVAR_H
15383 #include <sys/socketvar.h>
15385 #ifdef HAVE_NET_ROUTE_H
15386 #include <net/route.h>
15388 #ifdef HAVE_NETINET_IN_H
15389 #include <netinet/in.h>
15391 #ifdef HAVE_NETINET_IN_SYSTM_H
15392 #include <netinet/in_systm.h>
15394 #ifdef HAVE_NETINET_IP_H
15395 #include <netinet/ip.h>
15397 #ifdef HAVE_NETINET_IN_PCB_H
15398 #include <netinet/in_pcb.h>
15401 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15403 cat >>confdefs.h
<<_ACEOF
15404 #define HAVE_STRUCT_XINPGEN 1
15411 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15414 #ifdef HAVE_SYS_LINK_H
15415 #include <sys/link.h>
15418 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15420 cat >>confdefs.h
<<_ACEOF
15421 #define HAVE_STRUCT_R_DEBUG 1
15426 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15429 #ifdef HAVE_SYS_LINK_H
15430 #include <sys/link.h>
15433 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15435 cat >>confdefs.h
<<_ACEOF
15436 #define HAVE_STRUCT_LINK_MAP 1
15443 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15444 #include <linux/input.h>
15447 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15449 cat >>confdefs.h
<<_ACEOF
15450 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15458 $as_echo_n "checking for sigaddset... " >&6; }
15459 if ${wine_cv_have_sigaddset+:} false
; then :
15460 $as_echo_n "(cached) " >&6
15462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15463 /* end confdefs.h. */
15464 #include <signal.h>
15468 sigset_t set; sigaddset(&set,SIGTERM);
15473 if ac_fn_c_try_link
"$LINENO"; then :
15474 wine_cv_have_sigaddset
=yes
15476 wine_cv_have_sigaddset
=no
15478 rm -f core conftest.err conftest.
$ac_objext \
15479 conftest
$ac_exeext conftest.
$ac_ext
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15482 $as_echo "$wine_cv_have_sigaddset" >&6; }
15483 if test "$wine_cv_have_sigaddset" = "yes"
15486 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15492 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15493 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15494 $as_echo_n "(cached) " >&6
15496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15497 /* end confdefs.h. */
15505 struct hostent *result;
15512 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15513 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15519 if ac_fn_c_try_link
"$LINENO"; then :
15520 wine_cv_linux_gethostbyname_r_6
=yes
15522 wine_cv_linux_gethostbyname_r_6
=no
15525 rm -f core conftest.err conftest.
$ac_objext \
15526 conftest
$ac_exeext conftest.
$ac_ext
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15530 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15531 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15534 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15538 if test "$ac_cv_header_linux_joystick_h" = "yes"
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15541 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15542 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15543 $as_echo_n "(cached) " >&6
15545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15546 /* end confdefs.h. */
15548 #include <sys/ioctl.h>
15549 #include <sys/types.h>
15550 #include <linux/joystick.h>
15552 struct js_event blub;
15553 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15554 #error "no 2.2 header"
15565 if ac_fn_c_try_compile
"$LINENO"; then :
15566 wine_cv_linux_joystick_22_api
=yes
15568 wine_cv_linux_joystick_22_api
=no
15570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15574 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15575 if test "$wine_cv_linux_joystick_22_api" = "yes"
15578 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15584 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15585 #ifdef HAVE_SYS_PARAM_H
15586 # include <sys/param.h>
15588 #ifdef HAVE_SYS_MOUNT_H
15589 # include <sys/mount.h>
15591 #ifdef HAVE_SYS_VFS_H
15592 # include <sys/vfs.h>
15594 #ifdef HAVE_SYS_STATFS_H
15595 # include <sys/statfs.h>
15598 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15600 cat >>confdefs.h
<<_ACEOF
15601 #define HAVE_STRUCT_STATFS_F_BFREE 1
15606 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15607 #ifdef HAVE_SYS_PARAM_H
15608 # include <sys/param.h>
15610 #ifdef HAVE_SYS_MOUNT_H
15611 # include <sys/mount.h>
15613 #ifdef HAVE_SYS_VFS_H
15614 # include <sys/vfs.h>
15616 #ifdef HAVE_SYS_STATFS_H
15617 # include <sys/statfs.h>
15620 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15622 cat >>confdefs.h
<<_ACEOF
15623 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15628 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15629 #ifdef HAVE_SYS_PARAM_H
15630 # include <sys/param.h>
15632 #ifdef HAVE_SYS_MOUNT_H
15633 # include <sys/mount.h>
15635 #ifdef HAVE_SYS_VFS_H
15636 # include <sys/vfs.h>
15638 #ifdef HAVE_SYS_STATFS_H
15639 # include <sys/statfs.h>
15642 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15644 cat >>confdefs.h
<<_ACEOF
15645 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15650 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15651 #ifdef HAVE_SYS_PARAM_H
15652 # include <sys/param.h>
15654 #ifdef HAVE_SYS_MOUNT_H
15655 # include <sys/mount.h>
15657 #ifdef HAVE_SYS_VFS_H
15658 # include <sys/vfs.h>
15660 #ifdef HAVE_SYS_STATFS_H
15661 # include <sys/statfs.h>
15664 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15666 cat >>confdefs.h
<<_ACEOF
15667 #define HAVE_STRUCT_STATFS_F_FFREE 1
15672 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15673 #ifdef HAVE_SYS_PARAM_H
15674 # include <sys/param.h>
15676 #ifdef HAVE_SYS_MOUNT_H
15677 # include <sys/mount.h>
15679 #ifdef HAVE_SYS_VFS_H
15680 # include <sys/vfs.h>
15682 #ifdef HAVE_SYS_STATFS_H
15683 # include <sys/statfs.h>
15686 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15688 cat >>confdefs.h
<<_ACEOF
15689 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15694 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15695 #ifdef HAVE_SYS_PARAM_H
15696 # include <sys/param.h>
15698 #ifdef HAVE_SYS_MOUNT_H
15699 # include <sys/mount.h>
15701 #ifdef HAVE_SYS_VFS_H
15702 # include <sys/vfs.h>
15704 #ifdef HAVE_SYS_STATFS_H
15705 # include <sys/statfs.h>
15708 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15710 cat >>confdefs.h
<<_ACEOF
15711 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15718 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15719 #include <sys/statvfs.h>
15722 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15724 cat >>confdefs.h
<<_ACEOF
15725 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15732 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15733 #include <dirent.h>
15736 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15738 cat >>confdefs.h
<<_ACEOF
15739 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15746 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15747 #ifdef HAVE_SYS_SOCKET_H
15748 # include <sys/socket.h>
15750 #ifdef HAVE_SYS_UN_H
15751 # include <sys/un.h>
15754 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15756 cat >>confdefs.h
<<_ACEOF
15757 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15762 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15763 #ifdef HAVE_SYS_SOCKET_H
15764 # include <sys/socket.h>
15766 #ifdef HAVE_SYS_UN_H
15767 # include <sys/un.h>
15770 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15772 cat >>confdefs.h
<<_ACEOF
15773 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15778 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15779 #ifdef HAVE_SYS_SOCKET_H
15780 # include <sys/socket.h>
15782 #ifdef HAVE_SYS_UN_H
15783 # include <sys/un.h>
15786 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15788 cat >>confdefs.h
<<_ACEOF
15789 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15796 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15797 #ifdef HAVE_SCSI_SG_H
15798 #include <scsi/sg.h>
15801 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15803 cat >>confdefs.h
<<_ACEOF
15804 #define HAVE_SCSIREQ_T_CMD 1
15809 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>
15810 #ifdef HAVE_SCSI_SG_H
15811 #include <scsi/sg.h>
15814 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15816 cat >>confdefs.h
<<_ACEOF
15817 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15824 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15826 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15828 cat >>confdefs.h
<<_ACEOF
15829 #define HAVE_SIGINFO_T_SI_FD 1
15836 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15837 #ifdef HAVE_SYS_MTIO_H
15838 #include <sys/mtio.h>
15841 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15843 cat >>confdefs.h
<<_ACEOF
15844 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15849 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15850 #ifdef HAVE_SYS_MTIO_H
15851 #include <sys/mtio.h>
15854 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15856 cat >>confdefs.h
<<_ACEOF
15857 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15862 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15863 #ifdef HAVE_SYS_MTIO_H
15864 #include <sys/mtio.h>
15867 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15869 cat >>confdefs.h
<<_ACEOF
15870 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15877 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15878 #include <getopt.h>
15881 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15883 cat >>confdefs.h
<<_ACEOF
15884 #define HAVE_STRUCT_OPTION_NAME 1
15891 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15892 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15894 cat >>confdefs.h
<<_ACEOF
15895 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15900 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15901 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15903 cat >>confdefs.h
<<_ACEOF
15904 #define HAVE_STRUCT_STAT_ST_MTIM 1
15909 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15910 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15912 cat >>confdefs.h
<<_ACEOF
15913 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15918 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15919 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15921 cat >>confdefs.h
<<_ACEOF
15922 #define HAVE_STRUCT_STAT_ST_CTIM 1
15927 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15928 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15930 cat >>confdefs.h
<<_ACEOF
15931 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15936 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15937 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15939 cat >>confdefs.h
<<_ACEOF
15940 #define HAVE_STRUCT_STAT_ST_ATIM 1
15945 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15946 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15948 cat >>confdefs.h
<<_ACEOF
15949 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15954 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15955 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15957 cat >>confdefs.h
<<_ACEOF
15958 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15963 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15964 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15966 cat >>confdefs.h
<<_ACEOF
15967 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15972 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15973 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15975 cat >>confdefs.h
<<_ACEOF
15976 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15981 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15982 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15984 cat >>confdefs.h
<<_ACEOF
15985 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15990 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15991 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15993 cat >>confdefs.h
<<_ACEOF
15994 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16001 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
16002 #include <sys/types.h>
16004 #ifdef HAVE_NETINET_IN_H
16005 #include <netinet/in.h>
16008 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16010 cat >>confdefs.h
<<_ACEOF
16011 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16018 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16019 #include <resolv.h>
16022 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16024 cat >>confdefs.h
<<_ACEOF
16025 #define HAVE_STRUCT___RES_STATE 1
16032 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
16033 #include <resolv.h>
16036 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16038 cat >>confdefs.h
<<_ACEOF
16039 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16046 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16047 #include <sys/types.h>
16049 #ifdef HAVE_NETINET_IN_H
16050 # include <netinet/in.h>
16052 #ifdef HAVE_ARPA_NAMESER_H
16053 # include <arpa/nameser.h>
16056 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16058 cat >>confdefs.h
<<_ACEOF
16059 #define HAVE_NS_MSG__MSG_PTR 1
16066 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16067 #include <sys/types.h>
16069 #ifdef HAVE_NETINET_IP_H
16070 #include <netinet/ip.h>
16072 #ifdef HAVE_NETINET_IP_ICMP_H
16073 #include <netinet/ip_icmp.h>
16075 #ifdef HAVE_NETINET_ICMP_VAR_H
16076 #include <netinet/icmp_var.h>
16079 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16081 cat >>confdefs.h
<<_ACEOF
16082 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16089 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16090 #include <sys/types.h>
16092 #ifdef HAVE_ALIAS_H
16095 #ifdef HAVE_SYS_SOCKET_H
16096 #include <sys/socket.h>
16098 #ifdef HAVE_SYS_SOCKETVAR_H
16099 #include <sys/socketvar.h>
16101 #ifdef HAVE_SYS_TIMEOUT_H
16102 #include <sys/timeout.h>
16104 #ifdef HAVE_NETINET_IN_H
16105 #include <netinet/in.h>
16107 #ifdef HAVE_NETINET_IN_SYSTM_H
16108 #include <netinet/in_systm.h>
16110 #ifdef HAVE_NETINET_IP_H
16111 #include <netinet/ip.h>
16113 #ifdef HAVE_NETINET_IP_VAR_H
16114 #include <netinet/ip_var.h>
16116 #ifdef HAVE_NETINET_IP_ICMP_H
16117 #include <netinet/ip_icmp.h>
16119 #ifdef HAVE_NETINET_ICMP_VAR_H
16120 #include <netinet/icmp_var.h>
16123 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16125 cat >>confdefs.h
<<_ACEOF
16126 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16133 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16134 #include <sys/types.h>
16136 #ifdef HAVE_SYS_SOCKETVAR_H
16137 #include <sys/socketvar.h>
16139 #ifdef HAVE_NETINET_IN_H
16140 #include <netinet/in.h>
16142 #ifdef HAVE_NETINET_IP_VAR_H
16143 #include <netinet/ip_var.h>
16146 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16148 cat >>confdefs.h
<<_ACEOF
16149 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16156 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
16157 #include <netinet/ip_var.h>
16160 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16162 cat >>confdefs.h
<<_ACEOF
16163 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16170 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16171 #include <sys/types.h>
16173 #ifdef HAVE_SYS_SOCKETVAR_H
16174 #include <sys/socketvar.h>
16176 #ifdef HAVE_NETINET_IN_H
16177 #include <netinet/in.h>
16179 #ifdef HAVE_NETINET_TCP_H
16180 #include <netinet/tcp.h>
16182 #ifdef HAVE_NETINET_TCP_VAR_H
16183 #include <netinet/tcp_var.h>
16186 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16188 cat >>confdefs.h
<<_ACEOF
16189 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16196 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
16197 #include <netinet/tcp_var.h>
16200 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16202 cat >>confdefs.h
<<_ACEOF
16203 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16210 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16211 #include <sys/types.h>
16213 #ifdef HAVE_NETINET_IN_H
16214 #include <netinet/in.h>
16216 #ifdef HAVE_NETINET_IP_VAR_H
16217 #include <netinet/ip_var.h>
16219 #ifdef HAVE_NETINET_UDP_H
16220 #include <netinet/udp.h>
16222 #ifdef HAVE_NETINET_UDP_VAR_H
16223 #include <netinet/udp_var.h>
16226 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16228 cat >>confdefs.h
<<_ACEOF
16229 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16236 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16237 #include <sys/types.h>
16239 #ifdef HAVE_NET_IF_H
16240 # include <net/if.h>
16243 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16245 cat >>confdefs.h
<<_ACEOF
16246 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16254 $as_echo_n "checking for timezone variable... " >&6; }
16255 if ${ac_cv_have_timezone+:} false
; then :
16256 $as_echo_n "(cached) " >&6
16258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16259 /* end confdefs.h. */
16269 if ac_fn_c_try_link
"$LINENO"; then :
16270 ac_cv_have_timezone
="yes"
16272 ac_cv_have_timezone
="no"
16274 rm -f core conftest.err conftest.
$ac_objext \
16275 conftest
$ac_exeext conftest.
$ac_ext
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16278 $as_echo "$ac_cv_have_timezone" >&6; }
16279 if test "$ac_cv_have_timezone" = "yes"
16282 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16286 $as_echo_n "checking for daylight variable... " >&6; }
16287 if ${ac_cv_have_daylight+:} false
; then :
16288 $as_echo_n "(cached) " >&6
16290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h. */
16301 if ac_fn_c_try_link
"$LINENO"; then :
16302 ac_cv_have_daylight
="yes"
16304 ac_cv_have_daylight
="no"
16306 rm -f core conftest.err conftest.
$ac_objext \
16307 conftest
$ac_exeext conftest.
$ac_ext
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16310 $as_echo "$ac_cv_have_daylight" >&6; }
16311 if test "$ac_cv_have_daylight" = "yes"
16314 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16318 ac_save_LIBS
="$LIBS"
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16321 $as_echo_n "checking for isfinite... " >&6; }
16322 if ${ac_cv_have_isfinite+:} false
; then :
16323 $as_echo_n "(cached) " >&6
16325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16326 /* end confdefs.h. */
16327 #define _GNU_SOURCE
16332 float f = 0.0; return isfinite(f)
16337 if ac_fn_c_try_link
"$LINENO"; then :
16338 ac_cv_have_isfinite
="yes"
16340 ac_cv_have_isfinite
="no"
16342 rm -f core conftest.err conftest.
$ac_objext \
16343 conftest
$ac_exeext conftest.
$ac_ext
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16346 $as_echo "$ac_cv_have_isfinite" >&6; }
16347 if test "$ac_cv_have_isfinite" = "yes"
16350 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16355 $as_echo_n "checking for isinf... " >&6; }
16356 if ${ac_cv_have_isinf+:} false
; then :
16357 $as_echo_n "(cached) " >&6
16359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16360 /* end confdefs.h. */
16365 float f = 0.0; return isinf(f)
16370 if ac_fn_c_try_link
"$LINENO"; then :
16371 ac_cv_have_isinf
="yes"
16373 ac_cv_have_isinf
="no"
16375 rm -f core conftest.err conftest.
$ac_objext \
16376 conftest
$ac_exeext conftest.
$ac_ext
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16379 $as_echo "$ac_cv_have_isinf" >&6; }
16380 if test "$ac_cv_have_isinf" = "yes"
16383 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16388 $as_echo_n "checking for isnan... " >&6; }
16389 if ${ac_cv_have_isnan+:} false
; then :
16390 $as_echo_n "(cached) " >&6
16392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16398 float f = 0.0; return isnan(f)
16403 if ac_fn_c_try_link
"$LINENO"; then :
16404 ac_cv_have_isnan
="yes"
16406 ac_cv_have_isnan
="no"
16408 rm -f core conftest.err conftest.
$ac_objext \
16409 conftest
$ac_exeext conftest.
$ac_ext
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16412 $as_echo "$ac_cv_have_isnan" >&6; }
16413 if test "$ac_cv_have_isnan" = "yes"
16416 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16443 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16444 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16445 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16446 cat >>confdefs.h
<<_ACEOF
16447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16453 LIBS
="$ac_save_LIBS"
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16456 $as_echo_n "checking for __builtin_clz... " >&6; }
16457 if ${ac_cv_have___builtin_clz+:} false
; then :
16458 $as_echo_n "(cached) " >&6
16460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16466 return __builtin_clz(1)
16471 if ac_fn_c_try_link
"$LINENO"; then :
16472 ac_cv_have___builtin_clz
="yes"
16474 ac_cv_have___builtin_clz
="no"
16476 rm -f core conftest.err conftest.
$ac_objext \
16477 conftest
$ac_exeext conftest.
$ac_ext
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16480 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16481 if test "$ac_cv_have___builtin_clz" = "yes"
16484 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16490 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16491 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16492 if ${ac_cv_cpp_def___i386__+:} false
; then :
16493 $as_echo_n "(cached) " >&6
16495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16496 /* end confdefs.h. */
16501 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16502 $EGREP "yes" >/dev
/null
2>&1; then :
16503 ac_cv_cpp_def___i386__
=yes
16505 ac_cv_cpp_def___i386__
=no
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16511 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16512 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16513 CFLAGS
="$CFLAGS -D__i386__"
16514 LINTFLAGS
="$LINTFLAGS -D__i386__"
16516 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16517 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16518 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16519 $as_echo_n "(cached) " >&6
16521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16522 /* end confdefs.h. */
16527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16528 $EGREP "yes" >/dev
/null
2>&1; then :
16529 ac_cv_cpp_def___x86_64__
=yes
16531 ac_cv_cpp_def___x86_64__
=no
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16537 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16538 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16539 CFLAGS
="$CFLAGS -D__x86_64__"
16540 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16542 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16543 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16544 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16545 $as_echo_n "(cached) " >&6
16547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16548 /* end confdefs.h. */
16549 #ifndef __sparc64__
16553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16554 $EGREP "yes" >/dev
/null
2>&1; then :
16555 ac_cv_cpp_def___sparc64__
=yes
16557 ac_cv_cpp_def___sparc64__
=no
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16563 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16564 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16565 CFLAGS
="$CFLAGS -D__sparc64__"
16566 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16568 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16569 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16570 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16571 $as_echo_n "(cached) " >&6
16573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16574 /* end confdefs.h. */
16579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16580 $EGREP "yes" >/dev
/null
2>&1; then :
16581 ac_cv_cpp_def___sparc__
=yes
16583 ac_cv_cpp_def___sparc__
=no
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16589 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16590 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16591 CFLAGS
="$CFLAGS -D__sparc__"
16592 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16594 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16595 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16596 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16597 $as_echo_n "(cached) " >&6
16599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16600 /* end confdefs.h. */
16601 #ifndef __powerpc64__
16605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16606 $EGREP "yes" >/dev
/null
2>&1; then :
16607 ac_cv_cpp_def___powerpc64__
=yes
16609 ac_cv_cpp_def___powerpc64__
=no
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16615 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16616 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16617 CFLAGS
="$CFLAGS -D__powerpc64__"
16618 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16620 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16621 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16622 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16623 $as_echo_n "(cached) " >&6
16625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16626 /* end confdefs.h. */
16627 #ifndef __powerpc__
16631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16632 $EGREP "yes" >/dev
/null
2>&1; then :
16633 ac_cv_cpp_def___powerpc__
=yes
16635 ac_cv_cpp_def___powerpc__
=no
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16641 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16642 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16643 CFLAGS
="$CFLAGS -D__powerpc__"
16644 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16646 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16647 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16648 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16649 $as_echo_n "(cached) " >&6
16651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16652 /* end confdefs.h. */
16653 #ifndef __aarch64__
16657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16658 $EGREP "yes" >/dev
/null
2>&1; then :
16659 ac_cv_cpp_def___aarch64__
=yes
16661 ac_cv_cpp_def___aarch64__
=no
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16667 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16668 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16669 CFLAGS
="$CFLAGS -D__aarch64__"
16670 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16672 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16673 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16674 if ${ac_cv_cpp_def___arm__+:} false
; then :
16675 $as_echo_n "(cached) " >&6
16677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16678 /* end confdefs.h. */
16683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16684 $EGREP "yes" >/dev
/null
2>&1; then :
16685 ac_cv_cpp_def___arm__
=yes
16687 ac_cv_cpp_def___arm__
=no
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16693 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16694 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16695 CFLAGS
="$CFLAGS -D__arm__"
16696 LINTFLAGS
="$LINTFLAGS -D__arm__"
16700 case $host_vendor in
16701 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16702 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16703 if ${ac_cv_cpp_def___sun__+:} false
; then :
16704 $as_echo_n "(cached) " >&6
16706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16707 /* end confdefs.h. */
16712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16713 $EGREP "yes" >/dev
/null
2>&1; then :
16714 ac_cv_cpp_def___sun__
=yes
16716 ac_cv_cpp_def___sun__
=no
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16722 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16723 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16724 CFLAGS
="$CFLAGS -D__sun__"
16725 LINTFLAGS
="$LINTFLAGS -D__sun__"
16733 ac_config_commands
="$ac_config_commands include/stamp-h"
16735 $as_echo_n "creating Makefile rules..." >&6
16737 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16738 SOCKET_LIBS = $SOCKET_LIBS
16739 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16740 IOKIT_LIBS = $IOKIT_LIBS
16741 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16742 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16743 CORESERVICES_LIBS = $CORESERVICES_LIBS
16744 APPKIT_LIBS = $APPKIT_LIBS
16745 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16746 SECURITY_LIBS = $SECURITY_LIBS
16747 COREAUDIO_LIBS = $COREAUDIO_LIBS
16748 OPENAL_LIBS = $OPENAL_LIBS
16749 OPENCL_LIBS = $OPENCL_LIBS
16750 QUICKTIME_LIBS = $QUICKTIME_LIBS
16751 CARBON_LIBS = $CARBON_LIBS
16752 PTHREAD_LIBS = $PTHREAD_LIBS
16753 X_CFLAGS = $X_CFLAGS
16754 X_PRE_LIBS = $X_PRE_LIBS
16756 X_EXTRA_LIBS = $X_EXTRA_LIBS
16757 XML2_CFLAGS = $XML2_CFLAGS
16758 XML2_LIBS = $XML2_LIBS
16759 XSLT_CFLAGS = $XSLT_CFLAGS
16760 XSLT_LIBS = $XSLT_LIBS
16761 DBUS_CFLAGS = $DBUS_CFLAGS
16762 DBUS_LIBS = $DBUS_LIBS
16763 HAL_CFLAGS = $HAL_CFLAGS
16764 HAL_LIBS = $HAL_LIBS
16765 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16766 GNUTLS_LIBS = $GNUTLS_LIBS
16767 SANE_CFLAGS = $SANE_CFLAGS
16768 SANE_LIBS = $SANE_LIBS
16769 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16770 GPHOTO2_LIBS = $GPHOTO2_LIBS
16771 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16772 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16773 RESOLV_LIBS = $RESOLV_LIBS
16774 LCMS2_CFLAGS = $LCMS2_CFLAGS
16775 LCMS2_LIBS = $LCMS2_LIBS
16776 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16777 FREETYPE_LIBS = $FREETYPE_LIBS
16779 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16780 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16781 GSTREAMER_LIBS = $GSTREAMER_LIBS
16782 ALSA_LIBS = $ALSA_LIBS
16783 OSS4_CFLAGS = $OSS4_CFLAGS
16784 CAPI20_CFLAGS = $CAPI20_CFLAGS
16785 CAPI20_LIBS = $CAPI20_LIBS
16786 CUPS_CFLAGS = $CUPS_CFLAGS
16787 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16788 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16789 JPEG_CFLAGS = $JPEG_CFLAGS
16790 JPEG_LIBS = $JPEG_LIBS
16791 PNG_CFLAGS = $PNG_CFLAGS
16792 PNG_LIBS = $PNG_LIBS
16793 TIFF_CFLAGS = $TIFF_CFLAGS
16794 TIFF_LIBS = $TIFF_LIBS
16795 MPG123_CFLAGS = $MPG123_CFLAGS
16796 MPG123_LIBS = $MPG123_LIBS
16797 KSTAT_LIBS = $KSTAT_LIBS
16798 PROCSTAT_LIBS = $PROCSTAT_LIBS
16800 POLL_LIBS = $POLL_LIBS
16802 LDAP_LIBS = $LDAP_LIBS
16807 wine_fn_append_rule
"
16808 # Rules automatically generated by configure
16810 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16815 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16816 @./config.status Make.tmp Makefile"
16818 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16819 .gitignore: config.status
16820 @./config.status .gitignore"
16822 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16823 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16825 if test "x$enable_fonts" != xno
; then
16826 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16827 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16828 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16829 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16830 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16832 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16833 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16834 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16835 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16836 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16837 wine_fn_config_symlink wine
16838 if test "x$enable_win64" != xno
; then
16839 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16840 wine_fn_config_symlink wine64
16843 wine_fn_config_dll acledit enable_acledit
16844 wine_fn_config_dll aclui enable_aclui implib
16845 wine_fn_config_dll activeds enable_activeds implib
16846 wine_fn_config_dll actxprxy enable_actxprxy clean
16847 wine_fn_config_lib adsiid
16848 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16849 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16850 wine_fn_config_dll advpack enable_advpack implib
16851 wine_fn_config_test dlls
/advpack
/tests advpack_test
16852 wine_fn_config_dll amstream enable_amstream clean
16853 wine_fn_config_test dlls
/amstream
/tests amstream_test
16854 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16855 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16856 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16857 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16858 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16859 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16860 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16861 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16862 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16863 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16864 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16865 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16866 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16867 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16868 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16869 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16870 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16871 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16872 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16873 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16874 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16875 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16876 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16877 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16878 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16879 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16880 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16881 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16882 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16883 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16884 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16885 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16886 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16887 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16888 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16889 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16890 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16891 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16892 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16893 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16894 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16895 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16896 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16897 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16898 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16899 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16900 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16901 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16902 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16903 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16904 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16905 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16906 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16907 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16908 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16909 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16910 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16911 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16912 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16913 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16914 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16915 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16916 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16917 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16918 wine_fn_config_dll apphelp enable_apphelp
16919 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16920 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16921 wine_fn_config_dll atl enable_atl clean
,implib
16922 wine_fn_config_test dlls
/atl
/tests atl_test
16923 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16924 wine_fn_config_test dlls
/atl100
/tests atl100_test
16925 wine_fn_config_dll atl110 enable_atl110 clean
16926 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16927 wine_fn_config_test dlls
/atl80
/tests atl80_test
16928 wine_fn_config_dll atl90 enable_atl90 clean
16929 wine_fn_config_dll authz enable_authz
16930 wine_fn_config_dll avicap32 enable_avicap32 implib
16931 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16932 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16933 wine_fn_config_dll avifile.dll16 enable_win16
16934 wine_fn_config_dll avrt enable_avrt implib
16935 wine_fn_config_dll bcrypt enable_bcrypt
16936 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16937 wine_fn_config_dll browseui enable_browseui clean
,po
16938 wine_fn_config_test dlls
/browseui
/tests browseui_test
16939 wine_fn_config_dll cabinet enable_cabinet implib
16940 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16941 wine_fn_config_dll capi2032 enable_capi2032 implib
16942 wine_fn_config_dll cards enable_cards implib
16943 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16944 wine_fn_config_dll clusapi enable_clusapi implib
16945 wine_fn_config_dll combase enable_combase
16946 wine_fn_config_test dlls
/combase
/tests combase_test
16947 wine_fn_config_dll comcat enable_comcat
16948 wine_fn_config_test dlls
/comcat
/tests comcat_test
16949 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16950 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16951 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16952 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16953 wine_fn_config_dll
comm.drv16 enable_win16
16954 wine_fn_config_dll commdlg.dll16 enable_win16
16955 wine_fn_config_dll compobj.dll16 enable_win16
16956 wine_fn_config_dll compstui enable_compstui implib
16957 wine_fn_config_dll comsvcs enable_comsvcs implib
16958 wine_fn_config_dll credui enable_credui implib
,po
16959 wine_fn_config_test dlls
/credui
/tests credui_test
16960 wine_fn_config_dll crtdll enable_crtdll implib
16961 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16962 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16963 wine_fn_config_dll cryptdlg enable_cryptdlg po
16964 wine_fn_config_dll cryptdll enable_cryptdll implib
16965 wine_fn_config_dll cryptext enable_cryptext
16966 wine_fn_config_dll cryptnet enable_cryptnet implib
16967 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16968 wine_fn_config_dll cryptui enable_cryptui implib
,po
16969 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16970 wine_fn_config_dll ctapi32 enable_ctapi32
16971 wine_fn_config_dll ctl3d.dll16 enable_win16
16972 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16973 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16974 wine_fn_config_dll d2d1 enable_d2d1 implib
16975 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16976 wine_fn_config_dll d3d10 enable_d3d10 implib
16977 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16978 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16979 wine_fn_config_dll d3d10core enable_d3d10core implib
16980 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16981 wine_fn_config_dll d3d11 enable_d3d11
16982 wine_fn_config_dll d3d8 enable_d3d8 implib
16983 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16984 wine_fn_config_dll d3d9 enable_d3d9 implib
16985 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16986 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16987 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16988 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16989 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16990 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16991 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16992 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16993 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16994 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16995 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16996 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16997 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16998 wine_fn_config_dll d3dim enable_d3dim implib
16999 wine_fn_config_dll d3drm enable_d3drm implib
17000 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17001 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17002 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17003 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17004 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17005 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17006 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17007 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17008 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17009 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17010 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17011 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17012 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17013 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17014 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17015 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17016 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17017 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17018 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17019 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17020 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17021 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17022 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17023 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17024 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17025 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17026 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17027 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17028 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17029 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17030 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17031 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17032 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17033 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17034 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17035 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17036 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17037 wine_fn_config_dll dbgeng enable_dbgeng implib
17038 wine_fn_config_dll dbghelp enable_dbghelp implib
17039 wine_fn_config_dll dciman32 enable_dciman32 implib
17040 wine_fn_config_dll ddeml.dll16 enable_win16
17041 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17042 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17043 wine_fn_config_dll ddrawex enable_ddrawex clean
17044 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17045 wine_fn_config_dll devenum enable_devenum clean
,po
17046 wine_fn_config_test dlls
/devenum
/tests devenum_test
17047 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17048 wine_fn_config_dll difxapi enable_difxapi
17049 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17050 wine_fn_config_test dlls
/dinput
/tests dinput_test
17051 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17052 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17053 wine_fn_config_dll dispdib.dll16 enable_win16
17054 wine_fn_config_dll dispex enable_dispex clean
17055 wine_fn_config_test dlls
/dispex
/tests dispex_test
17056 wine_fn_config_dll display.drv16 enable_win16
17057 wine_fn_config_dll dmband enable_dmband clean
17058 wine_fn_config_test dlls
/dmband
/tests dmband_test
17059 wine_fn_config_dll dmcompos enable_dmcompos clean
17060 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17061 wine_fn_config_dll dmime enable_dmime clean
17062 wine_fn_config_test dlls
/dmime
/tests dmime_test
17063 wine_fn_config_dll dmloader enable_dmloader clean
17064 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17065 wine_fn_config_dll dmscript enable_dmscript clean
17066 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17067 wine_fn_config_dll dmstyle enable_dmstyle clean
17068 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17069 wine_fn_config_dll dmsynth enable_dmsynth clean
17070 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17071 wine_fn_config_dll dmusic enable_dmusic clean
17072 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17073 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17074 wine_fn_config_dll dnsapi enable_dnsapi implib
17075 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17076 wine_fn_config_dll dplay enable_dplay implib
17077 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17078 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17079 wine_fn_config_dll dpnaddr enable_dpnaddr
17080 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17081 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17082 wine_fn_config_dll dpnhpast enable_dpnhpast
17083 wine_fn_config_dll dpnlobby enable_dpnlobby
17084 wine_fn_config_dll dpvoice enable_dpvoice clean
17085 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17086 wine_fn_config_dll dpwsockx enable_dpwsockx
17087 wine_fn_config_dll drmclien enable_drmclien
17088 wine_fn_config_dll dsound enable_dsound clean
,implib
17089 wine_fn_config_test dlls
/dsound
/tests dsound_test
17090 wine_fn_config_dll dssenh enable_dssenh
17091 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17092 wine_fn_config_dll dswave enable_dswave clean
17093 wine_fn_config_test dlls
/dswave
/tests dswave_test
17094 wine_fn_config_dll dwmapi enable_dwmapi implib
17095 wine_fn_config_dll dwrite enable_dwrite implib
17096 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17097 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17098 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17099 wine_fn_config_lib dxerr8
17100 wine_fn_config_lib dxerr9
17101 wine_fn_config_dll dxgi enable_dxgi implib
17102 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17103 wine_fn_config_lib dxguid
17104 wine_fn_config_dll dxva2 enable_dxva2
17105 wine_fn_config_dll explorerframe enable_explorerframe clean
17106 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17107 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17108 wine_fn_config_dll faultrep enable_faultrep implib
17109 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17110 wine_fn_config_dll fltlib enable_fltlib
17111 wine_fn_config_dll fntcache enable_fntcache
17112 wine_fn_config_dll fontsub enable_fontsub
17113 wine_fn_config_dll fusion enable_fusion
17114 wine_fn_config_test dlls
/fusion
/tests fusion_test
17115 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17116 wine_fn_config_dll gameux enable_gameux clean
17117 wine_fn_config_test dlls
/gameux
/tests gameux_test
17118 wine_fn_config_dll gdi.exe16 enable_win16
17119 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17120 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17121 wine_fn_config_dll gdiplus enable_gdiplus implib
17122 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17123 wine_fn_config_dll glu32 enable_glu32 implib
17124 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17125 wine_fn_config_dll gpkcsp enable_gpkcsp
17126 wine_fn_config_dll hal enable_hal
17127 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17128 wine_fn_config_dll hid enable_hid implib
17129 wine_fn_config_dll hlink enable_hlink clean
,implib
17130 wine_fn_config_test dlls
/hlink
/tests hlink_test
17131 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17132 wine_fn_config_dll httpapi enable_httpapi
17133 wine_fn_config_dll iccvid enable_iccvid po
17134 wine_fn_config_dll icmp enable_icmp
17135 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17136 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17137 wine_fn_config_dll ifsmgr.vxd enable_win16
17138 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17139 wine_fn_config_dll imagehlp enable_imagehlp implib
17140 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17141 wine_fn_config_dll imm.dll16 enable_win16
17142 wine_fn_config_dll imm32 enable_imm32 implib
17143 wine_fn_config_test dlls
/imm32
/tests imm32_test
17144 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17145 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17146 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17147 wine_fn_config_dll inetmib1 enable_inetmib1
17148 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17149 wine_fn_config_dll infosoft enable_infosoft clean
17150 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17151 wine_fn_config_dll initpki enable_initpki
17152 wine_fn_config_dll inkobj enable_inkobj
17153 wine_fn_config_dll inseng enable_inseng clean
17154 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17155 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17156 wine_fn_config_dll itircl enable_itircl
17157 wine_fn_config_dll itss enable_itss clean
17158 wine_fn_config_test dlls
/itss
/tests itss_test
17159 wine_fn_config_dll joy.cpl enable_joy_cpl po
17160 wine_fn_config_dll jscript enable_jscript clean
,po
17161 wine_fn_config_test dlls
/jscript
/tests jscript_test
17162 wine_fn_config_dll jsproxy enable_jsproxy implib
17163 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17164 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17165 wine_fn_config_dll keyboard.drv16 enable_win16
17166 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17167 wine_fn_config_dll ksuser enable_ksuser
17168 wine_fn_config_dll ktmw32 enable_ktmw32
17169 wine_fn_config_dll loadperf enable_loadperf implib
17170 wine_fn_config_dll localspl enable_localspl po
17171 wine_fn_config_test dlls
/localspl
/tests localspl_test
17172 wine_fn_config_dll localui enable_localui po
17173 wine_fn_config_test dlls
/localui
/tests localui_test
17174 wine_fn_config_dll lz32 enable_lz32 implib
17175 wine_fn_config_test dlls
/lz32
/tests lz32_test
17176 wine_fn_config_dll lzexpand.dll16 enable_win16
17177 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17178 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17179 wine_fn_config_dll mapistub enable_mapistub
17180 wine_fn_config_dll mciavi32 enable_mciavi32
17181 wine_fn_config_dll mcicda enable_mcicda
17182 wine_fn_config_dll mciqtz32 enable_mciqtz32
17183 wine_fn_config_dll mciseq enable_mciseq
17184 wine_fn_config_dll mciwave enable_mciwave
17185 wine_fn_config_dll mfplat enable_mfplat
17186 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17187 wine_fn_config_dll mgmtapi enable_mgmtapi
17188 wine_fn_config_dll midimap enable_midimap
17189 wine_fn_config_dll mlang enable_mlang clean
,implib
17190 wine_fn_config_test dlls
/mlang
/tests mlang_test
17191 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17192 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17193 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17194 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17195 wine_fn_config_dll mmdevldr.vxd enable_win16
17196 wine_fn_config_dll mmsystem.dll16 enable_win16
17197 wine_fn_config_dll monodebg.vxd enable_win16
17198 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17199 wine_fn_config_dll mouse.drv16 enable_win16
17200 wine_fn_config_dll mpr enable_mpr implib
,po
17201 wine_fn_config_test dlls
/mpr
/tests mpr_test
17202 wine_fn_config_dll mprapi enable_mprapi implib
17203 wine_fn_config_dll msacm.dll16 enable_win16
17204 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17205 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17206 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17207 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17208 wine_fn_config_dll msasn1 enable_msasn1 implib
17209 wine_fn_config_dll mscat32 enable_mscat32
17210 wine_fn_config_dll mscms enable_mscms implib
17211 wine_fn_config_test dlls
/mscms
/tests mscms_test
17212 wine_fn_config_dll mscoree enable_mscoree clean
17213 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17214 wine_fn_config_dll msctf enable_msctf clean
17215 wine_fn_config_test dlls
/msctf
/tests msctf_test
17216 wine_fn_config_dll msdaps enable_msdaps clean
17217 wine_fn_config_dll msdmo enable_msdmo implib
17218 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17219 wine_fn_config_dll msftedit enable_msftedit
17220 wine_fn_config_dll msg711.acm enable_msg711_acm
17221 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17222 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17223 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17224 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17225 wine_fn_config_dll msi enable_msi clean
,implib
,po
17226 wine_fn_config_test dlls
/msi
/tests msi_test
17227 wine_fn_config_dll msident enable_msident clean
17228 wine_fn_config_dll msimg32 enable_msimg32 implib
17229 wine_fn_config_dll msimsg enable_msimsg
17230 wine_fn_config_dll msimtf enable_msimtf clean
17231 wine_fn_config_dll msisip enable_msisip
17232 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17233 wine_fn_config_dll msls31 enable_msls31
17234 wine_fn_config_dll msnet32 enable_msnet32
17235 wine_fn_config_dll mspatcha enable_mspatcha
17236 wine_fn_config_dll msrle32 enable_msrle32 po
17237 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17238 wine_fn_config_dll mssign32 enable_mssign32
17239 wine_fn_config_dll mssip32 enable_mssip32
17240 wine_fn_config_dll mstask enable_mstask clean
17241 wine_fn_config_test dlls
/mstask
/tests mstask_test
17242 wine_fn_config_dll msvcirt enable_msvcirt
17243 wine_fn_config_dll msvcm80 enable_msvcm80
17244 wine_fn_config_dll msvcm90 enable_msvcm90
17245 wine_fn_config_dll msvcp100 enable_msvcp100
17246 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17247 wine_fn_config_dll msvcp110 enable_msvcp110
17248 wine_fn_config_dll msvcp120 enable_msvcp120
17249 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17250 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17251 wine_fn_config_dll msvcp60 enable_msvcp60
17252 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17253 wine_fn_config_dll msvcp70 enable_msvcp70
17254 wine_fn_config_dll msvcp71 enable_msvcp71
17255 wine_fn_config_dll msvcp80 enable_msvcp80
17256 wine_fn_config_dll msvcp90 enable_msvcp90
17257 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17258 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17259 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17260 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17261 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17262 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17263 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17264 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17265 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17266 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17267 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17268 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17269 wine_fn_config_dll msvcrt enable_msvcrt implib
17270 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17271 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17272 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17273 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17274 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17275 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17276 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17277 wine_fn_config_dll msvidc32 enable_msvidc32 po
17278 wine_fn_config_dll msvideo.dll16 enable_win16
17279 wine_fn_config_dll mswsock enable_mswsock implib
17280 wine_fn_config_dll msxml enable_msxml clean
17281 wine_fn_config_dll msxml2 enable_msxml2 clean
17282 wine_fn_config_dll msxml3 enable_msxml3 clean
17283 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17284 wine_fn_config_dll msxml4 enable_msxml4 clean
17285 wine_fn_config_dll msxml6 enable_msxml6 clean
17286 wine_fn_config_dll nddeapi enable_nddeapi implib
17287 wine_fn_config_dll ndis.sys enable_ndis_sys
17288 wine_fn_config_dll netapi32 enable_netapi32 implib
17289 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17290 wine_fn_config_dll netcfgx enable_netcfgx clean
17291 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17292 wine_fn_config_dll netprofm enable_netprofm clean
17293 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17294 wine_fn_config_dll newdev enable_newdev implib
17295 wine_fn_config_dll normaliz enable_normaliz implib
17296 wine_fn_config_dll npmshtml enable_npmshtml
17297 wine_fn_config_dll npptools enable_npptools
17298 wine_fn_config_dll ntdll enable_ntdll implib
17299 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17300 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17301 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17302 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17303 wine_fn_config_dll ntprint enable_ntprint
17304 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17305 wine_fn_config_dll objsel enable_objsel clean
17306 wine_fn_config_dll odbc32 enable_odbc32 implib
17307 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17308 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17309 wine_fn_config_dll odbccu32 enable_odbccu32
17310 wine_fn_config_dll ole2.dll16 enable_win16
17311 wine_fn_config_dll ole2conv.dll16 enable_win16
17312 wine_fn_config_dll ole2disp.dll16 enable_win16
17313 wine_fn_config_dll ole2nls.dll16 enable_win16
17314 wine_fn_config_dll ole2prox.dll16 enable_win16
17315 wine_fn_config_dll ole2thk.dll16 enable_win16
17316 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17317 wine_fn_config_test dlls
/ole32
/tests ole32_test
17318 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17319 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17320 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17321 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17322 wine_fn_config_dll olecli.dll16 enable_win16
17323 wine_fn_config_dll olecli32 enable_olecli32 implib
17324 wine_fn_config_dll oledb32 enable_oledb32 clean
17325 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17326 wine_fn_config_dll oledlg enable_oledlg implib
,po
17327 wine_fn_config_dll olepro32 enable_olepro32 implib
17328 wine_fn_config_dll olesvr.dll16 enable_win16
17329 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17330 wine_fn_config_dll olethk32 enable_olethk32
17331 wine_fn_config_dll openal32 enable_openal32
17332 wine_fn_config_dll opencl enable_opencl
17333 wine_fn_config_dll opengl32 enable_opengl32 implib
17334 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17335 wine_fn_config_dll packager enable_packager clean
17336 wine_fn_config_test dlls
/packager
/tests packager_test
17337 wine_fn_config_dll pdh enable_pdh implib
17338 wine_fn_config_test dlls
/pdh
/tests pdh_test
17339 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17340 wine_fn_config_dll pidgen enable_pidgen
17341 wine_fn_config_dll powrprof enable_powrprof implib
17342 wine_fn_config_dll printui enable_printui
17343 wine_fn_config_dll prntvpt enable_prntvpt
17344 wine_fn_config_dll propsys enable_propsys clean
,implib
17345 wine_fn_config_test dlls
/propsys
/tests propsys_test
17346 wine_fn_config_dll psapi enable_psapi implib
17347 wine_fn_config_test dlls
/psapi
/tests psapi_test
17348 wine_fn_config_dll pstorec enable_pstorec clean
17349 wine_fn_config_dll qcap enable_qcap
17350 wine_fn_config_test dlls
/qcap
/tests qcap_test
17351 wine_fn_config_dll qedit enable_qedit clean
17352 wine_fn_config_test dlls
/qedit
/tests qedit_test
17353 wine_fn_config_dll qmgr enable_qmgr clean
17354 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17355 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17356 wine_fn_config_dll quartz enable_quartz clean
,implib
17357 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17358 wine_fn_config_dll query enable_query
17359 wine_fn_config_dll rasapi16.dll16 enable_win16
17360 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17361 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17362 wine_fn_config_dll rasdlg enable_rasdlg implib
17363 wine_fn_config_dll regapi enable_regapi
17364 wine_fn_config_dll resutils enable_resutils implib
17365 wine_fn_config_dll riched20 enable_riched20 implib
17366 wine_fn_config_test dlls
/riched20
/tests riched20_test
17367 wine_fn_config_dll riched32 enable_riched32
17368 wine_fn_config_test dlls
/riched32
/tests riched32_test
17369 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17370 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17371 wine_fn_config_dll rsabase enable_rsabase
17372 wine_fn_config_dll rsaenh enable_rsaenh implib
17373 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17374 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17375 wine_fn_config_dll rtutils enable_rtutils implib
17376 wine_fn_config_dll samlib enable_samlib
17377 wine_fn_config_dll sane.ds enable_sane_ds po
17378 wine_fn_config_dll scarddlg enable_scarddlg
17379 wine_fn_config_dll sccbase enable_sccbase
17380 wine_fn_config_dll schannel enable_schannel
17381 wine_fn_config_test dlls
/schannel
/tests schannel_test
17382 wine_fn_config_dll schedsvc enable_schedsvc clean
17383 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17384 wine_fn_config_dll scrrun enable_scrrun clean
17385 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17386 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17387 wine_fn_config_dll secur32 enable_secur32 implib
17388 wine_fn_config_test dlls
/secur32
/tests secur32_test
17389 wine_fn_config_dll security enable_security
17390 wine_fn_config_dll sensapi enable_sensapi implib
17391 wine_fn_config_dll serialui enable_serialui implib
,po
17392 wine_fn_config_test dlls
/serialui
/tests serialui_test
17393 wine_fn_config_dll setupapi enable_setupapi implib
,po
17394 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17395 wine_fn_config_dll setupx.dll16 enable_win16
17396 wine_fn_config_dll sfc enable_sfc implib
17397 wine_fn_config_dll sfc_os enable_sfc_os implib
17398 wine_fn_config_dll shdoclc enable_shdoclc po
17399 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17400 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17401 wine_fn_config_dll shell.dll16 enable_win16
17402 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17403 wine_fn_config_test dlls
/shell32
/tests shell32_test
17404 wine_fn_config_dll shfolder enable_shfolder implib
17405 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17406 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17407 wine_fn_config_dll slbcsp enable_slbcsp
17408 wine_fn_config_dll slc enable_slc implib
17409 wine_fn_config_dll snmpapi enable_snmpapi implib
17410 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17411 wine_fn_config_dll softpub enable_softpub
17412 wine_fn_config_dll sound.drv16 enable_win16
17413 wine_fn_config_dll spoolss enable_spoolss implib
17414 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17415 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17416 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17417 wine_fn_config_dll sti enable_sti clean
,implib
17418 wine_fn_config_test dlls
/sti
/tests sti_test
17419 wine_fn_config_dll storage.dll16 enable_win16
17420 wine_fn_config_dll stress.dll16 enable_win16
17421 wine_fn_config_lib strmbase
17422 wine_fn_config_lib strmiids
17423 wine_fn_config_dll svrapi enable_svrapi
17424 wine_fn_config_dll sxs enable_sxs implib
17425 wine_fn_config_test dlls
/sxs
/tests sxs_test
17426 wine_fn_config_dll system.drv16 enable_win16
17427 wine_fn_config_dll t2embed enable_t2embed
17428 wine_fn_config_dll tapi32 enable_tapi32 implib
17429 wine_fn_config_dll taskschd enable_taskschd clean
17430 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17431 wine_fn_config_dll toolhelp.dll16 enable_win16
17432 wine_fn_config_dll traffic enable_traffic
17433 wine_fn_config_dll twain.dll16 enable_win16
17434 wine_fn_config_dll twain_32 enable_twain_32
17435 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17436 wine_fn_config_dll typelib.dll16 enable_win16
17437 wine_fn_config_dll unicows enable_unicows implib
17438 wine_fn_config_dll updspapi enable_updspapi
17439 wine_fn_config_dll url enable_url implib
17440 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17441 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17442 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17443 wine_fn_config_dll user.exe16 enable_win16
17444 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17445 wine_fn_config_test dlls
/user32
/tests user32_test
17446 wine_fn_config_dll userenv enable_userenv implib
17447 wine_fn_config_test dlls
/userenv
/tests userenv_test
17448 wine_fn_config_dll usp10 enable_usp10 implib
17449 wine_fn_config_test dlls
/usp10
/tests usp10_test
17450 wine_fn_config_lib uuid
17451 wine_fn_config_dll uxtheme enable_uxtheme implib
17452 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17453 wine_fn_config_dll vbscript enable_vbscript clean
17454 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17455 wine_fn_config_dll vcomp enable_vcomp
17456 wine_fn_config_dll vcomp100 enable_vcomp100
17457 wine_fn_config_dll vcomp90 enable_vcomp90
17458 wine_fn_config_dll vdhcp.vxd enable_win16
17459 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17460 wine_fn_config_dll ver.dll16 enable_win16
17461 wine_fn_config_dll version enable_version implib
17462 wine_fn_config_test dlls
/version
/tests version_test
17463 wine_fn_config_dll vmm.vxd enable_win16
17464 wine_fn_config_dll vnbt.vxd enable_win16
17465 wine_fn_config_dll vnetbios.vxd enable_win16
17466 wine_fn_config_dll vssapi enable_vssapi
17467 wine_fn_config_dll vtdapi.vxd enable_win16
17468 wine_fn_config_dll vwin32.vxd enable_win16
17469 wine_fn_config_dll w32skrnl enable_win16
17470 wine_fn_config_dll w32sys.dll16 enable_win16
17471 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17472 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17473 wine_fn_config_dll wbemprox enable_wbemprox clean
17474 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17475 wine_fn_config_dll webservices enable_webservices implib
17476 wine_fn_config_dll wer enable_wer implib
17477 wine_fn_config_test dlls
/wer
/tests wer_test
17478 wine_fn_config_dll wevtapi enable_wevtapi
17479 wine_fn_config_dll wiaservc enable_wiaservc clean
17480 wine_fn_config_dll win32s16.dll16 enable_win16
17481 wine_fn_config_dll win87em.dll16 enable_win16
17482 wine_fn_config_dll winaspi.dll16 enable_win16
17483 wine_fn_config_dll windebug.dll16 enable_win16
17484 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17485 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17486 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17487 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17488 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17489 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17490 wine_fn_config_lib winecrt0
17491 wine_fn_config_dll wined3d enable_wined3d implib
17492 wine_fn_config_dll winegstreamer enable_winegstreamer
17493 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17494 wine_fn_config_dll winemac.drv enable_winemac_drv
17495 wine_fn_config_dll winemapi enable_winemapi
17496 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17497 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17498 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17499 wine_fn_config_dll wineps16.drv16 enable_win16
17500 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17501 wine_fn_config_dll winex11.drv enable_winex11_drv
17502 wine_fn_config_dll wing.dll16 enable_win16
17503 wine_fn_config_dll wing32 enable_wing32
17504 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17505 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17506 wine_fn_config_dll wininet enable_wininet implib
,po
17507 wine_fn_config_test dlls
/wininet
/tests wininet_test
17508 wine_fn_config_dll winmm enable_winmm implib
,po
17509 wine_fn_config_test dlls
/winmm
/tests winmm_test
17510 wine_fn_config_dll winnls.dll16 enable_win16
17511 wine_fn_config_dll winnls32 enable_winnls32 implib
17512 wine_fn_config_dll winscard enable_winscard implib
17513 wine_fn_config_dll winsock.dll16 enable_win16
17514 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17515 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17516 wine_fn_config_dll winsta enable_winsta
17517 wine_fn_config_dll wintab.dll16 enable_win16
17518 wine_fn_config_dll wintab32 enable_wintab32 implib
17519 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17520 wine_fn_config_dll wintrust enable_wintrust implib
17521 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17522 wine_fn_config_dll wlanapi enable_wlanapi
17523 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17524 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17525 wine_fn_config_dll wmi enable_wmi
17526 wine_fn_config_dll wmiutils enable_wmiutils clean
17527 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17528 wine_fn_config_dll wmp enable_wmp clean
17529 wine_fn_config_test dlls
/wmp
/tests wmp_test
17530 wine_fn_config_dll wmvcore enable_wmvcore
17531 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17532 wine_fn_config_dll wow32 enable_win16 implib
17533 wine_fn_config_dll wpcap enable_wpcap
17534 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17535 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17536 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17537 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17538 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17539 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17540 wine_fn_config_dll wsock32 enable_wsock32 implib
17541 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17542 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17543 wine_fn_config_dll wuapi enable_wuapi clean
17544 wine_fn_config_dll wuaueng enable_wuaueng
17545 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17546 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17547 wine_fn_config_dll xinput1_1 enable_xinput1_1
17548 wine_fn_config_dll xinput1_2 enable_xinput1_2
17549 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17550 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17551 wine_fn_config_dll xinput1_4 enable_xinput1_4
17552 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17553 wine_fn_config_dll xmllite enable_xmllite implib
17554 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17555 wine_fn_config_dll xolehlp enable_xolehlp
17556 wine_fn_config_dll xpsprint enable_xpsprint
17557 wine_fn_config_dll xpssvcs enable_xpssvcs
17558 wine_fn_config_makefile documentation enable_documentation clean
17559 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17560 wine_fn_config_makefile include enable_include clean
,install-dev
17561 wine_fn_config_makefile libs
/port enable_libs_port
17562 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17563 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17564 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17565 wine_fn_config_program arp enable_arp
install
17566 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17567 wine_fn_config_program attrib enable_attrib
install,po
17568 wine_fn_config_program cabarc enable_cabarc
install
17569 wine_fn_config_program cacls enable_cacls
install
17570 wine_fn_config_program
clock enable_clock
install,po
17571 wine_fn_config_program cmd enable_cmd
install,po
17572 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17573 wine_fn_config_program conhost enable_conhost
install
17574 wine_fn_config_program control enable_control
install
17575 wine_fn_config_program cscript enable_cscript clean
,install
17576 wine_fn_config_program dpnsvr enable_dpnsvr
install
17577 wine_fn_config_program dxdiag enable_dxdiag
install,po
17578 wine_fn_config_program eject enable_eject
install
17579 wine_fn_config_program
expand enable_expand
install
17580 wine_fn_config_program explorer enable_explorer
install,po
17581 wine_fn_config_program extrac32 enable_extrac32
install
17582 wine_fn_config_program findstr enable_findstr
install
17583 wine_fn_config_program hh enable_hh
install
17584 wine_fn_config_program hostname enable_hostname
install,po
17585 wine_fn_config_program icinfo enable_icinfo
install
17586 wine_fn_config_program iexplore enable_iexplore
install
17587 wine_fn_config_program ipconfig enable_ipconfig
install,po
17588 wine_fn_config_program lodctr enable_lodctr
install
17589 wine_fn_config_program mofcomp enable_mofcomp
install
17590 wine_fn_config_program mshta enable_mshta
install
17591 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17592 wine_fn_config_program net enable_net
install,po
17593 wine_fn_config_program netsh enable_netsh
install
17594 wine_fn_config_program netstat enable_netstat
install,po
17595 wine_fn_config_program ngen enable_ngen
install
17596 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17597 wine_fn_config_program oleview enable_oleview
install,po
17598 wine_fn_config_program
ping enable_ping
install
17599 wine_fn_config_program plugplay enable_plugplay
install
17600 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17601 wine_fn_config_program progman enable_progman
install,po
17602 wine_fn_config_program reg enable_reg
install,po
17603 wine_fn_config_test programs
/reg
/tests reg.exe_test
17604 wine_fn_config_program regasm enable_regasm
install
17605 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17606 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17607 wine_fn_config_program regsvcs enable_regsvcs
install
17608 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17609 wine_fn_config_program rpcss enable_rpcss clean
,install
17610 wine_fn_config_program rundll.exe16 enable_win16
install
17611 wine_fn_config_program rundll32 enable_rundll32
install
17612 wine_fn_config_program sc enable_sc
install
17613 wine_fn_config_program schtasks enable_schtasks
install
17614 wine_fn_config_program sdbinst enable_sdbinst
install
17615 wine_fn_config_program secedit enable_secedit
install
17616 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17617 wine_fn_config_program services enable_services clean
,install
17618 wine_fn_config_test programs
/services
/tests services.exe_test
17619 wine_fn_config_program spoolsv enable_spoolsv
install
17620 wine_fn_config_program start enable_start
install,po
17621 wine_fn_config_program svchost enable_svchost
install
17622 wine_fn_config_program systeminfo enable_systeminfo
install
17623 wine_fn_config_program taskkill enable_taskkill
install,po
17624 wine_fn_config_program tasklist enable_tasklist
install
17625 wine_fn_config_program taskmgr enable_taskmgr
install,po
17626 wine_fn_config_program termsv enable_termsv
install
17627 wine_fn_config_program uninstaller enable_uninstaller
install,po
17628 wine_fn_config_program unlodctr enable_unlodctr
install
17629 wine_fn_config_program view enable_view
install,po
17630 wine_fn_config_program wevtutil enable_wevtutil
install
17631 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17632 wine_fn_config_program winebrowser enable_winebrowser
install
17633 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17634 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17635 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17636 wine_fn_config_program winedevice enable_winedevice
install
17637 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17638 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17639 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17640 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17641 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17642 wine_fn_config_program winetest enable_winetest clean
17643 wine_fn_config_program winevdm enable_win16
install
17644 wine_fn_config_program winhelp.exe16 enable_win16
install
17645 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17646 wine_fn_config_program winoldap.mod16 enable_win16
install
17647 wine_fn_config_program winver enable_winver
install
17648 wine_fn_config_program wmic enable_wmic
install,po
17649 wine_fn_config_program wordpad enable_wordpad
install,po
17650 wine_fn_config_program
write enable_write
install,po
17651 wine_fn_config_program wscript enable_wscript clean
,install
17652 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17653 wine_fn_config_program wusa enable_wusa
install
17654 wine_fn_config_program xcopy enable_xcopy
install,po
17655 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17656 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17657 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17658 wine_fn_config_tool tools
/sfnt2fon clean
17659 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17660 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17661 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17662 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17663 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17664 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17716 wine_fn_ignore_file
".gitignore"
17717 wine_fn_ignore_file
"Makefile"
17718 wine_fn_ignore_file
"TAGS"
17719 wine_fn_ignore_file
"tags"
17720 wine_fn_ignore_file
"autom4te.cache"
17721 wine_fn_ignore_file
"config.cache"
17722 wine_fn_ignore_file
"config.log"
17723 wine_fn_ignore_file
"config.status"
17724 wine_fn_ignore_file
"configure.lineno"
17725 wine_fn_ignore_file
"include/config.h"
17726 wine_fn_ignore_file
"include/stamp-h"
17727 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17729 if test "x$enable_tools" != xno
17731 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17732 ac_config_commands
="$ac_config_commands tools/makedep"
17736 ac_config_commands
="$ac_config_commands Makefile"
17739 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17743 if test "x$enable_maintainer_mode" = xyes
17745 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17746 autoconf --warnings=all
17747 include/config.h.in: include/stamp-h.in
17748 include/stamp-h.in: configure.ac aclocal.m4
17749 autoheader --warnings=all
17750 @echo timestamp > \$@"
17753 if test "x$with_gettextpo" = xyes
17755 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17756 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17757 \$(LINGUAS:%=po/%.po): po/wine.pot
17758 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17759 po/wine.pot: \$(ALL_POT_FILES)
17760 msgcat -o \$@ \$(ALL_POT_FILES)"
17763 if test "$MSGFMT" != false
17765 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17767 \$(RM) \$(LINGUAS:%=po/%.mo)"
17770 test "$srcdir" = . || posrc
="$srcdir/po"
17773 wine_fn_ignore_file
"po/$i.mo"
17774 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17775 \$(MSGFMT) -o \$@ $posrc/$i.po"
17781 if test "x$enable_tools" != xno
17783 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17784 @./config.status tools/makedep
17785 Makefile: tools/makedep$ac_exeext
17787 \$(RM) tools/makedep$ac_exeext"
17789 wine_fn_append_rule
"\$(MAKEDEP):
17790 @echo \"You need to run make in $TOOLSDIR first\" && false"
17793 if test -n "$with_wine64"
17795 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17796 fonts server tools:
17797 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17798 $with_wine64/loader/wine:
17799 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17800 $with_wine64/loader/wine-preloader:
17801 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17803 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17805 as_fn_append LOADER_RULES
"
17806 install install-lib:: wine.inf install-man-pages
17807 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17808 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17811 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17815 if test "$srcdir" = .
17817 ac_config_commands
="$ac_config_commands .gitignore"
17821 $as_echo " done" >&6
17822 cat >confcache
<<\_ACEOF
17823 # This file is a shell script that caches the results of configure
17824 # tests run on this system so they can be shared between configure
17825 # scripts and configure runs, see configure's option --config-cache.
17826 # It is not useful on other systems. If it contains results you don't
17827 # want to keep, you may remove or edit it.
17829 # config.status only pays attention to the cache file if you give it
17830 # the --recheck option to rerun configure.
17832 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17833 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17834 # following values.
17838 # The following way of writing the cache mishandles newlines in values,
17839 # but we know of no workaround that is simple, portable, and efficient.
17840 # So, we kill variables containing newlines.
17841 # Ultrix sh set writes to stderr and can't be redirected directly,
17842 # and sets the high bit in the cache file unless we assign to the vars.
17844 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17845 eval ac_val
=\$
$ac_var
17849 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17850 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17853 _ | IFS | as_nl
) ;; #(
17854 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17855 *) { eval $ac_var=; unset $ac_var;} ;;
17861 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17862 *${as_nl}ac_space
=\
*)
17863 # `set' does not quote correctly, so add quotes: double-quote
17864 # substitution turns \\\\ into \\, and sed turns \\ into \.
17867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17870 # `set' quotes correctly as required by POSIX, so do not add quotes.
17871 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17880 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17882 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17884 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17885 if test -w "$cache_file"; then
17886 if test "x$cache_file" != "x/dev/null"; then
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17888 $as_echo "$as_me: updating cache $cache_file" >&6;}
17889 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17890 cat confcache
>"$cache_file"
17892 case $cache_file in #(
17894 mv -f confcache
"$cache_file"$$
&&
17895 mv -f "$cache_file"$$
"$cache_file" ;; #(
17897 mv -f confcache
"$cache_file" ;;
17902 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17903 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17908 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17909 # Let make expand exec_prefix.
17910 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17912 DEFS
=-DHAVE_CONFIG_H
17917 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17918 # 1. Remove the extension, and $U if already installed.
17919 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17920 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17921 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17922 # will be set to the directory where LIBOBJS objects are built.
17923 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17924 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17926 LIBOBJS
=$ac_libobjs
17928 LTLIBOBJS
=$ac_ltlibobjs
17932 : "${CONFIG_STATUS=./config.status}"
17934 ac_clean_files_save
=$ac_clean_files
17935 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17937 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17939 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17941 # Generated by $as_me.
17942 # Run this file to recreate the current configuration.
17943 # Compiler output produced by configure, useful for debugging
17944 # configure, is in config.log if it exists.
17947 ac_cs_recheck=false
17950 SHELL=\${CONFIG_SHELL-$SHELL}
17953 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17954 ## -------------------- ##
17955 ## M4sh Initialization. ##
17956 ## -------------------- ##
17958 # Be more Bourne compatible
17959 DUALCASE
=1; export DUALCASE
# for MKS sh
17960 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17963 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17964 # is contrary to our usage. Disable this feature.
17965 alias -g '${1+"$@"}'='"$@"'
17966 setopt NO_GLOB_SUBST
17968 case `(set -o) 2>/dev/null` in #(
17980 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17981 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17982 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17983 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17984 # Prefer a ksh shell builtin over an external printf program on Solaris,
17985 # but without wasting forks for bash or zsh.
17986 if test -z "$BASH_VERSION$ZSH_VERSION" \
17987 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17988 as_echo='print
-r --'
17989 as_echo_n='print
-rn --'
17990 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17991 as_echo='printf %s
\n'
17992 as_echo_n='printf %s
'
17994 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17995 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17996 as_echo_n='/usr
/ucb
/echo -n'
17998 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17999 as_echo_n_body='eval
18003 expr "X$arg" : "X\\(.*\\)$as_nl";
18004 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18006 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18008 export as_echo_n_body
18009 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18011 export as_echo_body
18012 as_echo='sh
-c $as_echo_body as_echo
'
18015 # The user is always right.
18016 if test "${PATH_SEPARATOR+set}" != set; then
18018 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18019 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18026 # We need space, tab and new line, in precisely that order. Quoting is
18027 # there to prevent editors from complaining about space-tab.
18028 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18029 # splitting by setting IFS to empty value.)
18032 # Find who we are. Look in the path if we contain no directory separator.
18035 *[\\/]* ) as_myself=$0 ;;
18036 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18037 for as_dir in $PATH
18040 test -z "$as_dir" && as_dir=.
18041 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18047 # We did not find ourselves, most probably we were run as `sh COMMAND'
18048 # in which case we are not to be found in the path.
18049 if test "x$as_myself" = x
; then
18052 if test ! -f "$as_myself"; then
18053 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18057 # Unset variables that we do not need and which cause bugs (e.g. in
18058 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18059 # suppresses any "Segmentation fault" message there. '((' could
18060 # trigger a bug in pdksh 5.2.14.
18061 for as_var
in BASH_ENV ENV MAIL MAILPATH
18062 do eval test x\
${$as_var+set} = xset \
18063 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18076 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18079 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18080 # ----------------------------------------
18081 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18082 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18083 # script with STATUS, using 1 if that was 0.
18086 as_status
=$1; test $as_status -eq 0 && as_status
=1
18088 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18089 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18091 $as_echo "$as_me: error: $2" >&2
18092 as_fn_exit
$as_status
18096 # as_fn_set_status STATUS
18097 # -----------------------
18098 # Set $? to STATUS, without forking.
18099 as_fn_set_status
()
18102 } # as_fn_set_status
18104 # as_fn_exit STATUS
18105 # -----------------
18106 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18110 as_fn_set_status
$1
18116 # Portably unset VAR.
18119 { eval $1=; unset $1;}
18121 as_unset
=as_fn_unset
18122 # as_fn_append VAR VALUE
18123 # ----------------------
18124 # Append the text in VALUE to the end of the definition contained in VAR. Take
18125 # advantage of any shell optimizations that allow amortized linear growth over
18126 # repeated appends, instead of the typical quadratic growth present in naive
18128 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18129 eval 'as_fn_append ()
18140 # as_fn_arith ARG...
18141 # ------------------
18142 # Perform arithmetic evaluation on the ARGs, and store the result in the
18143 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18144 # must be portable across $(()) and expr.
18145 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18146 eval 'as_fn_arith ()
18153 as_val
=`expr "$@" || test $? -eq 1`
18158 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18159 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18165 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18166 as_basename
=basename
18171 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18177 as_me
=`$as_basename -- "$0" ||
18178 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18179 X"$0" : 'X\(//\)$' \| \
18180 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18182 sed '/^.*\/\([^/][^/]*\)\/*$/{
18196 # Avoid depending upon Character Ranges.
18197 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18198 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18199 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18200 as_cr_digits
='0123456789'
18201 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18203 ECHO_C
= ECHO_N
= ECHO_T
=
18204 case `echo -n x` in #(((((
18206 case `echo 'xy\c'` in
18207 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18209 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18216 rm -f conf$$ conf$$.exe conf$$.
file
18217 if test -d conf$$.dir
; then
18218 rm -f conf$$.dir
/conf$$.
file
18221 mkdir conf$$.dir
2>/dev
/null
18223 if (echo >conf$$.
file) 2>/dev
/null
; then
18224 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18226 # ... but there are two gotchas:
18227 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18228 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18229 # In both cases, we have to default to `cp -pR'.
18230 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18232 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18240 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18241 rmdir conf$$.dir
2>/dev
/null
18246 # Create "$as_dir" as a directory, including parents if necessary.
18251 -*) as_dir
=.
/$as_dir;;
18253 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18257 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18258 *) as_qdir
=$as_dir;;
18260 as_dirs
="'$as_qdir' $as_dirs"
18261 as_dir
=`$as_dirname -- "$as_dir" ||
18262 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18263 X"$as_dir" : 'X\(//\)[^/]' \| \
18264 X"$as_dir" : 'X\(//\)$' \| \
18265 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18266 $as_echo X"$as_dir" |
18267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18271 /^X\(\/\/\)[^/].*/{
18284 test -d "$as_dir" && break
18286 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18287 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18291 if mkdir
-p .
2>/dev
/null
; then
18292 as_mkdir_p
='mkdir -p "$as_dir"'
18294 test -d .
/-p && rmdir .
/-p
18299 # as_fn_executable_p FILE
18300 # -----------------------
18301 # Test if FILE is an executable regular file.
18302 as_fn_executable_p
()
18304 test -f "$1" && test -x "$1"
18305 } # as_fn_executable_p
18306 as_test_x
='test -x'
18307 as_executable_p
=as_fn_executable_p
18309 # Sed expression to map a string onto a valid CPP name.
18310 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18312 # Sed expression to map a string onto a valid variable name.
18313 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18317 ## ----------------------------------- ##
18318 ## Main body of $CONFIG_STATUS script. ##
18319 ## ----------------------------------- ##
18321 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18324 # Save the log message, to keep $0 and so on meaningful, and to
18325 # report actual input values of CONFIG_FILES etc. instead of their
18326 # values after options handling.
18328 This file was extended by Wine $as_me 1.7.34, which was
18329 generated by GNU Autoconf 2.69. Invocation command line was
18331 CONFIG_FILES = $CONFIG_FILES
18332 CONFIG_HEADERS = $CONFIG_HEADERS
18333 CONFIG_LINKS = $CONFIG_LINKS
18334 CONFIG_COMMANDS = $CONFIG_COMMANDS
18337 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18342 case $ac_config_files in *"
18343 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18346 case $ac_config_headers in *"
18347 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18352 # Files that config.status was made for.
18353 config_files="$ac_config_files"
18354 config_headers="$ac_config_headers"
18355 config_links="$ac_config_links"
18356 config_commands="$ac_config_commands"
18360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18362 \`$as_me' instantiates files and other configuration actions
18363 from templates according to the current configuration. Unless the files
18364 and actions are specified as TAGs, all are instantiated by default.
18366 Usage: $0 [OPTION]... [TAG]...
18368 -h, --help print this help, then exit
18369 -V, --version print version number and configuration settings, then exit
18370 --config print configuration, then exit
18371 -q, --quiet, --silent
18372 do not print progress messages
18373 -d, --debug don't remove temporary files
18374 --recheck update $as_me by reconfiguring in the same conditions
18375 --file=FILE[:TEMPLATE]
18376 instantiate the configuration file FILE
18377 --header=FILE[:TEMPLATE]
18378 instantiate the configuration header FILE
18380 Configuration files:
18383 Configuration headers:
18386 Configuration links:
18389 Configuration commands:
18392 Report bugs to <wine-devel@winehq.org>.
18393 Wine home page: <http://www.winehq.org>."
18396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18397 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18399 Wine config.status 1.7.34
18400 configured by $0, generated by GNU Autoconf 2.69,
18401 with options \\"\$ac_cs_config\\"
18403 Copyright (C) 2012 Free Software Foundation, Inc.
18404 This config.status script is free software; the Free Software Foundation
18405 gives unlimited permission to copy, distribute and modify it."
18409 test -n "\$AWK" || AWK=awk
18412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18413 # The default lists apply if the user does not specify any file.
18419 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18420 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18424 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18436 # Handling of the options.
18437 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18439 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18440 $as_echo "$ac_cs_version"; exit ;;
18441 --config |
--confi |
--conf |
--con |
--co |
--c )
18442 $as_echo "$ac_cs_config"; exit ;;
18443 --debug |
--debu |
--deb |
--de |
--d |
-d )
18445 --file |
--fil |
--fi |
--f )
18448 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18449 '') as_fn_error $?
"missing file argument" ;;
18451 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18452 ac_need_defaults
=false
;;
18453 --header |
--heade |
--head |
--hea )
18456 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18458 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18459 ac_need_defaults
=false
;;
18461 # Conflict between --help and --header
18462 as_fn_error $?
"ambiguous option: \`$1'
18463 Try \`$0 --help' for more information.";;
18464 --help |
--hel |
-h )
18465 $as_echo "$ac_cs_usage"; exit ;;
18466 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18467 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18470 # This is an error.
18471 -*) as_fn_error $?
"unrecognized option: \`$1'
18472 Try \`$0 --help' for more information." ;;
18474 *) as_fn_append ac_config_targets
" $1"
18475 ac_need_defaults
=false
;;
18481 ac_configure_extra_args
=
18483 if $ac_cs_silent; then
18485 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18490 if \$ac_cs_recheck; then
18491 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18493 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18494 CONFIG_SHELL='$SHELL'
18495 export CONFIG_SHELL
18500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18504 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18505 ## Running $as_me. ##
18511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18515 wine_fn_output_makedep ()
18517 as_dir=tools; as_fn_mkdir_p
18518 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18520 wine_fn_output_makefile ()
18522 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18523 `cat $wine_rules_file`
18525 as_fn_error $? "could not create Makefile" "$LINENO" 5
18527 wine_fn_output_gitignore ()
18529 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18532 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18539 # Handling of arguments.
18540 for ac_config_target
in $ac_config_targets
18542 case $ac_config_target in
18543 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18544 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18545 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18546 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18547 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18548 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18549 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18550 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18551 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18552 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18553 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18554 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18555 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18556 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18558 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18563 # If the user did not use the arguments to specify the items to instantiate,
18564 # then the envvar interface is used. Set only those that are not.
18565 # We use the long form for the default assignment because of an extremely
18566 # bizarre bug on SunOS 4.1.3.
18567 if $ac_need_defaults; then
18568 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18569 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18570 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18571 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18574 # Have a temporary directory for convenience. Make it in the build tree
18575 # simply because there is no reason against having it here, and in addition,
18576 # creating and moving files from /tmp can sometimes cause problems.
18577 # Hook for its removal unless debugging.
18578 # Note that there is a small window in which the directory will not be cleaned:
18579 # after its creation but before its name has been assigned to `$tmp'.
18583 trap 'exit_status=$?
18584 : "${ac_tmp:=$tmp}"
18585 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18587 trap 'as_fn_exit 1' 1 2 13 15
18589 # Create a (secure) tmp directory for tmp files.
18592 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18596 tmp
=.
/conf$$
-$RANDOM
18597 (umask 077 && mkdir
"$tmp")
18598 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18601 # Set up the scripts for CONFIG_FILES section.
18602 # No need to generate them if there are no CONFIG_FILES.
18603 # This happens for instance with `./config.status config.h'.
18604 if test -n "$CONFIG_FILES"; then
18607 ac_cr
=`echo X | tr X '\015'`
18608 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18609 # But we know of no other shell where ac_cr would be empty at this
18610 # point, so we can use a bashism as a fallback.
18611 if test "x$ac_cr" = x
; then
18612 eval ac_cr
=\$
\'\\r
\'
18614 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18615 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18618 ac_cs_awk_cr
=$ac_cr
18621 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18626 echo "cat >conf$$subs.awk <<_ACEOF" &&
18627 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18629 } >conf$$subs.sh ||
18630 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18631 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18633 for ac_last_try in false false false false false :; do
18634 . ./conf$$subs.sh ||
18635 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18637 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18638 if test $ac_delim_n = $ac_delim_num; then
18640 elif $ac_last_try; then
18641 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18643 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18646 rm -f conf$$subs.sh
18648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18649 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18653 s/^/S["/; s
/!.
*/"]=/
18663 s/\(.\{148\}\)..*/\1/
18665 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18670 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18677 s/\(.\{148\}\)..*/\1/
18679 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18683 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18688 ' <conf$$subs.awk | sed '
18693 ' >>$CONFIG_STATUS || ac_write_fail=1
18694 rm -f conf$$subs.awk
18695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18697 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18698 for (key in S) S_is_set[key] = 1
18704 nfields = split(line, field, "@
")
18706 len = length(field[1])
18707 for (i = 2; i < nfields; i++) {
18709 keylen = length(key)
18710 if (S_is_set[key]) {
18712 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18713 len += length(value) + length(field[++i])
18724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18725 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18726 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18729 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18730 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18733 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18734 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18735 # trailing colons and then remove the whole line if VPATH becomes empty
18736 # (actually we leave an empty line to preserve line numbers).
18737 if test "x
$srcdir" = x.; then
18738 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18757 fi # test -n "$CONFIG_FILES"
18759 # Set up the scripts for CONFIG_HEADERS section.
18760 # No need to generate them if there are no CONFIG_HEADERS.
18761 # This happens for instance with `./config.status Makefile'.
18762 if test -n "$CONFIG_HEADERS"; then
18763 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18767 # Transform confdefs.h into an awk script `defines.awk', embedded as
18768 # here-document in config.status, that substitutes the proper values into
18769 # config.h.in to produce config.h.
18771 # Create a delimiter string that does not exist in confdefs.h, to ease
18772 # handling of long lines.
18774 for ac_last_try in false false :; do
18775 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18776 if test -z "$ac_tt"; then
18778 elif $ac_last_try; then
18779 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18781 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18785 # For the awk script, D is an array of macro values keyed by name,
18786 # likewise P contains macro parameters if any. Preserve backslash
18787 # newline sequences.
18789 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18791 s/.\{148\}/&'"$ac_delim"'/g
18794 s/^[ ]*#[ ]*define[ ][ ]*/ /
18801 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18803 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18807 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18808 D["\
1"]=" \
3\\\\\\n
"\\/p
18810 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18815 s/.\{148\}/&'"$ac_delim"'/g
18820 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18823 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18825 ' <confdefs.h | sed '
18826 s/'"$ac_delim"'/"\\\
18827 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18830 for (key in D) D_is_set[key] = 1
18833 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18835 split(line, arg, " ")
18836 if (arg[1] == "#") {
18840 defundef
= substr
(arg
[1], 2)
18843 split(mac1
, mac2
, "(") #)
18845 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18846 if (D_is_set
[macro
]) {
18847 # Preserve the white space surrounding the "#".
18848 print prefix
"define", macro P
[macro
] D
[macro
]
18851 # Replace #undef with comments. This is necessary, for example,
18852 # in the case of _POSIX_SOURCE, which is predefined and required
18853 # on some systems where configure will not decide to define it.
18854 if (defundef
== "undef") {
18855 print
"/*", prefix defundef
, macro
, "*/"
18863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18864 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18865 fi # test -n "$CONFIG_HEADERS"
18868 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18873 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18875 case $ac_mode$ac_tag in
18877 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18878 :[FH
]-) ac_tag
=-:-;;
18879 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18896 -) ac_f
="$ac_tmp/stdin";;
18897 *) # Look for the file first in the build tree, then in the source tree
18898 # (if the path is not absolute). The absolute path cannot be DOS-style,
18899 # because $ac_f cannot contain `:'.
18903 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18905 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18907 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18908 as_fn_append ac_file_inputs
" '$ac_f'"
18911 # Let's still pretend it is `configure' which instantiates (i.e., don't
18912 # use $as_me), people would be surprised to read:
18913 # /* config.h. Generated by config.status. */
18914 configure_input
='Generated from '`
18915 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18917 if test x
"$ac_file" != x-
; then
18918 configure_input
="$ac_file. $configure_input"
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18920 $as_echo "$as_me: creating $ac_file" >&6;}
18922 # Neutralize special characters interpreted by sed in replacement strings.
18923 case $configure_input in #(
18924 *\
&* |
*\|
* |
*\\* )
18925 ac_sed_conf_input
=`$as_echo "$configure_input" |
18926 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18927 *) ac_sed_conf_input
=$configure_input;;
18931 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18932 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18937 ac_dir
=`$as_dirname -- "$ac_file" ||
18938 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18939 X"$ac_file" : 'X\(//\)[^/]' \| \
18940 X"$ac_file" : 'X\(//\)$' \| \
18941 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18942 $as_echo X"$ac_file" |
18943 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18947 /^X\(\/\/\)[^/].*/{
18960 as_dir
="$ac_dir"; as_fn_mkdir_p
18964 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18966 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18967 # A ".." for each directory in $ac_dir_suffix.
18968 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18969 case $ac_top_builddir_sub in
18970 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18971 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18974 ac_abs_top_builddir
=$ac_pwd
18975 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18976 # for backward compatibility:
18977 ac_top_builddir
=$ac_top_build_prefix
18980 .
) # We are building in place.
18982 ac_top_srcdir
=$ac_top_builddir_sub
18983 ac_abs_top_srcdir
=$ac_pwd ;;
18984 [\\/]* | ?
:[\\/]* ) # Absolute name.
18985 ac_srcdir
=$srcdir$ac_dir_suffix;
18986 ac_top_srcdir
=$srcdir
18987 ac_abs_top_srcdir
=$srcdir ;;
18988 *) # Relative name.
18989 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18990 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18991 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18993 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19005 # If the template does not know about datarootdir, expand it.
19006 # FIXME: This hack should be removed a few years after 2.60.
19007 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19018 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19019 *datarootdir
*) ac_datarootdir_seen
=yes;;
19020 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19022 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19025 ac_datarootdir_hack='
19026 s&@datadir@&$datadir&g
19027 s&@docdir@&$docdir&g
19028 s&@infodir@&$infodir&g
19029 s&@localedir@&$localedir&g
19030 s&@mandir@&$mandir&g
19031 s&\\\${datarootdir}&$datarootdir&g' ;;
19035 # Neutralize VPATH when `$srcdir' = `.'.
19036 # Shell code in configure.ac might set extrasub.
19037 # FIXME: do we really want to maintain this feature?
19038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19039 ac_sed_extra="$ac_vpsub
19042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19044 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19045 s|@configure_input@|
$ac_sed_conf_input|
;t t
19046 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19047 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19048 s
&@srcdir@
&$ac_srcdir&;t t
19049 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19050 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19051 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19052 s
&@builddir@
&$ac_builddir&;t t
19053 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19054 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19055 $ac_datarootdir_hack
19057 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19058 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19060 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19061 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19062 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19063 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19065 which seems to be undefined. Please make sure it is defined" >&5
19066 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19067 which seems to be undefined. Please make sure it is defined" >&2;}
19069 rm -f "$ac_tmp/stdin"
19071 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19072 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19074 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19080 if test x"$ac_file" != x-; then
19082 $as_echo "/* $configure_input */" \
19083 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19084 } >"$ac_tmp/config.h" \
19085 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19086 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19088 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19091 mv "$ac_tmp/config.h" "$ac_file" \
19092 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19095 $as_echo "/* $configure_input */" \
19096 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19097 || as_fn_error $? "could not create -" "$LINENO" 5
19105 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19108 # Prefer the file from the source tree if names are identical.
19109 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19110 ac_source=$srcdir/$ac_source
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19114 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19116 if test ! -r "$ac_source"; then
19117 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19121 # Try a relative symlink, then a hard link, then a copy.
19123 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19124 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19126 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19127 ln "$ac_source" "$ac_file" 2>/dev/null ||
19128 cp -p "$ac_source" "$ac_file" ||
19129 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19132 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19133 $as_echo "$as_me: executing $ac_file commands" >&6;}
19138 case $ac_file$ac_mode in
19139 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19140 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19141 "Makefile":C) wine_fn_output_makefile Makefile ;;
19142 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19150 ac_clean_files=$ac_clean_files_save
19152 test $ac_write_fail = 0 ||
19153 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19156 # configure is writing to config.log, and then calls config.status.
19157 # config.status does its own redirection, appending to config.log.
19158 # Unfortunately, on DOS this fails, as config.log is still kept open
19159 # by configure, so config.status won't be able to
write to it
; its
19160 # output is simply discarded. So we exec the FD to /dev/null,
19161 # effectively closing config.log, so it can be properly (re)opened and
19162 # appended to by config.status. When coming back to configure, we
19163 # need to make the FD available again.
19164 if test "$no_create" != yes; then
19166 ac_config_status_args
=
19167 test "$silent" = yes &&
19168 ac_config_status_args
="$ac_config_status_args --quiet"
19170 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19172 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19173 # would make configure fail if this is the last instruction.
19174 $ac_cs_success || as_fn_exit
1
19176 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19178 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19182 if test "$no_create" = "yes"
19188 if test "x$wine_notices != "x
; then
19191 for msg
in $wine_notices; do
19193 if ${msg:+false} :; then :
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19197 $as_echo "$as_me: $msg" >&6;}
19202 for msg
in $wine_warnings; do
19204 if ${msg:+false} :; then :
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19209 $as_echo "$as_me: WARNING: $msg" >&2;}
19215 $as_me: Finished. Do '${ac_make}' to compile Wine.