2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.32.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.7.32'
584 PACKAGE_STRING
='Wine 1.7.32'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
698 APPLICATIONSERVICES_LIBS
782 program_transform_name
795 enable_option_checking
799 enable_maintainer_mode
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_datetime_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_1
860 enable_api_ms_win_core_debug_l1_1_1
861 enable_api_ms_win_core_errorhandling_l1_1_1
862 enable_api_ms_win_core_errorhandling_l1_1_2
863 enable_api_ms_win_core_fibers_l1_1_0
864 enable_api_ms_win_core_fibers_l1_1_1
865 enable_api_ms_win_core_file_l1_2_0
866 enable_api_ms_win_core_file_l2_1_0
867 enable_api_ms_win_core_file_l2_1_1
868 enable_api_ms_win_core_handle_l1_1_0
869 enable_api_ms_win_core_heap_l1_2_0
870 enable_api_ms_win_core_heap_obsolete_l1_1_0
871 enable_api_ms_win_core_interlocked_l1_2_0
872 enable_api_ms_win_core_io_l1_1_1
873 enable_api_ms_win_core_kernel32_legacy_l1_1_0
874 enable_api_ms_win_core_libraryloader_l1_1_1
875 enable_api_ms_win_core_localization_l1_2_0
876 enable_api_ms_win_core_localization_l1_2_1
877 enable_api_ms_win_core_localization_obsolete_l1_1_0
878 enable_api_ms_win_core_localregistry_l1_1_0
879 enable_api_ms_win_core_memory_l1_1_1
880 enable_api_ms_win_core_namedpipe_l1_2_0
881 enable_api_ms_win_core_processenvironment_l1_2_0
882 enable_api_ms_win_core_processthreads_l1_1_0
883 enable_api_ms_win_core_processthreads_l1_1_1
884 enable_api_ms_win_core_processthreads_l1_1_2
885 enable_api_ms_win_core_profile_l1_1_0
886 enable_api_ms_win_core_psapi_l1_1_0
887 enable_api_ms_win_core_registry_l1_1_0
888 enable_api_ms_win_core_rtlsupport_l1_2_0
889 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
890 enable_api_ms_win_core_string_l1_1_0
891 enable_api_ms_win_core_synch_l1_2_0
892 enable_api_ms_win_core_sysinfo_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_1
894 enable_api_ms_win_core_threadpool_legacy_l1_1_0
895 enable_api_ms_win_core_timezone_l1_1_0
896 enable_api_ms_win_core_url_l1_1_0
897 enable_api_ms_win_core_util_l1_1_0
898 enable_api_ms_win_core_winrt_error_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_1
900 enable_api_ms_win_core_winrt_l1_1_0
901 enable_api_ms_win_core_winrt_string_l1_1_0
902 enable_api_ms_win_core_xstate_l2_1_0
903 enable_api_ms_win_downlevel_advapi32_l1_1_0
904 enable_api_ms_win_downlevel_advapi32_l2_1_0
905 enable_api_ms_win_downlevel_normaliz_l1_1_0
906 enable_api_ms_win_downlevel_ole32_l1_1_0
907 enable_api_ms_win_downlevel_shell32_l1_1_0
908 enable_api_ms_win_downlevel_shlwapi_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l2_1_0
910 enable_api_ms_win_downlevel_user32_l1_1_0
911 enable_api_ms_win_downlevel_version_l1_1_0
912 enable_api_ms_win_eventing_provider_l1_1_0
913 enable_api_ms_win_ntuser_dc_access_l1_1_0
914 enable_api_ms_win_security_base_l1_1_0
915 enable_api_ms_win_security_base_l1_2_0
916 enable_api_ms_win_security_sddl_l1_1_0
917 enable_api_ms_win_service_core_l1_1_1
918 enable_api_ms_win_service_management_l1_1_0
919 enable_api_ms_win_service_winsvc_l1_2_0
960 enable_d3dcompiler_33
961 enable_d3dcompiler_34
962 enable_d3dcompiler_35
963 enable_d3dcompiler_36
964 enable_d3dcompiler_37
965 enable_d3dcompiler_38
966 enable_d3dcompiler_39
967 enable_d3dcompiler_40
968 enable_d3dcompiler_41
969 enable_d3dcompiler_42
970 enable_d3dcompiler_43
1045 enable_explorerframe
1046 enable_ext_ms_win_gdi_devcaps_l1_1_0
1196 enable_photometadatahandler
1278 enable_windowscodecs
1279 enable_windowscodecsext
1281 enable_winecoreaudio_drv
1283 enable_winegstreamer
1284 enable_winejoystick_drv
1290 enable_wineqtdecoder
1327 enable_documentation
1335 enable_aspnet_regiis
1368 enable_presentationfontcache
1381 enable_servicemodelreg
1402 enable_winemenubuilder
1404 enable_winemsibuilder
1418 ac_precious_vars
='build_alias
1467 # Initialize some variables set by options.
1469 ac_init_version
=false
1470 ac_unrecognized_opts
=
1471 ac_unrecognized_sep
=
1472 # The variables have the same names as the options, with
1473 # dashes changed to underlines.
1474 cache_file
=/dev
/null
1481 program_transform_name
=s
,x
,x
,
1489 # Installation directory options.
1490 # These are left unexpanded so users can "make install exec_prefix=/foo"
1491 # and all the variables that are supposed to be based on exec_prefix
1492 # by default will actually change.
1493 # Use braces instead of parens because sh, perl, etc. also accept them.
1494 # (The list follows the same order as the GNU Coding Standards.)
1495 bindir
='${exec_prefix}/bin'
1496 sbindir
='${exec_prefix}/sbin'
1497 libexecdir
='${exec_prefix}/libexec'
1498 datarootdir
='${prefix}/share'
1499 datadir
='${datarootdir}'
1500 sysconfdir
='${prefix}/etc'
1501 sharedstatedir
='${prefix}/com'
1502 localstatedir
='${prefix}/var'
1503 includedir
='${prefix}/include'
1504 oldincludedir
='/usr/include'
1505 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1506 infodir
='${datarootdir}/info'
1511 libdir
='${exec_prefix}/lib'
1512 localedir
='${datarootdir}/locale'
1513 mandir
='${datarootdir}/man'
1519 # If the previous option needs an argument, assign it.
1520 if test -n "$ac_prev"; then
1521 eval $ac_prev=\
$ac_option
1527 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1532 # Accept the important Cygnus configure options, so we can diagnose typos.
1534 case $ac_dashdash$ac_option in
1538 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1540 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1541 bindir
=$ac_optarg ;;
1543 -build |
--build |
--buil |
--bui |
--bu)
1544 ac_prev
=build_alias
;;
1545 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1546 build_alias
=$ac_optarg ;;
1548 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1549 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1550 ac_prev
=cache_file
;;
1551 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1552 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1553 cache_file
=$ac_optarg ;;
1555 --config-cache |
-C)
1556 cache_file
=config.cache
;;
1558 -datadir |
--datadir |
--datadi |
--datad)
1560 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1561 datadir
=$ac_optarg ;;
1563 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1564 |
--dataroo |
--dataro |
--datar)
1565 ac_prev
=datarootdir
;;
1566 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1567 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1568 datarootdir
=$ac_optarg ;;
1570 -disable-* |
--disable-*)
1571 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1572 # Reject names that are not valid shell variable names.
1573 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1574 as_fn_error $?
"invalid feature name: $ac_useropt"
1575 ac_useropt_orig
=$ac_useropt
1576 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1577 case $ac_user_opts in
1579 "enable_
$ac_useropt"
1581 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1582 ac_unrecognized_sep
=', ';;
1584 eval enable_
$ac_useropt=no
;;
1586 -docdir |
--docdir |
--docdi |
--doc |
--do)
1588 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1589 docdir
=$ac_optarg ;;
1591 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1593 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1594 dvidir
=$ac_optarg ;;
1596 -enable-* |
--enable-*)
1597 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1598 # Reject names that are not valid shell variable names.
1599 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1600 as_fn_error $?
"invalid feature name: $ac_useropt"
1601 ac_useropt_orig
=$ac_useropt
1602 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1603 case $ac_user_opts in
1605 "enable_
$ac_useropt"
1607 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1608 ac_unrecognized_sep
=', ';;
1610 eval enable_
$ac_useropt=\
$ac_optarg ;;
1612 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1613 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1614 |
--exec |
--exe |
--ex)
1615 ac_prev
=exec_prefix
;;
1616 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1617 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1618 |
--exec=* |
--exe=* |
--ex=*)
1619 exec_prefix
=$ac_optarg ;;
1621 -gas |
--gas |
--ga |
--g)
1622 # Obsolete; use --with-gas.
1625 -help |
--help |
--hel |
--he |
-h)
1626 ac_init_help
=long
;;
1627 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1628 ac_init_help
=recursive
;;
1629 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1630 ac_init_help
=short
;;
1632 -host |
--host |
--hos |
--ho)
1633 ac_prev
=host_alias
;;
1634 -host=* |
--host=* |
--hos=* |
--ho=*)
1635 host_alias
=$ac_optarg ;;
1637 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1639 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1641 htmldir
=$ac_optarg ;;
1643 -includedir |
--includedir |
--includedi |
--included |
--include \
1644 |
--includ |
--inclu |
--incl |
--inc)
1645 ac_prev
=includedir
;;
1646 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1647 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1648 includedir
=$ac_optarg ;;
1650 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1652 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1653 infodir
=$ac_optarg ;;
1655 -libdir |
--libdir |
--libdi |
--libd)
1657 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1658 libdir
=$ac_optarg ;;
1660 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1661 |
--libexe |
--libex |
--libe)
1662 ac_prev
=libexecdir
;;
1663 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1664 |
--libexe=* |
--libex=* |
--libe=*)
1665 libexecdir
=$ac_optarg ;;
1667 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1668 ac_prev
=localedir
;;
1669 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1670 localedir
=$ac_optarg ;;
1672 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1673 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1674 ac_prev
=localstatedir
;;
1675 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1676 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1677 localstatedir
=$ac_optarg ;;
1679 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1681 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1682 mandir
=$ac_optarg ;;
1684 -nfp |
--nfp |
--nf)
1685 # Obsolete; use --without-fp.
1688 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1689 |
--no-cr |
--no-c |
-n)
1692 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1693 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1696 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1697 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1698 |
--oldin |
--oldi |
--old |
--ol |
--o)
1699 ac_prev
=oldincludedir
;;
1700 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1701 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1702 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1703 oldincludedir
=$ac_optarg ;;
1705 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1707 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1708 prefix
=$ac_optarg ;;
1710 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1711 |
--program-pre |
--program-pr |
--program-p)
1712 ac_prev
=program_prefix
;;
1713 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1714 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1715 program_prefix
=$ac_optarg ;;
1717 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1718 |
--program-suf |
--program-su |
--program-s)
1719 ac_prev
=program_suffix
;;
1720 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1721 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1722 program_suffix
=$ac_optarg ;;
1724 -program-transform-name |
--program-transform-name \
1725 |
--program-transform-nam |
--program-transform-na \
1726 |
--program-transform-n |
--program-transform- \
1727 |
--program-transform |
--program-transfor \
1728 |
--program-transfo |
--program-transf \
1729 |
--program-trans |
--program-tran \
1730 |
--progr-tra |
--program-tr |
--program-t)
1731 ac_prev
=program_transform_name
;;
1732 -program-transform-name=* |
--program-transform-name=* \
1733 |
--program-transform-nam=* |
--program-transform-na=* \
1734 |
--program-transform-n=* |
--program-transform-=* \
1735 |
--program-transform=* |
--program-transfor=* \
1736 |
--program-transfo=* |
--program-transf=* \
1737 |
--program-trans=* |
--program-tran=* \
1738 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1739 program_transform_name
=$ac_optarg ;;
1741 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1743 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1744 pdfdir
=$ac_optarg ;;
1746 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1748 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1751 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1752 |
-silent |
--silent |
--silen |
--sile |
--sil)
1755 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1757 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1759 sbindir
=$ac_optarg ;;
1761 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1762 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1763 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1765 ac_prev
=sharedstatedir
;;
1766 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1767 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1768 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1770 sharedstatedir
=$ac_optarg ;;
1772 -site |
--site |
--sit)
1774 -site=* |
--site=* |
--sit=*)
1777 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1779 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1780 srcdir
=$ac_optarg ;;
1782 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1783 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1784 ac_prev
=sysconfdir
;;
1785 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1786 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1787 sysconfdir
=$ac_optarg ;;
1789 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1790 ac_prev
=target_alias
;;
1791 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1792 target_alias
=$ac_optarg ;;
1794 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1797 -version |
--version |
--versio |
--versi |
--vers |
-V)
1798 ac_init_version
=: ;;
1801 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1802 # Reject names that are not valid shell variable names.
1803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1804 as_fn_error $?
"invalid package name: $ac_useropt"
1805 ac_useropt_orig
=$ac_useropt
1806 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1807 case $ac_user_opts in
1811 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1812 ac_unrecognized_sep
=', ';;
1814 eval with_
$ac_useropt=\
$ac_optarg ;;
1816 -without-* |
--without-*)
1817 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1818 # Reject names that are not valid shell variable names.
1819 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1820 as_fn_error $?
"invalid package name: $ac_useropt"
1821 ac_useropt_orig
=$ac_useropt
1822 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1823 case $ac_user_opts in
1827 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1828 ac_unrecognized_sep
=', ';;
1830 eval with_
$ac_useropt=no
;;
1833 # Obsolete; use --with-x.
1836 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1837 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1838 ac_prev
=x_includes
;;
1839 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1840 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1841 x_includes
=$ac_optarg ;;
1843 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1844 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1845 ac_prev
=x_libraries
;;
1846 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1847 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1848 x_libraries
=$ac_optarg ;;
1850 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1851 Try \`$0 --help' for more information"
1855 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1856 # Reject names that are not valid shell variable names.
1857 case $ac_envvar in #(
1858 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1859 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1861 eval $ac_envvar=\
$ac_optarg
1862 export $ac_envvar ;;
1865 # FIXME: should be removed in autoconf 3.0.
1866 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1867 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1868 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1869 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1875 if test -n "$ac_prev"; then
1876 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1877 as_fn_error $?
"missing argument to $ac_option"
1880 if test -n "$ac_unrecognized_opts"; then
1881 case $enable_option_checking in
1883 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1884 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1888 # Check all directory arguments for consistency.
1889 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1890 datadir sysconfdir sharedstatedir localstatedir includedir \
1891 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1892 libdir localedir mandir
1894 eval ac_val
=\$
$ac_var
1895 # Remove trailing slashes.
1898 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1899 eval $ac_var=\
$ac_val;;
1901 # Be sure to have absolute directory names.
1903 [\\/$
]* | ?
:[\\/]* ) continue;;
1904 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1906 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1909 # There might be people who depend on the old broken behavior: `$host'
1910 # used to hold the argument of --host etc.
1911 # FIXME: To remove some day.
1914 target
=$target_alias
1916 # FIXME: To remove some day.
1917 if test "x$host_alias" != x
; then
1918 if test "x$build_alias" = x
; then
1919 cross_compiling
=maybe
1920 elif test "x$build_alias" != "x$host_alias"; then
1926 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1928 test "$silent" = yes && exec 6>/dev
/null
1931 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1932 ac_ls_di
=`ls -di .` &&
1933 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1934 as_fn_error $?
"working directory cannot be determined"
1935 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1936 as_fn_error $?
"pwd does not report name of working directory"
1939 # Find the source files, if location was not specified.
1940 if test -z "$srcdir"; then
1941 ac_srcdir_defaulted
=yes
1942 # Try the directory containing this script, then the parent directory.
1943 ac_confdir
=`$as_dirname -- "$as_myself" ||
1944 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1945 X"$as_myself" : 'X\(//\)[^/]' \| \
1946 X"$as_myself" : 'X\(//\)$' \| \
1947 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1948 $as_echo X"$as_myself" |
1949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1967 if test ! -r "$srcdir/$ac_unique_file"; then
1971 ac_srcdir_defaulted
=no
1973 if test ! -r "$srcdir/$ac_unique_file"; then
1974 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1975 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1977 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1979 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1981 # When building in place, set srcdir=.
1982 if test "$ac_abs_confdir" = "$ac_pwd"; then
1985 # Remove unnecessary trailing slashes from srcdir.
1986 # Double slashes in file names in object file debugging info
1987 # mess up M-x gdb in Emacs.
1989 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1991 for ac_var
in $ac_precious_vars; do
1992 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1993 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1994 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1995 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1999 # Report the --help message.
2001 if test "$ac_init_help" = "long"; then
2002 # Omit some internal or obsolete options to make the list less imposing.
2003 # This message is too long to be a string in the A/UX 3.1 sh.
2005 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
2007 Usage: $0 [OPTION]... [VAR=VALUE]...
2009 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2010 VAR=VALUE. See below for descriptions of some of the useful variables.
2012 Defaults for the options are specified in brackets.
2015 -h, --help display this help and exit
2016 --help=short display options specific to this package
2017 --help=recursive display the short help of all the included packages
2018 -V, --version display version information and exit
2019 -q, --quiet, --silent do not print \`checking ...' messages
2020 --cache-file=FILE cache test results in FILE [disabled]
2021 -C, --config-cache alias for \`--cache-file=config.cache'
2022 -n, --no-create do not create output files
2023 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2025 Installation directories:
2026 --prefix=PREFIX install architecture-independent files in PREFIX
2027 [$ac_default_prefix]
2028 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2031 By default, \`make install' will install all the files in
2032 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2033 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2034 for instance \`--prefix=\$HOME'.
2036 For better control, use the options below.
2038 Fine tuning of the installation directories:
2039 --bindir=DIR user executables [EPREFIX/bin]
2040 --sbindir=DIR system admin executables [EPREFIX/sbin]
2041 --libexecdir=DIR program executables [EPREFIX/libexec]
2042 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2043 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2044 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2045 --libdir=DIR object code libraries [EPREFIX/lib]
2046 --includedir=DIR C header files [PREFIX/include]
2047 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2048 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2049 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2050 --infodir=DIR info documentation [DATAROOTDIR/info]
2051 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2052 --mandir=DIR man documentation [DATAROOTDIR/man]
2053 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2054 --htmldir=DIR html documentation [DOCDIR]
2055 --dvidir=DIR dvi documentation [DOCDIR]
2056 --pdfdir=DIR pdf documentation [DOCDIR]
2057 --psdir=DIR ps documentation [DOCDIR]
2063 --x-includes=DIR X include files are
in DIR
2064 --x-libraries=DIR X library files are
in DIR
2067 --build=BUILD configure
for building on BUILD
[guessed
]
2068 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2072 if test -n "$ac_init_help"; then
2073 case $ac_init_help in
2074 short | recursive
) echo "Configuration of Wine 1.7.32:";;
2079 --disable-option-checking ignore unrecognized
--enable/--with options
2080 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2081 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2082 --disable-win16 do not include Win16 support
2083 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2085 --disable-tests do not build the regression tests
2086 --enable-maintainer-mode
2087 enable maintainer-specific build rules
2088 --disable-largefile omit support for large files
2091 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2092 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2093 --without-alsa do not use the Alsa sound support
2094 --without-capi do not use CAPI (ISDN support)
2095 --without-cms do not use CMS (color management support)
2096 --without-coreaudio do not use the CoreAudio sound support
2097 --without-cups do not use CUPS
2098 --without-curses do not use (n)curses
2099 --without-dbus do not use DBus (dynamic device support)
2100 --without-fontconfig do not use fontconfig
2101 --without-freetype do not use the FreeType library
2102 --without-gettext do not use gettext
2103 --with-gettextpo use the GetTextPO library to rebuild po files
2104 --without-gphoto do not use gphoto (Digital Camera support)
2105 --without-glu do not use the GLU library
2106 --without-gnutls do not use GnuTLS (schannel support)
2107 --without-gsm do not use libgsm (GSM 06.10 codec support)
2108 --without-gstreamer do not use GStreamer (codecs support)
2109 --without-hal do not use HAL (dynamic device support)
2110 --without-jpeg do not use JPEG
2111 --without-ldap do not use LDAP
2112 --without-mpg123 do not use the mpg123 library
2113 --without-netapi do not use the Samba NetAPI library
2114 --without-openal do not use OpenAL
2115 --without-opencl do not use OpenCL
2116 --without-opengl do not use OpenGL
2117 --without-osmesa do not use the OSMesa library
2118 --without-oss do not use the OSS sound support
2119 --without-pcap do not use the Packet Capture library
2120 --without-png do not use PNG
2121 --without-pthread do not use the pthread library
2122 --without-sane do not use SANE (scanner support)
2123 --without-tiff do not use TIFF
2124 --without-v4l do not use v4l1 (v4l support)
2125 --without-xcomposite do not use the Xcomposite extension
2126 --without-xcursor do not use the Xcursor extension
2127 --without-xinerama do not use Xinerama (multi-monitor support)
2128 --without-xinput do not use the Xinput extension
2129 --without-xinput2 do not use the Xinput 2 extension
2130 --without-xml do not use XML
2131 --without-xrandr do not use Xrandr (resolution changes)
2132 --without-xrender do not use the Xrender extension
2133 --without-xshape do not use the Xshape extension
2134 --without-xshm do not use XShm (shared memory extension)
2135 --without-xslt do not use XSLT
2136 --without-xxf86vm do not use XFree video mode extension
2137 --without-zlib do not use Zlib (data compression)
2138 --with-wine-tools=DIR use Wine tools from directory DIR
2139 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2140 --with-x use the X Window System
2142 Some influential environment variables:
2143 CC C compiler command
2144 CFLAGS C compiler flags
2145 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2146 nonstandard directory <lib dir>
2147 LIBS libraries to pass to the linker, e.g. -l<library>
2148 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2149 you have headers in a nonstandard directory <include dir>
2150 CXX C++ compiler command
2151 CXXFLAGS C++ compiler flags
2153 XMKMF Path to xmkmf, Makefile generator for X Window System
2154 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2155 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2156 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2157 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2158 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2159 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2160 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2161 HAL_LIBS Linker flags for hal, overriding pkg-config
2163 C compiler flags for gnutls, overriding pkg-config
2164 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2165 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2166 SANE_LIBS Linker flags for libsane, overriding pkg-config
2168 C compiler flags for libgphoto2, overriding pkg-config
2170 Linker flags for libgphoto2, overriding pkg-config
2172 C compiler flags for libgphoto2_port, overriding pkg-config
2174 Linker flags for libgphoto2_port, overriding pkg-config
2176 C compiler flags for lcms2, overriding pkg-config
2177 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2179 C compiler flags for freetype2, overriding pkg-config
2181 Linker flags for freetype2, overriding pkg-config
2183 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2185 Linker flags for gstreamer-app-0.10, overriding pkg-config
2187 C compiler flags for capi20, overriding pkg-config
2188 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2190 C compiler flags for fontconfig, overriding pkg-config
2192 Linker flags for fontconfig, overriding pkg-config
2193 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2194 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2195 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2196 PNG_LIBS Linker flags for libpng, overriding pkg-config
2197 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2198 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2200 C compiler flags for libmpg123, overriding pkg-config
2201 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2203 Use these variables to override the choices made by `configure' or to
help
2204 it to
find libraries and programs with nonstandard names
/locations.
2206 Report bugs to
<wine-devel@winehq.org
>.
2207 Wine home page
: <http
://www.winehq.org
>.
2212 if test "$ac_init_help" = "recursive"; then
2213 # If there are subdirs, report their specific --help.
2214 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2215 test -d "$ac_dir" ||
2216 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2221 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2223 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2224 # A ".." for each directory in $ac_dir_suffix.
2225 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2226 case $ac_top_builddir_sub in
2227 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2228 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2231 ac_abs_top_builddir
=$ac_pwd
2232 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2233 # for backward compatibility:
2234 ac_top_builddir
=$ac_top_build_prefix
2237 .
) # We are building in place.
2239 ac_top_srcdir
=$ac_top_builddir_sub
2240 ac_abs_top_srcdir
=$ac_pwd ;;
2241 [\\/]* | ?
:[\\/]* ) # Absolute name.
2242 ac_srcdir
=$srcdir$ac_dir_suffix;
2243 ac_top_srcdir
=$srcdir
2244 ac_abs_top_srcdir
=$srcdir ;;
2246 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2247 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2248 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2250 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2252 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2253 # Check for guested configure.
2254 if test -f "$ac_srcdir/configure.gnu"; then
2256 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2257 elif test -f "$ac_srcdir/configure"; then
2259 $SHELL "$ac_srcdir/configure" --help=recursive
2261 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2263 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2267 test -n "$ac_init_help" && exit $ac_status
2268 if $ac_init_version; then
2270 Wine configure
1.7.32
2271 generated by GNU Autoconf
2.69
2273 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2274 This configure
script is free software
; the Free Software Foundation
2275 gives unlimited permission to copy
, distribute and modify it.
2280 ## ------------------------ ##
2281 ## Autoconf initialization. ##
2282 ## ------------------------ ##
2284 # ac_fn_c_try_compile LINENO
2285 # --------------------------
2286 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2287 ac_fn_c_try_compile
()
2289 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2290 rm -f conftest.
$ac_objext
2291 if { { ac_try
="$ac_compile"
2293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2294 *) ac_try_echo=$ac_try;;
2296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2297 $as_echo "$ac_try_echo"; } >&5
2298 (eval "$ac_compile") 2>conftest.err
2300 if test -s conftest.err; then
2301 grep -v '^ *+' conftest.err >conftest.er1
2302 cat conftest.er1 >&5
2303 mv -f conftest.er1 conftest.err
2305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2306 test $ac_status = 0; } && {
2307 test -z "$ac_c_werror_flag" ||
2308 test ! -s conftest.err
2309 } && test -s conftest.$ac_objext; then :
2312 $as_echo "$as_me: failed program was:" >&5
2313 sed 's/^/| /' conftest.$ac_ext >&5
2317 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2318 as_fn_set_status $ac_retval
2320 } # ac_fn_c_try_compile
2322 # ac_fn_cxx_try_compile LINENO
2323 # ----------------------------
2324 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2325 ac_fn_cxx_try_compile ()
2327 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2328 rm -f conftest.$ac_objext
2329 if { { ac_try="$ac_compile"
2331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2332 *) ac_try_echo
=$ac_try;;
2334 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2335 $as_echo "$ac_try_echo"; } >&5
2336 (eval "$ac_compile") 2>conftest.err
2338 if test -s conftest.err
; then
2339 grep -v '^ *+' conftest.err
>conftest.er1
2340 cat conftest.er1
>&5
2341 mv -f conftest.er1 conftest.err
2343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2344 test $ac_status = 0; } && {
2345 test -z "$ac_cxx_werror_flag" ||
2346 test ! -s conftest.err
2347 } && test -s conftest.
$ac_objext; then :
2350 $as_echo "$as_me: failed program was:" >&5
2351 sed 's/^/| /' conftest.
$ac_ext >&5
2355 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2356 as_fn_set_status
$ac_retval
2358 } # ac_fn_cxx_try_compile
2360 # ac_fn_c_try_link LINENO
2361 # -----------------------
2362 # Try to link conftest.$ac_ext, and return whether this succeeded.
2365 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2366 rm -f conftest.
$ac_objext conftest
$ac_exeext
2367 if { { ac_try
="$ac_link"
2369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2370 *) ac_try_echo=$ac_try;;
2372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2373 $as_echo "$ac_try_echo"; } >&5
2374 (eval "$ac_link") 2>conftest.err
2376 if test -s conftest.err; then
2377 grep -v '^ *+' conftest.err >conftest.er1
2378 cat conftest.er1 >&5
2379 mv -f conftest.er1 conftest.err
2381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2382 test $ac_status = 0; } && {
2383 test -z "$ac_c_werror_flag" ||
2384 test ! -s conftest.err
2385 } && test -s conftest$ac_exeext && {
2386 test "$cross_compiling" = yes ||
2387 test -x conftest$ac_exeext
2391 $as_echo "$as_me: failed program was:" >&5
2392 sed 's/^/| /' conftest.$ac_ext >&5
2396 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2397 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2398 # interfere with the next link command; also delete a directory that is
2399 # left behind by Apple's compiler. We do this before executing the actions.
2400 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2401 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2402 as_fn_set_status $ac_retval
2404 } # ac_fn_c_try_link
2406 # ac_fn_c_try_cpp LINENO
2407 # ----------------------
2408 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2411 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2412 if { { ac_try="$ac_cpp conftest.$ac_ext"
2414 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2415 *) ac_try_echo
=$ac_try;;
2417 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2418 $as_echo "$ac_try_echo"; } >&5
2419 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2421 if test -s conftest.err
; then
2422 grep -v '^ *+' conftest.err
>conftest.er1
2423 cat conftest.er1
>&5
2424 mv -f conftest.er1 conftest.err
2426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2427 test $ac_status = 0; } > conftest.i
&& {
2428 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2429 test ! -s conftest.err
2433 $as_echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.
$ac_ext >&5
2438 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2439 as_fn_set_status
$ac_retval
2443 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2444 # -------------------------------------------------------
2445 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2446 # the include files in INCLUDES and setting the cache variable VAR
2448 ac_fn_c_check_header_mongrel
()
2450 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2451 if eval \
${$3+:} false
; then :
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2453 $as_echo_n "checking for $2... " >&6; }
2454 if eval \
${$3+:} false
; then :
2455 $as_echo_n "(cached) " >&6
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2459 $as_echo "$ac_res" >&6; }
2461 # Is the header compilable?
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2463 $as_echo_n "checking $2 usability... " >&6; }
2464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2465 /* end confdefs.h. */
2469 if ac_fn_c_try_compile
"$LINENO"; then :
2470 ac_header_compiler
=yes
2472 ac_header_compiler
=no
2474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2476 $as_echo "$ac_header_compiler" >&6; }
2478 # Is the header present?
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2480 $as_echo_n "checking $2 presence... " >&6; }
2481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2482 /* end confdefs.h. */
2485 if ac_fn_c_try_cpp
"$LINENO"; then :
2486 ac_header_preproc
=yes
2488 ac_header_preproc
=no
2490 rm -f conftest.err conftest.i conftest.
$ac_ext
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2492 $as_echo "$ac_header_preproc" >&6; }
2494 # So? What about this header?
2495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2498 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2500 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2504 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2506 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2508 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2510 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2512 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2513 ( $as_echo "## ------------------------------------ ##
2514 ## Report this to wine-devel@winehq.org ##
2515 ## ------------------------------------ ##"
2516 ) |
sed "s/^/$as_me: WARNING: /" >&2
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2520 $as_echo_n "checking for $2... " >&6; }
2521 if eval \
${$3+:} false
; then :
2522 $as_echo_n "(cached) " >&6
2524 eval "$3=\$ac_header_compiler"
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2528 $as_echo "$ac_res" >&6; }
2530 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2532 } # ac_fn_c_check_header_mongrel
2534 # ac_fn_c_try_run LINENO
2535 # ----------------------
2536 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2537 # that executables *can* be run.
2540 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2541 if { { ac_try
="$ac_link"
2543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2544 *) ac_try_echo=$ac_try;;
2546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2547 $as_echo "$ac_try_echo"; } >&5
2548 (eval "$ac_link") 2>&5
2550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2551 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2552 { { case "(($ac_try" in
2553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2554 *) ac_try_echo
=$ac_try;;
2556 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2557 $as_echo "$ac_try_echo"; } >&5
2558 (eval "$ac_try") 2>&5
2560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2561 test $ac_status = 0; }; }; then :
2564 $as_echo "$as_me: program exited with status $ac_status" >&5
2565 $as_echo "$as_me: failed program was:" >&5
2566 sed 's/^/| /' conftest.
$ac_ext >&5
2568 ac_retval
=$ac_status
2570 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2572 as_fn_set_status
$ac_retval
2576 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2577 # -------------------------------------------------------
2578 # Tests whether HEADER exists and can be compiled using the include files in
2579 # INCLUDES, setting the cache variable VAR accordingly.
2580 ac_fn_c_check_header_compile
()
2582 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2584 $as_echo_n "checking for $2... " >&6; }
2585 if eval \
${$3+:} false
; then :
2586 $as_echo_n "(cached) " >&6
2588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2589 /* end confdefs.h. */
2593 if ac_fn_c_try_compile
"$LINENO"; then :
2598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2602 $as_echo "$ac_res" >&6; }
2603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2605 } # ac_fn_c_check_header_compile
2607 # ac_fn_c_check_func LINENO FUNC VAR
2608 # ----------------------------------
2609 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2610 ac_fn_c_check_func
()
2612 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2614 $as_echo_n "checking for $2... " >&6; }
2615 if eval \
${$3+:} false
; then :
2616 $as_echo_n "(cached) " >&6
2618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2619 /* end confdefs.h. */
2620 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2622 #define $2 innocuous_$2
2624 /* System header to define __stub macros and hopefully few prototypes,
2625 which can conflict with char $2 (); below.
2626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2627 <limits.h> exists even on freestanding compilers. */
2630 # include <limits.h>
2632 # include <assert.h>
2637 /* Override any GCC internal prototype to avoid an error.
2638 Use char because int might match the return type of a GCC
2639 builtin and then its argument prototype would still apply. */
2644 /* The GNU C library defines this for functions which it implements
2645 to always fail with ENOSYS. Some functions are actually named
2646 something starting with __ and the normal name is an alias. */
2647 #if defined __stub_$2 || defined __stub___$2
2659 if ac_fn_c_try_link
"$LINENO"; then :
2664 rm -f core conftest.err conftest.
$ac_objext \
2665 conftest
$ac_exeext conftest.
$ac_ext
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2669 $as_echo "$ac_res" >&6; }
2670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2672 } # ac_fn_c_check_func
2674 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2675 # ----------------------------------------------------
2676 # Tries to find if the field MEMBER exists in type AGGR, after including
2677 # INCLUDES, setting cache variable VAR accordingly.
2678 ac_fn_c_check_member
()
2680 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2682 $as_echo_n "checking for $2.$3... " >&6; }
2683 if eval \
${$4+:} false
; then :
2684 $as_echo_n "(cached) " >&6
2686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2687 /* end confdefs.h. */
2699 if ac_fn_c_try_compile
"$LINENO"; then :
2702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2703 /* end confdefs.h. */
2709 if (sizeof ac_aggr.$3)
2715 if ac_fn_c_try_compile
"$LINENO"; then :
2720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2726 $as_echo "$ac_res" >&6; }
2727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2729 } # ac_fn_c_check_member
2731 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2732 # -------------------------------------------
2733 # Tests whether TYPE exists after having included INCLUDES, setting cache
2734 # variable VAR accordingly.
2735 ac_fn_c_check_type
()
2737 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2739 $as_echo_n "checking for $2... " >&6; }
2740 if eval \
${$3+:} false
; then :
2741 $as_echo_n "(cached) " >&6
2744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2745 /* end confdefs.h. */
2756 if ac_fn_c_try_compile
"$LINENO"; then :
2757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2758 /* end confdefs.h. */
2769 if ac_fn_c_try_compile
"$LINENO"; then :
2774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2780 $as_echo "$ac_res" >&6; }
2781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2783 } # ac_fn_c_check_type
2784 cat >config.log
<<_ACEOF
2785 This file contains any messages produced by compilers while
2786 running configure, to aid debugging if configure makes a mistake.
2788 It was created by Wine $as_me 1.7.32, which was
2789 generated by GNU Autoconf 2.69. Invocation command line was
2801 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2802 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2803 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2804 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2805 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2807 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2808 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2810 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2811 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2812 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2813 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2814 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2815 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2816 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2824 test -z "$as_dir" && as_dir
=.
2825 $as_echo "PATH: $as_dir"
2841 # Keep a trace of the command line.
2842 # Strip out --no-create and --no-recursion so they do not pile up.
2843 # Strip out --silent because we don't want to record it for future runs.
2844 # Also quote any args containing shell meta-characters.
2845 # Make two passes to allow for proper duplicate-argument suppression.
2849 ac_must_keep_next
=false
2855 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2856 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2857 |
-silent |
--silent |
--silen |
--sile |
--sil)
2860 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2863 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2865 as_fn_append ac_configure_args1
" '$ac_arg'"
2866 if test $ac_must_keep_next = true
; then
2867 ac_must_keep_next
=false
# Got value, back to normal.
2870 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2871 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2872 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2873 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2874 case "$ac_configure_args0 " in
2875 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2878 -* ) ac_must_keep_next
=true
;;
2881 as_fn_append ac_configure_args
" '$ac_arg'"
2886 { ac_configure_args0
=; unset ac_configure_args0
;}
2887 { ac_configure_args1
=; unset ac_configure_args1
;}
2889 # When interrupted or exit'd, cleanup temporary files, and complete
2890 # config.log. We remove comments because anyway the quotes in there
2891 # would cause problems or look ugly.
2892 # WARNING: Use '\'' to represent an apostrophe within the trap.
2893 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2894 trap 'exit_status=$?
2895 # Save into config.log some information that might help in debugging.
2899 $as_echo "## ---------------- ##
2900 ## Cache variables. ##
2901 ## ---------------- ##"
2903 # The following way of writing the cache mishandles newlines in values,
2905 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2906 eval ac_val=\$$ac_var
2910 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2911 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2914 _ | IFS | as_nl) ;; #(
2915 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2916 *) { eval $ac_var=; unset $ac_var;} ;;
2921 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2922 *${as_nl}ac_space=\ *)
2924 "s/'\''/'\''\\\\'\'''\''/g;
2925 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2928 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2935 $as_echo "## ----------------- ##
2936 ## Output variables. ##
2937 ## ----------------- ##"
2939 for ac_var in $ac_subst_vars
2941 eval ac_val=\$$ac_var
2943 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2945 $as_echo "$ac_var='\''$ac_val'\''"
2949 if test -n "$ac_subst_files"; then
2950 $as_echo "## ------------------- ##
2951 ## File substitutions. ##
2952 ## ------------------- ##"
2954 for ac_var
in $ac_subst_files
2956 eval ac_val
=\$
$ac_var
2958 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2960 $as_echo "$ac_var='\''$ac_val'\''"
2965 if test -s confdefs.h; then
2966 $as_echo "## ----------- ##
2973 test "$ac_signal" != 0 &&
2974 $as_echo "$as_me: caught signal $ac_signal"
2975 $as_echo "$as_me: exit $exit_status"
2977 rm -f core *.core core.conftest.* &&
2978 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2981 for ac_signal
in 1 2 13 15; do
2982 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2986 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2987 rm -f -r conftest
* confdefs.h
2989 $as_echo "/* confdefs.h */" > confdefs.h
2991 # Predefined preprocessor variables.
2993 cat >>confdefs.h
<<_ACEOF
2994 #define PACKAGE_NAME "$PACKAGE_NAME"
2997 cat >>confdefs.h
<<_ACEOF
2998 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3001 cat >>confdefs.h
<<_ACEOF
3002 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3005 cat >>confdefs.h
<<_ACEOF
3006 #define PACKAGE_STRING "$PACKAGE_STRING"
3009 cat >>confdefs.h
<<_ACEOF
3010 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3013 cat >>confdefs.h
<<_ACEOF
3014 #define PACKAGE_URL "$PACKAGE_URL"
3018 # Let the site file select an alternate cache file if it wants to.
3019 # Prefer an explicitly selected file to automatically selected ones.
3022 if test -n "$CONFIG_SITE"; then
3023 # We do not want a PATH search for config.site.
3024 case $CONFIG_SITE in #((
3025 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3026 */*) ac_site_file1
=$CONFIG_SITE;;
3027 *) ac_site_file1
=.
/$CONFIG_SITE;;
3029 elif test "x$prefix" != xNONE
; then
3030 ac_site_file1
=$prefix/share
/config.site
3031 ac_site_file2
=$prefix/etc
/config.site
3033 ac_site_file1
=$ac_default_prefix/share
/config.site
3034 ac_site_file2
=$ac_default_prefix/etc
/config.site
3036 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3038 test "x$ac_site_file" = xNONE
&& continue
3039 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3041 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3042 sed 's/^/| /' "$ac_site_file" >&5
3044 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3046 as_fn_error $?
"failed to load site script $ac_site_file
3047 See \`config.log' for more details" "$LINENO" 5; }
3051 if test -r "$cache_file"; then
3052 # Some versions of bash will fail to source /dev/null (special files
3053 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3054 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3056 $as_echo "$as_me: loading cache $cache_file" >&6;}
3058 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3059 *) .
"./$cache_file";;
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3064 $as_echo "$as_me: creating cache $cache_file" >&6;}
3068 # Check that the precious variables saved in the cache have kept the same
3070 ac_cache_corrupted
=false
3071 for ac_var
in $ac_precious_vars; do
3072 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3073 eval ac_new_set
=\
$ac_env_${ac_var}_set
3074 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3075 eval ac_new_val
=\
$ac_env_${ac_var}_value
3076 case $ac_old_set,$ac_new_set in
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3079 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3080 ac_cache_corrupted
=: ;;
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3083 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3084 ac_cache_corrupted
=: ;;
3087 if test "x$ac_old_val" != "x$ac_new_val"; then
3088 # differences in whitespace do not lead to failure.
3089 ac_old_val_w
=`echo x $ac_old_val`
3090 ac_new_val_w
=`echo x $ac_new_val`
3091 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3093 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3094 ac_cache_corrupted
=:
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3097 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3098 eval $ac_var=\
$ac_old_val
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3101 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3103 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3106 # Pass precious variables to config.status.
3107 if test "$ac_new_set" = set; then
3109 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3110 *) ac_arg
=$ac_var=$ac_new_val ;;
3112 case " $ac_configure_args " in
3113 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3114 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3118 if $ac_cache_corrupted; then
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3122 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3123 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3125 ## -------------------- ##
3126 ## Main body of script. ##
3127 ## -------------------- ##
3130 ac_cpp
='$CPP $CPPFLAGS'
3131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3137 ac_config_headers
="$ac_config_headers include/config.h"
3140 for ac_dir
in tools
"$srcdir"/tools
; do
3141 if test -f "$ac_dir/install-sh"; then
3143 ac_install_sh
="$ac_aux_dir/install-sh -c"
3145 elif test -f "$ac_dir/install.sh"; then
3147 ac_install_sh
="$ac_aux_dir/install.sh -c"
3149 elif test -f "$ac_dir/shtool"; then
3151 ac_install_sh
="$ac_aux_dir/shtool install -c"
3155 if test -z "$ac_aux_dir"; then
3156 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3159 # These three variables are undocumented and unsupported,
3160 # and are intended to be withdrawn in a future Autoconf release.
3161 # They can cause serious problems if a builder's source tree is in a directory
3162 # whose full name contains unusual characters.
3163 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3164 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3165 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3169 libwine_version
="1.0"
3173 # Check whether --enable-win16 was given.
3174 if test "${enable_win16+set}" = set; then :
3175 enableval
=$enable_win16;
3178 # Check whether --enable-win64 was given.
3179 if test "${enable_win64+set}" = set; then :
3180 enableval
=$enable_win64;
3183 # Check whether --enable-tests was given.
3184 if test "${enable_tests+set}" = set; then :
3185 enableval
=$enable_tests;
3188 # Check whether --enable-maintainer-mode was given.
3189 if test "${enable_maintainer_mode+set}" = set; then :
3190 enableval
=$enable_maintainer_mode;
3195 # Check whether --with-alsa was given.
3196 if test "${with_alsa+set}" = set; then :
3197 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3201 # Check whether --with-capi was given.
3202 if test "${with_capi+set}" = set; then :
3207 # Check whether --with-cms was given.
3208 if test "${with_cms+set}" = set; then :
3213 # Check whether --with-coreaudio was given.
3214 if test "${with_coreaudio+set}" = set; then :
3215 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3219 # Check whether --with-cups was given.
3220 if test "${with_cups+set}" = set; then :
3225 # Check whether --with-curses was given.
3226 if test "${with_curses+set}" = set; then :
3227 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3231 # Check whether --with-dbus was given.
3232 if test "${with_dbus+set}" = set; then :
3237 # Check whether --with-fontconfig was given.
3238 if test "${with_fontconfig+set}" = set; then :
3239 withval
=$with_fontconfig;
3243 # Check whether --with-freetype was given.
3244 if test "${with_freetype+set}" = set; then :
3245 withval
=$with_freetype;
3249 # Check whether --with-gettext was given.
3250 if test "${with_gettext+set}" = set; then :
3251 withval
=$with_gettext;
3255 # Check whether --with-gettextpo was given.
3256 if test "${with_gettextpo+set}" = set; then :
3257 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3261 # Check whether --with-gphoto was given.
3262 if test "${with_gphoto+set}" = set; then :
3263 withval
=$with_gphoto;
3267 # Check whether --with-glu was given.
3268 if test "${with_glu+set}" = set; then :
3273 # Check whether --with-gnutls was given.
3274 if test "${with_gnutls+set}" = set; then :
3275 withval
=$with_gnutls;
3279 # Check whether --with-gsm was given.
3280 if test "${with_gsm+set}" = set; then :
3281 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3285 # Check whether --with-gstreamer was given.
3286 if test "${with_gstreamer+set}" = set; then :
3287 withval
=$with_gstreamer;
3291 # Check whether --with-hal was given.
3292 if test "${with_hal+set}" = set; then :
3297 # Check whether --with-jpeg was given.
3298 if test "${with_jpeg+set}" = set; then :
3303 # Check whether --with-ldap was given.
3304 if test "${with_ldap+set}" = set; then :
3305 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3309 # Check whether --with-mpg123 was given.
3310 if test "${with_mpg123+set}" = set; then :
3311 withval
=$with_mpg123;
3315 # Check whether --with-netapi was given.
3316 if test "${with_netapi+set}" = set; then :
3317 withval
=$with_netapi;
3321 # Check whether --with-openal was given.
3322 if test "${with_openal+set}" = set; then :
3323 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3327 # Check whether --with-opencl was given.
3328 if test "${with_opencl+set}" = set; then :
3329 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3333 # Check whether --with-opengl was given.
3334 if test "${with_opengl+set}" = set; then :
3335 withval
=$with_opengl;
3339 # Check whether --with-osmesa was given.
3340 if test "${with_osmesa+set}" = set; then :
3341 withval
=$with_osmesa;
3345 # Check whether --with-oss was given.
3346 if test "${with_oss+set}" = set; then :
3351 # Check whether --with-pcap was given.
3352 if test "${with_pcap+set}" = set; then :
3353 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3357 # Check whether --with-png was given.
3358 if test "${with_png+set}" = set; then :
3363 # Check whether --with-pthread was given.
3364 if test "${with_pthread+set}" = set; then :
3365 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3369 # Check whether --with-sane was given.
3370 if test "${with_sane+set}" = set; then :
3375 # Check whether --with-tiff was given.
3376 if test "${with_tiff+set}" = set; then :
3381 # Check whether --with-v4l was given.
3382 if test "${with_v4l+set}" = set; then :
3387 # Check whether --with-xcomposite was given.
3388 if test "${with_xcomposite+set}" = set; then :
3389 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3393 # Check whether --with-xcursor was given.
3394 if test "${with_xcursor+set}" = set; then :
3395 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3399 # Check whether --with-xinerama was given.
3400 if test "${with_xinerama+set}" = set; then :
3401 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3405 # Check whether --with-xinput was given.
3406 if test "${with_xinput+set}" = set; then :
3407 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3411 # Check whether --with-xinput2 was given.
3412 if test "${with_xinput2+set}" = set; then :
3413 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3417 # Check whether --with-xml was given.
3418 if test "${with_xml+set}" = set; then :
3423 # Check whether --with-xrandr was given.
3424 if test "${with_xrandr+set}" = set; then :
3425 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3429 # Check whether --with-xrender was given.
3430 if test "${with_xrender+set}" = set; then :
3431 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3435 # Check whether --with-xshape was given.
3436 if test "${with_xshape+set}" = set; then :
3437 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3441 # Check whether --with-xshm was given.
3442 if test "${with_xshm+set}" = set; then :
3443 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3447 # Check whether --with-xslt was given.
3448 if test "${with_xslt+set}" = set; then :
3453 # Check whether --with-xxf86vm was given.
3454 if test "${with_xxf86vm+set}" = set; then :
3455 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
3459 # Check whether --with-zlib was given.
3460 if test "${with_zlib+set}" = set; then :
3461 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3466 # Check whether --with-wine-tools was given.
3467 if test "${with_wine_tools+set}" = set; then :
3468 withval
=$with_wine_tools;
3472 # Check whether --with-wine64 was given.
3473 if test "${with_wine64+set}" = set; then :
3474 withval
=$with_wine64;
3478 # Make sure we can run config.sub.
3479 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3480 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3483 $as_echo_n "checking build system type... " >&6; }
3484 if ${ac_cv_build+:} false
; then :
3485 $as_echo_n "(cached) " >&6
3487 ac_build_alias
=$build_alias
3488 test "x$ac_build_alias" = x
&&
3489 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3490 test "x$ac_build_alias" = x
&&
3491 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3492 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3493 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3497 $as_echo "$ac_cv_build" >&6; }
3498 case $ac_cv_build in
3500 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3503 ac_save_IFS
=$IFS; IFS
='-'
3509 # Remember, the first character of IFS is used to create $*,
3510 # except with old shells:
3513 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3517 $as_echo_n "checking host system type... " >&6; }
3518 if ${ac_cv_host+:} false
; then :
3519 $as_echo_n "(cached) " >&6
3521 if test "x$host_alias" = x
; then
3522 ac_cv_host
=$ac_cv_build
3524 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3525 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3530 $as_echo "$ac_cv_host" >&6; }
3533 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3536 ac_save_IFS
=$IFS; IFS
='-'
3542 # Remember, the first character of IFS is used to create $*,
3543 # except with old shells:
3546 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3552 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3553 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3554 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3560 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3562 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3563 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3564 $as_echo_n "(cached) " >&6
3566 cat >conftest.
make <<\_ACEOF
3569 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3571 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3572 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3574 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3576 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3580 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3582 $as_echo "yes" >&6; }
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3586 $as_echo "no" >&6; }
3587 SET_MAKE
="MAKE=${MAKE-make}"
3591 ac_cpp
='$CPP $CPPFLAGS'
3592 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3593 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3594 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3595 if test -n "$ac_tool_prefix"; then
3596 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3597 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if ${ac_cv_prog_CC+:} false
; then :
3601 $as_echo_n "(cached) " >&6
3603 if test -n "$CC"; then
3604 ac_cv_prog_CC
="$CC" # Let the user override the test.
3606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3610 test -z "$as_dir" && as_dir
=.
3611 for ac_exec_ext
in '' $ac_executable_extensions; do
3612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3613 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3624 if test -n "$CC"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3626 $as_echo "$CC" >&6; }
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3634 if test -z "$ac_cv_prog_CC"; then
3636 # Extract the first word of "gcc", so it can be a program name with args.
3637 set dummy gcc
; ac_word
=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3641 $as_echo_n "(cached) " >&6
3643 if test -n "$ac_ct_CC"; then
3644 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3650 test -z "$as_dir" && as_dir
=.
3651 for ac_exec_ext
in '' $ac_executable_extensions; do
3652 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3653 ac_cv_prog_ac_ct_CC
="gcc"
3654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3664 if test -n "$ac_ct_CC"; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3666 $as_echo "$ac_ct_CC" >&6; }
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3672 if test "x$ac_ct_CC" = x
; then
3675 case $cross_compiling:$ac_tool_warned in
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3679 ac_tool_warned
=yes ;;
3687 if test -z "$CC"; then
3688 if test -n "$ac_tool_prefix"; then
3689 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3690 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3692 $as_echo_n "checking for $ac_word... " >&6; }
3693 if ${ac_cv_prog_CC+:} false
; then :
3694 $as_echo_n "(cached) " >&6
3696 if test -n "$CC"; then
3697 ac_cv_prog_CC
="$CC" # Let the user override the test.
3699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3703 test -z "$as_dir" && as_dir
=.
3704 for ac_exec_ext
in '' $ac_executable_extensions; do
3705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3706 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3717 if test -n "$CC"; then
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3719 $as_echo "$CC" >&6; }
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3722 $as_echo "no" >&6; }
3728 if test -z "$CC"; then
3729 # Extract the first word of "cc", so it can be a program name with args.
3730 set dummy cc
; ac_word
=$2
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3732 $as_echo_n "checking for $ac_word... " >&6; }
3733 if ${ac_cv_prog_CC+:} false
; then :
3734 $as_echo_n "(cached) " >&6
3736 if test -n "$CC"; then
3737 ac_cv_prog_CC
="$CC" # Let the user override the test.
3740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3744 test -z "$as_dir" && as_dir
=.
3745 for ac_exec_ext
in '' $ac_executable_extensions; do
3746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3747 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3748 ac_prog_rejected
=yes
3752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3759 if test $ac_prog_rejected = yes; then
3760 # We found a bogon in the path, so make sure we never use it.
3761 set dummy
$ac_cv_prog_CC
3763 if test $# != 0; then
3764 # We chose a different compiler from the bogus one.
3765 # However, it has the same basename, so the bogon will be chosen
3766 # first if we set CC to just the basename; use the full file name.
3768 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3774 if test -n "$CC"; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3776 $as_echo "$CC" >&6; }
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3779 $as_echo "no" >&6; }
3784 if test -z "$CC"; then
3785 if test -n "$ac_tool_prefix"; then
3786 for ac_prog
in cl.exe
3788 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3789 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791 $as_echo_n "checking for $ac_word... " >&6; }
3792 if ${ac_cv_prog_CC+:} false
; then :
3793 $as_echo_n "(cached) " >&6
3795 if test -n "$CC"; then
3796 ac_cv_prog_CC
="$CC" # Let the user override the test.
3798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3802 test -z "$as_dir" && as_dir
=.
3803 for ac_exec_ext
in '' $ac_executable_extensions; do
3804 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3805 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 if test -n "$CC"; then
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3818 $as_echo "$CC" >&6; }
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3825 test -n "$CC" && break
3828 if test -z "$CC"; then
3830 for ac_prog
in cl.exe
3832 # Extract the first word of "$ac_prog", so it can be a program name with args.
3833 set dummy
$ac_prog; ac_word
=$2
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3835 $as_echo_n "checking for $ac_word... " >&6; }
3836 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3837 $as_echo_n "(cached) " >&6
3839 if test -n "$ac_ct_CC"; then
3840 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3846 test -z "$as_dir" && as_dir
=.
3847 for ac_exec_ext
in '' $ac_executable_extensions; do
3848 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3849 ac_cv_prog_ac_ct_CC
="$ac_prog"
3850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3860 if test -n "$ac_ct_CC"; then
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3862 $as_echo "$ac_ct_CC" >&6; }
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3865 $as_echo "no" >&6; }
3869 test -n "$ac_ct_CC" && break
3872 if test "x$ac_ct_CC" = x
; then
3875 case $cross_compiling:$ac_tool_warned in
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3879 ac_tool_warned
=yes ;;
3888 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3890 as_fn_error $?
"no acceptable C compiler found in \$PATH
3891 See \`config.log' for more details" "$LINENO" 5; }
3893 # Provide some information about the compiler.
3894 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3897 for ac_option
in --version -v -V -qversion; do
3898 { { ac_try
="$ac_compiler $ac_option >&5"
3900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3901 *) ac_try_echo=$ac_try;;
3903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3904 $as_echo "$ac_try_echo"; } >&5
3905 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3907 if test -s conftest.err; then
3909 ... rest of stderr output deleted ...
3910 10q' conftest.err >conftest.er1
3911 cat conftest.er1 >&5
3913 rm -f conftest.er1 conftest.err
3914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3915 test $ac_status = 0; }
3918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h. */
3929 ac_clean_files_save=$ac_clean_files
3930 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3931 # Try to create an executable without -o first, disregard a.out.
3932 # It will help us diagnose broken compilers, and finding out an intuition
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3935 $as_echo_n "checking whether the C compiler works... " >&6; }
3936 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3938 # The possible output files:
3939 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3942 for ac_file in $ac_files
3945 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3946 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3951 if { { ac_try="$ac_link_default"
3953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3954 *) ac_try_echo
=$ac_try;;
3956 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3957 $as_echo "$ac_try_echo"; } >&5
3958 (eval "$ac_link_default") 2>&5
3960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3961 test $ac_status = 0; }; then :
3962 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3963 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3964 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3965 # so that the user can short-circuit this test for compilers unknown to
3967 for ac_file
in $ac_files ''
3969 test -f "$ac_file" ||
continue
3971 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3974 # We found the default executable, but exeext='' is most
3978 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3980 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3982 # We set ac_cv_exeext here because the later test for it is not
3983 # safe: cross compilers may not add the suffix if given an `-o'
3984 # argument, so we may need to know it at that point already.
3985 # Even if this section looks crufty: it has the advantage of
3992 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3997 if test -z "$ac_file"; then :
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3999 $as_echo "no" >&6; }
4000 $as_echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.
$ac_ext >&5
4003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4005 as_fn_error
77 "C compiler cannot create executables
4006 See \`config.log' for more details" "$LINENO" 5; }
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4009 $as_echo "yes" >&6; }
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4012 $as_echo_n "checking for C compiler default output file name... " >&6; }
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4014 $as_echo "$ac_file" >&6; }
4015 ac_exeext
=$ac_cv_exeext
4017 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4018 ac_clean_files
=$ac_clean_files_save
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4020 $as_echo_n "checking for suffix of executables... " >&6; }
4021 if { { ac_try
="$ac_link"
4023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4024 *) ac_try_echo=$ac_try;;
4026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4027 $as_echo "$ac_try_echo"; } >&5
4028 (eval "$ac_link") 2>&5
4030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4031 test $ac_status = 0; }; then :
4032 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4033 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4034 # work properly (i.e., refer to `conftest.exe'), while it won't with
4036 for ac_file
in conftest.exe conftest conftest.
*; do
4037 test -f "$ac_file" ||
continue
4039 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4040 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4048 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4049 See \`config.log' for more details" "$LINENO" 5; }
4051 rm -f conftest conftest
$ac_cv_exeext
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4053 $as_echo "$ac_cv_exeext" >&6; }
4055 rm -f conftest.
$ac_ext
4056 EXEEXT
=$ac_cv_exeext
4058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4064 FILE *f = fopen ("conftest.out", "w");
4065 return ferror (f) || fclose (f) != 0;
4071 ac_clean_files
="$ac_clean_files conftest.out"
4072 # Check that the compiler produces executables we can run. If not, either
4073 # the compiler is broken, or we cross compile.
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4075 $as_echo_n "checking whether we are cross compiling... " >&6; }
4076 if test "$cross_compiling" != yes; then
4077 { { ac_try
="$ac_link"
4079 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4080 *) ac_try_echo=$ac_try;;
4082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4083 $as_echo "$ac_try_echo"; } >&5
4084 (eval "$ac_link") 2>&5
4086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4087 test $ac_status = 0; }
4088 if { ac_try='./conftest$ac_cv_exeext'
4089 { { case "(($ac_try" in
4090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4091 *) ac_try_echo
=$ac_try;;
4093 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4094 $as_echo "$ac_try_echo"; } >&5
4095 (eval "$ac_try") 2>&5
4097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4098 test $ac_status = 0; }; }; then
4101 if test "$cross_compiling" = maybe
; then
4104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4106 as_fn_error $?
"cannot run C compiled programs.
4107 If you meant to cross compile, use \`--host'.
4108 See \`config.log' for more details" "$LINENO" 5; }
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4113 $as_echo "$cross_compiling" >&6; }
4115 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4116 ac_clean_files
=$ac_clean_files_save
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4118 $as_echo_n "checking for suffix of object files... " >&6; }
4119 if ${ac_cv_objext+:} false
; then :
4120 $as_echo_n "(cached) " >&6
4122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4133 rm -f conftest.o conftest.obj
4134 if { { ac_try
="$ac_compile"
4136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4137 *) ac_try_echo=$ac_try;;
4139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4140 $as_echo "$ac_try_echo"; } >&5
4141 (eval "$ac_compile") 2>&5
4143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4144 test $ac_status = 0; }; then :
4145 for ac_file in conftest.o conftest.obj conftest.*; do
4146 test -f "$ac_file" || continue;
4148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4149 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4154 $as_echo "$as_me: failed program was:" >&5
4155 sed 's/^/| /' conftest.$ac_ext >&5
4157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4159 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4160 See \
`config.log' for more details" "$LINENO" 5; }
4162 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4165 $as_echo "$ac_cv_objext" >&6; }
4166 OBJEXT=$ac_cv_objext
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4169 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4170 if ${ac_cv_c_compiler_gnu+:} false; then :
4171 $as_echo_n "(cached) " >&6
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4187 if ac_fn_c_try_compile "$LINENO"; then :
4192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4193 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4197 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4198 if test $ac_compiler_gnu = yes; then
4203 ac_test_CFLAGS=${CFLAGS+set}
4204 ac_save_CFLAGS=$CFLAGS
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4206 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4207 if ${ac_cv_prog_cc_g+:} false; then :
4208 $as_echo_n "(cached) " >&6
4210 ac_save_c_werror_flag=$ac_c_werror_flag
4211 ac_c_werror_flag=yes
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4225 if ac_fn_c_try_compile "$LINENO"; then :
4229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230 /* end confdefs.h. */
4240 if ac_fn_c_try_compile "$LINENO"; then :
4243 ac_c_werror_flag=$ac_save_c_werror_flag
4245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246 /* end confdefs.h. */
4256 if ac_fn_c_try_compile "$LINENO"; then :
4259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4264 ac_c_werror_flag=$ac_save_c_werror_flag
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4267 $as_echo "$ac_cv_prog_cc_g" >&6; }
4268 if test "$ac_test_CFLAGS" = set; then
4269 CFLAGS=$ac_save_CFLAGS
4270 elif test $ac_cv_prog_cc_g = yes; then
4271 if test "$GCC" = yes; then
4277 if test "$GCC" = yes; then
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4284 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4285 if ${ac_cv_prog_cc_c89+:} false; then :
4286 $as_echo_n "(cached) " >&6
4288 ac_cv_prog_cc_c89=no
4290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4291 /* end confdefs.h. */
4295 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4296 struct buf { int x; };
4297 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4298 static char *e (p, i)
4304 static char *f (char * (*g) (char **, int), char **p, ...)
4309 s = g (p, va_arg (v,int));
4314 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4315 function prototypes and stuff, but not '\xHH' hex character constants.
4316 These don't provoke an error unfortunately, instead are silently treated
4317 as 'x'. The following induces an error, until -std is added to get
4318 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4319 array size at least. It's necessary to write '\x00'==0 to get something
4320 that's true only with -std. */
4321 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4323 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4324 inside strings and character constants. */
4326 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4328 int test (int i, double x);
4329 struct s1 {int (*f) (int a);};
4330 struct s2 {int (*f) (double a);};
4331 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4337 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4342 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4343 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4345 CC="$ac_save_CC $ac_arg"
4346 if ac_fn_c_try_compile "$LINENO"; then :
4347 ac_cv_prog_cc_c89=$ac_arg
4349 rm -f core conftest.err conftest.$ac_objext
4350 test "x$ac_cv_prog_cc_c89" != "xno" && break
4352 rm -f conftest.$ac_ext
4357 case "x$ac_cv_prog_cc_c89" in
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4360 $as_echo "none needed" >&6; } ;;
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4363 $as_echo "unsupported" >&6; } ;;
4365 CC="$CC $ac_cv_prog_cc_c89"
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4367 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4369 if test "x$ac_cv_prog_cc_c89" != xno; then :
4374 ac_cpp='$CPP $CPPFLAGS'
4375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4380 ac_cpp='$CXXCPP $CPPFLAGS'
4381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4384 if test -z "$CXX"; then
4385 if test -n "$CCC"; then
4388 if test -n "$ac_tool_prefix"; then
4389 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4391 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4392 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4394 $as_echo_n "checking for $ac_word... " >&6; }
4395 if ${ac_cv_prog_CXX+:} false; then :
4396 $as_echo_n "(cached) " >&6
4398 if test -n "$CXX"; then
4399 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4405 test -z "$as_dir" && as_dir=.
4406 for ac_exec_ext in '' $ac_executable_extensions; do
4407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4408 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4419 if test -n "$CXX"; then
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4421 $as_echo "$CXX" >&6; }
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4424 $as_echo "no" >&6; }
4428 test -n "$CXX" && break
4431 if test -z "$CXX"; then
4433 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4435 # Extract the first word of "$ac_prog", so it can be a program name with args.
4436 set dummy $ac_prog; ac_word=$2
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4438 $as_echo_n "checking for $ac_word... " >&6; }
4439 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4440 $as_echo_n "(cached) " >&6
4442 if test -n "$ac_ct_CXX"; then
4443 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4449 test -z "$as_dir" && as_dir=.
4450 for ac_exec_ext in '' $ac_executable_extensions; do
4451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4452 ac_cv_prog_ac_ct_CXX="$ac_prog"
4453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4463 if test -n "$ac_ct_CXX"; then
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4465 $as_echo "$ac_ct_CXX" >&6; }
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468 $as_echo "no" >&6; }
4472 test -n "$ac_ct_CXX" && break
4475 if test "x$ac_ct_CXX" = x; then
4478 case $cross_compiling:$ac_tool_warned in
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4482 ac_tool_warned=yes ;;
4490 # Provide some information about the compiler.
4491 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4494 for ac_option in --version -v -V -qversion; do
4495 { { ac_try="$ac_compiler $ac_option >&5"
4497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4498 *) ac_try_echo
=$ac_try;;
4500 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4501 $as_echo "$ac_try_echo"; } >&5
4502 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4504 if test -s conftest.err
; then
4506 ... rest of stderr output deleted ...
4507 10q' conftest.err
>conftest.er1
4508 cat conftest.er1
>&5
4510 rm -f conftest.er1 conftest.err
4511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4512 test $ac_status = 0; }
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4516 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4517 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4518 $as_echo_n "(cached) " >&6
4520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4534 if ac_fn_cxx_try_compile
"$LINENO"; then :
4539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4540 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4544 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4545 if test $ac_compiler_gnu = yes; then
4550 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4551 ac_save_CXXFLAGS
=$CXXFLAGS
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4553 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4554 if ${ac_cv_prog_cxx_g+:} false
; then :
4555 $as_echo_n "(cached) " >&6
4557 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4558 ac_cxx_werror_flag
=yes
4561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4572 if ac_fn_cxx_try_compile
"$LINENO"; then :
4573 ac_cv_prog_cxx_g
=yes
4576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4587 if ac_fn_cxx_try_compile
"$LINENO"; then :
4590 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4603 if ac_fn_cxx_try_compile
"$LINENO"; then :
4604 ac_cv_prog_cxx_g
=yes
4606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4611 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4614 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4615 if test "$ac_test_CXXFLAGS" = set; then
4616 CXXFLAGS
=$ac_save_CXXFLAGS
4617 elif test $ac_cv_prog_cxx_g = yes; then
4618 if test "$GXX" = yes; then
4624 if test "$GXX" = yes; then
4631 ac_cpp
='$CPP $CPPFLAGS'
4632 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4633 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4634 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4636 if test -n "$ac_tool_prefix"; then
4637 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4638 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4640 $as_echo_n "checking for $ac_word... " >&6; }
4641 if ${ac_cv_prog_CPPBIN+:} false
; then :
4642 $as_echo_n "(cached) " >&6
4644 if test -n "$CPPBIN"; then
4645 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4651 test -z "$as_dir" && as_dir
=.
4652 for ac_exec_ext
in '' $ac_executable_extensions; do
4653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4654 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4664 CPPBIN
=$ac_cv_prog_CPPBIN
4665 if test -n "$CPPBIN"; then
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4667 $as_echo "$CPPBIN" >&6; }
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4670 $as_echo "no" >&6; }
4675 if test -z "$ac_cv_prog_CPPBIN"; then
4676 ac_ct_CPPBIN
=$CPPBIN
4677 # Extract the first word of "cpp", so it can be a program name with args.
4678 set dummy cpp
; ac_word
=$2
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4680 $as_echo_n "checking for $ac_word... " >&6; }
4681 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4682 $as_echo_n "(cached) " >&6
4684 if test -n "$ac_ct_CPPBIN"; then
4685 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4691 test -z "$as_dir" && as_dir
=.
4692 for ac_exec_ext
in '' $ac_executable_extensions; do
4693 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4694 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4704 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4705 if test -n "$ac_ct_CPPBIN"; then
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4707 $as_echo "$ac_ct_CPPBIN" >&6; }
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4710 $as_echo "no" >&6; }
4713 if test "x$ac_ct_CPPBIN" = x
; then
4716 case $cross_compiling:$ac_tool_warned in
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4720 ac_tool_warned
=yes ;;
4722 CPPBIN
=$ac_ct_CPPBIN
4725 CPPBIN
="$ac_cv_prog_CPPBIN"
4729 cat >>confdefs.h
<<_ACEOF
4730 #define EXEEXT "$ac_exeext"
4736 if test "x$enable_win64" = "xyes"
4741 notice_platform
="64-bit "
4748 notice_platform
="32-bit "
4751 enable_win16
=${enable_win16:-yes}
4753 with_fontconfig
=${with_fontconfig:-no}
4756 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4761 $as_echo_n "checking whether $CC works... " >&6; }
4763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4774 if ac_fn_c_try_link
"$LINENO"; then :
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4776 $as_echo "yes" >&6; }
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4779 $as_echo "no" >&6; }
4780 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4782 rm -f core conftest.err conftest.
$ac_objext \
4783 conftest
$ac_exeext conftest.
$ac_ext
4785 notice_platform
="32-bit "
4788 enable_win16
=${enable_win16:-yes}
4790 if test "x${GCC}" = "xyes"
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4793 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4800 void func(__builtin_ms_va_list *args);
4805 if ac_fn_c_try_compile
"$LINENO"; then :
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4807 $as_echo "yes" >&6; }
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4810 $as_echo "no" >&6; }
4811 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4821 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4823 /* end confdefs.h. */
4824 int ac_test(int i) { return i; }
4828 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4833 if ac_fn_c_try_link
"$LINENO"; then :
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4835 $as_echo "yes" >&6; }
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4838 $as_echo "no" >&6; }
4839 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4841 rm -f core conftest.err conftest.
$ac_objext \
4842 conftest
$ac_exeext conftest.
$ac_ext
4843 CFLAGS
="$CFLAGS -marm"
4847 *-mingw32*|
*-cygwin*)
4848 enable_win16
=${enable_win16:-no}
4849 CFLAGS
="$CFLAGS -D_WIN32"
4852 enable_win16
=${enable_win16:-yes}
4856 enable_win16
=${enable_win16:-no}
4857 enable_win64
=${enable_win64:-no}
4859 enable_winetest
=${enable_winetest:-$enable_tests}
4861 if test -n "$with_wine64"
4863 if test "x$enable_win64" = "xyes"
4865 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4866 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4868 enable_fonts
=${enable_fonts:-no}
4869 enable_server
=${enable_server:-no}
4870 elif test "x$enable_win64" = "xyes"
4872 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4876 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4877 if ${wine_cv_toolsdir+:} false
; then :
4878 $as_echo_n "(cached) " >&6
4880 wine_cv_toolsdir
="$with_wine_tools"
4881 if test -z "$with_wine_tools"; then
4882 if test "$cross_compiling" = "yes"; then
4883 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4884 elif test -n "$with_wine64"; then
4885 wine_cv_toolsdir
="$with_wine64"
4888 if test -z "$wine_cv_toolsdir"; then
4889 wine_makedep
=tools
/makedep
4890 wine_cv_toolsdir
="\$(top_builddir)"
4891 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4892 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4893 case "$wine_cv_toolsdir" in
4895 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4897 enable_tools
=${enable_tools:-no}
4898 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4900 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4904 $as_echo "$wine_cv_toolsdir" >&6; }
4905 TOOLSDIR
=$wine_cv_toolsdir
4907 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4909 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4915 # Extract the first word of "$ac_prog", so it can be a program name with args.
4916 set dummy
$ac_prog; ac_word
=$2
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 $as_echo_n "checking for $ac_word... " >&6; }
4919 if ${ac_cv_prog_FLEX+:} false
; then :
4920 $as_echo_n "(cached) " >&6
4922 if test -n "$FLEX"; then
4923 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4929 test -z "$as_dir" && as_dir
=.
4930 for ac_exec_ext
in '' $ac_executable_extensions; do
4931 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4932 ac_cv_prog_FLEX
="$ac_prog"
4933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 FLEX
=$ac_cv_prog_FLEX
4943 if test -n "$FLEX"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4945 $as_echo "$FLEX" >&6; }
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 $as_echo "no" >&6; }
4952 test -n "$FLEX" && break
4954 test -n "$FLEX" || FLEX
="none"
4956 if test "$FLEX" = "none"
4958 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4961 $as_echo_n "checking whether flex is recent enough... " >&6; }
4962 cat >conftest.l
<<EOF
4964 #include "prediluvian.h"
4968 if $FLEX -t conftest.l
>/dev
/null
2>&5
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4971 $as_echo "yes" >&6; }
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4974 $as_echo "no" >&6; }
4975 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4978 for ac_prog
in bison
4980 # Extract the first word of "$ac_prog", so it can be a program name with args.
4981 set dummy
$ac_prog; ac_word
=$2
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983 $as_echo_n "checking for $ac_word... " >&6; }
4984 if ${ac_cv_prog_BISON+:} false
; then :
4985 $as_echo_n "(cached) " >&6
4987 if test -n "$BISON"; then
4988 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4994 test -z "$as_dir" && as_dir
=.
4995 for ac_exec_ext
in '' $ac_executable_extensions; do
4996 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_BISON
="$ac_prog"
4998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 BISON
=$ac_cv_prog_BISON
5008 if test -n "$BISON"; then
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5010 $as_echo "$BISON" >&6; }
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5017 test -n "$BISON" && break
5019 test -n "$BISON" || BISON
="none"
5021 if test "$BISON" = "none"
5023 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5026 if test -n "$ac_tool_prefix"; then
5027 for ac_prog
in ar gar
5029 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5030 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if ${ac_cv_prog_AR+:} false
; then :
5034 $as_echo_n "(cached) " >&6
5036 if test -n "$AR"; then
5037 ac_cv_prog_AR
="$AR" # Let the user override the test.
5039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5043 test -z "$as_dir" && as_dir
=.
5044 for ac_exec_ext
in '' $ac_executable_extensions; do
5045 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5046 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5057 if test -n "$AR"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5059 $as_echo "$AR" >&6; }
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5066 test -n "$AR" && break
5069 if test -z "$AR"; then
5071 for ac_prog
in ar gar
5073 # Extract the first word of "$ac_prog", so it can be a program name with args.
5074 set dummy
$ac_prog; ac_word
=$2
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5076 $as_echo_n "checking for $ac_word... " >&6; }
5077 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5078 $as_echo_n "(cached) " >&6
5080 if test -n "$ac_ct_AR"; then
5081 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5087 test -z "$as_dir" && as_dir
=.
5088 for ac_exec_ext
in '' $ac_executable_extensions; do
5089 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5090 ac_cv_prog_ac_ct_AR
="$ac_prog"
5091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5101 if test -n "$ac_ct_AR"; then
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5103 $as_echo "$ac_ct_AR" >&6; }
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5110 test -n "$ac_ct_AR" && break
5113 if test "x$ac_ct_AR" = x
; then
5116 case $cross_compiling:$ac_tool_warned in
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5120 ac_tool_warned
=yes ;;
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5128 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if ${ac_cv_prog_STRIP+:} false
; then :
5132 $as_echo_n "(cached) " >&6
5134 if test -n "$STRIP"; then
5135 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5141 test -z "$as_dir" && as_dir
=.
5142 for ac_exec_ext
in '' $ac_executable_extensions; do
5143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5144 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5154 STRIP
=$ac_cv_prog_STRIP
5155 if test -n "$STRIP"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5157 $as_echo "$STRIP" >&6; }
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5165 if test -z "$ac_cv_prog_STRIP"; then
5167 # Extract the first word of "strip", so it can be a program name with args.
5168 set dummy strip
; ac_word
=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5172 $as_echo_n "(cached) " >&6
5174 if test -n "$ac_ct_STRIP"; then
5175 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5181 test -z "$as_dir" && as_dir
=.
5182 for ac_exec_ext
in '' $ac_executable_extensions; do
5183 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5184 ac_cv_prog_ac_ct_STRIP
="strip"
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5194 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5195 if test -n "$ac_ct_STRIP"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5197 $as_echo "$ac_ct_STRIP" >&6; }
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5203 if test "x$ac_ct_STRIP" = x
; then
5206 case $cross_compiling:$ac_tool_warned in
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5210 ac_tool_warned
=yes ;;
5215 STRIP
="$ac_cv_prog_STRIP"
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5222 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5224 $as_echo_n "checking for $ac_word... " >&6; }
5225 if ${ac_cv_prog_RANLIB+:} false
; then :
5226 $as_echo_n "(cached) " >&6
5228 if test -n "$RANLIB"; then
5229 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir
=.
5236 for ac_exec_ext
in '' $ac_executable_extensions; do
5237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5238 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5248 RANLIB
=$ac_cv_prog_RANLIB
5249 if test -n "$RANLIB"; then
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5251 $as_echo "$RANLIB" >&6; }
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5254 $as_echo "no" >&6; }
5259 if test -z "$ac_cv_prog_RANLIB"; then
5260 ac_ct_RANLIB
=$RANLIB
5261 # Extract the first word of "ranlib", so it can be a program name with args.
5262 set dummy ranlib
; ac_word
=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5266 $as_echo_n "(cached) " >&6
5268 if test -n "$ac_ct_RANLIB"; then
5269 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir
=.
5276 for ac_exec_ext
in '' $ac_executable_extensions; do
5277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5278 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5289 if test -n "$ac_ct_RANLIB"; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5291 $as_echo "$ac_ct_RANLIB" >&6; }
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5297 if test "x$ac_ct_RANLIB" = x
; then
5300 case $cross_compiling:$ac_tool_warned in
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5304 ac_tool_warned
=yes ;;
5306 RANLIB
=$ac_ct_RANLIB
5309 RANLIB
="$ac_cv_prog_RANLIB"
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5313 $as_echo_n "checking whether ln -s works... " >&6; }
5315 if test "$LN_S" = "ln -s"; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5317 $as_echo "yes" >&6; }
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5320 $as_echo "no, using $LN_S" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5324 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5325 if ${ac_cv_path_GREP+:} false
; then :
5326 $as_echo_n "(cached) " >&6
5328 if test -z "$GREP"; then
5329 ac_path_GREP_found
=false
5330 # Loop through the user's path and test for each of PROGNAME-LIST
5331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5332 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5335 test -z "$as_dir" && as_dir
=.
5336 for ac_prog
in grep ggrep
; do
5337 for ac_exec_ext
in '' $ac_executable_extensions; do
5338 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5339 as_fn_executable_p
"$ac_path_GREP" ||
continue
5340 # Check for GNU ac_path_GREP and select it if it is found.
5341 # Check for GNU $ac_path_GREP
5342 case `"$ac_path_GREP" --version 2>&1` in
5344 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5347 $as_echo_n 0123456789 >"conftest.in"
5350 cat "conftest.in" "conftest.in" >"conftest.tmp"
5351 mv "conftest.tmp" "conftest.in"
5352 cp "conftest.in" "conftest.nl"
5353 $as_echo 'GREP' >> "conftest.nl"
5354 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5355 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5356 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5357 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5358 # Best one so far, save it but keep looking for a better one
5359 ac_cv_path_GREP
="$ac_path_GREP"
5360 ac_path_GREP_max
=$ac_count
5362 # 10*(2^10) chars as input seems more than enough
5363 test $ac_count -gt 10 && break
5365 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5368 $ac_path_GREP_found && break 3
5373 if test -z "$ac_cv_path_GREP"; then
5374 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5377 ac_cv_path_GREP
=$GREP
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5382 $as_echo "$ac_cv_path_GREP" >&6; }
5383 GREP
="$ac_cv_path_GREP"
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5387 $as_echo_n "checking for egrep... " >&6; }
5388 if ${ac_cv_path_EGREP+:} false
; then :
5389 $as_echo_n "(cached) " >&6
5391 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5392 then ac_cv_path_EGREP
="$GREP -E"
5394 if test -z "$EGREP"; then
5395 ac_path_EGREP_found
=false
5396 # Loop through the user's path and test for each of PROGNAME-LIST
5397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5398 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5401 test -z "$as_dir" && as_dir
=.
5402 for ac_prog
in egrep; do
5403 for ac_exec_ext
in '' $ac_executable_extensions; do
5404 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5405 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5406 # Check for GNU ac_path_EGREP and select it if it is found.
5407 # Check for GNU $ac_path_EGREP
5408 case `"$ac_path_EGREP" --version 2>&1` in
5410 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5413 $as_echo_n 0123456789 >"conftest.in"
5416 cat "conftest.in" "conftest.in" >"conftest.tmp"
5417 mv "conftest.tmp" "conftest.in"
5418 cp "conftest.in" "conftest.nl"
5419 $as_echo 'EGREP' >> "conftest.nl"
5420 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5421 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5422 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5423 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5424 # Best one so far, save it but keep looking for a better one
5425 ac_cv_path_EGREP
="$ac_path_EGREP"
5426 ac_path_EGREP_max
=$ac_count
5428 # 10*(2^10) chars as input seems more than enough
5429 test $ac_count -gt 10 && break
5431 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5434 $ac_path_EGREP_found && break 3
5439 if test -z "$ac_cv_path_EGREP"; then
5440 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5443 ac_cv_path_EGREP
=$EGREP
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5449 $as_echo "$ac_cv_path_EGREP" >&6; }
5450 EGREP
="$ac_cv_path_EGREP"
5453 # Extract the first word of "ldconfig", so it can be a program name with args.
5454 set dummy ldconfig
; ac_word
=$2
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5456 $as_echo_n "checking for $ac_word... " >&6; }
5457 if ${ac_cv_path_LDCONFIG+:} false
; then :
5458 $as_echo_n "(cached) " >&6
5462 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5466 for as_dir
in /sbin
/usr
/sbin
$PATH
5469 test -z "$as_dir" && as_dir
=.
5470 for ac_exec_ext
in '' $ac_executable_extensions; do
5471 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5484 LDCONFIG
=$ac_cv_path_LDCONFIG
5485 if test -n "$LDCONFIG"; then
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5487 $as_echo "$LDCONFIG" >&6; }
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5490 $as_echo "no" >&6; }
5494 for ac_prog
in msgfmt
5496 # Extract the first word of "$ac_prog", so it can be a program name with args.
5497 set dummy
$ac_prog; ac_word
=$2
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499 $as_echo_n "checking for $ac_word... " >&6; }
5500 if ${ac_cv_prog_MSGFMT+:} false
; then :
5501 $as_echo_n "(cached) " >&6
5503 if test -n "$MSGFMT"; then
5504 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5510 test -z "$as_dir" && as_dir
=.
5511 for ac_exec_ext
in '' $ac_executable_extensions; do
5512 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5513 ac_cv_prog_MSGFMT
="$ac_prog"
5514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5523 MSGFMT
=$ac_cv_prog_MSGFMT
5524 if test -n "$MSGFMT"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5526 $as_echo "$MSGFMT" >&6; }
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5529 $as_echo "no" >&6; }
5533 test -n "$MSGFMT" && break
5535 test -n "$MSGFMT" || MSGFMT
="false"
5537 if ${ac_tool_prefix+:} false
; then :
5538 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5539 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5543 $as_echo_n "(cached) " >&6
5545 if test -n "$PKG_CONFIG"; then
5546 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5552 test -z "$as_dir" && as_dir
=.
5553 for ac_exec_ext
in '' $ac_executable_extensions; do
5554 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5555 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5565 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5566 if test -n "$PKG_CONFIG"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5568 $as_echo "$PKG_CONFIG" >&6; }
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5576 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5577 if test "x$cross_compiling" = xyes
; then :
5580 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5581 # Extract the first word of "pkg-config", so it can be a program name with args.
5582 set dummy pkg-config
; ac_word
=$2
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5584 $as_echo_n "checking for $ac_word... " >&6; }
5585 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5586 $as_echo_n "(cached) " >&6
5588 if test -n "$PKG_CONFIG"; then
5589 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5595 test -z "$as_dir" && as_dir
=.
5596 for ac_exec_ext
in '' $ac_executable_extensions; do
5597 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5598 ac_cv_prog_PKG_CONFIG
="pkg-config"
5599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5609 if test -n "$PKG_CONFIG"; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5611 $as_echo "$PKG_CONFIG" >&6; }
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5620 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5623 if test "x$enable_maintainer_mode" != "xyes"
5630 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5631 for ac_prog
in fontforge
5633 # Extract the first word of "$ac_prog", so it can be a program name with args.
5634 set dummy
$ac_prog; ac_word
=$2
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5636 $as_echo_n "checking for $ac_word... " >&6; }
5637 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5638 $as_echo_n "(cached) " >&6
5640 if test -n "$FONTFORGE"; then
5641 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5647 test -z "$as_dir" && as_dir
=.
5648 for ac_exec_ext
in '' $ac_executable_extensions; do
5649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5650 ac_cv_prog_FONTFORGE
="$ac_prog"
5651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5660 FONTFORGE
=$ac_cv_prog_FONTFORGE
5661 if test -n "$FONTFORGE"; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5663 $as_echo "$FONTFORGE" >&6; }
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5666 $as_echo "no" >&6; }
5670 test -n "$FONTFORGE" && break
5672 test -n "$FONTFORGE" || FONTFORGE
="false"
5676 # Extract the first word of "$ac_prog", so it can be a program name with args.
5677 set dummy
$ac_prog; ac_word
=$2
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5679 $as_echo_n "checking for $ac_word... " >&6; }
5680 if ${ac_cv_prog_RSVG+:} false
; then :
5681 $as_echo_n "(cached) " >&6
5683 if test -n "$RSVG"; then
5684 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir
=.
5691 for ac_exec_ext
in '' $ac_executable_extensions; do
5692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5693 ac_cv_prog_RSVG
="$ac_prog"
5694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5703 RSVG
=$ac_cv_prog_RSVG
5704 if test -n "$RSVG"; then
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5706 $as_echo "$RSVG" >&6; }
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5709 $as_echo "no" >&6; }
5713 test -n "$RSVG" && break
5715 test -n "$RSVG" || RSVG
="false"
5717 for ac_prog
in convert
5719 # Extract the first word of "$ac_prog", so it can be a program name with args.
5720 set dummy
$ac_prog; ac_word
=$2
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5722 $as_echo_n "checking for $ac_word... " >&6; }
5723 if ${ac_cv_prog_CONVERT+:} false
; then :
5724 $as_echo_n "(cached) " >&6
5726 if test -n "$CONVERT"; then
5727 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5733 test -z "$as_dir" && as_dir
=.
5734 for ac_exec_ext
in '' $ac_executable_extensions; do
5735 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5736 ac_cv_prog_CONVERT
="$ac_prog"
5737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 CONVERT
=$ac_cv_prog_CONVERT
5747 if test -n "$CONVERT"; then
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5749 $as_echo "$CONVERT" >&6; }
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 $as_echo "no" >&6; }
5756 test -n "$CONVERT" && break
5758 test -n "$CONVERT" || CONVERT
="false"
5760 for ac_prog
in icotool
5762 # Extract the first word of "$ac_prog", so it can be a program name with args.
5763 set dummy
$ac_prog; ac_word
=$2
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5765 $as_echo_n "checking for $ac_word... " >&6; }
5766 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5767 $as_echo_n "(cached) " >&6
5769 if test -n "$ICOTOOL"; then
5770 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5776 test -z "$as_dir" && as_dir
=.
5777 for ac_exec_ext
in '' $ac_executable_extensions; do
5778 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5779 ac_cv_prog_ICOTOOL
="$ac_prog"
5780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5789 ICOTOOL
=$ac_cv_prog_ICOTOOL
5790 if test -n "$ICOTOOL"; then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5792 $as_echo "$ICOTOOL" >&6; }
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 $as_echo "no" >&6; }
5799 test -n "$ICOTOOL" && break
5801 test -n "$ICOTOOL" || ICOTOOL
="false"
5803 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5804 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5806 if test "$CONVERT" = false
5808 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5811 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5812 convert_version
=`convert --version | head -n1`
5813 if test "x$convert_version" != "x"
5815 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5816 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5817 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5822 if test "$CONVERT" = false
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5825 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5826 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5829 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5833 if test "$ICOTOOL" = false
5835 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5838 $as_echo_n "checking for recent enough icotool... " >&6; }
5839 icotool_version
=`icotool --version | head -n1`
5840 if test "x$icotool_version" != "x"
5842 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5843 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5844 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5847 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5850 if test "$ICOTOOL" = false
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5853 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5854 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5857 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5863 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5866 test "x$with_gettext" != xno || MSGFMT
=false
5867 if test "$MSGFMT" != "false"
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5870 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5871 cat >conftest.po
<<EOF
5877 if $MSGFMT -o /dev
/null conftest.po
2>&5
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5880 $as_echo "yes" >&6; }
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5887 if test "$MSGFMT" = false
; then :
5888 case "x$with_gettext" in
5889 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5891 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5892 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5898 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5899 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5900 $as_echo_n "(cached) " >&6
5902 ac_check_lib_save_LIBS
=$LIBS
5904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5905 /* end confdefs.h. */
5907 /* Override any GCC internal prototype to avoid an error.
5908 Use char because int might match the return type of a GCC
5909 builtin and then its argument prototype would still apply. */
5913 char i386_set_ldt ();
5917 return i386_set_ldt ();
5922 if ac_fn_c_try_link
"$LINENO"; then :
5923 ac_cv_lib_i386_i386_set_ldt
=yes
5925 ac_cv_lib_i386_i386_set_ldt
=no
5927 rm -f core conftest.err conftest.
$ac_objext \
5928 conftest
$ac_exeext conftest.
$ac_ext
5929 LIBS
=$ac_check_lib_save_LIBS
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5932 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5933 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5934 cat >>confdefs.h
<<_ACEOF
5935 #define HAVE_LIBI386 1
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5943 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5944 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5945 $as_echo_n "(cached) " >&6
5947 ac_check_lib_save_LIBS
=$LIBS
5948 LIBS
="-lossaudio $LIBS"
5949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5950 /* end confdefs.h. */
5952 /* Override any GCC internal prototype to avoid an error.
5953 Use char because int might match the return type of a GCC
5954 builtin and then its argument prototype would still apply. */
5962 return _oss_ioctl ();
5967 if ac_fn_c_try_link
"$LINENO"; then :
5968 ac_cv_lib_ossaudio__oss_ioctl
=yes
5970 ac_cv_lib_ossaudio__oss_ioctl
=no
5972 rm -f core conftest.err conftest.
$ac_objext \
5973 conftest
$ac_exeext conftest.
$ac_ext
5974 LIBS
=$ac_check_lib_save_LIBS
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5977 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5978 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5979 cat >>confdefs.h
<<_ACEOF
5980 #define HAVE_LIBOSSAUDIO 1
5983 LIBS
="-lossaudio $LIBS"
5992 # Check whether --enable-largefile was given.
5993 if test "${enable_largefile+set}" = set; then :
5994 enableval
=$enable_largefile;
5997 if test "$enable_largefile" != no
; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6000 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6001 if ${ac_cv_sys_largefile_CC+:} false
; then :
6002 $as_echo_n "(cached) " >&6
6004 ac_cv_sys_largefile_CC
=no
6005 if test "$GCC" != yes; then
6008 # IRIX 6.2 and later do not support large files by default,
6009 # so use the C compiler's -n32 option if that helps.
6010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6011 /* end confdefs.h. */
6012 #include <sys/types.h>
6013 /* Check that off_t can represent 2**63 - 1 correctly.
6014 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6015 since some C++ compilers masquerading as C compilers
6016 incorrectly reject 9223372036854775807. */
6017 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6018 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6019 && LARGE_OFF_T % 2147483647 == 1)
6029 if ac_fn_c_try_compile
"$LINENO"; then :
6032 rm -f core conftest.err conftest.
$ac_objext
6034 if ac_fn_c_try_compile
"$LINENO"; then :
6035 ac_cv_sys_largefile_CC
=' -n32'; break
6037 rm -f core conftest.err conftest.
$ac_objext
6041 rm -f conftest.
$ac_ext
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6045 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6046 if test "$ac_cv_sys_largefile_CC" != no
; then
6047 CC
=$CC$ac_cv_sys_largefile_CC
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6051 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6052 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6053 $as_echo_n "(cached) " >&6
6056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6057 /* end confdefs.h. */
6058 #include <sys/types.h>
6059 /* Check that off_t can represent 2**63 - 1 correctly.
6060 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6061 since some C++ compilers masquerading as C compilers
6062 incorrectly reject 9223372036854775807. */
6063 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6064 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6065 && LARGE_OFF_T % 2147483647 == 1)
6075 if ac_fn_c_try_compile
"$LINENO"; then :
6076 ac_cv_sys_file_offset_bits
=no
; break
6078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6080 /* end confdefs.h. */
6081 #define _FILE_OFFSET_BITS 64
6082 #include <sys/types.h>
6083 /* Check that off_t can represent 2**63 - 1 correctly.
6084 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6085 since some C++ compilers masquerading as C compilers
6086 incorrectly reject 9223372036854775807. */
6087 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6088 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6089 && LARGE_OFF_T % 2147483647 == 1)
6099 if ac_fn_c_try_compile
"$LINENO"; then :
6100 ac_cv_sys_file_offset_bits
=64; break
6102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6103 ac_cv_sys_file_offset_bits
=unknown
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6108 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6109 case $ac_cv_sys_file_offset_bits in #(
6112 cat >>confdefs.h
<<_ACEOF
6113 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6118 if test $ac_cv_sys_file_offset_bits = unknown
; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6120 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6121 if ${ac_cv_sys_large_files+:} false
; then :
6122 $as_echo_n "(cached) " >&6
6125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6126 /* end confdefs.h. */
6127 #include <sys/types.h>
6128 /* Check that off_t can represent 2**63 - 1 correctly.
6129 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6130 since some C++ compilers masquerading as C compilers
6131 incorrectly reject 9223372036854775807. */
6132 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6133 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6134 && LARGE_OFF_T % 2147483647 == 1)
6144 if ac_fn_c_try_compile
"$LINENO"; then :
6145 ac_cv_sys_large_files
=no
; break
6147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6149 /* end confdefs.h. */
6150 #define _LARGE_FILES 1
6151 #include <sys/types.h>
6152 /* Check that off_t can represent 2**63 - 1 correctly.
6153 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6154 since some C++ compilers masquerading as C compilers
6155 incorrectly reject 9223372036854775807. */
6156 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6157 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6158 && LARGE_OFF_T % 2147483647 == 1)
6168 if ac_fn_c_try_compile
"$LINENO"; then :
6169 ac_cv_sys_large_files
=1; break
6171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6172 ac_cv_sys_large_files
=unknown
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6177 $as_echo "$ac_cv_sys_large_files" >&6; }
6178 case $ac_cv_sys_large_files in #(
6181 cat >>confdefs.h
<<_ACEOF
6182 #define _LARGE_FILES $ac_cv_sys_large_files
6194 ac_cpp
='$CPP $CPPFLAGS'
6195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6199 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6200 # On Suns, sometimes $CPP names a directory.
6201 if test -n "$CPP" && test -d "$CPP"; then
6204 if test -z "$CPP"; then
6205 if ${ac_cv_prog_CPP+:} false
; then :
6206 $as_echo_n "(cached) " >&6
6208 # Double quotes because CPP needs to be expanded
6209 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6212 for ac_c_preproc_warn_flag
in '' yes
6214 # Use a header file that comes with gcc, so configuring glibc
6215 # with a fresh cross-compiler works.
6216 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6217 # <limits.h> exists even on freestanding compilers.
6218 # On the NeXT, cc -E runs the code through the compiler's parser,
6219 # not just through cpp. "Syntax error" is here to catch this case.
6220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6221 /* end confdefs.h. */
6223 # include <limits.h>
6225 # include <assert.h>
6229 if ac_fn_c_try_cpp
"$LINENO"; then :
6232 # Broken: fails on valid input.
6235 rm -f conftest.err conftest.i conftest.
$ac_ext
6237 # OK, works on sane cases. Now check whether nonexistent headers
6238 # can be detected and how.
6239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6240 /* end confdefs.h. */
6241 #include <ac_nonexistent.h>
6243 if ac_fn_c_try_cpp
"$LINENO"; then :
6244 # Broken: success on invalid input.
6247 # Passes both tests.
6251 rm -f conftest.err conftest.i conftest.
$ac_ext
6254 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6255 rm -f conftest.i conftest.err conftest.
$ac_ext
6256 if $ac_preproc_ok; then :
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6269 $as_echo "$CPP" >&6; }
6271 for ac_c_preproc_warn_flag
in '' yes
6273 # Use a header file that comes with gcc, so configuring glibc
6274 # with a fresh cross-compiler works.
6275 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6276 # <limits.h> exists even on freestanding compilers.
6277 # On the NeXT, cc -E runs the code through the compiler's parser,
6278 # not just through cpp. "Syntax error" is here to catch this case.
6279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6280 /* end confdefs.h. */
6282 # include <limits.h>
6284 # include <assert.h>
6288 if ac_fn_c_try_cpp
"$LINENO"; then :
6291 # Broken: fails on valid input.
6294 rm -f conftest.err conftest.i conftest.
$ac_ext
6296 # OK, works on sane cases. Now check whether nonexistent headers
6297 # can be detected and how.
6298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6299 /* end confdefs.h. */
6300 #include <ac_nonexistent.h>
6302 if ac_fn_c_try_cpp
"$LINENO"; then :
6303 # Broken: success on invalid input.
6306 # Passes both tests.
6310 rm -f conftest.err conftest.i conftest.
$ac_ext
6313 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6314 rm -f conftest.i conftest.err conftest.
$ac_ext
6315 if $ac_preproc_ok; then :
6318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6320 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6321 See \`config.log' for more details" "$LINENO" 5; }
6325 ac_cpp
='$CPP $CPPFLAGS'
6326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6332 $as_echo_n "checking for ANSI C header files... " >&6; }
6333 if ${ac_cv_header_stdc+:} false
; then :
6334 $as_echo_n "(cached) " >&6
6336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6337 /* end confdefs.h. */
6351 if ac_fn_c_try_compile
"$LINENO"; then :
6352 ac_cv_header_stdc
=yes
6354 ac_cv_header_stdc
=no
6356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6358 if test $ac_cv_header_stdc = yes; then
6359 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6361 /* end confdefs.h. */
6365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6366 $EGREP "memchr" >/dev
/null
2>&1; then :
6369 ac_cv_header_stdc
=no
6375 if test $ac_cv_header_stdc = yes; then
6376 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6378 /* end confdefs.h. */
6382 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6383 $EGREP "free" >/dev
/null
2>&1; then :
6386 ac_cv_header_stdc
=no
6392 if test $ac_cv_header_stdc = yes; then
6393 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6394 if test "$cross_compiling" = yes; then :
6397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6398 /* end confdefs.h. */
6401 #if ((' ' & 0x0FF) == 0x020)
6402 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6403 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6405 # define ISLOWER(c) \
6406 (('a' <= (c) && (c) <= 'i') \
6407 || ('j' <= (c) && (c) <= 'r') \
6408 || ('s' <= (c) && (c) <= 'z'))
6409 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6412 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6417 for (i = 0; i < 256; i++)
6418 if (XOR (islower (i), ISLOWER (i))
6419 || toupper (i) != TOUPPER (i))
6424 if ac_fn_c_try_run
"$LINENO"; then :
6427 ac_cv_header_stdc
=no
6429 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6430 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6436 $as_echo "$ac_cv_header_stdc" >&6; }
6437 if test $ac_cv_header_stdc = yes; then
6439 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6443 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6444 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6445 inttypes.h stdint.h unistd.h
6447 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6448 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6450 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6451 cat >>confdefs.h
<<_ACEOF
6452 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6462 ApplicationServices
/ApplicationServices.h \
6463 AudioToolbox
/AudioConverter.h \
6464 AudioUnit
/AudioUnit.h \
6465 AudioUnit
/AudioComponent.h \
6468 CoreAudio
/CoreAudio.h \
6469 CoreServices
/CoreServices.h \
6470 DiskArbitration
/DiskArbitration.h \
6472 IOKit
/hid
/IOHIDLib.h \
6475 QuickTime
/ImageCompression.h \
6476 Security
/Security.h \
6527 netinet
/in_systm.h \
6589 valgrind
/memcheck.h \
6590 valgrind
/valgrind.h \
6594 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6595 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6596 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6597 cat >>confdefs.h
<<_ACEOF
6598 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6606 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6607 if ${ac_cv_header_stat_broken+:} false
; then :
6608 $as_echo_n "(cached) " >&6
6610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h. */
6612 #include <sys/types.h>
6613 #include <sys/stat.h>
6615 #if defined S_ISBLK && defined S_IFDIR
6616 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6619 #if defined S_ISBLK && defined S_IFCHR
6620 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6623 #if defined S_ISLNK && defined S_IFREG
6624 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6627 #if defined S_ISSOCK && defined S_IFREG
6628 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6632 if ac_fn_c_try_compile
"$LINENO"; then :
6633 ac_cv_header_stat_broken
=no
6635 ac_cv_header_stat_broken
=yes
6637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6640 $as_echo "$ac_cv_header_stat_broken" >&6; }
6641 if test $ac_cv_header_stat_broken = yes; then
6643 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6649 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6651 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6652 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6653 #ifdef HAVE_SYS_PARAM_H
6654 # include <sys/param.h>
6657 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6658 cat >>confdefs.h
<<_ACEOF
6659 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6674 netinet
/if_ether.h \
6675 netinet
/if_inarp.h \
6684 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6685 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6686 #ifdef HAVE_SYS_SOCKET_H
6687 # include <sys/socket.h>
6689 #ifdef HAVE_SYS_SOCKETVAR_H
6690 # include <sys/socketvar.h>
6692 #ifdef HAVE_NET_ROUTE_H
6693 # include <net/route.h>
6695 #ifdef HAVE_NETINET_IN_H
6696 # include <netinet/in.h>
6698 #ifdef HAVE_NETINET_IN_SYSTM_H
6699 # include <netinet/in_systm.h>
6701 #ifdef HAVE_NET_IF_H
6702 # include <net/if.h>
6704 #ifdef HAVE_NETINET_IP_H
6705 # include <netinet/ip.h>
6708 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6709 cat >>confdefs.h
<<_ACEOF
6710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6718 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6720 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6721 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6725 #ifdef HAVE_SYS_SOCKET_H
6726 # include <sys/socket.h>
6728 #ifdef HAVE_SYS_SOCKETVAR_H
6729 # include <sys/socketvar.h>
6731 #ifdef HAVE_SYS_TIMEOUT_H
6732 # include <sys/timeout.h>
6734 #ifdef HAVE_NETINET_IN_H
6735 # include <netinet/in.h>
6737 #ifdef HAVE_NETINET_IN_SYSTM_H
6738 # include <netinet/in_systm.h>
6740 #ifdef HAVE_NETINET_IP_H
6741 # include <netinet/ip.h>
6743 #ifdef HAVE_NETINET_IP_VAR_H
6744 # include <netinet/ip_var.h>
6746 #ifdef HAVE_NETINET_IP_ICMP_H
6747 # include <netinet/ip_icmp.h>
6749 #ifdef HAVE_NETINET_UDP_H
6750 # include <netinet/udp.h>
6752 #ifdef HAVE_NETINET_TCP_H
6753 # include <netinet/tcp.h>
6755 #ifdef HAVE_NETINET_TCP_TIMER_H
6756 #include <netinet/tcp_timer.h>
6759 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6760 cat >>confdefs.h
<<_ACEOF
6761 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6769 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6771 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6772 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6773 #ifdef HAVE_ASM_TYPES_H
6774 # include <asm/types.h>
6776 #ifdef HAVE_SYS_SOCKET_H
6777 # include <sys/socket.h>
6779 #ifdef HAVE_LINUX_TYPES_H
6780 # include <linux/types.h>
6783 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6784 cat >>confdefs.h
<<_ACEOF
6785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6793 for ac_header
in mach-o
/dyld_images.h
6795 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6796 # include <stdbool.h>
6798 #ifdef HAVE_STDINT_H
6799 # include <stdint.h>
6802 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6803 cat >>confdefs.h
<<_ACEOF
6804 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6812 for ac_header
in resolv.h
6814 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6815 #ifdef HAVE_SYS_SOCKET_H
6816 # include <sys/socket.h>
6818 #ifdef HAVE_NETINET_IN_H
6819 # include <netinet/in.h>
6821 #ifdef HAVE_ARPA_NAMESER_H
6822 # include <arpa/nameser.h>
6825 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6826 cat >>confdefs.h
<<_ACEOF
6827 #define HAVE_RESOLV_H 1
6835 for ac_header
in ifaddrs.h
6837 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6839 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6840 cat >>confdefs.h
<<_ACEOF
6841 #define HAVE_IFADDRS_H 1
6849 for ac_header
in sys
/ucontext.h
6851 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6853 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6854 cat >>confdefs.h
<<_ACEOF
6855 #define HAVE_SYS_UCONTEXT_H 1
6863 for ac_header
in sys
/thr.h
6865 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6866 #ifdef HAVE_SYS_UCONTEXT_H
6867 #include <sys/ucontext.h>
6870 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6871 cat >>confdefs.h
<<_ACEOF
6872 #define HAVE_SYS_THR_H 1
6880 for ac_header
in pthread_np.h
6882 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6883 #include <pthread.h>
6886 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6887 cat >>confdefs.h
<<_ACEOF
6888 #define HAVE_PTHREAD_NP_H 1
6896 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6898 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6899 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6900 #include <sys/time.h>
6902 #include <sys/types.h>
6903 #ifdef HAVE_ASM_TYPES_H
6904 #include <asm/types.h>
6907 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6908 cat >>confdefs.h
<<_ACEOF
6909 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6917 for ac_header
in libprocstat.h
6919 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6920 #include <sys/param.h>
6922 #ifdef HAVE_SYS_QUEUE_H
6923 #include <sys/queue.h>
6925 #ifdef HAVE_SYS_SOCKET_H
6926 #include <sys/socket.h>
6929 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6930 cat >>confdefs.h
<<_ACEOF
6931 #define HAVE_LIBPROCSTAT_H 1
6940 dlldir
="\${libdir}/wine"
6944 DLLFLAGS
="-D_REENTRANT"
6953 STATIC_IMPLIBEXT
="def.a"
6954 # Extract the first word of "ldd", so it can be a program name with args.
6955 set dummy ldd
; ac_word
=$2
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6957 $as_echo_n "checking for $ac_word... " >&6; }
6958 if ${ac_cv_path_LDD+:} false
; then :
6959 $as_echo_n "(cached) " >&6
6963 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6967 as_dummy
="/sbin:/usr/sbin:$PATH"
6968 for as_dir
in $as_dummy
6971 test -z "$as_dir" && as_dir
=.
6972 for ac_exec_ext
in '' $ac_executable_extensions; do
6973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6974 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6982 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6987 if test -n "$LDD"; then
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6989 $as_echo "$LDD" >&6; }
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6996 if test -n "$ac_tool_prefix"; then
6997 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6998 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7000 $as_echo_n "checking for $ac_word... " >&6; }
7001 if ${ac_cv_prog_READELF+:} false
; then :
7002 $as_echo_n "(cached) " >&6
7004 if test -n "$READELF"; then
7005 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7011 test -z "$as_dir" && as_dir
=.
7012 for ac_exec_ext
in '' $ac_executable_extensions; do
7013 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7014 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7024 READELF
=$ac_cv_prog_READELF
7025 if test -n "$READELF"; then
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7027 $as_echo "$READELF" >&6; }
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7030 $as_echo "no" >&6; }
7035 if test -z "$ac_cv_prog_READELF"; then
7036 ac_ct_READELF
=$READELF
7037 # Extract the first word of "readelf", so it can be a program name with args.
7038 set dummy readelf
; ac_word
=$2
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040 $as_echo_n "checking for $ac_word... " >&6; }
7041 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7042 $as_echo_n "(cached) " >&6
7044 if test -n "$ac_ct_READELF"; then
7045 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7051 test -z "$as_dir" && as_dir
=.
7052 for ac_exec_ext
in '' $ac_executable_extensions; do
7053 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7054 ac_cv_prog_ac_ct_READELF
="readelf"
7055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7064 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7065 if test -n "$ac_ct_READELF"; then
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7067 $as_echo "$ac_ct_READELF" >&6; }
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7070 $as_echo "no" >&6; }
7073 if test "x$ac_ct_READELF" = x
; then
7076 case $cross_compiling:$ac_tool_warned in
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7080 ac_tool_warned
=yes ;;
7082 READELF
=$ac_ct_READELF
7085 READELF
="$ac_cv_prog_READELF"
7088 wine_rules_file
=conf$
$rules.
make
7089 rm -f $wine_rules_file
7091 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7092 ALL_TEST_RESOURCES
=""
7095 wine_fn_append_file
()
7097 as_fn_append
$1 " \\$as_nl $2"
7100 wine_fn_ignore_file
()
7103 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7104 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7105 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7109 wine_fn_append_rule
()
7111 $as_echo "$1" >>$wine_rules_file
7116 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7119 wine_fn_depend_rules
()
7121 wine_fn_append_rule \
7122 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7123 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7124 depend: $ac_dir/depend
7125 .PHONY: $ac_dir/depend
7126 $ac_dir/depend: \$(MAKEDEP) dummy
7127 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7130 wine_fn_pot_rules
()
7132 test "x$with_gettextpo" = xyes ||
return
7134 if wine_fn_has_flag mc
7136 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7137 wine_fn_append_rule \
7138 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7139 @cd $ac_dir && \$(MAKE) msg.pot
7140 $ac_dir/msg.pot: tools/wmc include"
7142 if wine_fn_has_flag po
7144 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7145 wine_fn_append_rule \
7146 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7147 @cd $ac_dir && \$(MAKE) rsrc.pot
7148 $ac_dir/rsrc.pot: tools/wrc include"
7152 wine_fn_all_rules
()
7154 wine_fn_depend_rules
7155 wine_fn_append_rule \
7158 $ac_dir: $ac_dir/Makefile dummy
7159 @cd $ac_dir && \$(MAKE)"
7162 wine_fn_install_rules
()
7164 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7166 wine_fn_append_rule \
7167 ".PHONY: $ac_dir/install $ac_dir/uninstall
7168 $ac_dir/install:: $ac_dir
7169 @cd $ac_dir && \$(MAKE) install
7170 $ac_dir/uninstall:: $ac_dir/Makefile
7171 @cd $ac_dir && \$(MAKE) uninstall
7172 install:: $ac_dir/install
7173 __uninstall__: $ac_dir/uninstall"
7175 if wine_fn_has_flag install-lib
7177 wine_fn_append_rule \
7178 ".PHONY: $ac_dir/install-lib
7179 $ac_dir/install-lib:: $ac_dir
7180 @cd $ac_dir && \$(MAKE) install-lib
7181 install-lib:: $ac_dir/install-lib"
7184 if wine_fn_has_flag install-dev
7186 wine_fn_append_rule \
7187 ".PHONY: $ac_dir/install-dev
7188 $ac_dir/install-dev:: $ac_dir
7189 @cd $ac_dir && \$(MAKE) install-dev
7190 install-dev:: $ac_dir/install-dev"
7194 wine_fn_clean_rules
()
7197 ac_extraclean
="$ac_dir/Makefile"
7198 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7200 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7203 if wine_fn_has_flag clean
7205 wine_fn_append_rule \
7206 "__clean__: $ac_dir/clean
7207 .PHONY: $ac_dir/clean
7208 $ac_dir/clean: $ac_dir/Makefile
7209 @cd $ac_dir && \$(MAKE) clean
7210 \$(RM) $ac_extraclean"
7212 wine_fn_append_rule \
7213 "__clean__: $ac_dir/clean
7214 .PHONY: $ac_dir/clean
7215 $ac_dir/clean: dummy
7216 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7220 wine_fn_disabled_rules
()
7223 ac_extraclean
="$ac_dir/Makefile"
7224 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7226 wine_fn_append_rule \
7227 "__clean__: $ac_dir/clean
7228 .PHONY: $ac_dir/clean
7229 $ac_dir/clean: dummy
7230 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7233 wine_fn_config_makefile
()
7239 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7240 wine_fn_disabled_rules
; return
7243 wine_fn_install_rules
7247 wine_fn_config_lib
()
7251 ac_dir
=dlls
/$ac_name
7254 if test "x$enable_tools" = xno
; then :
7257 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7262 wine_fn_append_rule \
7263 ".PHONY: $ac_dir/install $ac_dir/uninstall
7264 $ac_dir/install:: $ac_dir
7265 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7267 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7268 install install-dev:: $ac_dir/install
7269 __uninstall__: $ac_dir/uninstall
7270 __builddeps__: $ac_dir
7274 wine_fn_config_dll
()
7277 ac_dir
=dlls
/$ac_name
7280 ac_implib
=${4:-$ac_name}
7281 ac_file
=$ac_dir/lib
$ac_implib
7286 if test "x$enable_tools" = xno
; then :
7289 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7292 *16) ac_implibflags
=" -m16" ;;
7294 *) ac_dll
=$ac_dll.dll
;;
7298 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7299 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7300 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7301 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7303 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7304 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7306 wine_fn_depend_rules
7307 wine_fn_clean_rules
$ac_clean
7309 wine_fn_disabled_rules
$ac_clean
7314 wine_fn_clean_rules
$ac_clean
7315 wine_fn_append_rule \
7316 "$ac_dir: __builddeps__
7317 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7318 @cd $ac_dir && \$(MAKE) \$@
7319 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7320 install install-lib:: $ac_dir/install-lib
7321 __uninstall__: $ac_dir/uninstall"
7322 if test -n "$DLLEXT"
7324 wine_fn_append_rule \
7325 "$ac_dir/install-lib:: $ac_dir
7326 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7327 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7329 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7331 wine_fn_append_rule \
7332 "$ac_dir/install-lib:: $ac_dir
7333 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7335 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7341 if wine_fn_has_flag staticimplib
7343 wine_fn_append_rule \
7344 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7345 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7346 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7347 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7348 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7349 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7350 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7351 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7352 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7354 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7355 install install-dev:: $ac_dir/install-dev
7356 __uninstall__: $ac_dir/uninstall"
7358 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7360 wine_fn_append_rule \
7361 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7362 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7364 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7367 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7369 wine_fn_append_rule \
7370 "__builddeps__: $ac_file.cross.a
7371 $ac_file.cross.a: $ac_dir/Makefile dummy
7372 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7375 elif wine_fn_has_flag implib
7377 wine_fn_append_rule \
7378 "__builddeps__: $ac_file.$IMPLIBEXT
7379 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7380 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7381 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7382 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7383 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7384 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7385 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7387 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7388 install install-dev:: $ac_dir/install-dev
7389 __uninstall__: $ac_dir/uninstall"
7390 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7392 wine_fn_append_rule \
7393 "__builddeps__: $ac_file.cross.a
7394 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7395 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7398 if test "$ac_name" != "$ac_implib"
7400 wine_fn_append_rule \
7401 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7402 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7403 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7405 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7406 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7407 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7409 wine_fn_append_rule \
7410 "__builddeps__: dlls/lib$ac_implib.cross.a
7411 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7412 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7414 \$(RM) dlls/lib$ac_implib.cross.a"
7415 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7421 wine_fn_config_program
()
7424 ac_dir
=programs
/$ac_name
7431 *) ac_program
=$ac_program.exe
;;
7435 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7436 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7437 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7438 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7440 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7441 wine_fn_disabled_rules
$ac_clean; return
7445 wine_fn_clean_rules
$ac_clean
7446 wine_fn_append_rule
"$ac_dir: __builddeps__"
7449 wine_fn_has_flag
install ||
return
7450 wine_fn_append_rule \
7451 ".PHONY: $ac_dir/install $ac_dir/uninstall
7452 install install-lib:: $ac_dir/install
7453 __uninstall__: $ac_dir/uninstall"
7455 if test -n "$DLLEXT"
7457 wine_fn_append_rule \
7458 "$ac_dir/install:: $ac_dir
7459 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7460 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7462 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7464 if test -z "$with_wine64" && wine_fn_has_flag installbin
7466 wine_fn_append_rule \
7467 "$ac_dir/install:: __tooldeps__
7468 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7470 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7473 wine_fn_append_rule \
7474 "$ac_dir/install:: $ac_dir
7475 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7477 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7480 if test -z "$with_wine64" && wine_fn_has_flag manpage
7482 wine_fn_append_rule \
7483 "$ac_dir/install:: $ac_dir
7484 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7486 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7490 wine_fn_config_test
()
7497 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7498 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7500 if test "x$enable_tests" = xno
; then :
7501 wine_fn_disabled_rules
$ac_clean; return
7504 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7506 wine_fn_clean_rules
$ac_clean
7508 wine_fn_append_rule \
7509 "$ac_dir: programs/winetest/Makefile __builddeps__
7510 programs/winetest: $ac_dir
7511 check test: $ac_dir/test
7512 .PHONY: $ac_dir/test
7514 @cd $ac_dir && \$(MAKE) test
7516 \$(RM) $ac_dir/*.ok"
7518 if test -n "$CROSSTARGET"
7520 wine_fn_append_rule \
7521 "crosstest: $ac_dir/crosstest
7522 .PHONY: $ac_dir/crosstest
7523 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7524 @cd $ac_dir && \$(MAKE) crosstest"
7528 wine_fn_config_tool
()
7532 if test "x$enable_tools" = xno
; then :
7537 wine_fn_install_rules
7540 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7541 wine_fn_append_rule
"$ac_dir: libs/port"
7543 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7547 wine_fn_config_symlink
()
7550 if test "x$1" = "x-d"
7556 wine_fn_append_rule \
7558 @./config.status \$@
7561 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7562 test -n "$ac_linkdir" ||
return
7563 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7567 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7568 loader_programs
="$wine_binary wine-installed"
7569 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7574 install install-lib:: wine-installed
7575 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7578 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7584 if test -n "$ac_tool_prefix"; then
7585 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7586 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7590 $as_echo_n "(cached) " >&6
7592 if test -n "$DLLTOOL"; then
7593 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7599 test -z "$as_dir" && as_dir
=.
7600 for ac_exec_ext
in '' $ac_executable_extensions; do
7601 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7602 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7612 DLLTOOL
=$ac_cv_prog_DLLTOOL
7613 if test -n "$DLLTOOL"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7615 $as_echo "$DLLTOOL" >&6; }
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7623 if test -z "$ac_cv_prog_DLLTOOL"; then
7624 ac_ct_DLLTOOL
=$DLLTOOL
7625 # Extract the first word of "dlltool", so it can be a program name with args.
7626 set dummy dlltool
; ac_word
=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7630 $as_echo_n "(cached) " >&6
7632 if test -n "$ac_ct_DLLTOOL"; then
7633 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7639 test -z "$as_dir" && as_dir
=.
7640 for ac_exec_ext
in '' $ac_executable_extensions; do
7641 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7642 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7652 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7653 if test -n "$ac_ct_DLLTOOL"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7655 $as_echo "$ac_ct_DLLTOOL" >&6; }
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7661 if test "x$ac_ct_DLLTOOL" = x
; then
7664 case $cross_compiling:$ac_tool_warned in
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7668 ac_tool_warned
=yes ;;
7670 DLLTOOL
=$ac_ct_DLLTOOL
7673 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7679 STATIC_IMPLIBEXT
="a"
7680 enable_iphlpapi
=${enable_iphlpapi:-no}
7681 enable_kernel32
=${enable_kernel32:-no}
7682 enable_msvcrt
=${enable_msvcrt:-no}
7683 enable_ntdll
=${enable_ntdll:-no}
7684 enable_ws2_32
=${enable_ws2_32:-no}
7685 enable_loader
=${enable_loader:-no}
7686 enable_server
=${enable_server:-no}
7687 with_x
=${with_x:-no}
7688 with_pthread
=${with_pthread:-no}
7694 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7698 libwine_targets
="libwine.dll libwine.a"
7700 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7702 all: libwine.dll libwine.a
7704 libwine.a: \$(srcdir)/wine.def
7705 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7707 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7708 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7710 install install-lib:: libwine.dll
7711 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7713 install install-dev:: libwine.a
7714 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7717 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7724 DLLFLAGS
="$DLLFLAGS -fPIC"
7725 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7726 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7727 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7728 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7730 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7732 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7734 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7736 CORESERVICES_LIBS
="-framework CoreServices"
7738 APPKIT_LIBS
="-framework AppKit"
7740 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7742 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7743 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7744 $as_echo_n "(cached) " >&6
7746 ac_wine_try_cflags_saved
=$CFLAGS
7747 CFLAGS
="$CFLAGS -Wl,-no_pie"
7748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7749 /* end confdefs.h. */
7750 int main(int argc, char **argv) { return 0; }
7752 if ac_fn_c_try_link
"$LINENO"; then :
7753 ac_cv_cflags__Wl__no_pie
=yes
7755 ac_cv_cflags__Wl__no_pie
=no
7757 rm -f core conftest.err conftest.
$ac_objext \
7758 conftest
$ac_exeext conftest.
$ac_ext
7759 CFLAGS
=$ac_wine_try_cflags_saved
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7762 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7763 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7764 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7766 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7768 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7771 if test "$ac_cv_header_Security_Security_h" = "yes"
7773 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7775 ac_save_LIBS
="$LIBS"
7776 LIBS
="$LIBS $SECURITY_LIBS"
7777 for ac_func
in SSLCopyPeerCertificates
7779 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7780 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7781 cat >>confdefs.h
<<_ACEOF
7782 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7788 LIBS
="$ac_save_LIBS"
7789 with_gnutls
=${with_gnutls:-no}
7791 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7793 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7795 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7798 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7801 ac_save_LIBS
="$LIBS"
7802 LIBS
="$LIBS $COREAUDIO_LIBS"
7803 for ac_func
in AUGraphAddNode
7805 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7806 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7807 cat >>confdefs.h
<<_ACEOF
7808 #define HAVE_AUGRAPHADDNODE 1
7814 LIBS
="$ac_save_LIBS"
7816 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7818 OPENAL_LIBS
="-framework OpenAL"
7821 cat >>confdefs.h
<<_ACEOF
7822 #define HAVE_OPENAL 1
7825 ac_cv_lib_openal
=yes
7827 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7829 OPENCL_LIBS
="-framework OpenCL"
7831 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7833 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7835 ac_save_LIBS
="$LIBS"
7836 LIBS
="$LIBS $IOKIT_LIBS"
7837 for ac_func
in IOHIDManagerCreate
7839 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7840 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7841 cat >>confdefs.h
<<_ACEOF
7842 #define HAVE_IOHIDMANAGERCREATE 1
7848 LIBS
="$ac_save_LIBS"
7850 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7852 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7854 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7856 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7858 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7860 CARBON_LIBS
="-framework Carbon"
7864 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7866 ac_save_LIBS
="$LIBS"
7867 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7868 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7869 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7870 enable_winemac_drv
=${enable_winemac_drv:-yes}
7873 LIBS
="$ac_save_LIBS"
7876 if test "x$enable_win16" = "xyes"
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7879 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7880 if test "$cross_compiling" = yes; then :
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7882 $as_echo "cross-compiling, assuming yes" >&6; }
7884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7885 /* end confdefs.h. */
7888 "good:\tnop;nop\n\t"
7889 ".globl _testfunc\n"
7890 "_testfunc:\tcallw good");
7891 extern void testfunc();
7895 unsigned short *p = (unsigned short *)testfunc;
7896 return p[0] != 0xe866 || p[1] != 0xfffa
7901 if ac_fn_c_try_run
"$LINENO"; then :
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7903 $as_echo "yes" >&6; }
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7906 $as_echo "no" >&6; }
7907 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
7909 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7910 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7915 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7917 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7921 libwine.$libwine_version.dylib: \$(OBJS)
7922 \$(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 \$@
7924 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7925 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7927 libwine.dylib: libwine.$libwine_soversion.dylib
7928 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7930 install install-lib:: libwine.$libwine_version.dylib
7931 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7932 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7934 install install-dev::
7935 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7938 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7942 as_fn_append LOADER_RULES
"
7943 $wine_binary: main.o wine_info.plist
7944 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7946 wine-installed: main.o wine_info.plist
7947 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7952 DLLFLAGS
="$DLLFLAGS -fPIC"
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7957 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7958 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7959 $as_echo_n "(cached) " >&6
7961 ac_wine_try_cflags_saved
=$CFLAGS
7962 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7964 /* end confdefs.h. */
7965 int main(int argc, char **argv) { return 0; }
7967 if ac_fn_c_try_link
"$LINENO"; then :
7968 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7970 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7972 rm -f core conftest.err conftest.
$ac_objext \
7973 conftest
$ac_exeext conftest.
$ac_ext
7974 CFLAGS
=$ac_wine_try_cflags_saved
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7977 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7978 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7979 LDEXECFLAGS
="-Wl,--export-dynamic"
7981 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7983 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7984 if eval \
${$as_ac_var+:} false
; then :
7985 $as_echo_n "(cached) " >&6
7987 ac_wine_try_cflags_saved
=$CFLAGS
7988 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7990 /* end confdefs.h. */
7991 int main(int argc, char **argv) { return 0; }
7993 if ac_fn_c_try_link
"$LINENO"; then :
7994 eval "$as_ac_var=yes"
7996 eval "$as_ac_var=no"
7998 rm -f core conftest.err conftest.
$ac_objext \
7999 conftest
$ac_exeext conftest.
$ac_ext
8000 CFLAGS
=$ac_wine_try_cflags_saved
8002 eval ac_res
=\$
$as_ac_var
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8004 $as_echo "$ac_res" >&6; }
8005 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8006 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8007 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8009 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8011 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8012 if eval \
${$as_ac_var+:} false
; then :
8013 $as_echo_n "(cached) " >&6
8015 ac_wine_try_cflags_saved
=$CFLAGS
8016 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8018 /* end confdefs.h. */
8019 int main(int argc, char **argv) { return 0; }
8021 if ac_fn_c_try_link
"$LINENO"; then :
8022 eval "$as_ac_var=yes"
8024 eval "$as_ac_var=no"
8026 rm -f core conftest.err conftest.
$ac_objext \
8027 conftest
$ac_exeext conftest.
$ac_ext
8028 CFLAGS
=$ac_wine_try_cflags_saved
8030 eval ac_res
=\$
$as_ac_var
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8032 $as_echo "$ac_res" >&6; }
8033 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8034 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8035 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8040 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8041 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8042 $as_echo_n "(cached) " >&6
8044 ac_wine_try_cflags_saved
=$CFLAGS
8045 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8047 /* end confdefs.h. */
8048 int main(int argc, char **argv) { return 0; }
8050 if ac_fn_c_try_link
"$LINENO"; then :
8051 ac_cv_cflags__Wl___enable_new_dtags
=yes
8053 ac_cv_cflags__Wl___enable_new_dtags
=no
8055 rm -f core conftest.err conftest.
$ac_objext \
8056 conftest
$ac_exeext conftest.
$ac_ext
8057 CFLAGS
=$ac_wine_try_cflags_saved
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8060 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8061 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8062 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8066 *i
[3456789]86* | x86_64
)
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8068 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8069 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8070 $as_echo_n "(cached) " >&6
8072 ac_wine_try_cflags_saved
=$CFLAGS
8073 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8075 /* end confdefs.h. */
8076 int main(int argc, char **argv) { return 0; }
8078 if ac_fn_c_try_link
"$LINENO"; then :
8079 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8081 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8083 rm -f core conftest.err conftest.
$ac_objext \
8084 conftest
$ac_exeext conftest.
$ac_ext
8085 CFLAGS
=$ac_wine_try_cflags_saved
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8088 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8089 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8090 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8095 libwine_targets
="libwine.so"
8097 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8101 libwine.so: \$(OBJS)
8102 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8104 install install-lib:: libwine.so
8105 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8108 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8112 as_fn_append LOADER_RULES
"
8113 $wine_binary: main.o
8114 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8116 wine-installed: main.o
8117 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8122 DLLFLAGS
="$DLLFLAGS -fPIC"
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8125 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8126 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8127 $as_echo_n "(cached) " >&6
8129 ac_wine_try_cflags_saved
=$CFLAGS
8130 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8132 /* end confdefs.h. */
8135 if ac_fn_c_try_link
"$LINENO"; then :
8136 ac_cv_c_dll_gnuelf
="yes"
8138 ac_cv_c_dll_gnuelf
="no"
8140 rm -f core conftest.err conftest.
$ac_objext \
8141 conftest
$ac_exeext conftest.
$ac_ext
8142 CFLAGS
=$ac_wine_try_cflags_saved
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8145 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8146 if test "$ac_cv_c_dll_gnuelf" = "yes"
8148 LDSHARED
="\$(CC) -shared"
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8150 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8151 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8152 $as_echo_n "(cached) " >&6
8154 ac_wine_try_cflags_saved
=$CFLAGS
8155 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8157 /* end confdefs.h. */
8158 int main(int argc, char **argv) { return 0; }
8160 if ac_fn_c_try_link
"$LINENO"; then :
8161 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8163 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8165 rm -f core conftest.err conftest.
$ac_objext \
8166 conftest
$ac_exeext conftest.
$ac_ext
8167 CFLAGS
=$ac_wine_try_cflags_saved
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8170 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8171 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8172 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8175 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8176 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8177 $as_echo_n "(cached) " >&6
8179 ac_wine_try_cflags_saved
=$CFLAGS
8180 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8182 /* end confdefs.h. */
8183 int main(int argc, char **argv) { return 0; }
8185 if ac_fn_c_try_link
"$LINENO"; then :
8186 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8188 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8190 rm -f core conftest.err conftest.
$ac_objext \
8191 conftest
$ac_exeext conftest.
$ac_ext
8192 CFLAGS
=$ac_wine_try_cflags_saved
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8195 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8196 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8197 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8201 echo '{ global: *; };' >conftest.map
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8203 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8204 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8205 $as_echo_n "(cached) " >&6
8207 ac_wine_try_cflags_saved
=$CFLAGS
8208 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8210 /* end confdefs.h. */
8211 int main(int argc, char **argv) { return 0; }
8213 if ac_fn_c_try_link
"$LINENO"; then :
8214 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8216 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8218 rm -f core conftest.err conftest.
$ac_objext \
8219 conftest
$ac_exeext conftest.
$ac_ext
8220 CFLAGS
=$ac_wine_try_cflags_saved
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8223 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8224 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8225 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8230 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8231 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8232 $as_echo_n "(cached) " >&6
8234 ac_wine_try_cflags_saved
=$CFLAGS
8235 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8237 /* end confdefs.h. */
8238 int main(int argc, char **argv) { return 0; }
8240 if ac_fn_c_try_link
"$LINENO"; then :
8241 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8243 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8245 rm -f core conftest.err conftest.
$ac_objext \
8246 conftest
$ac_exeext conftest.
$ac_ext
8247 CFLAGS
=$ac_wine_try_cflags_saved
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8250 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8251 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8252 LDEXECFLAGS
="-Wl,--export-dynamic"
8255 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8257 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8258 if eval \
${$as_ac_var+:} false
; then :
8259 $as_echo_n "(cached) " >&6
8261 ac_wine_try_cflags_saved
=$CFLAGS
8262 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8264 /* end confdefs.h. */
8265 int main(int argc, char **argv) { return 0; }
8267 if ac_fn_c_try_link
"$LINENO"; then :
8268 eval "$as_ac_var=yes"
8270 eval "$as_ac_var=no"
8272 rm -f core conftest.err conftest.
$ac_objext \
8273 conftest
$ac_exeext conftest.
$ac_ext
8274 CFLAGS
=$ac_wine_try_cflags_saved
8276 eval ac_res
=\$
$as_ac_var
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8278 $as_echo "$ac_res" >&6; }
8279 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8280 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8281 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8283 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8285 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8286 if eval \
${$as_ac_var+:} false
; then :
8287 $as_echo_n "(cached) " >&6
8289 ac_wine_try_cflags_saved
=$CFLAGS
8290 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8292 /* end confdefs.h. */
8293 int main(int argc, char **argv) { return 0; }
8295 if ac_fn_c_try_link
"$LINENO"; then :
8296 eval "$as_ac_var=yes"
8298 eval "$as_ac_var=no"
8300 rm -f core conftest.err conftest.
$ac_objext \
8301 conftest
$ac_exeext conftest.
$ac_ext
8302 CFLAGS
=$ac_wine_try_cflags_saved
8304 eval ac_res
=\$
$as_ac_var
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8306 $as_echo "$ac_res" >&6; }
8307 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8308 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8309 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8314 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8315 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8316 $as_echo_n "(cached) " >&6
8318 ac_wine_try_cflags_saved
=$CFLAGS
8319 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8321 /* end confdefs.h. */
8322 int main(int argc, char **argv) { return 0; }
8324 if ac_fn_c_try_link
"$LINENO"; then :
8325 ac_cv_cflags__Wl___enable_new_dtags
=yes
8327 ac_cv_cflags__Wl___enable_new_dtags
=no
8329 rm -f core conftest.err conftest.
$ac_objext \
8330 conftest
$ac_exeext conftest.
$ac_ext
8331 CFLAGS
=$ac_wine_try_cflags_saved
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8334 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8335 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8336 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8340 *i
[3456789]86* | x86_64
)
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8342 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8343 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8344 $as_echo_n "(cached) " >&6
8346 ac_wine_try_cflags_saved
=$CFLAGS
8347 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8349 /* end confdefs.h. */
8350 int main(int argc, char **argv) { return 0; }
8352 if ac_fn_c_try_link
"$LINENO"; then :
8353 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8355 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8357 rm -f core conftest.err conftest.
$ac_objext \
8358 conftest
$ac_exeext conftest.
$ac_ext
8359 CFLAGS
=$ac_wine_try_cflags_saved
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8362 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8363 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8365 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8366 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8370 # Extract the first word of "prelink", so it can be a program name with args.
8371 set dummy prelink
; ac_word
=$2
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8373 $as_echo_n "checking for $ac_word... " >&6; }
8374 if ${ac_cv_path_PRELINK+:} false
; then :
8375 $as_echo_n "(cached) " >&6
8379 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8383 for as_dir
in /sbin
/usr
/sbin
$PATH
8386 test -z "$as_dir" && as_dir
=.
8387 for ac_exec_ext
in '' $ac_executable_extensions; do
8388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8389 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8397 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8401 PRELINK
=$ac_cv_path_PRELINK
8402 if test -n "$PRELINK"; then
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8404 $as_echo "$PRELINK" >&6; }
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8407 $as_echo "no" >&6; }
8411 if test "x$PRELINK" = xfalse
8413 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8420 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8421 if ${ac_cv_c_dll_unixware+:} false
; then :
8422 $as_echo_n "(cached) " >&6
8424 ac_wine_try_cflags_saved
=$CFLAGS
8425 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8430 if ac_fn_c_try_link
"$LINENO"; then :
8431 ac_cv_c_dll_unixware
="yes"
8433 ac_cv_c_dll_unixware
="no"
8435 rm -f core conftest.err conftest.
$ac_objext \
8436 conftest
$ac_exeext conftest.
$ac_ext
8437 CFLAGS
=$ac_wine_try_cflags_saved
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8440 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8441 if test "$ac_cv_c_dll_unixware" = "yes"
8443 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8446 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8448 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8452 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8453 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8455 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8456 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8458 libwine.so: libwine.so.$libwine_soversion
8459 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8461 install install-lib:: libwine.so.$libwine_version
8462 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8463 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8465 install install-dev::
8466 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8469 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8473 as_fn_append LOADER_RULES
"
8474 $wine_binary: main.o
8475 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8477 wine-installed: main.o
8478 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8483 as_fn_append LIBWINE_RULES
"
8484 EXTRA_TARGETS = $libwine_targets
8487 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8488 enable_winemac_drv
=${enable_winemac_drv:-no}
8492 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8496 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
8499 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 " ;;
8501 ac_prefix_list
="" ;;
8503 for ac_prog
in $ac_prefix_list
8505 # Extract the first word of "$ac_prog", so it can be a program name with args.
8506 set dummy
$ac_prog; ac_word
=$2
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8508 $as_echo_n "checking for $ac_word... " >&6; }
8509 if ${ac_cv_prog_CROSSCC+:} false
; then :
8510 $as_echo_n "(cached) " >&6
8512 if test -n "$CROSSCC"; then
8513 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8519 test -z "$as_dir" && as_dir
=.
8520 for ac_exec_ext
in '' $ac_executable_extensions; do
8521 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8522 ac_cv_prog_CROSSCC
="$ac_prog"
8523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8532 CROSSCC
=$ac_cv_prog_CROSSCC
8533 if test -n "$CROSSCC"; then
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8535 $as_echo "$CROSSCC" >&6; }
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8538 $as_echo "no" >&6; }
8542 test -n "$CROSSCC" && break
8544 test -n "$CROSSCC" || CROSSCC
="false"
8546 if test "$CROSSCC" != "false"
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8551 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8553 /* end confdefs.h. */
8563 if ac_fn_c_try_compile
"$LINENO"; then :
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8565 $as_echo "yes" >&6; }
8571 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8577 $as_echo "no" >&6; }
8579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8585 if test "$ac_cv_header_pthread_h" = "yes"
8587 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8588 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8592 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8593 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8594 $as_echo_n "(cached) " >&6
8596 ac_check_lib_save_LIBS
=$LIBS
8597 LIBS
="-lpthread $LIBS"
8598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8599 /* end confdefs.h. */
8601 /* Override any GCC internal prototype to avoid an error.
8602 Use char because int might match the return type of a GCC
8603 builtin and then its argument prototype would still apply. */
8607 char pthread_create ();
8611 return pthread_create ();
8616 if ac_fn_c_try_link
"$LINENO"; then :
8617 ac_cv_lib_pthread_pthread_create
=yes
8619 ac_cv_lib_pthread_pthread_create
=no
8621 rm -f core conftest.err conftest.
$ac_objext \
8622 conftest
$ac_exeext conftest.
$ac_ext
8623 LIBS
=$ac_check_lib_save_LIBS
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8626 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8627 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8628 PTHREAD_LIBS
="-lpthread"
8635 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8636 case "x$with_pthread" in
8638 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8639 Wine cannot support threads without libpthread.
8640 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8646 $as_echo_n "checking for X... " >&6; }
8649 # Check whether --with-x was given.
8650 if test "${with_x+set}" = set; then :
8654 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8655 if test "x$with_x" = xno
; then
8656 # The user explicitly disabled X.
8659 case $x_includes,$x_libraries in #(
8660 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8661 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8662 $as_echo_n "(cached) " >&6
8664 # One or both of the vars are not set, and there is no cached value.
8665 ac_x_includes
=no ac_x_libraries
=no
8666 rm -f -r conftest.dir
8667 if mkdir conftest.dir
; then
8669 cat >Imakefile
<<'_ACEOF'
8671 @echo incroot='${INCROOT}'
8673 @echo usrlibdir='${USRLIBDIR}'
8675 @echo libdir='${LIBDIR}'
8677 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8678 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8679 for ac_var
in incroot usrlibdir libdir
; do
8680 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8682 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8683 for ac_extension
in a so sl dylib la dll
; do
8684 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8685 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8686 ac_im_usrlibdir
=$ac_im_libdir; break
8689 # Screen out bogus values from the imake configuration. They are
8690 # bogus both because they are the default anyway, and because
8691 # using them would break gcc on systems where it needs fixed includes.
8692 case $ac_im_incroot in
8693 /usr
/include
) ac_x_includes
= ;;
8694 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8696 case $ac_im_usrlibdir in
8697 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8698 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8702 rm -f -r conftest.dir
8705 # Standard set of common directories for X headers.
8706 # Check X11 before X11Rn because it is often a symlink to the current release.
8720 /usr/local/X11/include
8721 /usr/local/X11R7/include
8722 /usr/local/X11R6/include
8723 /usr/local/X11R5/include
8724 /usr/local/X11R4/include
8726 /usr/local/include/X11
8727 /usr/local/include/X11R7
8728 /usr/local/include/X11R6
8729 /usr/local/include/X11R5
8730 /usr/local/include/X11R4
8734 /usr/XFree86/include/X11
8738 /usr/unsupported/include
8740 /usr/local/x11r5/include
8741 /usr/lpp/Xamples/include
8743 /usr/openwin/include
8744 /usr/openwin/share/include'
8746 if test "$ac_x_includes" = no
; then
8747 # Guess where to find include files, by looking for Xlib.h.
8748 # First, try using that file with no special directory specified.
8749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8750 /* end confdefs.h. */
8751 #include <X11/Xlib.h>
8753 if ac_fn_c_try_cpp
"$LINENO"; then :
8754 # We can compile using X headers with no special include directory.
8757 for ac_dir
in $ac_x_header_dirs; do
8758 if test -r "$ac_dir/X11/Xlib.h"; then
8759 ac_x_includes
=$ac_dir
8764 rm -f conftest.err conftest.i conftest.
$ac_ext
8765 fi # $ac_x_includes = no
8767 if test "$ac_x_libraries" = no
; then
8768 # Check for the libraries.
8769 # See if we find them without any special options.
8770 # Don't add to $LIBS permanently.
8773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8774 /* end confdefs.h. */
8775 #include <X11/Xlib.h>
8784 if ac_fn_c_try_link
"$LINENO"; then :
8786 # We can link X programs with no special library path.
8790 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8792 # Don't even attempt the hair of trying to link an X program!
8793 for ac_extension
in a so sl dylib la dll
; do
8794 if test -r "$ac_dir/libX11.$ac_extension"; then
8795 ac_x_libraries
=$ac_dir
8801 rm -f core conftest.err conftest.
$ac_objext \
8802 conftest
$ac_exeext conftest.
$ac_ext
8803 fi # $ac_x_libraries = no
8805 case $ac_x_includes,$ac_x_libraries in #(
8807 # Didn't find X, or a directory has "'" in its name.
8808 ac_cv_have_x
="have_x=no";; #(
8810 # Record where we found X for the cache.
8811 ac_cv_have_x
="have_x=yes\
8812 ac_x_includes='$ac_x_includes'\
8813 ac_x_libraries='$ac_x_libraries'"
8819 eval "$ac_cv_have_x"
8822 if test "$have_x" != yes; then
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8824 $as_echo "$have_x" >&6; }
8827 # If each of the values was on the command line, it overrides each guess.
8828 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8829 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8830 # Update the cache value to reflect the command line values.
8831 ac_cv_have_x
="have_x=yes\
8832 ac_x_includes='$x_includes'\
8833 ac_x_libraries='$x_libraries'"
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8835 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8838 if test "$no_x" = yes; then
8839 # Not all programs may use this symbol, but it does not hurt to define it.
8841 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8843 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8845 if test -n "$x_includes"; then
8846 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8849 # It would also be nice to do this for all -L options, not just this one.
8850 if test -n "$x_libraries"; then
8851 X_LIBS
="$X_LIBS -L$x_libraries"
8852 # For Solaris; some versions of Sun CC require a space after -R and
8853 # others require no space. Words are not sufficient . . . .
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8855 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8856 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8857 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8858 ac_c_werror_flag
=yes
8859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8860 /* end confdefs.h. */
8870 if ac_fn_c_try_link
"$LINENO"; then :
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8872 $as_echo "no" >&6; }
8873 X_LIBS
="$X_LIBS -R$x_libraries"
8875 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8877 /* end confdefs.h. */
8887 if ac_fn_c_try_link
"$LINENO"; then :
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8889 $as_echo "yes" >&6; }
8890 X_LIBS
="$X_LIBS -R $x_libraries"
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8893 $as_echo "neither works" >&6; }
8895 rm -f core conftest.err conftest.
$ac_objext \
8896 conftest
$ac_exeext conftest.
$ac_ext
8898 rm -f core conftest.err conftest.
$ac_objext \
8899 conftest
$ac_exeext conftest.
$ac_ext
8900 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8904 # Check for system-dependent libraries X programs must link with.
8905 # Do this before checking for the system-independent R6 libraries
8906 # (-lICE), since we may need -lsocket or whatever for X linking.
8908 if test "$ISC" = yes; then
8909 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8911 # Martyn Johnson says this is needed for Ultrix, if the X
8912 # libraries were built with DECnet support. And Karl Berry says
8913 # the Alpha needs dnet_stub (dnet does not exist).
8914 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8916 /* end confdefs.h. */
8918 /* Override any GCC internal prototype to avoid an error.
8919 Use char because int might match the return type of a GCC
8920 builtin and then its argument prototype would still apply. */
8924 char XOpenDisplay ();
8928 return XOpenDisplay ();
8933 if ac_fn_c_try_link
"$LINENO"; then :
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8937 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8938 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8939 $as_echo_n "(cached) " >&6
8941 ac_check_lib_save_LIBS
=$LIBS
8943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8946 /* Override any GCC internal prototype to avoid an error.
8947 Use char because int might match the return type of a GCC
8948 builtin and then its argument prototype would still apply. */
8956 return dnet_ntoa ();
8961 if ac_fn_c_try_link
"$LINENO"; then :
8962 ac_cv_lib_dnet_dnet_ntoa
=yes
8964 ac_cv_lib_dnet_dnet_ntoa
=no
8966 rm -f core conftest.err conftest.
$ac_objext \
8967 conftest
$ac_exeext conftest.
$ac_ext
8968 LIBS
=$ac_check_lib_save_LIBS
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8971 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8972 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8973 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8976 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8978 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8979 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8980 $as_echo_n "(cached) " >&6
8982 ac_check_lib_save_LIBS
=$LIBS
8983 LIBS
="-ldnet_stub $LIBS"
8984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8985 /* end confdefs.h. */
8987 /* Override any GCC internal prototype to avoid an error.
8988 Use char because int might match the return type of a GCC
8989 builtin and then its argument prototype would still apply. */
8997 return dnet_ntoa ();
9002 if ac_fn_c_try_link
"$LINENO"; then :
9003 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9005 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9007 rm -f core conftest.err conftest.
$ac_objext \
9008 conftest
$ac_exeext conftest.
$ac_ext
9009 LIBS
=$ac_check_lib_save_LIBS
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9012 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9013 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9014 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9019 rm -f core conftest.err conftest.
$ac_objext \
9020 conftest
$ac_exeext conftest.
$ac_ext
9021 LIBS
="$ac_xsave_LIBS"
9023 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9024 # to get the SysV transport functions.
9025 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9027 # The nsl library prevents programs from opening the X display
9028 # on Irix 5.2, according to T.E. Dickey.
9029 # The functions gethostbyname, getservbyname, and inet_addr are
9030 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9031 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9032 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9036 if test $ac_cv_func_gethostbyname = no
; then
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9038 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9039 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9040 $as_echo_n "(cached) " >&6
9042 ac_check_lib_save_LIBS
=$LIBS
9044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9045 /* end confdefs.h. */
9047 /* Override any GCC internal prototype to avoid an error.
9048 Use char because int might match the return type of a GCC
9049 builtin and then its argument prototype would still apply. */
9053 char gethostbyname ();
9057 return gethostbyname ();
9062 if ac_fn_c_try_link
"$LINENO"; then :
9063 ac_cv_lib_nsl_gethostbyname
=yes
9065 ac_cv_lib_nsl_gethostbyname
=no
9067 rm -f core conftest.err conftest.
$ac_objext \
9068 conftest
$ac_exeext conftest.
$ac_ext
9069 LIBS
=$ac_check_lib_save_LIBS
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9072 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9073 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9074 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9077 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9079 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9080 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9081 $as_echo_n "(cached) " >&6
9083 ac_check_lib_save_LIBS
=$LIBS
9085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9088 /* Override any GCC internal prototype to avoid an error.
9089 Use char because int might match the return type of a GCC
9090 builtin and then its argument prototype would still apply. */
9094 char gethostbyname ();
9098 return gethostbyname ();
9103 if ac_fn_c_try_link
"$LINENO"; then :
9104 ac_cv_lib_bsd_gethostbyname
=yes
9106 ac_cv_lib_bsd_gethostbyname
=no
9108 rm -f core conftest.err conftest.
$ac_objext \
9109 conftest
$ac_exeext conftest.
$ac_ext
9110 LIBS
=$ac_check_lib_save_LIBS
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9113 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9114 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9115 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9121 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9122 # socket/setsockopt and other routines are undefined under SCO ODT
9123 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9124 # on later versions), says Simon Leinen: it contains gethostby*
9125 # variants that don't use the name server (or something). -lsocket
9126 # must be given before -lnsl if both are needed. We assume that
9127 # if connect needs -lnsl, so does gethostbyname.
9128 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9129 if test "x$ac_cv_func_connect" = xyes
; then :
9133 if test $ac_cv_func_connect = no
; then
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9135 $as_echo_n "checking for connect in -lsocket... " >&6; }
9136 if ${ac_cv_lib_socket_connect+:} false
; then :
9137 $as_echo_n "(cached) " >&6
9139 ac_check_lib_save_LIBS
=$LIBS
9140 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9142 /* end confdefs.h. */
9144 /* Override any GCC internal prototype to avoid an error.
9145 Use char because int might match the return type of a GCC
9146 builtin and then its argument prototype would still apply. */
9159 if ac_fn_c_try_link
"$LINENO"; then :
9160 ac_cv_lib_socket_connect
=yes
9162 ac_cv_lib_socket_connect
=no
9164 rm -f core conftest.err conftest.
$ac_objext \
9165 conftest
$ac_exeext conftest.
$ac_ext
9166 LIBS
=$ac_check_lib_save_LIBS
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9169 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9170 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9171 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9176 # Guillermo Gomez says -lposix is necessary on A/UX.
9177 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9178 if test "x$ac_cv_func_remove" = xyes
; then :
9182 if test $ac_cv_func_remove = no
; then
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9184 $as_echo_n "checking for remove in -lposix... " >&6; }
9185 if ${ac_cv_lib_posix_remove+:} false
; then :
9186 $as_echo_n "(cached) " >&6
9188 ac_check_lib_save_LIBS
=$LIBS
9189 LIBS
="-lposix $LIBS"
9190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9191 /* end confdefs.h. */
9193 /* Override any GCC internal prototype to avoid an error.
9194 Use char because int might match the return type of a GCC
9195 builtin and then its argument prototype would still apply. */
9208 if ac_fn_c_try_link
"$LINENO"; then :
9209 ac_cv_lib_posix_remove
=yes
9211 ac_cv_lib_posix_remove
=no
9213 rm -f core conftest.err conftest.
$ac_objext \
9214 conftest
$ac_exeext conftest.
$ac_ext
9215 LIBS
=$ac_check_lib_save_LIBS
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9218 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9219 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9220 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9225 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9226 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9227 if test "x$ac_cv_func_shmat" = xyes
; then :
9231 if test $ac_cv_func_shmat = no
; then
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9233 $as_echo_n "checking for shmat in -lipc... " >&6; }
9234 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9235 $as_echo_n "(cached) " >&6
9237 ac_check_lib_save_LIBS
=$LIBS
9239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9240 /* end confdefs.h. */
9242 /* Override any GCC internal prototype to avoid an error.
9243 Use char because int might match the return type of a GCC
9244 builtin and then its argument prototype would still apply. */
9257 if ac_fn_c_try_link
"$LINENO"; then :
9258 ac_cv_lib_ipc_shmat
=yes
9260 ac_cv_lib_ipc_shmat
=no
9262 rm -f core conftest.err conftest.
$ac_objext \
9263 conftest
$ac_exeext conftest.
$ac_ext
9264 LIBS
=$ac_check_lib_save_LIBS
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9267 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9268 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9269 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9275 # Check for libraries that X11R6 Xt/Xaw programs need.
9276 ac_save_LDFLAGS
=$LDFLAGS
9277 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9278 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9279 # check for ICE first), but we must link in the order -lSM -lICE or
9280 # we get undefined symbols. So assume we have SM if we have ICE.
9281 # These have to be linked with before -lX11, unlike the other
9282 # libraries we check for below, so use a different variable.
9283 # John Interrante, Karl Berry
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9285 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9286 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9287 $as_echo_n "(cached) " >&6
9289 ac_check_lib_save_LIBS
=$LIBS
9290 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9292 /* end confdefs.h. */
9294 /* Override any GCC internal prototype to avoid an error.
9295 Use char because int might match the return type of a GCC
9296 builtin and then its argument prototype would still apply. */
9300 char IceConnectionNumber ();
9304 return IceConnectionNumber ();
9309 if ac_fn_c_try_link
"$LINENO"; then :
9310 ac_cv_lib_ICE_IceConnectionNumber
=yes
9312 ac_cv_lib_ICE_IceConnectionNumber
=no
9314 rm -f core conftest.err conftest.
$ac_objext \
9315 conftest
$ac_exeext conftest.
$ac_ext
9316 LIBS
=$ac_check_lib_save_LIBS
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9319 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9320 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9321 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9324 LDFLAGS
=$ac_save_LDFLAGS
9329 if test "$have_x" = "yes"
9331 ac_save_CPPFLAGS
="$CPPFLAGS"
9332 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9335 $as_echo_n "checking for -lX11... " >&6; }
9336 if ${ac_cv_lib_soname_X11+:} false
; then :
9337 $as_echo_n "(cached) " >&6
9339 ac_check_soname_save_LIBS
=$LIBS
9340 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9342 /* end confdefs.h. */
9344 /* Override any GCC internal prototype to avoid an error.
9345 Use char because int might match the return type of a GCC
9346 builtin and then its argument prototype would still apply. */
9350 char XCreateWindow ();
9354 return XCreateWindow ();
9359 if ac_fn_c_try_link
"$LINENO"; then :
9361 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9362 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'` ;;
9363 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9364 if ${ac_cv_lib_soname_X11:+false} :; then :
9365 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9369 rm -f core conftest.err conftest.
$ac_objext \
9370 conftest
$ac_exeext conftest.
$ac_ext
9371 LIBS
=$ac_check_soname_save_LIBS
9373 if ${ac_cv_lib_soname_X11:+false} :; then :
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9375 $as_echo "not found" >&6; }
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9379 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9381 cat >>confdefs.h
<<_ACEOF
9382 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9388 $as_echo_n "checking for -lXext... " >&6; }
9389 if ${ac_cv_lib_soname_Xext+:} false
; then :
9390 $as_echo_n "(cached) " >&6
9392 ac_check_soname_save_LIBS
=$LIBS
9393 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9395 /* end confdefs.h. */
9397 /* Override any GCC internal prototype to avoid an error.
9398 Use char because int might match the return type of a GCC
9399 builtin and then its argument prototype would still apply. */
9403 char XextCreateExtension ();
9407 return XextCreateExtension ();
9412 if ac_fn_c_try_link
"$LINENO"; then :
9414 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9415 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'` ;;
9416 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9417 if ${ac_cv_lib_soname_Xext:+false} :; then :
9418 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9422 rm -f core conftest.err conftest.
$ac_objext \
9423 conftest
$ac_exeext conftest.
$ac_ext
9424 LIBS
=$ac_check_soname_save_LIBS
9426 if ${ac_cv_lib_soname_Xext:+false} :; then :
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9428 $as_echo "not found" >&6; }
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9432 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9434 cat >>confdefs.h
<<_ACEOF
9435 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9438 X_LIBS
="$X_LIBS -lXext"
9440 X_LIBS
="$X_LIBS -lX11"
9442 for ac_header
in X11
/Xlib.h \
9445 X11
/Xcursor
/Xcursor.h \
9446 X11
/extensions
/shape.h \
9447 X11
/extensions
/XInput.h \
9448 X11
/extensions
/XInput2.h \
9449 X11
/extensions
/XShm.h \
9450 X11
/extensions
/Xcomposite.h \
9451 X11
/extensions
/Xinerama.h \
9452 X11
/extensions
/Xrandr.h \
9453 X11
/extensions
/Xrender.h \
9454 X11
/extensions
/xf86vmode.h \
9455 X11
/extensions
/xf86vmproto.h
9457 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9458 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9459 # include <X11/Xlib.h>
9461 #ifdef HAVE_X11_XUTIL_H
9462 # include <X11/Xutil.h>
9465 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9466 cat >>confdefs.h
<<_ACEOF
9467 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9475 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9478 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9479 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9480 $as_echo_n "(cached) " >&6
9482 ac_check_lib_save_LIBS
=$LIBS
9483 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9485 /* end confdefs.h. */
9487 /* Override any GCC internal prototype to avoid an error.
9488 Use char because int might match the return type of a GCC
9489 builtin and then its argument prototype would still apply. */
9493 char XkbQueryExtension ();
9497 return XkbQueryExtension ();
9502 if ac_fn_c_try_link
"$LINENO"; then :
9503 ac_cv_lib_X11_XkbQueryExtension
=yes
9505 ac_cv_lib_X11_XkbQueryExtension
=no
9507 rm -f core conftest.err conftest.
$ac_objext \
9508 conftest
$ac_exeext conftest.
$ac_ext
9509 LIBS
=$ac_check_lib_save_LIBS
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9512 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9513 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9515 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9521 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9524 $as_echo_n "checking for -lXcursor... " >&6; }
9525 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9526 $as_echo_n "(cached) " >&6
9528 ac_check_soname_save_LIBS
=$LIBS
9529 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9533 /* Override any GCC internal prototype to avoid an error.
9534 Use char because int might match the return type of a GCC
9535 builtin and then its argument prototype would still apply. */
9539 char XcursorImageLoadCursor ();
9543 return XcursorImageLoadCursor ();
9548 if ac_fn_c_try_link
"$LINENO"; then :
9550 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9551 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'` ;;
9552 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9553 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9554 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9558 rm -f core conftest.err conftest.
$ac_objext \
9559 conftest
$ac_exeext conftest.
$ac_ext
9560 LIBS
=$ac_check_soname_save_LIBS
9562 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9564 $as_echo "not found" >&6; }
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9568 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9570 cat >>confdefs.h
<<_ACEOF
9571 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9577 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9578 case "x$with_xcursor" in
9579 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9581 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9582 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9586 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9589 $as_echo_n "checking for -lXi... " >&6; }
9590 if ${ac_cv_lib_soname_Xi+:} false
; then :
9591 $as_echo_n "(cached) " >&6
9593 ac_check_soname_save_LIBS
=$LIBS
9594 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9596 /* end confdefs.h. */
9598 /* Override any GCC internal prototype to avoid an error.
9599 Use char because int might match the return type of a GCC
9600 builtin and then its argument prototype would still apply. */
9604 char XOpenDevice ();
9608 return XOpenDevice ();
9613 if ac_fn_c_try_link
"$LINENO"; then :
9615 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9616 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'` ;;
9617 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9618 if ${ac_cv_lib_soname_Xi:+false} :; then :
9619 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9623 rm -f core conftest.err conftest.
$ac_objext \
9624 conftest
$ac_exeext conftest.
$ac_ext
9625 LIBS
=$ac_check_soname_save_LIBS
9627 if ${ac_cv_lib_soname_Xi:+false} :; then :
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9629 $as_echo "not found" >&6; }
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9633 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9635 cat >>confdefs.h
<<_ACEOF
9636 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9642 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9643 case "x$with_xinput" in
9644 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9646 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9647 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9651 if test "x$ac_cv_lib_soname_Xi" != x
9653 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9654 case "x$with_xinput2" in
9655 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9657 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9658 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9663 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9666 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9667 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9668 $as_echo_n "(cached) " >&6
9670 ac_check_lib_save_LIBS
=$LIBS
9671 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9673 /* end confdefs.h. */
9675 /* Override any GCC internal prototype to avoid an error.
9676 Use char because int might match the return type of a GCC
9677 builtin and then its argument prototype would still apply. */
9681 char XShmQueryExtension ();
9685 return XShmQueryExtension ();
9690 if ac_fn_c_try_link
"$LINENO"; then :
9691 ac_cv_lib_Xext_XShmQueryExtension
=yes
9693 ac_cv_lib_Xext_XShmQueryExtension
=no
9695 rm -f core conftest.err conftest.
$ac_objext \
9696 conftest
$ac_exeext conftest.
$ac_ext
9697 LIBS
=$ac_check_lib_save_LIBS
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9700 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9701 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9703 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9708 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9709 case "x$with_xshm" in
9710 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9712 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9713 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9717 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9720 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9721 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9722 $as_echo_n "(cached) " >&6
9724 ac_check_lib_save_LIBS
=$LIBS
9725 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9727 /* end confdefs.h. */
9729 /* Override any GCC internal prototype to avoid an error.
9730 Use char because int might match the return type of a GCC
9731 builtin and then its argument prototype would still apply. */
9735 char XShapeQueryExtension ();
9739 return XShapeQueryExtension ();
9744 if ac_fn_c_try_link
"$LINENO"; then :
9745 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9747 ac_cv_lib_Xext_XShapeQueryExtension
=no
9749 rm -f core conftest.err conftest.
$ac_objext \
9750 conftest
$ac_exeext conftest.
$ac_ext
9751 LIBS
=$ac_check_lib_save_LIBS
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9754 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9755 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9757 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9762 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9763 case "x$with_xshape" in
9764 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9766 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9767 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9771 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9774 $as_echo_n "checking for -lXxf86vm... " >&6; }
9775 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9776 $as_echo_n "(cached) " >&6
9778 ac_check_soname_save_LIBS
=$LIBS
9779 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9783 /* Override any GCC internal prototype to avoid an error.
9784 Use char because int might match the return type of a GCC
9785 builtin and then its argument prototype would still apply. */
9789 char XF86VidModeQueryExtension ();
9793 return XF86VidModeQueryExtension ();
9798 if ac_fn_c_try_link
"$LINENO"; then :
9800 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9801 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'` ;;
9802 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9803 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9804 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9808 rm -f core conftest.err conftest.
$ac_objext \
9809 conftest
$ac_exeext conftest.
$ac_ext
9810 LIBS
=$ac_check_soname_save_LIBS
9812 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9814 $as_echo "not found" >&6; }
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9818 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9820 cat >>confdefs.h
<<_ACEOF
9821 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9827 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9828 case "x$with_xxf86vm" in
9829 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9831 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9832 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9836 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9839 $as_echo_n "checking for -lXrender... " >&6; }
9840 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9841 $as_echo_n "(cached) " >&6
9843 ac_check_soname_save_LIBS
=$LIBS
9844 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9848 /* Override any GCC internal prototype to avoid an error.
9849 Use char because int might match the return type of a GCC
9850 builtin and then its argument prototype would still apply. */
9854 char XRenderQueryExtension ();
9858 return XRenderQueryExtension ();
9863 if ac_fn_c_try_link
"$LINENO"; then :
9865 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9866 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'` ;;
9867 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9868 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9869 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9873 rm -f core conftest.err conftest.
$ac_objext \
9874 conftest
$ac_exeext conftest.
$ac_ext
9875 LIBS
=$ac_check_soname_save_LIBS
9877 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9879 $as_echo "not found" >&6; }
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9883 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9885 cat >>confdefs.h
<<_ACEOF
9886 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9890 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9891 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9892 $as_echo_n "(cached) " >&6
9894 ac_check_lib_save_LIBS
=$LIBS
9895 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9899 /* Override any GCC internal prototype to avoid an error.
9900 Use char because int might match the return type of a GCC
9901 builtin and then its argument prototype would still apply. */
9905 char XRenderSetPictureTransform ();
9909 return XRenderSetPictureTransform ();
9914 if ac_fn_c_try_link
"$LINENO"; then :
9915 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9917 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9919 rm -f core conftest.err conftest.
$ac_objext \
9920 conftest
$ac_exeext conftest.
$ac_ext
9921 LIBS
=$ac_check_lib_save_LIBS
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9924 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9925 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9927 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9932 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9933 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9934 $as_echo_n "(cached) " >&6
9936 ac_check_lib_save_LIBS
=$LIBS
9937 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9939 /* end confdefs.h. */
9941 /* Override any GCC internal prototype to avoid an error.
9942 Use char because int might match the return type of a GCC
9943 builtin and then its argument prototype would still apply. */
9947 char XRenderCreateLinearGradient ();
9951 return XRenderCreateLinearGradient ();
9956 if ac_fn_c_try_link
"$LINENO"; then :
9957 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9959 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9961 rm -f core conftest.err conftest.
$ac_objext \
9962 conftest
$ac_exeext conftest.
$ac_ext
9963 LIBS
=$ac_check_lib_save_LIBS
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9966 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9967 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9969 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9976 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9977 case "x$with_xrender" in
9978 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9980 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9981 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9985 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9988 /* end confdefs.h. */
9989 #include <X11/Xlib.h>
9990 #include <X11/extensions/Xrandr.h>
9994 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9999 if ac_fn_c_try_compile
"$LINENO"; then :
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10001 $as_echo_n "checking for -lXrandr... " >&6; }
10002 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10003 $as_echo_n "(cached) " >&6
10005 ac_check_soname_save_LIBS
=$LIBS
10006 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10010 /* Override any GCC internal prototype to avoid an error.
10011 Use char because int might match the return type of a GCC
10012 builtin and then its argument prototype would still apply. */
10016 char XRRQueryExtension ();
10020 return XRRQueryExtension ();
10025 if ac_fn_c_try_link
"$LINENO"; then :
10027 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10028 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'` ;;
10029 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10030 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10031 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10035 rm -f core conftest.err conftest.
$ac_objext \
10036 conftest
$ac_exeext conftest.
$ac_ext
10037 LIBS
=$ac_check_soname_save_LIBS
10039 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10041 $as_echo "not found" >&6; }
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10045 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10047 cat >>confdefs.h
<<_ACEOF
10048 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10052 /* end confdefs.h. */
10053 #include <X11/Xlib.h>
10054 #include <X11/extensions/Xrandr.h>
10058 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10063 if ac_fn_c_try_compile
"$LINENO"; then :
10065 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10073 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10074 case "x$with_xrandr" in
10075 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10077 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10078 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10082 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10085 /* end confdefs.h. */
10086 #include <X11/Xlib.h>
10087 #include <X11/extensions/Xinerama.h>
10091 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10096 if ac_fn_c_try_compile
"$LINENO"; then :
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10098 $as_echo_n "checking for -lXinerama... " >&6; }
10099 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10100 $as_echo_n "(cached) " >&6
10102 ac_check_soname_save_LIBS
=$LIBS
10103 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10105 /* end confdefs.h. */
10107 /* Override any GCC internal prototype to avoid an error.
10108 Use char because int might match the return type of a GCC
10109 builtin and then its argument prototype would still apply. */
10113 char XineramaQueryScreens ();
10117 return XineramaQueryScreens ();
10122 if ac_fn_c_try_link
"$LINENO"; then :
10124 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10125 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'` ;;
10126 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10127 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10128 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10132 rm -f core conftest.err conftest.
$ac_objext \
10133 conftest
$ac_exeext conftest.
$ac_ext
10134 LIBS
=$ac_check_soname_save_LIBS
10136 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10138 $as_echo "not found" >&6; }
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10142 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10144 cat >>confdefs.h
<<_ACEOF
10145 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10153 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10154 case "x$with_xinerama" in
10155 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10157 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10158 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10162 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10165 $as_echo_n "checking for -lXcomposite... " >&6; }
10166 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10167 $as_echo_n "(cached) " >&6
10169 ac_check_soname_save_LIBS
=$LIBS
10170 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10172 /* end confdefs.h. */
10174 /* Override any GCC internal prototype to avoid an error.
10175 Use char because int might match the return type of a GCC
10176 builtin and then its argument prototype would still apply. */
10180 char XCompositeRedirectWindow ();
10184 return XCompositeRedirectWindow ();
10189 if ac_fn_c_try_link
"$LINENO"; then :
10191 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10192 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'` ;;
10193 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10194 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10195 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10199 rm -f core conftest.err conftest.
$ac_objext \
10200 conftest
$ac_exeext conftest.
$ac_ext
10201 LIBS
=$ac_check_soname_save_LIBS
10203 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10205 $as_echo "not found" >&6; }
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10209 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10211 cat >>confdefs.h
<<_ACEOF
10212 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10218 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10219 case "x$with_xcomposite" in
10220 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10222 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10223 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10227 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10228 #include <X11/Xlib.h>
10231 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10233 cat >>confdefs.h
<<_ACEOF
10234 #define HAVE_XICCALLBACK_CALLBACK 1
10239 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10240 #include <X11/Xlib.h>
10243 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10245 cat >>confdefs.h
<<_ACEOF
10246 #define HAVE_XEVENT_XCOOKIE 1
10255 if test "x$with_opengl" != "xno"
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10258 $as_echo_n "checking for -lGL... " >&6; }
10259 if ${ac_cv_lib_soname_GL+:} false
; then :
10260 $as_echo_n "(cached) " >&6
10262 ac_check_soname_save_LIBS
=$LIBS
10263 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h. */
10267 /* Override any GCC internal prototype to avoid an error.
10268 Use char because int might match the return type of a GCC
10269 builtin and then its argument prototype would still apply. */
10273 char glXCreateContext ();
10277 return glXCreateContext ();
10282 if ac_fn_c_try_link
"$LINENO"; then :
10284 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10285 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'` ;;
10286 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10287 if ${ac_cv_lib_soname_GL:+false} :; then :
10288 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10292 rm -f core conftest.err conftest.
$ac_objext \
10293 conftest
$ac_exeext conftest.
$ac_ext
10294 LIBS
=$ac_check_soname_save_LIBS
10296 if ${ac_cv_lib_soname_GL:+false} :; then :
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10298 $as_echo "not found" >&6; }
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10300 $as_echo_n "checking for -lGL... " >&6; }
10301 if ${ac_cv_lib_soname_GL+:} false
; then :
10302 $as_echo_n "(cached) " >&6
10304 ac_check_soname_save_LIBS
=$LIBS
10305 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"
10306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10309 /* Override any GCC internal prototype to avoid an error.
10310 Use char because int might match the return type of a GCC
10311 builtin and then its argument prototype would still apply. */
10315 char glXCreateContext ();
10319 return glXCreateContext ();
10324 if ac_fn_c_try_link
"$LINENO"; then :
10326 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10327 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'` ;;
10328 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10329 if ${ac_cv_lib_soname_GL:+false} :; then :
10330 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10334 rm -f core conftest.err conftest.
$ac_objext \
10335 conftest
$ac_exeext conftest.
$ac_ext
10336 LIBS
=$ac_check_soname_save_LIBS
10338 if ${ac_cv_lib_soname_GL:+false} :; then :
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10340 $as_echo "not found" >&6; }
10341 if test -f /usr
/X11R
6/lib
/libGL.a
10343 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10344 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10346 opengl_msg
="No OpenGL library found on this system."
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10350 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10352 cat >>confdefs.h
<<_ACEOF
10353 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10356 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"
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10360 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10362 cat >>confdefs.h
<<_ACEOF
10363 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10368 if test "x$with_glu" != "xno"
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10371 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10372 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10373 $as_echo_n "(cached) " >&6
10375 ac_check_lib_save_LIBS
=$LIBS
10376 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10378 /* end confdefs.h. */
10380 /* Override any GCC internal prototype to avoid an error.
10381 Use char because int might match the return type of a GCC
10382 builtin and then its argument prototype would still apply. */
10390 return gluLookAt ();
10395 if ac_fn_c_try_link
"$LINENO"; then :
10396 ac_cv_lib_GLU_gluLookAt
=yes
10398 ac_cv_lib_GLU_gluLookAt
=no
10400 rm -f core conftest.err conftest.
$ac_objext \
10401 conftest
$ac_exeext conftest.
$ac_ext
10402 LIBS
=$ac_check_lib_save_LIBS
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10405 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10406 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10410 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10411 case "x$with_glu" in
10412 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10414 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10415 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10420 if test "x$with_osmesa" != "xno"
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10423 $as_echo_n "checking for -lOSMesa... " >&6; }
10424 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10425 $as_echo_n "(cached) " >&6
10427 ac_check_soname_save_LIBS
=$LIBS
10428 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10430 /* end confdefs.h. */
10432 /* Override any GCC internal prototype to avoid an error.
10433 Use char because int might match the return type of a GCC
10434 builtin and then its argument prototype would still apply. */
10447 if ac_fn_c_try_link
"$LINENO"; then :
10449 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10450 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'` ;;
10451 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10452 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10453 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10457 rm -f core conftest.err conftest.
$ac_objext \
10458 conftest
$ac_exeext conftest.
$ac_ext
10459 LIBS
=$ac_check_soname_save_LIBS
10461 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10463 $as_echo "not found" >&6; }
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10467 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10469 cat >>confdefs.h
<<_ACEOF
10470 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10475 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10476 case "x$with_osmesa" in
10477 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10479 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10480 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10485 if test -n "$opengl_msg"; then :
10486 case "x$with_opengl" in
10487 x
) as_fn_append wine_warnings
"|$opengl_msg
10488 OpenGL and Direct3D won't be supported." ;;
10490 *) as_fn_error $?
"$opengl_msg
10491 OpenGL and Direct3D won't be supported.
10492 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10496 CPPFLAGS
="$ac_save_CPPFLAGS"
10500 enable_winex11_drv
=${enable_winex11_drv:-no}
10502 if test "x$X_LIBS" = "x"; then :
10505 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10506 without X support, which probably isn't what you want. You will need
10507 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10508 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10512 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10514 if test "$ac_cv_header_CL_cl_h" = "yes"
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10517 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10518 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10519 $as_echo_n "(cached) " >&6
10521 ac_check_lib_save_LIBS
=$LIBS
10522 LIBS
="-lOpenCL $LIBS"
10523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10524 /* end confdefs.h. */
10526 /* Override any GCC internal prototype to avoid an error.
10527 Use char because int might match the return type of a GCC
10528 builtin and then its argument prototype would still apply. */
10532 char clGetPlatformInfo ();
10536 return clGetPlatformInfo ();
10541 if ac_fn_c_try_link
"$LINENO"; then :
10542 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10544 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10546 rm -f core conftest.err conftest.
$ac_objext \
10547 conftest
$ac_exeext conftest.
$ac_ext
10548 LIBS
=$ac_check_lib_save_LIBS
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10551 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10552 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10553 OPENCL_LIBS
="-lOpenCL"
10558 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10559 case "x$with_opencl" in
10560 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10562 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10563 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10566 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10568 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10571 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10572 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10573 $as_echo_n "(cached) " >&6
10575 ac_check_lib_save_LIBS
=$LIBS
10576 LIBS
="-lpcap $LIBS"
10577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10578 /* end confdefs.h. */
10580 /* Override any GCC internal prototype to avoid an error.
10581 Use char because int might match the return type of a GCC
10582 builtin and then its argument prototype would still apply. */
10586 char pcap_create ();
10590 return pcap_create ();
10595 if ac_fn_c_try_link
"$LINENO"; then :
10596 ac_cv_lib_pcap_pcap_create
=yes
10598 ac_cv_lib_pcap_pcap_create
=no
10600 rm -f core conftest.err conftest.
$ac_objext \
10601 conftest
$ac_exeext conftest.
$ac_ext
10602 LIBS
=$ac_check_lib_save_LIBS
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10605 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10606 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10612 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10613 case "x$with_pcap" in
10614 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10616 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10617 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10620 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10623 if test "x$with_xml" != "xno"
10625 if ${XML2_CFLAGS:+false} :; then :
10626 if ${PKG_CONFIG+:} false
; then :
10627 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10630 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10631 if ${XML2_LIBS:+false} :; then :
10632 if ${PKG_CONFIG+:} false
; then :
10633 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10636 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10637 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10638 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10639 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10640 ac_save_CPPFLAGS
=$CPPFLAGS
10641 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10642 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10644 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10645 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10646 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10647 cat >>confdefs.h
<<_ACEOF
10648 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10655 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"
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10658 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10659 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10660 $as_echo_n "(cached) " >&6
10662 ac_check_lib_save_LIBS
=$LIBS
10663 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10665 /* end confdefs.h. */
10667 /* Override any GCC internal prototype to avoid an error.
10668 Use char because int might match the return type of a GCC
10669 builtin and then its argument prototype would still apply. */
10673 char xmlParseMemory ();
10677 return xmlParseMemory ();
10682 if ac_fn_c_try_link
"$LINENO"; then :
10683 ac_cv_lib_xml2_xmlParseMemory
=yes
10685 ac_cv_lib_xml2_xmlParseMemory
=no
10687 rm -f core conftest.err conftest.
$ac_objext \
10688 conftest
$ac_exeext conftest.
$ac_ext
10689 LIBS
=$ac_check_lib_save_LIBS
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10692 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10693 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10695 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10702 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10703 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10704 $as_echo_n "(cached) " >&6
10706 ac_check_lib_save_LIBS
=$LIBS
10707 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10711 /* Override any GCC internal prototype to avoid an error.
10712 Use char because int might match the return type of a GCC
10713 builtin and then its argument prototype would still apply. */
10717 char xmlReadMemory ();
10721 return xmlReadMemory ();
10726 if ac_fn_c_try_link
"$LINENO"; then :
10727 ac_cv_lib_xml2_xmlReadMemory
=yes
10729 ac_cv_lib_xml2_xmlReadMemory
=no
10731 rm -f core conftest.err conftest.
$ac_objext \
10732 conftest
$ac_exeext conftest.
$ac_ext
10733 LIBS
=$ac_check_lib_save_LIBS
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10736 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10737 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10739 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10744 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10745 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10746 $as_echo_n "(cached) " >&6
10748 ac_check_lib_save_LIBS
=$LIBS
10749 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10759 char xmlNewDocPI ();
10763 return xmlNewDocPI ();
10768 if ac_fn_c_try_link
"$LINENO"; then :
10769 ac_cv_lib_xml2_xmlNewDocPI
=yes
10771 ac_cv_lib_xml2_xmlNewDocPI
=no
10773 rm -f core conftest.err conftest.
$ac_objext \
10774 conftest
$ac_exeext conftest.
$ac_ext
10775 LIBS
=$ac_check_lib_save_LIBS
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10778 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10779 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10781 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10786 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10787 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10788 $as_echo_n "(cached) " >&6
10790 ac_check_lib_save_LIBS
=$LIBS
10791 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10801 char xmlSchemaSetParserStructuredErrors ();
10805 return xmlSchemaSetParserStructuredErrors ();
10810 if ac_fn_c_try_link
"$LINENO"; then :
10811 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10813 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10815 rm -f core conftest.err conftest.
$ac_objext \
10816 conftest
$ac_exeext conftest.
$ac_ext
10817 LIBS
=$ac_check_lib_save_LIBS
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10820 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10821 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10823 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10828 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10829 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10830 $as_echo_n "(cached) " >&6
10832 ac_check_lib_save_LIBS
=$LIBS
10833 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10837 /* Override any GCC internal prototype to avoid an error.
10838 Use char because int might match the return type of a GCC
10839 builtin and then its argument prototype would still apply. */
10843 char xmlSchemaSetValidStructuredErrors ();
10847 return xmlSchemaSetValidStructuredErrors ();
10852 if ac_fn_c_try_link
"$LINENO"; then :
10853 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10855 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10857 rm -f core conftest.err conftest.
$ac_objext \
10858 conftest
$ac_exeext conftest.
$ac_ext
10859 LIBS
=$ac_check_lib_save_LIBS
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10862 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10863 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10865 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10870 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10871 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10872 $as_echo_n "(cached) " >&6
10874 ac_check_lib_save_LIBS
=$LIBS
10875 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10877 /* end confdefs.h. */
10879 /* Override any GCC internal prototype to avoid an error.
10880 Use char because int might match the return type of a GCC
10881 builtin and then its argument prototype would still apply. */
10885 char xmlFirstElementChild ();
10889 return xmlFirstElementChild ();
10894 if ac_fn_c_try_link
"$LINENO"; then :
10895 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10897 ac_cv_lib_xml2_xmlFirstElementChild
=no
10899 rm -f core conftest.err conftest.
$ac_objext \
10900 conftest
$ac_exeext conftest.
$ac_ext
10901 LIBS
=$ac_check_lib_save_LIBS
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10904 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10905 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10907 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10911 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10913 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10915 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10923 CPPFLAGS
=$ac_save_CPPFLAGS
10924 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10925 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10928 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10929 case "x$with_xml" in
10930 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10932 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10933 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10937 if test "x$with_xslt" != "xno"
10939 if ${XSLT_CFLAGS:+false} :; then :
10940 if ${PKG_CONFIG+:} false
; then :
10941 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10944 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10945 if ${XSLT_LIBS:+false} :; then :
10946 if ${PKG_CONFIG+:} false
; then :
10947 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10950 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10951 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10952 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10953 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10954 ac_save_CPPFLAGS
=$CPPFLAGS
10955 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10956 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10958 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10959 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10960 # include <libxslt/pattern.h>
10963 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10964 cat >>confdefs.h
<<_ACEOF
10965 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10972 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10975 $as_echo_n "checking for -lxslt... " >&6; }
10976 if ${ac_cv_lib_soname_xslt+:} false
; then :
10977 $as_echo_n "(cached) " >&6
10979 ac_check_soname_save_LIBS
=$LIBS
10980 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10982 /* end confdefs.h. */
10984 /* Override any GCC internal prototype to avoid an error.
10985 Use char because int might match the return type of a GCC
10986 builtin and then its argument prototype would still apply. */
10990 char xsltCompilePattern ();
10994 return xsltCompilePattern ();
10999 if ac_fn_c_try_link
"$LINENO"; then :
11001 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11002 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'` ;;
11003 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11004 if ${ac_cv_lib_soname_xslt:+false} :; then :
11005 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11009 rm -f core conftest.err conftest.
$ac_objext \
11010 conftest
$ac_exeext conftest.
$ac_ext
11011 LIBS
=$ac_check_soname_save_LIBS
11013 if ${ac_cv_lib_soname_xslt:+false} :; then :
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11015 $as_echo "not found" >&6; }
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11019 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11021 cat >>confdefs.h
<<_ACEOF
11022 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11030 CPPFLAGS
=$ac_save_CPPFLAGS
11031 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11032 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11035 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11036 case "x$with_xslt" in
11037 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11039 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11040 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11044 if test "x$with_dbus" != "xno"
11046 if ${DBUS_CFLAGS:+false} :; then :
11047 if ${PKG_CONFIG+:} false
; then :
11048 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11052 if ${DBUS_LIBS:+false} :; then :
11053 if ${PKG_CONFIG+:} false
; then :
11054 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11059 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11060 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11061 ac_save_CPPFLAGS
=$CPPFLAGS
11062 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11063 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11064 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11066 $as_echo_n "checking for -ldbus-1... " >&6; }
11067 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11068 $as_echo_n "(cached) " >&6
11070 ac_check_soname_save_LIBS
=$LIBS
11071 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11075 /* Override any GCC internal prototype to avoid an error.
11076 Use char because int might match the return type of a GCC
11077 builtin and then its argument prototype would still apply. */
11081 char dbus_connection_close ();
11085 return dbus_connection_close ();
11090 if ac_fn_c_try_link
"$LINENO"; then :
11092 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11093 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'` ;;
11094 *) 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'`
11095 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11096 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11100 rm -f core conftest.err conftest.
$ac_objext \
11101 conftest
$ac_exeext conftest.
$ac_ext
11102 LIBS
=$ac_check_soname_save_LIBS
11104 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11106 $as_echo "not found" >&6; }
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11110 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11112 cat >>confdefs.h
<<_ACEOF
11113 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11123 CPPFLAGS
=$ac_save_CPPFLAGS
11124 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11125 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11128 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11129 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11130 case "x$with_dbus" in
11131 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11133 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11134 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11138 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11140 if ${HAL_CFLAGS:+false} :; then :
11141 if ${PKG_CONFIG+:} false
; then :
11142 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11146 if ${HAL_LIBS:+false} :; then :
11147 if ${PKG_CONFIG+:} false
; then :
11148 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11152 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11153 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11154 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11155 ac_save_CPPFLAGS
=$CPPFLAGS
11156 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11157 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11158 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11160 $as_echo_n "checking for -lhal... " >&6; }
11161 if ${ac_cv_lib_soname_hal+:} false
; then :
11162 $as_echo_n "(cached) " >&6
11164 ac_check_soname_save_LIBS
=$LIBS
11165 LIBS
="-lhal $HAL_LIBS $LIBS"
11166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h. */
11169 /* Override any GCC internal prototype to avoid an error.
11170 Use char because int might match the return type of a GCC
11171 builtin and then its argument prototype would still apply. */
11175 char libhal_ctx_new ();
11179 return libhal_ctx_new ();
11184 if ac_fn_c_try_link
"$LINENO"; then :
11186 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11187 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'` ;;
11188 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11189 if ${ac_cv_lib_soname_hal:+false} :; then :
11190 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11194 rm -f core conftest.err conftest.
$ac_objext \
11195 conftest
$ac_exeext conftest.
$ac_ext
11196 LIBS
=$ac_check_soname_save_LIBS
11198 if ${ac_cv_lib_soname_hal:+false} :; then :
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11200 $as_echo "not found" >&6; }
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11204 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11206 cat >>confdefs.h
<<_ACEOF
11207 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11217 CPPFLAGS
=$ac_save_CPPFLAGS
11218 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11219 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11221 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11222 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11223 case "x$with_hal" in
11224 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11226 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11227 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11232 if test "x$with_gnutls" != "xno"
11234 if ${GNUTLS_CFLAGS:+false} :; then :
11235 if ${PKG_CONFIG+:} false
; then :
11236 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11240 if ${GNUTLS_LIBS:+false} :; then :
11241 if ${PKG_CONFIG+:} false
; then :
11242 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11247 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11248 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11249 ac_save_CPPFLAGS
=$CPPFLAGS
11250 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11251 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11252 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11254 /* end confdefs.h. */
11255 #include <gnutls/gnutls.h>
11256 #include <gnutls/crypto.h>
11260 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11265 if ac_fn_c_try_compile
"$LINENO"; then :
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11267 $as_echo_n "checking for -lgnutls... " >&6; }
11268 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11269 $as_echo_n "(cached) " >&6
11271 ac_check_soname_save_LIBS
=$LIBS
11272 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11274 /* end confdefs.h. */
11276 /* Override any GCC internal prototype to avoid an error.
11277 Use char because int might match the return type of a GCC
11278 builtin and then its argument prototype would still apply. */
11282 char gnutls_global_init ();
11286 return gnutls_global_init ();
11291 if ac_fn_c_try_link
"$LINENO"; then :
11293 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11294 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'` ;;
11295 *) 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'`
11296 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11297 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'`
11301 rm -f core conftest.err conftest.
$ac_objext \
11302 conftest
$ac_exeext conftest.
$ac_ext
11303 LIBS
=$ac_check_soname_save_LIBS
11305 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11307 $as_echo "not found" >&6; }
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11311 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11313 cat >>confdefs.h
<<_ACEOF
11314 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11326 CPPFLAGS
=$ac_save_CPPFLAGS
11327 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11328 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11331 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11332 case "x$with_gnutls" in
11333 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11335 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11336 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11341 if test "$ac_cv_header_ncurses_h" = "yes"
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11344 $as_echo_n "checking for -lncurses... " >&6; }
11345 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11346 $as_echo_n "(cached) " >&6
11348 ac_check_soname_save_LIBS
=$LIBS
11349 LIBS
="-lncurses $LIBS"
11350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11353 /* Override any GCC internal prototype to avoid an error.
11354 Use char because int might match the return type of a GCC
11355 builtin and then its argument prototype would still apply. */
11368 if ac_fn_c_try_link
"$LINENO"; then :
11370 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11371 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'` ;;
11372 *) 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'`
11373 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11374 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11378 rm -f core conftest.err conftest.
$ac_objext \
11379 conftest
$ac_exeext conftest.
$ac_ext
11380 LIBS
=$ac_check_soname_save_LIBS
11382 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11384 $as_echo "not found" >&6; }
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11388 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11390 cat >>confdefs.h
<<_ACEOF
11391 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11394 CURSES_LIBS
="-lncurses"
11396 elif test "$ac_cv_header_curses_h" = "yes"
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11399 $as_echo_n "checking for -lcurses... " >&6; }
11400 if ${ac_cv_lib_soname_curses+:} false
; then :
11401 $as_echo_n "(cached) " >&6
11403 ac_check_soname_save_LIBS
=$LIBS
11404 LIBS
="-lcurses $LIBS"
11405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h. */
11408 /* Override any GCC internal prototype to avoid an error.
11409 Use char because int might match the return type of a GCC
11410 builtin and then its argument prototype would still apply. */
11423 if ac_fn_c_try_link
"$LINENO"; then :
11425 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11426 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'` ;;
11427 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11428 if ${ac_cv_lib_soname_curses:+false} :; then :
11429 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11433 rm -f core conftest.err conftest.
$ac_objext \
11434 conftest
$ac_exeext conftest.
$ac_ext
11435 LIBS
=$ac_check_soname_save_LIBS
11437 if ${ac_cv_lib_soname_curses:+false} :; then :
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11439 $as_echo "not found" >&6; }
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11443 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11445 cat >>confdefs.h
<<_ACEOF
11446 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11449 CURSES_LIBS
="-lcurses"
11452 ac_save_LIBS
="$LIBS"
11453 LIBS
="$LIBS $CURSES_LIBS"
11454 for ac_func
in mousemask
11456 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11457 if test "x$ac_cv_func_mousemask" = xyes
; then :
11458 cat >>confdefs.h
<<_ACEOF
11459 #define HAVE_MOUSEMASK 1
11465 LIBS
="$ac_save_LIBS"
11466 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11467 case "x$with_curses" in
11468 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11470 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11471 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11475 if test "x$with_sane" != "xno"
11477 if ${SANE_CFLAGS:+false} :; then :
11478 if ${PKG_CONFIG+:} false
; then :
11479 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11482 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11483 if ${SANE_LIBS:+false} :; then :
11484 if ${PKG_CONFIG+:} false
; then :
11485 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11488 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11490 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11491 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11492 ac_save_CPPFLAGS
=$CPPFLAGS
11493 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11494 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11495 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11497 $as_echo_n "checking for -lsane... " >&6; }
11498 if ${ac_cv_lib_soname_sane+:} false
; then :
11499 $as_echo_n "(cached) " >&6
11501 ac_check_soname_save_LIBS
=$LIBS
11502 LIBS
="-lsane $SANE_LIBS $LIBS"
11503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11504 /* end confdefs.h. */
11506 /* Override any GCC internal prototype to avoid an error.
11507 Use char because int might match the return type of a GCC
11508 builtin and then its argument prototype would still apply. */
11516 return sane_init ();
11521 if ac_fn_c_try_link
"$LINENO"; then :
11523 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11524 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'` ;;
11525 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11526 if ${ac_cv_lib_soname_sane:+false} :; then :
11527 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11531 rm -f core conftest.err conftest.
$ac_objext \
11532 conftest
$ac_exeext conftest.
$ac_ext
11533 LIBS
=$ac_check_soname_save_LIBS
11535 if ${ac_cv_lib_soname_sane:+false} :; then :
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11537 $as_echo "not found" >&6; }
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11541 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11543 cat >>confdefs.h
<<_ACEOF
11544 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11554 CPPFLAGS
=$ac_save_CPPFLAGS
11555 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11556 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11559 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11560 case "x$with_sane" in
11561 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11563 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11564 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11568 if test "x$with_v4l" != "xno"
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11571 $as_echo_n "checking for -lv4l1... " >&6; }
11572 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11573 $as_echo_n "(cached) " >&6
11575 ac_check_soname_save_LIBS
=$LIBS
11576 LIBS
="-lv4l1 $LIBS"
11577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11580 /* Override any GCC internal prototype to avoid an error.
11581 Use char because int might match the return type of a GCC
11582 builtin and then its argument prototype would still apply. */
11590 return v4l1_open ();
11595 if ac_fn_c_try_link
"$LINENO"; then :
11597 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11598 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'` ;;
11599 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11600 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11601 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11605 rm -f core conftest.err conftest.
$ac_objext \
11606 conftest
$ac_exeext conftest.
$ac_ext
11607 LIBS
=$ac_check_soname_save_LIBS
11609 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11611 $as_echo "not found" >&6; }
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11615 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11617 cat >>confdefs.h
<<_ACEOF
11618 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11624 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11625 case "x$with_v4l" in
11626 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11628 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11629 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11633 if test "x$with_gphoto" != "xno"
11635 if ${GPHOTO2_CFLAGS:+false} :; then :
11636 if ${PKG_CONFIG+:} false
; then :
11637 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11640 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11641 if ${GPHOTO2_LIBS:+false} :; then :
11642 if ${PKG_CONFIG+:} false
; then :
11643 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11646 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11647 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11648 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11649 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11650 ac_save_CPPFLAGS
=$CPPFLAGS
11651 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11652 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11653 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11655 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11656 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11657 $as_echo_n "(cached) " >&6
11659 ac_check_lib_save_LIBS
=$LIBS
11660 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11662 /* end confdefs.h. */
11664 /* Override any GCC internal prototype to avoid an error.
11665 Use char because int might match the return type of a GCC
11666 builtin and then its argument prototype would still apply. */
11670 char gp_camera_new ();
11674 return gp_camera_new ();
11679 if ac_fn_c_try_link
"$LINENO"; then :
11680 ac_cv_lib_gphoto2_gp_camera_new
=yes
11682 ac_cv_lib_gphoto2_gp_camera_new
=no
11684 rm -f core conftest.err conftest.
$ac_objext \
11685 conftest
$ac_exeext conftest.
$ac_ext
11686 LIBS
=$ac_check_lib_save_LIBS
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11689 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11690 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11692 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11695 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11699 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11703 CPPFLAGS
=$ac_save_CPPFLAGS
11704 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11705 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11707 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11708 if ${PKG_CONFIG+:} false
; then :
11709 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11712 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11713 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11714 if ${PKG_CONFIG+:} false
; then :
11715 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11718 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11719 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11720 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11721 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11722 ac_save_CPPFLAGS
=$CPPFLAGS
11723 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11724 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11725 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11727 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11728 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11729 $as_echo_n "(cached) " >&6
11731 ac_check_lib_save_LIBS
=$LIBS
11732 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11734 /* end confdefs.h. */
11736 /* Override any GCC internal prototype to avoid an error.
11737 Use char because int might match the return type of a GCC
11738 builtin and then its argument prototype would still apply. */
11742 char gp_port_info_list_new ();
11746 return gp_port_info_list_new ();
11751 if ac_fn_c_try_link
"$LINENO"; then :
11752 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11754 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11756 rm -f core conftest.err conftest.
$ac_objext \
11757 conftest
$ac_exeext conftest.
$ac_ext
11758 LIBS
=$ac_check_lib_save_LIBS
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11761 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11762 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11764 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11767 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11771 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11775 CPPFLAGS
=$ac_save_CPPFLAGS
11776 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11777 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11780 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11781 case "x$with_gphoto" in
11782 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11784 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11785 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11788 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11789 case "x$with_gphoto" in
11790 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11792 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11793 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11798 if test "$ac_cv_header_resolv_h" = "yes"
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11801 $as_echo_n "checking for resolver library... " >&6; }
11802 if ${ac_cv_have_resolv+:} false
; then :
11803 $as_echo_n "(cached) " >&6
11805 ac_save_LIBS
="$LIBS"
11806 for lib
in '' -lresolv
11808 LIBS
="$lib $ac_save_LIBS"
11809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11810 /* end confdefs.h. */
11811 #ifdef HAVE_NETINET_IN_H
11812 #include <netinet/in.h>
11814 #include <resolv.h>
11818 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11823 if ac_fn_c_try_link
"$LINENO"; then :
11824 ac_cv_have_resolv
=${lib:-"none required"}
11826 ac_cv_have_resolv
="not found"
11828 rm -f core conftest.err conftest.
$ac_objext \
11829 conftest
$ac_exeext conftest.
$ac_ext
11830 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11832 LIBS
="$ac_save_LIBS"
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11835 $as_echo "$ac_cv_have_resolv" >&6; }
11837 case "$ac_cv_have_resolv" in
11841 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11844 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11846 RESOLV_LIBS
=$ac_cv_have_resolv
11851 if test "x$with_lcms2" != "xno"
11853 if ${LCMS2_CFLAGS:+false} :; then :
11854 if ${PKG_CONFIG+:} false
; then :
11855 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11859 if ${LCMS2_LIBS:+false} :; then :
11860 if ${PKG_CONFIG+:} false
; then :
11861 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11865 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11866 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11867 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11868 ac_save_CPPFLAGS
=$CPPFLAGS
11869 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11870 for ac_header
in lcms2.h
11872 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11873 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11874 cat >>confdefs.h
<<_ACEOF
11875 #define HAVE_LCMS2_H 1
11882 if test "$ac_cv_header_lcms2_h" = "yes"
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11885 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11886 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11887 $as_echo_n "(cached) " >&6
11889 ac_check_lib_save_LIBS
=$LIBS
11890 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11894 /* Override any GCC internal prototype to avoid an error.
11895 Use char because int might match the return type of a GCC
11896 builtin and then its argument prototype would still apply. */
11900 char cmsOpenProfileFromFile ();
11904 return cmsOpenProfileFromFile ();
11909 if ac_fn_c_try_link
"$LINENO"; then :
11910 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11912 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11914 rm -f core conftest.err conftest.
$ac_objext \
11915 conftest
$ac_exeext conftest.
$ac_ext
11916 LIBS
=$ac_check_lib_save_LIBS
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11919 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11920 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11922 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11932 CPPFLAGS
=$ac_save_CPPFLAGS
11933 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11934 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11937 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11938 case "x$with_cms" in
11939 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11941 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11942 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11946 if test "x$with_freetype" != "xno"
11948 if ${FREETYPE_CFLAGS:+false} :; then :
11949 if ${PKG_CONFIG+:} false
; then :
11950 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11953 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11954 if ${FREETYPE_LIBS:+false} :; then :
11955 if ${PKG_CONFIG+:} false
; then :
11956 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11959 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11960 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11961 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11962 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11963 ac_save_CPPFLAGS
=$CPPFLAGS
11964 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11965 for ac_header
in ft2build.h
11967 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11968 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11969 cat >>confdefs.h
<<_ACEOF
11970 #define HAVE_FT2BUILD_H 1
11977 if test "$ac_cv_header_ft2build_h" = "yes"
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11980 $as_echo_n "checking for -lfreetype... " >&6; }
11981 if ${ac_cv_lib_soname_freetype+:} false
; then :
11982 $as_echo_n "(cached) " >&6
11984 ac_check_soname_save_LIBS
=$LIBS
11985 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11987 /* end confdefs.h. */
11989 /* Override any GCC internal prototype to avoid an error.
11990 Use char because int might match the return type of a GCC
11991 builtin and then its argument prototype would still apply. */
11995 char FT_Init_FreeType ();
11999 return FT_Init_FreeType ();
12004 if ac_fn_c_try_link
"$LINENO"; then :
12006 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12007 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'` ;;
12008 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12009 if ${ac_cv_lib_soname_freetype:+false} :; then :
12010 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12014 rm -f core conftest.err conftest.
$ac_objext \
12015 conftest
$ac_exeext conftest.
$ac_ext
12016 LIBS
=$ac_check_soname_save_LIBS
12018 if ${ac_cv_lib_soname_freetype:+false} :; then :
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12020 $as_echo "not found" >&6; }
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12024 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12026 cat >>confdefs.h
<<_ACEOF
12027 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12031 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12033 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12034 #include FT_MODULE_H
12036 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12038 cat >>confdefs.h
<<_ACEOF
12039 #define HAVE_FT_TRUETYPEENGINETYPE 1
12050 CPPFLAGS
=$ac_save_CPPFLAGS
12051 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12052 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12055 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12056 case "x$with_freetype" in
12058 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12059 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12062 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12065 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12066 if ${ac_cv_c_ppdev+:} false
; then :
12067 $as_echo_n "(cached) " >&6
12069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12071 #ifdef HAVE_SYS_IOCTL_H
12072 # include <sys/ioctl.h>
12074 #include <linux/ppdev.h>
12078 ioctl (1,PPCLAIM,0)
12083 if ac_fn_c_try_compile
"$LINENO"; then :
12084 ac_cv_c_ppdev
="yes"
12088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12091 $as_echo "$ac_cv_c_ppdev" >&6; }
12092 if test "$ac_cv_c_ppdev" = "yes"
12095 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12099 ac_wine_check_funcs_save_LIBS
="$LIBS"
12100 LIBS
="$LIBS $PTHREAD_LIBS"
12102 pthread_attr_get_np \
12103 pthread_getattr_np \
12104 pthread_getthreadid_np \
12105 pthread_get_stackaddr_np \
12106 pthread_get_stacksize_np
12108 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12109 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12110 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12111 cat >>confdefs.h
<<_ACEOF
12112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12118 LIBS
="$ac_wine_check_funcs_save_LIBS"
12120 if test "$ac_cv_header_zlib_h" = "yes"
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12123 $as_echo_n "checking for inflate in -lz... " >&6; }
12124 if ${ac_cv_lib_z_inflate+:} false
; then :
12125 $as_echo_n "(cached) " >&6
12127 ac_check_lib_save_LIBS
=$LIBS
12129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12130 /* end confdefs.h. */
12132 /* Override any GCC internal prototype to avoid an error.
12133 Use char because int might match the return type of a GCC
12134 builtin and then its argument prototype would still apply. */
12147 if ac_fn_c_try_link
"$LINENO"; then :
12148 ac_cv_lib_z_inflate
=yes
12150 ac_cv_lib_z_inflate
=no
12152 rm -f core conftest.err conftest.
$ac_objext \
12153 conftest
$ac_exeext conftest.
$ac_ext
12154 LIBS
=$ac_check_lib_save_LIBS
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12157 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12158 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12160 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12167 if test "x$Z_LIBS" = "x"; then :
12168 case "x$with_zlib" in
12169 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12171 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12172 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12176 if test "x$enable_tools" != xno
12178 if test "$ac_cv_header_gettext_po_h" = "yes"
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12181 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12182 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12183 $as_echo_n "(cached) " >&6
12185 ac_check_lib_save_LIBS
=$LIBS
12186 LIBS
="-lgettextpo $LIBS"
12187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12190 /* Override any GCC internal prototype to avoid an error.
12191 Use char because int might match the return type of a GCC
12192 builtin and then its argument prototype would still apply. */
12196 char po_message_msgctxt ();
12200 return po_message_msgctxt ();
12205 if ac_fn_c_try_link
"$LINENO"; then :
12206 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12208 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12210 rm -f core conftest.err conftest.
$ac_objext \
12211 conftest
$ac_exeext conftest.
$ac_ext
12212 LIBS
=$ac_check_lib_save_LIBS
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12215 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12216 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12218 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12220 GETTEXTPO_LIBS
="-lgettextpo"
12225 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12226 case "x$with_gettextpo" in
12227 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12229 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12230 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12235 if test "x$with_gstreamer" != "xno"
12237 if ${GSTREAMER_CFLAGS:+false} :; then :
12238 if ${PKG_CONFIG+:} false
; then :
12239 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12243 if ${GSTREAMER_LIBS:+false} :; then :
12244 if ${PKG_CONFIG+:} false
; then :
12245 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12250 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12251 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12252 ac_save_CPPFLAGS
=$CPPFLAGS
12253 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12255 for i
in $GSTREAMER_CFLAGS
12258 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12261 GSTREAMER_CFLAGS
=$ac_gst_incl
12262 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12263 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12264 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12265 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12266 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12268 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12270 /* end confdefs.h. */
12271 #include <gst/app/gstappsink.h>
12275 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12280 if ac_fn_c_try_compile
"$LINENO"; then :
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12282 $as_echo "yes" >&6; }
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12284 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12285 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12286 $as_echo_n "(cached) " >&6
12288 ac_check_lib_save_LIBS
=$LIBS
12289 LIBS
="-lgstreamer-0.10 $LIBS"
12290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12291 /* end confdefs.h. */
12293 /* Override any GCC internal prototype to avoid an error.
12294 Use char because int might match the return type of a GCC
12295 builtin and then its argument prototype would still apply. */
12299 char gst_pad_get_caps_reffed ();
12303 return gst_pad_get_caps_reffed ();
12308 if ac_fn_c_try_link
"$LINENO"; then :
12309 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12311 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12313 rm -f core conftest.err conftest.
$ac_objext \
12314 conftest
$ac_exeext conftest.
$ac_ext
12315 LIBS
=$ac_check_lib_save_LIBS
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12318 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12319 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12321 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12322 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12323 $as_echo_n "(cached) " >&6
12325 ac_check_lib_save_LIBS
=$LIBS
12326 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12330 /* Override any GCC internal prototype to avoid an error.
12331 Use char because int might match the return type of a GCC
12332 builtin and then its argument prototype would still apply. */
12336 char gst_app_buffer_new ();
12340 return gst_app_buffer_new ();
12345 if ac_fn_c_try_link
"$LINENO"; then :
12346 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12348 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12350 rm -f core conftest.err conftest.
$ac_objext \
12351 conftest
$ac_exeext conftest.
$ac_ext
12352 LIBS
=$ac_check_lib_save_LIBS
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12355 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12356 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12364 $as_echo "no" >&6; }
12366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12371 GSTREAMER_CFLAGS
=""
12375 CPPFLAGS
=$ac_save_CPPFLAGS
12376 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12377 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12380 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12381 case "x$with_gstreamer" in
12382 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12384 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12385 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12388 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12392 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12395 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12396 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12397 $as_echo_n "(cached) " >&6
12399 ac_check_lib_save_LIBS
=$LIBS
12400 LIBS
="-lasound $LIBS"
12401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12402 /* end confdefs.h. */
12404 /* Override any GCC internal prototype to avoid an error.
12405 Use char because int might match the return type of a GCC
12406 builtin and then its argument prototype would still apply. */
12410 char snd_pcm_hw_params_get_access_mask ();
12414 return snd_pcm_hw_params_get_access_mask ();
12419 if ac_fn_c_try_link
"$LINENO"; then :
12420 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12422 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12424 rm -f core conftest.err conftest.
$ac_objext \
12425 conftest
$ac_exeext conftest.
$ac_ext
12426 LIBS
=$ac_check_lib_save_LIBS
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12429 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12430 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12433 #ifdef HAVE_ALSA_ASOUNDLIB_H
12434 #include <alsa/asoundlib.h>
12435 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12436 #include <sys/asoundlib.h>
12441 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12446 if ac_fn_c_try_compile
"$LINENO"; then :
12447 ALSA_LIBS
="-lasound"
12449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12454 if test "x$with_oss" != xno
12456 ac_save_CPPFLAGS
="$CPPFLAGS"
12457 if test -f /etc
/oss.conf
12461 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12462 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12463 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12464 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12465 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12467 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12469 cat >>confdefs.h
<<_ACEOF
12470 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12473 OSS4_CFLAGS
="$ac_oss_incl"
12480 CPPFLAGS
="$ac_save_CPPFLAGS"
12481 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12483 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12487 if test "x$with_capi" != "xno"
12489 if ${CAPI20_CFLAGS:+false} :; then :
12490 if ${PKG_CONFIG+:} false
; then :
12491 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12495 if ${CAPI20_LIBS:+false} :; then :
12496 if ${PKG_CONFIG+:} false
; then :
12497 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12502 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12503 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12504 ac_save_CPPFLAGS
=$CPPFLAGS
12505 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12506 for ac_header
in capi20.h linux
/capi.h
12508 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12509 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12511 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12512 cat >>confdefs.h
<<_ACEOF
12513 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12520 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12523 $as_echo_n "checking for -lcapi20... " >&6; }
12524 if ${ac_cv_lib_soname_capi20+:} false
; then :
12525 $as_echo_n "(cached) " >&6
12527 ac_check_soname_save_LIBS
=$LIBS
12528 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12530 /* end confdefs.h. */
12532 /* Override any GCC internal prototype to avoid an error.
12533 Use char because int might match the return type of a GCC
12534 builtin and then its argument prototype would still apply. */
12538 char capi20_register ();
12542 return capi20_register ();
12547 if ac_fn_c_try_link
"$LINENO"; then :
12549 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12550 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'` ;;
12551 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12552 if ${ac_cv_lib_soname_capi20:+false} :; then :
12553 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12557 rm -f core conftest.err conftest.
$ac_objext \
12558 conftest
$ac_exeext conftest.
$ac_ext
12559 LIBS
=$ac_check_soname_save_LIBS
12561 if ${ac_cv_lib_soname_capi20:+false} :; then :
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12563 $as_echo "not found" >&6; }
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12567 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12569 cat >>confdefs.h
<<_ACEOF
12570 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12576 CPPFLAGS
=$ac_save_CPPFLAGS
12577 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12578 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12581 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12582 case "x$with_capi" in
12583 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12585 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12586 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12592 if test "x$with_cups" != "xno"
12594 ac_save_CPPFLAGS
="$CPPFLAGS"
12595 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12596 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12597 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12598 for ac_header
in cups
/cups.h
12600 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12601 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12602 cat >>confdefs.h
<<_ACEOF
12603 #define HAVE_CUPS_CUPS_H 1
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12606 $as_echo_n "checking for -lcups... " >&6; }
12607 if ${ac_cv_lib_soname_cups+:} false
; then :
12608 $as_echo_n "(cached) " >&6
12610 ac_check_soname_save_LIBS
=$LIBS
12611 LIBS
="-lcups $ac_cups_libs $LIBS"
12612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12613 /* end confdefs.h. */
12615 /* Override any GCC internal prototype to avoid an error.
12616 Use char because int might match the return type of a GCC
12617 builtin and then its argument prototype would still apply. */
12621 char cupsGetDefault ();
12625 return cupsGetDefault ();
12630 if ac_fn_c_try_link
"$LINENO"; then :
12632 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12633 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'` ;;
12634 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12635 if ${ac_cv_lib_soname_cups:+false} :; then :
12636 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12640 rm -f core conftest.err conftest.
$ac_objext \
12641 conftest
$ac_exeext conftest.
$ac_ext
12642 LIBS
=$ac_check_soname_save_LIBS
12644 if ${ac_cv_lib_soname_cups:+false} :; then :
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12646 $as_echo "not found" >&6; }
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12650 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12652 cat >>confdefs.h
<<_ACEOF
12653 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12656 CUPS_CFLAGS
="$ac_cups_cflags"
12662 CPPFLAGS
="$ac_save_CPPFLAGS"
12664 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12665 case "x$with_cups" in
12666 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12668 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12669 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12673 if test "x$with_fontconfig" != "xno"
12675 if ${FONTCONFIG_CFLAGS:+false} :; then :
12676 if ${PKG_CONFIG+:} false
; then :
12677 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12680 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12681 if ${FONTCONFIG_LIBS:+false} :; then :
12682 if ${PKG_CONFIG+:} false
; then :
12683 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12686 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12688 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12689 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12690 ac_save_CPPFLAGS
=$CPPFLAGS
12691 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12692 for ac_header
in fontconfig
/fontconfig.h
12694 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12695 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12696 cat >>confdefs.h
<<_ACEOF
12697 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12704 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12707 $as_echo_n "checking for -lfontconfig... " >&6; }
12708 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12709 $as_echo_n "(cached) " >&6
12711 ac_check_soname_save_LIBS
=$LIBS
12712 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12714 /* end confdefs.h. */
12716 /* Override any GCC internal prototype to avoid an error.
12717 Use char because int might match the return type of a GCC
12718 builtin and then its argument prototype would still apply. */
12731 if ac_fn_c_try_link
"$LINENO"; then :
12733 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12734 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'` ;;
12735 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12736 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12737 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12741 rm -f core conftest.err conftest.
$ac_objext \
12742 conftest
$ac_exeext conftest.
$ac_ext
12743 LIBS
=$ac_check_soname_save_LIBS
12745 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12747 $as_echo "not found" >&6; }
12748 FONTCONFIG_CFLAGS
=""
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12751 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12753 cat >>confdefs.h
<<_ACEOF
12754 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12760 FONTCONFIG_CFLAGS
=""
12762 CPPFLAGS
=$ac_save_CPPFLAGS
12763 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12764 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12767 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12768 case "x$with_fontconfig" in
12769 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12771 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12772 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12776 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12779 $as_echo_n "checking for -lgsm... " >&6; }
12780 if ${ac_cv_lib_soname_gsm+:} false
; then :
12781 $as_echo_n "(cached) " >&6
12783 ac_check_soname_save_LIBS
=$LIBS
12785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12786 /* end confdefs.h. */
12788 /* Override any GCC internal prototype to avoid an error.
12789 Use char because int might match the return type of a GCC
12790 builtin and then its argument prototype would still apply. */
12794 char gsm_create ();
12798 return gsm_create ();
12803 if ac_fn_c_try_link
"$LINENO"; then :
12805 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12806 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'` ;;
12807 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12808 if ${ac_cv_lib_soname_gsm:+false} :; then :
12809 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12813 rm -f core conftest.err conftest.
$ac_objext \
12814 conftest
$ac_exeext conftest.
$ac_ext
12815 LIBS
=$ac_check_soname_save_LIBS
12817 if ${ac_cv_lib_soname_gsm:+false} :; then :
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12819 $as_echo "not found" >&6; }
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12823 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12825 cat >>confdefs.h
<<_ACEOF
12826 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12832 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12833 case "x$with_gsm" in
12834 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12836 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12837 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12841 if test "x$with_jpeg" != "xno"
12843 if ${JPEG_CFLAGS:+false} :; then :
12844 if ${PKG_CONFIG+:} false
; then :
12845 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12849 if ${JPEG_LIBS:+false} :; then :
12850 if ${PKG_CONFIG+:} false
; then :
12851 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12856 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12857 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12858 ac_save_CPPFLAGS
=$CPPFLAGS
12859 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12860 for ac_header
in jpeglib.h
12862 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12863 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12864 cat >>confdefs.h
<<_ACEOF
12865 #define HAVE_JPEGLIB_H 1
12872 if test "$ac_cv_header_jpeglib_h" = "yes"
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12875 $as_echo_n "checking for -ljpeg... " >&6; }
12876 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12877 $as_echo_n "(cached) " >&6
12879 ac_check_soname_save_LIBS
=$LIBS
12880 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12882 /* end confdefs.h. */
12884 /* Override any GCC internal prototype to avoid an error.
12885 Use char because int might match the return type of a GCC
12886 builtin and then its argument prototype would still apply. */
12890 char jpeg_start_decompress ();
12894 return jpeg_start_decompress ();
12899 if ac_fn_c_try_link
"$LINENO"; then :
12901 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12902 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'` ;;
12903 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12904 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12905 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12909 rm -f core conftest.err conftest.
$ac_objext \
12910 conftest
$ac_exeext conftest.
$ac_ext
12911 LIBS
=$ac_check_soname_save_LIBS
12913 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12915 $as_echo "not found" >&6; }
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12919 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12921 cat >>confdefs.h
<<_ACEOF
12922 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12930 CPPFLAGS
=$ac_save_CPPFLAGS
12931 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12932 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12935 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12936 case "x$with_jpeg" in
12937 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12939 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12940 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12944 if test "x$with_png" != "xno"
12946 if ${PNG_CFLAGS:+false} :; then :
12947 if ${PKG_CONFIG+:} false
; then :
12948 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12951 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12952 if ${PNG_LIBS:+false} :; then :
12953 if ${PKG_CONFIG+:} false
; then :
12954 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12957 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12959 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12960 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12961 ac_save_CPPFLAGS
=$CPPFLAGS
12962 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12963 for ac_header
in png.h
12965 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12966 if test "x$ac_cv_header_png_h" = xyes
; then :
12967 cat >>confdefs.h
<<_ACEOF
12968 #define HAVE_PNG_H 1
12975 if test "$ac_cv_header_png_h" = "yes"
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12978 $as_echo_n "checking for -lpng... " >&6; }
12979 if ${ac_cv_lib_soname_png+:} false
; then :
12980 $as_echo_n "(cached) " >&6
12982 ac_check_soname_save_LIBS
=$LIBS
12983 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12987 /* Override any GCC internal prototype to avoid an error.
12988 Use char because int might match the return type of a GCC
12989 builtin and then its argument prototype would still apply. */
12993 char png_create_read_struct ();
12997 return png_create_read_struct ();
13002 if ac_fn_c_try_link
"$LINENO"; then :
13004 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13005 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'` ;;
13006 *) 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'`
13007 if ${ac_cv_lib_soname_png:+false} :; then :
13008 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13012 rm -f core conftest.err conftest.
$ac_objext \
13013 conftest
$ac_exeext conftest.
$ac_ext
13014 LIBS
=$ac_check_soname_save_LIBS
13016 if ${ac_cv_lib_soname_png:+false} :; then :
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13018 $as_echo "not found" >&6; }
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13022 $as_echo "$ac_cv_lib_soname_png" >&6; }
13024 cat >>confdefs.h
<<_ACEOF
13025 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13034 typeof(png_set_expand_gray_1_2_4_to_8) *p
13039 if ac_fn_c_try_compile
"$LINENO"; then :
13041 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13049 CPPFLAGS
=$ac_save_CPPFLAGS
13050 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13051 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13054 if test "x$ac_cv_lib_soname_png" = "x"; then :
13055 case "x$with_png" in
13056 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13058 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13059 This is an error since --with-png was requested." "$LINENO" 5 ;;
13063 if test "x$with_tiff" != "xno"
13065 if ${TIFF_CFLAGS:+false} :; then :
13066 if ${PKG_CONFIG+:} false
; then :
13067 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13071 if ${TIFF_LIBS:+false} :; then :
13072 if ${PKG_CONFIG+:} false
; then :
13073 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13078 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13079 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13080 ac_save_CPPFLAGS
=$CPPFLAGS
13081 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13082 for ac_header
in tiffio.h
13084 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13085 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13086 cat >>confdefs.h
<<_ACEOF
13087 #define HAVE_TIFFIO_H 1
13094 if test "$ac_cv_header_tiffio_h" = "yes"
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13097 $as_echo_n "checking for -ltiff... " >&6; }
13098 if ${ac_cv_lib_soname_tiff+:} false
; then :
13099 $as_echo_n "(cached) " >&6
13101 ac_check_soname_save_LIBS
=$LIBS
13102 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13104 /* end confdefs.h. */
13106 /* Override any GCC internal prototype to avoid an error.
13107 Use char because int might match the return type of a GCC
13108 builtin and then its argument prototype would still apply. */
13112 char TIFFClientOpen ();
13116 return TIFFClientOpen ();
13121 if ac_fn_c_try_link
"$LINENO"; then :
13123 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13124 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'` ;;
13125 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13126 if ${ac_cv_lib_soname_tiff:+false} :; then :
13127 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13131 rm -f core conftest.err conftest.
$ac_objext \
13132 conftest
$ac_exeext conftest.
$ac_ext
13133 LIBS
=$ac_check_soname_save_LIBS
13135 if ${ac_cv_lib_soname_tiff:+false} :; then :
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13137 $as_echo "not found" >&6; }
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13141 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13143 cat >>confdefs.h
<<_ACEOF
13144 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13150 CPPFLAGS
=$ac_save_CPPFLAGS
13151 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13152 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13155 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13156 case "x$with_tiff" in
13157 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13159 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13160 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13164 if test "x$with_mpg123" != "xno"
13166 if ${MPG123_CFLAGS:+false} :; then :
13167 if ${PKG_CONFIG+:} false
; then :
13168 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13172 if ${MPG123_LIBS:+false} :; then :
13173 if ${PKG_CONFIG+:} false
; then :
13174 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13178 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13179 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13180 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13181 ac_save_CPPFLAGS
=$CPPFLAGS
13182 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13183 for ac_header
in mpg123.h
13185 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13186 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13187 cat >>confdefs.h
<<_ACEOF
13188 #define HAVE_MPG123_H 1
13195 if test "$ac_cv_header_mpg123_h" = "yes"
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13198 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13199 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13200 $as_echo_n "(cached) " >&6
13202 ac_check_lib_save_LIBS
=$LIBS
13203 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13205 /* end confdefs.h. */
13207 /* Override any GCC internal prototype to avoid an error.
13208 Use char because int might match the return type of a GCC
13209 builtin and then its argument prototype would still apply. */
13213 char mpg123_feed ();
13217 return mpg123_feed ();
13222 if ac_fn_c_try_link
"$LINENO"; then :
13223 ac_cv_lib_mpg123_mpg123_feed
=yes
13225 ac_cv_lib_mpg123_mpg123_feed
=no
13227 rm -f core conftest.err conftest.
$ac_objext \
13228 conftest
$ac_exeext conftest.
$ac_ext
13229 LIBS
=$ac_check_lib_save_LIBS
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13232 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13233 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13243 CPPFLAGS
=$ac_save_CPPFLAGS
13244 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13245 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13248 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13249 case "x$with_mpg123" in
13250 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13252 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13253 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13256 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}
13258 if test "$ac_cv_header_AL_al_h" = "yes"
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13261 $as_echo_n "checking for -lopenal... " >&6; }
13262 if ${ac_cv_lib_soname_openal+:} false
; then :
13263 $as_echo_n "(cached) " >&6
13265 ac_check_soname_save_LIBS
=$LIBS
13266 LIBS
="-lopenal $LIBS"
13267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13268 /* end confdefs.h. */
13270 /* Override any GCC internal prototype to avoid an error.
13271 Use char because int might match the return type of a GCC
13272 builtin and then its argument prototype would still apply. */
13276 char alGetSource3i ();
13280 return alGetSource3i ();
13285 if ac_fn_c_try_link
"$LINENO"; then :
13287 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13288 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'` ;;
13289 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13290 if ${ac_cv_lib_soname_openal:+false} :; then :
13291 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13295 rm -f core conftest.err conftest.
$ac_objext \
13296 conftest
$ac_exeext conftest.
$ac_ext
13297 LIBS
=$ac_check_soname_save_LIBS
13299 if ${ac_cv_lib_soname_openal:+false} :; then :
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13301 $as_echo "not found" >&6; }
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13305 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13307 cat >>confdefs.h
<<_ACEOF
13308 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13311 OPENAL_LIBS
="-lopenal"
13313 ac_cv_lib_openal
=yes
13315 cat >>confdefs.h
<<_ACEOF
13316 #define HAVE_OPENAL 1
13321 if test "x$ac_cv_lib_openal" != xyes
; then :
13322 case "x$with_openal" in
13323 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13325 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13326 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13329 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13331 if test "$ac_cv_header_kstat_h" = "yes"
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13334 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13335 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13336 $as_echo_n "(cached) " >&6
13338 ac_check_lib_save_LIBS
=$LIBS
13339 LIBS
="-lkstat $LIBS"
13340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13341 /* end confdefs.h. */
13343 /* Override any GCC internal prototype to avoid an error.
13344 Use char because int might match the return type of a GCC
13345 builtin and then its argument prototype would still apply. */
13349 char kstat_open ();
13353 return kstat_open ();
13358 if ac_fn_c_try_link
"$LINENO"; then :
13359 ac_cv_lib_kstat_kstat_open
=yes
13361 ac_cv_lib_kstat_kstat_open
=no
13363 rm -f core conftest.err conftest.
$ac_objext \
13364 conftest
$ac_exeext conftest.
$ac_ext
13365 LIBS
=$ac_check_lib_save_LIBS
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13368 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13369 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13371 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13373 KSTAT_LIBS
="-lkstat"
13379 if test "$ac_cv_header_libprocstat_h" = "yes"
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13382 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13383 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13384 $as_echo_n "(cached) " >&6
13386 ac_check_lib_save_LIBS
=$LIBS
13387 LIBS
="-lprocstat $LIBS"
13388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h. */
13391 /* Override any GCC internal prototype to avoid an error.
13392 Use char because int might match the return type of a GCC
13393 builtin and then its argument prototype would still apply. */
13397 char procstat_open_sysctl ();
13401 return procstat_open_sysctl ();
13406 if ac_fn_c_try_link
"$LINENO"; then :
13407 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13409 ac_cv_lib_procstat_procstat_open_sysctl
=no
13411 rm -f core conftest.err conftest.
$ac_objext \
13412 conftest
$ac_exeext conftest.
$ac_ext
13413 LIBS
=$ac_check_lib_save_LIBS
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13416 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13417 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13419 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13421 PROCSTAT_LIBS
="-lprocstat"
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13428 $as_echo_n "checking for -lodbc... " >&6; }
13429 if ${ac_cv_lib_soname_odbc+:} false
; then :
13430 $as_echo_n "(cached) " >&6
13432 ac_check_soname_save_LIBS
=$LIBS
13433 LIBS
="-lodbc $LIBS"
13434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13435 /* end confdefs.h. */
13437 /* Override any GCC internal prototype to avoid an error.
13438 Use char because int might match the return type of a GCC
13439 builtin and then its argument prototype would still apply. */
13443 char SQLConnect ();
13447 return SQLConnect ();
13452 if ac_fn_c_try_link
"$LINENO"; then :
13454 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13455 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'` ;;
13456 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13457 if ${ac_cv_lib_soname_odbc:+false} :; then :
13458 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13462 rm -f core conftest.err conftest.
$ac_objext \
13463 conftest
$ac_exeext conftest.
$ac_ext
13464 LIBS
=$ac_check_soname_save_LIBS
13466 if ${ac_cv_lib_soname_odbc:+false} :; then :
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13468 $as_echo "not found" >&6; }
13469 cat >>confdefs.h
<<_ACEOF
13470 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13475 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13477 cat >>confdefs.h
<<_ACEOF
13478 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13484 if test "x$with_netapi" != "xno"
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13487 $as_echo_n "checking for -lnetapi... " >&6; }
13488 if ${ac_cv_lib_soname_netapi+:} false
; then :
13489 $as_echo_n "(cached) " >&6
13491 ac_check_soname_save_LIBS
=$LIBS
13492 LIBS
="-lnetapi $LIBS"
13493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13494 /* end confdefs.h. */
13496 /* Override any GCC internal prototype to avoid an error.
13497 Use char because int might match the return type of a GCC
13498 builtin and then its argument prototype would still apply. */
13502 char libnetapi_init ();
13506 return libnetapi_init ();
13511 if ac_fn_c_try_link
"$LINENO"; then :
13513 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13514 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'` ;;
13515 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13516 if ${ac_cv_lib_soname_netapi:+false} :; then :
13517 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13521 rm -f core conftest.err conftest.
$ac_objext \
13522 conftest
$ac_exeext conftest.
$ac_ext
13523 LIBS
=$ac_check_soname_save_LIBS
13525 if ${ac_cv_lib_soname_netapi:+false} :; then :
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13527 $as_echo "not found" >&6; }
13528 cat >>confdefs.h
<<_ACEOF
13529 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13534 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13536 cat >>confdefs.h
<<_ACEOF
13537 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13544 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13545 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13546 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13547 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13549 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13550 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13551 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13553 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13559 if test "x${GCC}" = "xyes"
13561 EXTRACFLAGS
="-Wall -pipe"
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13564 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13565 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13566 $as_echo_n "(cached) " >&6
13568 if test "$cross_compiling" = yes; then :
13569 ac_cv_c_gcc_strength_bug
="yes"
13571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13572 /* end confdefs.h. */
13573 int L[4] = {0,1,2,3};
13577 static int Array[3];
13578 unsigned int B = 3;
13580 for(i=0; i<B; i++) Array[i] = i - 3;
13581 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13583 return (Array[1] != -2 || L[2] != 3)
13588 if ac_fn_c_try_run
"$LINENO"; then :
13589 ac_cv_c_gcc_strength_bug
="no"
13591 ac_cv_c_gcc_strength_bug
="yes"
13593 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13594 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13599 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13600 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13602 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13606 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13607 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13608 $as_echo_n "(cached) " >&6
13610 ac_wine_try_cflags_saved
=$CFLAGS
13611 CFLAGS
="$CFLAGS -fno-builtin"
13612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13613 /* end confdefs.h. */
13614 int main(int argc, char **argv) { return 0; }
13616 if ac_fn_c_try_link
"$LINENO"; then :
13617 ac_cv_cflags__fno_builtin
=yes
13619 ac_cv_cflags__fno_builtin
=no
13621 rm -f core conftest.err conftest.
$ac_objext \
13622 conftest
$ac_exeext conftest.
$ac_ext
13623 CFLAGS
=$ac_wine_try_cflags_saved
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13626 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13627 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13628 BUILTINFLAG
="-fno-builtin"
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13632 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13633 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13634 $as_echo_n "(cached) " >&6
13636 ac_wine_try_cflags_saved
=$CFLAGS
13637 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13639 /* end confdefs.h. */
13640 int main(int argc, char **argv) { return 0; }
13642 if ac_fn_c_try_link
"$LINENO"; then :
13643 ac_cv_cflags__fno_strict_aliasing
=yes
13645 ac_cv_cflags__fno_strict_aliasing
=no
13647 rm -f core conftest.err conftest.
$ac_objext \
13648 conftest
$ac_exeext conftest.
$ac_ext
13649 CFLAGS
=$ac_wine_try_cflags_saved
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13652 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13653 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13654 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13656 saved_CFLAGS
=$CFLAGS
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13658 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13659 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13660 $as_echo_n "(cached) " >&6
13662 ac_wine_try_cflags_saved
=$CFLAGS
13663 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13665 /* end confdefs.h. */
13666 int main(int argc, char **argv) { return 0; }
13668 if ac_fn_c_try_link
"$LINENO"; then :
13669 ac_cv_cflags__Werror_unknown_warning_option
=yes
13671 ac_cv_cflags__Werror_unknown_warning_option
=no
13673 rm -f core conftest.err conftest.
$ac_objext \
13674 conftest
$ac_exeext conftest.
$ac_ext
13675 CFLAGS
=$ac_wine_try_cflags_saved
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13678 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13679 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13680 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13683 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13684 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13685 $as_echo_n "(cached) " >&6
13687 ac_wine_try_cflags_saved
=$CFLAGS
13688 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13690 /* end confdefs.h. */
13691 int main(int argc, char **argv) { return 0; }
13693 if ac_fn_c_try_link
"$LINENO"; then :
13694 ac_cv_cflags__Wdeclaration_after_statement
=yes
13696 ac_cv_cflags__Wdeclaration_after_statement
=no
13698 rm -f core conftest.err conftest.
$ac_objext \
13699 conftest
$ac_exeext conftest.
$ac_ext
13700 CFLAGS
=$ac_wine_try_cflags_saved
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13703 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13704 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13705 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13708 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13709 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13710 $as_echo_n "(cached) " >&6
13712 ac_wine_try_cflags_saved
=$CFLAGS
13713 CFLAGS
="$CFLAGS -Wempty-body"
13714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13715 /* end confdefs.h. */
13716 int main(int argc, char **argv) { return 0; }
13718 if ac_fn_c_try_link
"$LINENO"; then :
13719 ac_cv_cflags__Wempty_body
=yes
13721 ac_cv_cflags__Wempty_body
=no
13723 rm -f core conftest.err conftest.
$ac_objext \
13724 conftest
$ac_exeext conftest.
$ac_ext
13725 CFLAGS
=$ac_wine_try_cflags_saved
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13728 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13729 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13730 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13733 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13734 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13735 $as_echo_n "(cached) " >&6
13737 ac_wine_try_cflags_saved
=$CFLAGS
13738 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13740 /* end confdefs.h. */
13741 int main(int argc, char **argv) { return 0; }
13743 if ac_fn_c_try_link
"$LINENO"; then :
13744 ac_cv_cflags__Wignored_qualifiers
=yes
13746 ac_cv_cflags__Wignored_qualifiers
=no
13748 rm -f core conftest.err conftest.
$ac_objext \
13749 conftest
$ac_exeext conftest.
$ac_ext
13750 CFLAGS
=$ac_wine_try_cflags_saved
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13753 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13754 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13755 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13758 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13759 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13760 $as_echo_n "(cached) " >&6
13762 ac_wine_try_cflags_saved
=$CFLAGS
13763 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13765 /* end confdefs.h. */
13766 int main(int argc, char **argv) { return 0; }
13768 if ac_fn_c_try_link
"$LINENO"; then :
13769 ac_cv_cflags__Wstrict_prototypes
=yes
13771 ac_cv_cflags__Wstrict_prototypes
=no
13773 rm -f core conftest.err conftest.
$ac_objext \
13774 conftest
$ac_exeext conftest.
$ac_ext
13775 CFLAGS
=$ac_wine_try_cflags_saved
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13778 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13779 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13780 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13783 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13784 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13785 $as_echo_n "(cached) " >&6
13787 ac_wine_try_cflags_saved
=$CFLAGS
13788 CFLAGS
="$CFLAGS -Wtype-limits"
13789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13790 /* end confdefs.h. */
13791 int main(int argc, char **argv) { return 0; }
13793 if ac_fn_c_try_link
"$LINENO"; then :
13794 ac_cv_cflags__Wtype_limits
=yes
13796 ac_cv_cflags__Wtype_limits
=no
13798 rm -f core conftest.err conftest.
$ac_objext \
13799 conftest
$ac_exeext conftest.
$ac_ext
13800 CFLAGS
=$ac_wine_try_cflags_saved
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13803 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13804 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13805 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13808 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13809 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13810 $as_echo_n "(cached) " >&6
13812 ac_wine_try_cflags_saved
=$CFLAGS
13813 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13815 /* end confdefs.h. */
13816 int main(int argc, char **argv) { return 0; }
13818 if ac_fn_c_try_link
"$LINENO"; then :
13819 ac_cv_cflags__Wunused_but_set_parameter
=yes
13821 ac_cv_cflags__Wunused_but_set_parameter
=no
13823 rm -f core conftest.err conftest.
$ac_objext \
13824 conftest
$ac_exeext conftest.
$ac_ext
13825 CFLAGS
=$ac_wine_try_cflags_saved
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13828 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13829 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13830 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13833 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13834 if ${ac_cv_cflags__Wvla+:} false
; then :
13835 $as_echo_n "(cached) " >&6
13837 ac_wine_try_cflags_saved
=$CFLAGS
13838 CFLAGS
="$CFLAGS -Wvla"
13839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13841 int main(int argc, char **argv) { return 0; }
13843 if ac_fn_c_try_link
"$LINENO"; then :
13844 ac_cv_cflags__Wvla
=yes
13846 ac_cv_cflags__Wvla
=no
13848 rm -f core conftest.err conftest.
$ac_objext \
13849 conftest
$ac_exeext conftest.
$ac_ext
13850 CFLAGS
=$ac_wine_try_cflags_saved
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13853 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13854 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13855 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13858 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13859 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13860 $as_echo_n "(cached) " >&6
13862 ac_wine_try_cflags_saved
=$CFLAGS
13863 CFLAGS
="$CFLAGS -Wwrite-strings"
13864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13865 /* end confdefs.h. */
13866 int main(int argc, char **argv) { return 0; }
13868 if ac_fn_c_try_link
"$LINENO"; then :
13869 ac_cv_cflags__Wwrite_strings
=yes
13871 ac_cv_cflags__Wwrite_strings
=no
13873 rm -f core conftest.err conftest.
$ac_objext \
13874 conftest
$ac_exeext conftest.
$ac_ext
13875 CFLAGS
=$ac_wine_try_cflags_saved
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13878 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13879 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13880 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13884 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13885 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13886 $as_echo_n "(cached) " >&6
13888 ac_wine_try_cflags_saved
=$CFLAGS
13889 CFLAGS
="$CFLAGS -Wpointer-arith"
13890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13891 /* end confdefs.h. */
13892 int main(int argc, char **argv) { return 0; }
13894 if ac_fn_c_try_link
"$LINENO"; then :
13895 ac_cv_cflags__Wpointer_arith
=yes
13897 ac_cv_cflags__Wpointer_arith
=no
13899 rm -f core conftest.err conftest.
$ac_objext \
13900 conftest
$ac_exeext conftest.
$ac_ext
13901 CFLAGS
=$ac_wine_try_cflags_saved
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13904 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13905 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13906 saved_string_h_CFLAGS
=$CFLAGS
13907 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13909 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13910 if ${ac_cv_c_string_h_warnings+:} false
; then :
13911 $as_echo_n "(cached) " >&6
13913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13914 /* end confdefs.h. */
13915 #include <string.h>
13924 if ac_fn_c_try_compile
"$LINENO"; then :
13925 ac_cv_c_string_h_warnings
=no
13927 ac_cv_c_string_h_warnings
=yes
13929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13932 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13933 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13934 CFLAGS
=$saved_string_h_CFLAGS
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13938 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13939 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13940 $as_echo_n "(cached) " >&6
13942 ac_wine_try_cflags_saved
=$CFLAGS
13943 CFLAGS
="$CFLAGS -Wlogical-op"
13944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13946 int main(int argc, char **argv) { return 0; }
13948 if ac_fn_c_try_link
"$LINENO"; then :
13949 ac_cv_cflags__Wlogical_op
=yes
13951 ac_cv_cflags__Wlogical_op
=no
13953 rm -f core conftest.err conftest.
$ac_objext \
13954 conftest
$ac_exeext conftest.
$ac_ext
13955 CFLAGS
=$ac_wine_try_cflags_saved
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13958 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13959 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13960 saved_string_h_CFLAGS
=$CFLAGS
13961 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13963 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13964 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13965 $as_echo_n "(cached) " >&6
13967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13968 /* end confdefs.h. */
13969 #include <string.h>
13970 char*f(const char *h,char n) {return strchr(h,n);}
13979 if ac_fn_c_try_compile
"$LINENO"; then :
13980 ac_cv_c_logicalop_noisy
=no
13982 ac_cv_c_logicalop_noisy
=yes
13984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13987 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13988 CFLAGS
=$saved_string_h_CFLAGS
13989 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13992 CFLAGS
=$saved_CFLAGS
13994 for ac_flag
in $CFLAGS; do
13996 -g) case $host_os in
13997 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13998 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13999 if ${ac_cv_cflags__gstabsp+:} false
; then :
14000 $as_echo_n "(cached) " >&6
14002 ac_wine_try_cflags_saved
=$CFLAGS
14003 CFLAGS
="$CFLAGS -gstabs+"
14004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14006 int main(int argc, char **argv) { return 0; }
14008 if ac_fn_c_try_link
"$LINENO"; then :
14009 ac_cv_cflags__gstabsp
=yes
14011 ac_cv_cflags__gstabsp
=no
14013 rm -f core conftest.err conftest.
$ac_objext \
14014 conftest
$ac_exeext conftest.
$ac_ext
14015 CFLAGS
=$ac_wine_try_cflags_saved
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14018 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14019 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14020 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14022 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14023 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14024 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14025 $as_echo_n "(cached) " >&6
14027 ac_wine_try_cflags_saved
=$CFLAGS
14028 CFLAGS
="$CFLAGS -gdwarf-2"
14029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14030 /* end confdefs.h. */
14031 int main(int argc, char **argv) { return 0; }
14033 if ac_fn_c_try_link
"$LINENO"; then :
14034 ac_cv_cflags__gdwarf_2
=yes
14036 ac_cv_cflags__gdwarf_2
=no
14038 rm -f core conftest.err conftest.
$ac_objext \
14039 conftest
$ac_exeext conftest.
$ac_ext
14040 CFLAGS
=$ac_wine_try_cflags_saved
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14043 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14044 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14045 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14048 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14049 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14050 $as_echo_n "(cached) " >&6
14052 ac_wine_try_cflags_saved
=$CFLAGS
14053 CFLAGS
="$CFLAGS -gstrict-dwarf"
14054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14055 /* end confdefs.h. */
14056 int main(int argc, char **argv) { return 0; }
14058 if ac_fn_c_try_link
"$LINENO"; then :
14059 ac_cv_cflags__gstrict_dwarf
=yes
14061 ac_cv_cflags__gstrict_dwarf
=no
14063 rm -f core conftest.err conftest.
$ac_objext \
14064 conftest
$ac_exeext conftest.
$ac_ext
14065 CFLAGS
=$ac_wine_try_cflags_saved
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14068 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14069 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14070 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14077 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14078 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14079 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14080 $as_echo_n "(cached) " >&6
14082 ac_wine_try_cflags_saved
=$CFLAGS
14083 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14085 /* end confdefs.h. */
14086 int main(int argc, char **argv) { return 0; }
14088 if ac_fn_c_try_link
"$LINENO"; then :
14089 ac_cv_cflags__fno_omit_frame_pointer
=yes
14091 ac_cv_cflags__fno_omit_frame_pointer
=no
14093 rm -f core conftest.err conftest.
$ac_objext \
14094 conftest
$ac_exeext conftest.
$ac_ext
14095 CFLAGS
=$ac_wine_try_cflags_saved
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14098 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14099 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14100 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14105 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14106 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14107 if ${ac_cv_cflags__Wno_format+:} false
; then :
14108 $as_echo_n "(cached) " >&6
14110 ac_wine_try_cflags_saved
=$CFLAGS
14111 CFLAGS
="$CFLAGS -Wno-format"
14112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14113 /* end confdefs.h. */
14114 int main(int argc, char **argv) { return 0; }
14116 if ac_fn_c_try_link
"$LINENO"; then :
14117 ac_cv_cflags__Wno_format
=yes
14119 ac_cv_cflags__Wno_format
=no
14121 rm -f core conftest.err conftest.
$ac_objext \
14122 conftest
$ac_exeext conftest.
$ac_ext
14123 CFLAGS
=$ac_wine_try_cflags_saved
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14126 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14127 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14128 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14132 if test "x$enable_maintainer_mode" = "xyes"
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14135 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14136 if ${ac_cv_cflags__Werror+:} false
; then :
14137 $as_echo_n "(cached) " >&6
14139 ac_wine_try_cflags_saved
=$CFLAGS
14140 CFLAGS
="$CFLAGS -Werror"
14141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14142 /* end confdefs.h. */
14143 int main(int argc, char **argv) { return 0; }
14145 if ac_fn_c_try_link
"$LINENO"; then :
14146 ac_cv_cflags__Werror
=yes
14148 ac_cv_cflags__Werror
=no
14150 rm -f core conftest.err conftest.
$ac_objext \
14151 conftest
$ac_exeext conftest.
$ac_ext
14152 CFLAGS
=$ac_wine_try_cflags_saved
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14155 $as_echo "$ac_cv_cflags__Werror" >&6; }
14156 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14157 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14161 saved_CFLAGS
="$CFLAGS"
14162 CFLAGS
="$CFLAGS -Werror"
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14164 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14165 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14166 $as_echo_n "(cached) " >&6
14168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14170 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14179 if ac_fn_c_try_compile
"$LINENO"; then :
14180 ac_cv_have_ms_hook_prologue
="yes"
14182 ac_cv_have_ms_hook_prologue
="no"
14184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14187 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14188 CFLAGS
="$saved_CFLAGS"
14189 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14192 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14195 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14202 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14203 if ${ac_cv_c_fortify_enabled+:} false
; then :
14204 $as_echo_n "(cached) " >&6
14206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14207 /* end confdefs.h. */
14208 #include <string.h>
14212 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14213 #error Fortify enabled
14219 if ac_fn_c_try_compile
"$LINENO"; then :
14220 ac_cv_c_fortify_enabled
=no
14222 ac_cv_c_fortify_enabled
=yes
14224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14227 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14228 if test "$ac_cv_c_fortify_enabled" = yes
14230 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14235 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14236 if ${ac_cv_c_extern_prefix+:} false
; then :
14237 $as_echo_n "(cached) " >&6
14239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14240 /* end confdefs.h. */
14241 extern int ac_test;
14245 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14250 if ac_fn_c_try_link
"$LINENO"; then :
14251 ac_cv_c_extern_prefix
="yes"
14253 ac_cv_c_extern_prefix
="no"
14255 rm -f core conftest.err conftest.
$ac_objext \
14256 conftest
$ac_exeext conftest.
$ac_ext
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14259 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14264 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14265 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14266 $as_echo_n "(cached) " >&6
14268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14269 /* end confdefs.h. */
14271 #define __stdcall __attribute__((__stdcall__))
14273 int __stdcall ac_test(int i) { return i; }
14277 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14282 if ac_fn_c_try_link
"$LINENO"; then :
14283 ac_cv_c_stdcall_suffix
="yes"
14285 ac_cv_c_stdcall_suffix
="no"
14287 rm -f core conftest.err conftest.
$ac_objext \
14288 conftest
$ac_exeext conftest.
$ac_ext
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14291 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14292 *) ac_cv_c_stdcall_suffix
="no" ;;
14296 if test "$ac_cv_c_extern_prefix" = "yes"
14298 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14300 asm_name_prefix
="_"
14302 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14308 if test "$ac_cv_c_stdcall_suffix" = "yes"
14310 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14313 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14319 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14320 if ${ac_cv_asm_func_def+:} false
; then :
14321 $as_echo_n "(cached) " >&6
14323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14329 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14334 if ac_fn_c_try_link
"$LINENO"; then :
14335 ac_cv_asm_func_def
=".def"
14337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14343 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14348 if ac_fn_c_try_link
"$LINENO"; then :
14349 ac_cv_asm_func_def
=".type @function"
14351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14352 /* end confdefs.h. */
14357 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14362 if ac_fn_c_try_link
"$LINENO"; then :
14363 ac_cv_asm_func_def
=".type 2"
14365 ac_cv_asm_func_def
="unknown"
14367 rm -f core conftest.err conftest.
$ac_objext \
14368 conftest
$ac_exeext conftest.
$ac_ext
14370 rm -f core conftest.err conftest.
$ac_objext \
14371 conftest
$ac_exeext conftest.
$ac_ext
14373 rm -f core conftest.err conftest.
$ac_objext \
14374 conftest
$ac_exeext conftest.
$ac_ext
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14377 $as_echo "$ac_cv_asm_func_def" >&6; }
14380 case "$ac_cv_asm_func_def" in
14382 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14384 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14386 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14388 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14390 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14392 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14394 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14396 asm_func_header
="" ;;
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14400 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14401 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14402 $as_echo_n "(cached) " >&6
14404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14405 /* end confdefs.h. */
14406 asm(".text\n\t.long 0");
14415 if ac_fn_c_try_compile
"$LINENO"; then :
14416 ac_cv_c_asm_outside_funcs
="yes"
14418 ac_cv_c_asm_outside_funcs
="no"
14420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14423 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14426 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14427 if ${ac_cv_c_dot_previous+:} false
; then :
14428 $as_echo_n "(cached) " >&6
14430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14431 /* end confdefs.h. */
14436 asm(".text\nac_test:\t.long 0\n\t.previous");
14441 if ac_fn_c_try_link
"$LINENO"; then :
14442 ac_cv_c_dot_previous
="yes"
14444 ac_cv_c_dot_previous
="no"
14446 rm -f core conftest.err conftest.
$ac_objext \
14447 conftest
$ac_exeext conftest.
$ac_ext
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14450 $as_echo "$ac_cv_c_dot_previous" >&6; }
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14453 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14454 if ${ac_cv_c_cfi_support+:} false
; then :
14455 $as_echo_n "(cached) " >&6
14457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14458 /* end confdefs.h. */
14459 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14468 if ac_fn_c_try_compile
"$LINENO"; then :
14469 ac_cv_c_cfi_support
="yes"
14471 ac_cv_c_cfi_support
="no"
14473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14476 $as_echo "$ac_cv_c_cfi_support" >&6; }
14478 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14479 asm_func_trailer
=""
14480 if test "$ac_cv_c_dot_previous" = "yes"
14482 asm_func_trailer
="\\n\\t.previous"
14484 if test "$ac_cv_c_cfi_support" = "yes"
14486 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14487 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14489 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14491 UNWINDFLAGS
=-fasynchronous-unwind-tables
14494 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14498 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14501 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14503 cat >>confdefs.h
<<_ACEOF
14504 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14508 cat >>confdefs.h
<<_ACEOF
14509 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14514 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14517 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14522 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14529 *i
[3456789]86*|x86_64
*)
14530 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14531 loader_programs
="$loader_programs $wine_binary-preloader"
14532 as_fn_append LOADER_RULES
"
14533 $wine_binary-preloader: preloader.o
14534 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14536 install install-lib:: $wine_binary-preloader
14537 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14540 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14542 preloader_EXTRADEFS = $BUILTINFLAG
14547 as_fn_append LOADER_RULES
"
14548 PROGRAMS = $loader_programs
14552 ac_save_CFLAGS
="$CFLAGS"
14553 CFLAGS
="$CFLAGS $BUILTINFLAG"
14630 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14631 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14632 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14633 cat >>confdefs.h
<<_ACEOF
14634 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14640 CFLAGS
="$ac_save_CFLAGS"
14642 if test "$ac_cv_func_dlopen" = no
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14645 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14646 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14647 $as_echo_n "(cached) " >&6
14649 ac_check_lib_save_LIBS
=$LIBS
14651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14652 /* end confdefs.h. */
14654 /* Override any GCC internal prototype to avoid an error.
14655 Use char because int might match the return type of a GCC
14656 builtin and then its argument prototype would still apply. */
14669 if ac_fn_c_try_link
"$LINENO"; then :
14670 ac_cv_lib_dl_dlopen
=yes
14672 ac_cv_lib_dl_dlopen
=no
14674 rm -f core conftest.err conftest.
$ac_objext \
14675 conftest
$ac_exeext conftest.
$ac_ext
14676 LIBS
=$ac_check_lib_save_LIBS
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14679 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14680 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14681 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14687 ac_wine_check_funcs_save_LIBS
="$LIBS"
14688 LIBS
="$LIBS $DL_LIBS"
14689 for ac_func
in dladdr
14691 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14692 if test "x$ac_cv_func_dladdr" = xyes
; then :
14693 cat >>confdefs.h
<<_ACEOF
14694 #define HAVE_DLADDR 1
14700 LIBS
="$ac_wine_check_funcs_save_LIBS"
14702 if test "$ac_cv_func_poll" = no
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14705 $as_echo_n "checking for poll in -lpoll... " >&6; }
14706 if ${ac_cv_lib_poll_poll+:} false
; then :
14707 $as_echo_n "(cached) " >&6
14709 ac_check_lib_save_LIBS
=$LIBS
14710 LIBS
="-lpoll $LIBS"
14711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14712 /* end confdefs.h. */
14714 /* Override any GCC internal prototype to avoid an error.
14715 Use char because int might match the return type of a GCC
14716 builtin and then its argument prototype would still apply. */
14729 if ac_fn_c_try_link
"$LINENO"; then :
14730 ac_cv_lib_poll_poll
=yes
14732 ac_cv_lib_poll_poll
=no
14734 rm -f core conftest.err conftest.
$ac_objext \
14735 conftest
$ac_exeext conftest.
$ac_ext
14736 LIBS
=$ac_check_lib_save_LIBS
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14739 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14740 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14741 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14749 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14750 if ${ac_cv_search_gethostbyname+:} false
; then :
14751 $as_echo_n "(cached) " >&6
14753 ac_func_search_save_LIBS
=$LIBS
14754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14755 /* end confdefs.h. */
14757 /* Override any GCC internal prototype to avoid an error.
14758 Use char because int might match the return type of a GCC
14759 builtin and then its argument prototype would still apply. */
14763 char gethostbyname ();
14767 return gethostbyname ();
14772 for ac_lib
in '' nsl
; do
14773 if test -z "$ac_lib"; then
14774 ac_res
="none required"
14777 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14779 if ac_fn_c_try_link
"$LINENO"; then :
14780 ac_cv_search_gethostbyname
=$ac_res
14782 rm -f core conftest.err conftest.
$ac_objext \
14784 if ${ac_cv_search_gethostbyname+:} false
; then :
14788 if ${ac_cv_search_gethostbyname+:} false
; then :
14791 ac_cv_search_gethostbyname
=no
14793 rm conftest.
$ac_ext
14794 LIBS
=$ac_func_search_save_LIBS
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14797 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14798 ac_res
=$ac_cv_search_gethostbyname
14799 if test "$ac_res" != no
; then :
14800 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14806 $as_echo_n "checking for library containing connect... " >&6; }
14807 if ${ac_cv_search_connect+:} false
; then :
14808 $as_echo_n "(cached) " >&6
14810 ac_func_search_save_LIBS
=$LIBS
14811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14812 /* end confdefs.h. */
14814 /* Override any GCC internal prototype to avoid an error.
14815 Use char because int might match the return type of a GCC
14816 builtin and then its argument prototype would still apply. */
14829 for ac_lib
in '' socket
; do
14830 if test -z "$ac_lib"; then
14831 ac_res
="none required"
14834 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14836 if ac_fn_c_try_link
"$LINENO"; then :
14837 ac_cv_search_connect
=$ac_res
14839 rm -f core conftest.err conftest.
$ac_objext \
14841 if ${ac_cv_search_connect+:} false
; then :
14845 if ${ac_cv_search_connect+:} false
; then :
14848 ac_cv_search_connect
=no
14850 rm conftest.
$ac_ext
14851 LIBS
=$ac_func_search_save_LIBS
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14854 $as_echo "$ac_cv_search_connect" >&6; }
14855 ac_res
=$ac_cv_search_connect
14856 if test "$ac_res" != no
; then :
14857 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14863 $as_echo_n "checking for library containing inet_aton... " >&6; }
14864 if ${ac_cv_search_inet_aton+:} false
; then :
14865 $as_echo_n "(cached) " >&6
14867 ac_func_search_save_LIBS
=$LIBS
14868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14869 /* end confdefs.h. */
14871 /* Override any GCC internal prototype to avoid an error.
14872 Use char because int might match the return type of a GCC
14873 builtin and then its argument prototype would still apply. */
14881 return inet_aton ();
14886 for ac_lib
in '' resolv
; do
14887 if test -z "$ac_lib"; then
14888 ac_res
="none required"
14891 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14893 if ac_fn_c_try_link
"$LINENO"; then :
14894 ac_cv_search_inet_aton
=$ac_res
14896 rm -f core conftest.err conftest.
$ac_objext \
14898 if ${ac_cv_search_inet_aton+:} false
; then :
14902 if ${ac_cv_search_inet_aton+:} false
; then :
14905 ac_cv_search_inet_aton
=no
14907 rm conftest.
$ac_ext
14908 LIBS
=$ac_func_search_save_LIBS
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14911 $as_echo "$ac_cv_search_inet_aton" >&6; }
14912 ac_res
=$ac_cv_search_inet_aton
14913 if test "$ac_res" != no
; then :
14914 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14934 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14935 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14936 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14937 cat >>confdefs.h
<<_ACEOF
14938 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14947 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14948 if ${ac_cv_search_clock_gettime+:} false
; then :
14949 $as_echo_n "(cached) " >&6
14951 ac_func_search_save_LIBS
=$LIBS
14952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14955 /* Override any GCC internal prototype to avoid an error.
14956 Use char because int might match the return type of a GCC
14957 builtin and then its argument prototype would still apply. */
14961 char clock_gettime ();
14965 return clock_gettime ();
14970 for ac_lib
in '' rt
; do
14971 if test -z "$ac_lib"; then
14972 ac_res
="none required"
14975 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14977 if ac_fn_c_try_link
"$LINENO"; then :
14978 ac_cv_search_clock_gettime
=$ac_res
14980 rm -f core conftest.err conftest.
$ac_objext \
14982 if ${ac_cv_search_clock_gettime+:} false
; then :
14986 if ${ac_cv_search_clock_gettime+:} false
; then :
14989 ac_cv_search_clock_gettime
=no
14991 rm conftest.
$ac_ext
14992 LIBS
=$ac_func_search_save_LIBS
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14995 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14996 ac_res
=$ac_cv_search_clock_gettime
14997 if test "$ac_res" != no
; then :
14998 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15000 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15002 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15010 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15012 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15014 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15016 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15017 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15018 $as_echo_n "(cached) " >&6
15020 ac_check_lib_save_LIBS
=$LIBS
15021 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15025 /* Override any GCC internal prototype to avoid an error.
15026 Use char because int might match the return type of a GCC
15027 builtin and then its argument prototype would still apply. */
15031 char ldap_initialize ();
15035 return ldap_initialize ();
15040 if ac_fn_c_try_link
"$LINENO"; then :
15041 ac_cv_lib_ldap_r_ldap_initialize
=yes
15043 ac_cv_lib_ldap_r_ldap_initialize
=no
15045 rm -f core conftest.err conftest.
$ac_objext \
15046 conftest
$ac_exeext conftest.
$ac_ext
15047 LIBS
=$ac_check_lib_save_LIBS
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15050 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15051 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15053 $as_echo_n "checking for ber_init in -llber... " >&6; }
15054 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15055 $as_echo_n "(cached) " >&6
15057 ac_check_lib_save_LIBS
=$LIBS
15058 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15062 /* Override any GCC internal prototype to avoid an error.
15063 Use char because int might match the return type of a GCC
15064 builtin and then its argument prototype would still apply. */
15072 return ber_init ();
15077 if ac_fn_c_try_link
"$LINENO"; then :
15078 ac_cv_lib_lber_ber_init
=yes
15080 ac_cv_lib_lber_ber_init
=no
15082 rm -f core conftest.err conftest.
$ac_objext \
15083 conftest
$ac_exeext conftest.
$ac_ext
15084 LIBS
=$ac_check_lib_save_LIBS
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15087 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15088 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15090 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15092 LDAP_LIBS
="-lldap_r -llber"
15099 ac_wine_check_funcs_save_LIBS
="$LIBS"
15100 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15102 ldap_count_references \
15103 ldap_first_reference \
15104 ldap_next_reference \
15105 ldap_parse_reference \
15106 ldap_parse_sort_control \
15107 ldap_parse_sortresponse_control \
15108 ldap_parse_vlv_control \
15109 ldap_parse_vlvresponse_control
15111 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15112 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15113 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15114 cat >>confdefs.h
<<_ACEOF
15115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15121 LIBS
="$ac_wine_check_funcs_save_LIBS"
15123 if test "x$LDAP_LIBS" = "x"; then :
15124 case "x$with_ldap" in
15125 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15127 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15128 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15133 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15134 if ${wine_cv_one_arg_mkdir+:} false
; then :
15135 $as_echo_n "(cached) " >&6
15137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15139 #include <sys/stat.h>
15148 if ac_fn_c_try_compile
"$LINENO"; then :
15149 wine_cv_one_arg_mkdir
=yes
15151 wine_cv_one_arg_mkdir
=no
15153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15156 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15157 if test "$wine_cv_one_arg_mkdir" = "yes"
15160 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15165 $as_echo_n "checking for sched_setaffinity... " >&6; }
15166 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15167 $as_echo_n "(cached) " >&6
15169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15170 /* end confdefs.h. */
15171 #define _GNU_SOURCE
15176 sched_setaffinity(0, 0, 0);
15181 if ac_fn_c_try_link
"$LINENO"; then :
15182 wine_cv_have_sched_setaffinity
=yes
15184 wine_cv_have_sched_setaffinity
=no
15186 rm -f core conftest.err conftest.
$ac_objext \
15187 conftest
$ac_exeext conftest.
$ac_ext
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15190 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15191 if test "$wine_cv_have_sched_setaffinity" = "yes"
15194 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15199 $as_echo_n "checking for fallocate... " >&6; }
15200 if ${wine_cv_have_fallocate+:} false
; then :
15201 $as_echo_n "(cached) " >&6
15203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15204 /* end confdefs.h. */
15205 #define _GNU_SOURCE
15210 fallocate(-1, 0, 0, 0);
15215 if ac_fn_c_try_link
"$LINENO"; then :
15216 wine_cv_have_fallocate
=yes
15218 wine_cv_have_fallocate
=no
15220 rm -f core conftest.err conftest.
$ac_objext \
15221 conftest
$ac_exeext conftest.
$ac_ext
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15224 $as_echo "$wine_cv_have_fallocate" >&6; }
15225 if test "$wine_cv_have_fallocate" = "yes"
15228 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15234 $as_echo_n "checking for inline... " >&6; }
15235 if ${ac_cv_c_inline+:} false
; then :
15236 $as_echo_n "(cached) " >&6
15239 for ac_kw
in inline __inline__ __inline
; do
15240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15241 /* end confdefs.h. */
15242 #ifndef __cplusplus
15244 static $ac_kw foo_t static_foo () {return 0; }
15245 $ac_kw foo_t foo () {return 0; }
15249 if ac_fn_c_try_compile
"$LINENO"; then :
15250 ac_cv_c_inline
=$ac_kw
15252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15253 test "$ac_cv_c_inline" != no
&& break
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15258 $as_echo "$ac_cv_c_inline" >&6; }
15260 case $ac_cv_c_inline in
15263 case $ac_cv_c_inline in
15265 *) ac_val
=$ac_cv_c_inline;;
15267 cat >>confdefs.h
<<_ACEOF
15268 #ifndef __cplusplus
15269 #define inline $ac_val
15275 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15276 if test "x$ac_cv_type_mode_t" = xyes
; then :
15278 cat >>confdefs.h
<<_ACEOF
15279 #define HAVE_MODE_T 1
15284 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15285 if test "x$ac_cv_type_off_t" = xyes
; then :
15287 cat >>confdefs.h
<<_ACEOF
15288 #define HAVE_OFF_T 1
15293 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15294 if test "x$ac_cv_type_pid_t" = xyes
; then :
15296 cat >>confdefs.h
<<_ACEOF
15297 #define HAVE_PID_T 1
15302 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15303 if test "x$ac_cv_type_size_t" = xyes
; then :
15305 cat >>confdefs.h
<<_ACEOF
15306 #define HAVE_SIZE_T 1
15311 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15312 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15314 cat >>confdefs.h
<<_ACEOF
15315 #define HAVE_SSIZE_T 1
15320 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15321 if test "x$ac_cv_type_long_long" = xyes
; then :
15323 cat >>confdefs.h
<<_ACEOF
15324 #define HAVE_LONG_LONG 1
15329 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15330 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15332 cat >>confdefs.h
<<_ACEOF
15333 #define HAVE_FSBLKCNT_T 1
15338 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15339 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15341 cat >>confdefs.h
<<_ACEOF
15342 #define HAVE_FSFILCNT_T 1
15348 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15349 #include <signal.h>
15351 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15353 cat >>confdefs.h
<<_ACEOF
15354 #define HAVE_SIGSET_T 1
15360 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15362 if test "x$ac_cv_type_request_sense" = xyes
; then :
15364 cat >>confdefs.h
<<_ACEOF
15365 #define HAVE_REQUEST_SENSE 1
15372 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15373 #ifdef HAVE_SYS_SOCKET_H
15374 #include <sys/socket.h>
15376 #ifdef HAVE_SYS_SOCKETVAR_H
15377 #include <sys/socketvar.h>
15379 #ifdef HAVE_NET_ROUTE_H
15380 #include <net/route.h>
15382 #ifdef HAVE_NETINET_IN_H
15383 #include <netinet/in.h>
15385 #ifdef HAVE_NETINET_IN_SYSTM_H
15386 #include <netinet/in_systm.h>
15388 #ifdef HAVE_NETINET_IP_H
15389 #include <netinet/ip.h>
15391 #ifdef HAVE_NETINET_IN_PCB_H
15392 #include <netinet/in_pcb.h>
15395 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15397 cat >>confdefs.h
<<_ACEOF
15398 #define HAVE_STRUCT_XINPGEN 1
15405 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15408 #ifdef HAVE_SYS_LINK_H
15409 #include <sys/link.h>
15412 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15414 cat >>confdefs.h
<<_ACEOF
15415 #define HAVE_STRUCT_R_DEBUG 1
15420 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15423 #ifdef HAVE_SYS_LINK_H
15424 #include <sys/link.h>
15427 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15429 cat >>confdefs.h
<<_ACEOF
15430 #define HAVE_STRUCT_LINK_MAP 1
15437 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15438 #include <linux/input.h>
15441 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15443 cat >>confdefs.h
<<_ACEOF
15444 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15452 $as_echo_n "checking for sigaddset... " >&6; }
15453 if ${wine_cv_have_sigaddset+:} false
; then :
15454 $as_echo_n "(cached) " >&6
15456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15457 /* end confdefs.h. */
15458 #include <signal.h>
15462 sigset_t set; sigaddset(&set,SIGTERM);
15467 if ac_fn_c_try_link
"$LINENO"; then :
15468 wine_cv_have_sigaddset
=yes
15470 wine_cv_have_sigaddset
=no
15472 rm -f core conftest.err conftest.
$ac_objext \
15473 conftest
$ac_exeext conftest.
$ac_ext
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15476 $as_echo "$wine_cv_have_sigaddset" >&6; }
15477 if test "$wine_cv_have_sigaddset" = "yes"
15480 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15486 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15487 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15488 $as_echo_n "(cached) " >&6
15490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15491 /* end confdefs.h. */
15499 struct hostent *result;
15506 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15507 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15513 if ac_fn_c_try_link
"$LINENO"; then :
15514 wine_cv_linux_gethostbyname_r_6
=yes
15516 wine_cv_linux_gethostbyname_r_6
=no
15519 rm -f core conftest.err conftest.
$ac_objext \
15520 conftest
$ac_exeext conftest.
$ac_ext
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15524 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15525 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15528 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15532 if test "$ac_cv_header_linux_joystick_h" = "yes"
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15535 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15536 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15537 $as_echo_n "(cached) " >&6
15539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15540 /* end confdefs.h. */
15542 #include <sys/ioctl.h>
15543 #include <sys/types.h>
15544 #include <linux/joystick.h>
15546 struct js_event blub;
15547 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15548 #error "no 2.2 header"
15559 if ac_fn_c_try_compile
"$LINENO"; then :
15560 wine_cv_linux_joystick_22_api
=yes
15562 wine_cv_linux_joystick_22_api
=no
15564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15568 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15569 if test "$wine_cv_linux_joystick_22_api" = "yes"
15572 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15578 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15579 #ifdef HAVE_SYS_PARAM_H
15580 # include <sys/param.h>
15582 #ifdef HAVE_SYS_MOUNT_H
15583 # include <sys/mount.h>
15585 #ifdef HAVE_SYS_VFS_H
15586 # include <sys/vfs.h>
15588 #ifdef HAVE_SYS_STATFS_H
15589 # include <sys/statfs.h>
15592 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15594 cat >>confdefs.h
<<_ACEOF
15595 #define HAVE_STRUCT_STATFS_F_BFREE 1
15600 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15601 #ifdef HAVE_SYS_PARAM_H
15602 # include <sys/param.h>
15604 #ifdef HAVE_SYS_MOUNT_H
15605 # include <sys/mount.h>
15607 #ifdef HAVE_SYS_VFS_H
15608 # include <sys/vfs.h>
15610 #ifdef HAVE_SYS_STATFS_H
15611 # include <sys/statfs.h>
15614 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15616 cat >>confdefs.h
<<_ACEOF
15617 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15622 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15623 #ifdef HAVE_SYS_PARAM_H
15624 # include <sys/param.h>
15626 #ifdef HAVE_SYS_MOUNT_H
15627 # include <sys/mount.h>
15629 #ifdef HAVE_SYS_VFS_H
15630 # include <sys/vfs.h>
15632 #ifdef HAVE_SYS_STATFS_H
15633 # include <sys/statfs.h>
15636 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15638 cat >>confdefs.h
<<_ACEOF
15639 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15644 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15645 #ifdef HAVE_SYS_PARAM_H
15646 # include <sys/param.h>
15648 #ifdef HAVE_SYS_MOUNT_H
15649 # include <sys/mount.h>
15651 #ifdef HAVE_SYS_VFS_H
15652 # include <sys/vfs.h>
15654 #ifdef HAVE_SYS_STATFS_H
15655 # include <sys/statfs.h>
15658 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15660 cat >>confdefs.h
<<_ACEOF
15661 #define HAVE_STRUCT_STATFS_F_FFREE 1
15666 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15667 #ifdef HAVE_SYS_PARAM_H
15668 # include <sys/param.h>
15670 #ifdef HAVE_SYS_MOUNT_H
15671 # include <sys/mount.h>
15673 #ifdef HAVE_SYS_VFS_H
15674 # include <sys/vfs.h>
15676 #ifdef HAVE_SYS_STATFS_H
15677 # include <sys/statfs.h>
15680 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15682 cat >>confdefs.h
<<_ACEOF
15683 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15688 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15689 #ifdef HAVE_SYS_PARAM_H
15690 # include <sys/param.h>
15692 #ifdef HAVE_SYS_MOUNT_H
15693 # include <sys/mount.h>
15695 #ifdef HAVE_SYS_VFS_H
15696 # include <sys/vfs.h>
15698 #ifdef HAVE_SYS_STATFS_H
15699 # include <sys/statfs.h>
15702 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15704 cat >>confdefs.h
<<_ACEOF
15705 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15712 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15713 #include <sys/statvfs.h>
15716 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15718 cat >>confdefs.h
<<_ACEOF
15719 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15726 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15727 #include <dirent.h>
15730 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15732 cat >>confdefs.h
<<_ACEOF
15733 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15740 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15741 #ifdef HAVE_SYS_SOCKET_H
15742 # include <sys/socket.h>
15744 #ifdef HAVE_SYS_UN_H
15745 # include <sys/un.h>
15748 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15750 cat >>confdefs.h
<<_ACEOF
15751 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15756 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15757 #ifdef HAVE_SYS_SOCKET_H
15758 # include <sys/socket.h>
15760 #ifdef HAVE_SYS_UN_H
15761 # include <sys/un.h>
15764 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15766 cat >>confdefs.h
<<_ACEOF
15767 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15772 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15773 #ifdef HAVE_SYS_SOCKET_H
15774 # include <sys/socket.h>
15776 #ifdef HAVE_SYS_UN_H
15777 # include <sys/un.h>
15780 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15782 cat >>confdefs.h
<<_ACEOF
15783 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15790 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15791 #ifdef HAVE_SCSI_SG_H
15792 #include <scsi/sg.h>
15795 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15797 cat >>confdefs.h
<<_ACEOF
15798 #define HAVE_SCSIREQ_T_CMD 1
15803 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>
15804 #ifdef HAVE_SCSI_SG_H
15805 #include <scsi/sg.h>
15808 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15810 cat >>confdefs.h
<<_ACEOF
15811 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15818 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15820 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15822 cat >>confdefs.h
<<_ACEOF
15823 #define HAVE_SIGINFO_T_SI_FD 1
15830 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15831 #ifdef HAVE_SYS_MTIO_H
15832 #include <sys/mtio.h>
15835 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15837 cat >>confdefs.h
<<_ACEOF
15838 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15843 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15844 #ifdef HAVE_SYS_MTIO_H
15845 #include <sys/mtio.h>
15848 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15850 cat >>confdefs.h
<<_ACEOF
15851 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15856 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15857 #ifdef HAVE_SYS_MTIO_H
15858 #include <sys/mtio.h>
15861 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15863 cat >>confdefs.h
<<_ACEOF
15864 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15871 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15872 #include <getopt.h>
15875 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15877 cat >>confdefs.h
<<_ACEOF
15878 #define HAVE_STRUCT_OPTION_NAME 1
15885 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15886 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15888 cat >>confdefs.h
<<_ACEOF
15889 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15894 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15895 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15897 cat >>confdefs.h
<<_ACEOF
15898 #define HAVE_STRUCT_STAT_ST_MTIM 1
15903 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15904 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15906 cat >>confdefs.h
<<_ACEOF
15907 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15912 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15913 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15915 cat >>confdefs.h
<<_ACEOF
15916 #define HAVE_STRUCT_STAT_ST_CTIM 1
15921 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15922 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15924 cat >>confdefs.h
<<_ACEOF
15925 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15930 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15931 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15933 cat >>confdefs.h
<<_ACEOF
15934 #define HAVE_STRUCT_STAT_ST_ATIM 1
15939 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15940 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15942 cat >>confdefs.h
<<_ACEOF
15943 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15948 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15949 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15951 cat >>confdefs.h
<<_ACEOF
15952 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15957 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15958 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15960 cat >>confdefs.h
<<_ACEOF
15961 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15966 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15967 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15969 cat >>confdefs.h
<<_ACEOF
15970 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15975 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15976 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15978 cat >>confdefs.h
<<_ACEOF
15979 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15984 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15985 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15987 cat >>confdefs.h
<<_ACEOF
15988 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15995 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
15996 #include <sys/types.h>
15998 #ifdef HAVE_NETINET_IN_H
15999 #include <netinet/in.h>
16002 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16004 cat >>confdefs.h
<<_ACEOF
16005 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16012 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16013 #include <resolv.h>
16016 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16018 cat >>confdefs.h
<<_ACEOF
16019 #define HAVE_STRUCT___RES_STATE 1
16026 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
16027 #include <resolv.h>
16030 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16032 cat >>confdefs.h
<<_ACEOF
16033 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16040 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16041 #include <sys/types.h>
16043 #ifdef HAVE_NETINET_IN_H
16044 # include <netinet/in.h>
16046 #ifdef HAVE_ARPA_NAMESER_H
16047 # include <arpa/nameser.h>
16050 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16052 cat >>confdefs.h
<<_ACEOF
16053 #define HAVE_NS_MSG__MSG_PTR 1
16060 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16061 #include <sys/types.h>
16063 #ifdef HAVE_NETINET_IP_H
16064 #include <netinet/ip.h>
16066 #ifdef HAVE_NETINET_IP_ICMP_H
16067 #include <netinet/ip_icmp.h>
16069 #ifdef HAVE_NETINET_ICMP_VAR_H
16070 #include <netinet/icmp_var.h>
16073 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16075 cat >>confdefs.h
<<_ACEOF
16076 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16083 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16084 #include <sys/types.h>
16086 #ifdef HAVE_ALIAS_H
16089 #ifdef HAVE_SYS_SOCKET_H
16090 #include <sys/socket.h>
16092 #ifdef HAVE_SYS_SOCKETVAR_H
16093 #include <sys/socketvar.h>
16095 #ifdef HAVE_SYS_TIMEOUT_H
16096 #include <sys/timeout.h>
16098 #ifdef HAVE_NETINET_IN_H
16099 #include <netinet/in.h>
16101 #ifdef HAVE_NETINET_IN_SYSTM_H
16102 #include <netinet/in_systm.h>
16104 #ifdef HAVE_NETINET_IP_H
16105 #include <netinet/ip.h>
16107 #ifdef HAVE_NETINET_IP_VAR_H
16108 #include <netinet/ip_var.h>
16110 #ifdef HAVE_NETINET_IP_ICMP_H
16111 #include <netinet/ip_icmp.h>
16113 #ifdef HAVE_NETINET_ICMP_VAR_H
16114 #include <netinet/icmp_var.h>
16117 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16119 cat >>confdefs.h
<<_ACEOF
16120 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16127 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16128 #include <sys/types.h>
16130 #ifdef HAVE_SYS_SOCKETVAR_H
16131 #include <sys/socketvar.h>
16133 #ifdef HAVE_NETINET_IN_H
16134 #include <netinet/in.h>
16136 #ifdef HAVE_NETINET_IP_VAR_H
16137 #include <netinet/ip_var.h>
16140 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16142 cat >>confdefs.h
<<_ACEOF
16143 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16150 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
16151 #include <netinet/ip_var.h>
16154 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16156 cat >>confdefs.h
<<_ACEOF
16157 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16164 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16165 #include <sys/types.h>
16167 #ifdef HAVE_SYS_SOCKETVAR_H
16168 #include <sys/socketvar.h>
16170 #ifdef HAVE_NETINET_IN_H
16171 #include <netinet/in.h>
16173 #ifdef HAVE_NETINET_TCP_H
16174 #include <netinet/tcp.h>
16176 #ifdef HAVE_NETINET_TCP_VAR_H
16177 #include <netinet/tcp_var.h>
16180 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16182 cat >>confdefs.h
<<_ACEOF
16183 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16190 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
16191 #include <netinet/tcp_var.h>
16194 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16196 cat >>confdefs.h
<<_ACEOF
16197 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16204 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16205 #include <sys/types.h>
16207 #ifdef HAVE_NETINET_IN_H
16208 #include <netinet/in.h>
16210 #ifdef HAVE_NETINET_IP_VAR_H
16211 #include <netinet/ip_var.h>
16213 #ifdef HAVE_NETINET_UDP_H
16214 #include <netinet/udp.h>
16216 #ifdef HAVE_NETINET_UDP_VAR_H
16217 #include <netinet/udp_var.h>
16220 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16222 cat >>confdefs.h
<<_ACEOF
16223 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16230 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16231 #include <sys/types.h>
16233 #ifdef HAVE_NET_IF_H
16234 # include <net/if.h>
16237 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16239 cat >>confdefs.h
<<_ACEOF
16240 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16248 $as_echo_n "checking for timezone variable... " >&6; }
16249 if ${ac_cv_have_timezone+:} false
; then :
16250 $as_echo_n "(cached) " >&6
16252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16253 /* end confdefs.h. */
16263 if ac_fn_c_try_link
"$LINENO"; then :
16264 ac_cv_have_timezone
="yes"
16266 ac_cv_have_timezone
="no"
16268 rm -f core conftest.err conftest.
$ac_objext \
16269 conftest
$ac_exeext conftest.
$ac_ext
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16272 $as_echo "$ac_cv_have_timezone" >&6; }
16273 if test "$ac_cv_have_timezone" = "yes"
16276 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16280 $as_echo_n "checking for daylight variable... " >&6; }
16281 if ${ac_cv_have_daylight+:} false
; then :
16282 $as_echo_n "(cached) " >&6
16284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16285 /* end confdefs.h. */
16295 if ac_fn_c_try_link
"$LINENO"; then :
16296 ac_cv_have_daylight
="yes"
16298 ac_cv_have_daylight
="no"
16300 rm -f core conftest.err conftest.
$ac_objext \
16301 conftest
$ac_exeext conftest.
$ac_ext
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16304 $as_echo "$ac_cv_have_daylight" >&6; }
16305 if test "$ac_cv_have_daylight" = "yes"
16308 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16312 ac_save_LIBS
="$LIBS"
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16315 $as_echo_n "checking for isfinite... " >&6; }
16316 if ${ac_cv_have_isfinite+:} false
; then :
16317 $as_echo_n "(cached) " >&6
16319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16320 /* end confdefs.h. */
16321 #define _GNU_SOURCE
16326 float f = 0.0; return isfinite(f)
16331 if ac_fn_c_try_link
"$LINENO"; then :
16332 ac_cv_have_isfinite
="yes"
16334 ac_cv_have_isfinite
="no"
16336 rm -f core conftest.err conftest.
$ac_objext \
16337 conftest
$ac_exeext conftest.
$ac_ext
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16340 $as_echo "$ac_cv_have_isfinite" >&6; }
16341 if test "$ac_cv_have_isfinite" = "yes"
16344 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16348 ac_save_LIBS
="$LIBS"
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16351 $as_echo_n "checking for isinf... " >&6; }
16352 if ${ac_cv_have_isinf+:} false
; then :
16353 $as_echo_n "(cached) " >&6
16355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16356 /* end confdefs.h. */
16361 float f = 0.0; return isinf(f)
16366 if ac_fn_c_try_link
"$LINENO"; then :
16367 ac_cv_have_isinf
="yes"
16369 ac_cv_have_isinf
="no"
16371 rm -f core conftest.err conftest.
$ac_objext \
16372 conftest
$ac_exeext conftest.
$ac_ext
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16375 $as_echo "$ac_cv_have_isinf" >&6; }
16376 if test "$ac_cv_have_isinf" = "yes"
16379 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16384 $as_echo_n "checking for isnan... " >&6; }
16385 if ${ac_cv_have_isnan+:} false
; then :
16386 $as_echo_n "(cached) " >&6
16388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16389 /* end confdefs.h. */
16394 float f = 0.0; return isnan(f)
16399 if ac_fn_c_try_link
"$LINENO"; then :
16400 ac_cv_have_isnan
="yes"
16402 ac_cv_have_isnan
="no"
16404 rm -f core conftest.err conftest.
$ac_objext \
16405 conftest
$ac_exeext conftest.
$ac_ext
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16408 $as_echo "$ac_cv_have_isnan" >&6; }
16409 if test "$ac_cv_have_isnan" = "yes"
16412 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16415 LIBS
="$ac_save_LIBS"
16419 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16420 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16421 if ${ac_cv_cpp_def___i386__+:} false
; then :
16422 $as_echo_n "(cached) " >&6
16424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16425 /* end confdefs.h. */
16430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16431 $EGREP "yes" >/dev
/null
2>&1; then :
16432 ac_cv_cpp_def___i386__
=yes
16434 ac_cv_cpp_def___i386__
=no
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16440 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16441 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16442 CFLAGS
="$CFLAGS -D__i386__"
16443 LINTFLAGS
="$LINTFLAGS -D__i386__"
16445 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16446 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16447 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16448 $as_echo_n "(cached) " >&6
16450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16451 /* end confdefs.h. */
16456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16457 $EGREP "yes" >/dev
/null
2>&1; then :
16458 ac_cv_cpp_def___x86_64__
=yes
16460 ac_cv_cpp_def___x86_64__
=no
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16466 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16467 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16468 CFLAGS
="$CFLAGS -D__x86_64__"
16469 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16471 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16472 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16473 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16474 $as_echo_n "(cached) " >&6
16476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16477 /* end confdefs.h. */
16478 #ifndef __sparc64__
16482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16483 $EGREP "yes" >/dev
/null
2>&1; then :
16484 ac_cv_cpp_def___sparc64__
=yes
16486 ac_cv_cpp_def___sparc64__
=no
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16492 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16493 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16494 CFLAGS
="$CFLAGS -D__sparc64__"
16495 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16497 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16498 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16499 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16500 $as_echo_n "(cached) " >&6
16502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16503 /* end confdefs.h. */
16508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16509 $EGREP "yes" >/dev
/null
2>&1; then :
16510 ac_cv_cpp_def___sparc__
=yes
16512 ac_cv_cpp_def___sparc__
=no
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16518 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16519 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16520 CFLAGS
="$CFLAGS -D__sparc__"
16521 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16523 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16524 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16525 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16526 $as_echo_n "(cached) " >&6
16528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16529 /* end confdefs.h. */
16530 #ifndef __powerpc64__
16534 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16535 $EGREP "yes" >/dev
/null
2>&1; then :
16536 ac_cv_cpp_def___powerpc64__
=yes
16538 ac_cv_cpp_def___powerpc64__
=no
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16544 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16545 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16546 CFLAGS
="$CFLAGS -D__powerpc64__"
16547 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16549 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16550 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16551 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16552 $as_echo_n "(cached) " >&6
16554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16555 /* end confdefs.h. */
16556 #ifndef __powerpc__
16560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16561 $EGREP "yes" >/dev
/null
2>&1; then :
16562 ac_cv_cpp_def___powerpc__
=yes
16564 ac_cv_cpp_def___powerpc__
=no
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16570 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16571 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16572 CFLAGS
="$CFLAGS -D__powerpc__"
16573 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16575 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16576 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16577 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16578 $as_echo_n "(cached) " >&6
16580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16581 /* end confdefs.h. */
16582 #ifndef __aarch64__
16586 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16587 $EGREP "yes" >/dev
/null
2>&1; then :
16588 ac_cv_cpp_def___aarch64__
=yes
16590 ac_cv_cpp_def___aarch64__
=no
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16596 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16597 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16598 CFLAGS
="$CFLAGS -D__aarch64__"
16599 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16601 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16602 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16603 if ${ac_cv_cpp_def___arm__+:} false
; then :
16604 $as_echo_n "(cached) " >&6
16606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h. */
16612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16613 $EGREP "yes" >/dev
/null
2>&1; then :
16614 ac_cv_cpp_def___arm__
=yes
16616 ac_cv_cpp_def___arm__
=no
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16622 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16623 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16624 CFLAGS
="$CFLAGS -D__arm__"
16625 LINTFLAGS
="$LINTFLAGS -D__arm__"
16629 case $host_vendor in
16630 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16631 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16632 if ${ac_cv_cpp_def___sun__+:} false
; then :
16633 $as_echo_n "(cached) " >&6
16635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16636 /* end confdefs.h. */
16641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16642 $EGREP "yes" >/dev
/null
2>&1; then :
16643 ac_cv_cpp_def___sun__
=yes
16645 ac_cv_cpp_def___sun__
=no
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16651 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16652 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16653 CFLAGS
="$CFLAGS -D__sun__"
16654 LINTFLAGS
="$LINTFLAGS -D__sun__"
16662 ac_config_commands
="$ac_config_commands include/stamp-h"
16664 $as_echo_n "creating Makefile rules..." >&6
16666 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16667 SOCKET_LIBS = $SOCKET_LIBS
16668 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16669 IOKIT_LIBS = $IOKIT_LIBS
16670 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16671 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16672 CORESERVICES_LIBS = $CORESERVICES_LIBS
16673 APPKIT_LIBS = $APPKIT_LIBS
16674 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16675 SECURITY_LIBS = $SECURITY_LIBS
16676 COREAUDIO_LIBS = $COREAUDIO_LIBS
16677 OPENAL_LIBS = $OPENAL_LIBS
16678 OPENCL_LIBS = $OPENCL_LIBS
16679 QUICKTIME_LIBS = $QUICKTIME_LIBS
16680 CARBON_LIBS = $CARBON_LIBS
16681 PTHREAD_LIBS = $PTHREAD_LIBS
16682 X_CFLAGS = $X_CFLAGS
16683 X_PRE_LIBS = $X_PRE_LIBS
16685 X_EXTRA_LIBS = $X_EXTRA_LIBS
16686 XML2_CFLAGS = $XML2_CFLAGS
16687 XML2_LIBS = $XML2_LIBS
16688 XSLT_CFLAGS = $XSLT_CFLAGS
16689 XSLT_LIBS = $XSLT_LIBS
16690 DBUS_CFLAGS = $DBUS_CFLAGS
16691 DBUS_LIBS = $DBUS_LIBS
16692 HAL_CFLAGS = $HAL_CFLAGS
16693 HAL_LIBS = $HAL_LIBS
16694 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16695 GNUTLS_LIBS = $GNUTLS_LIBS
16696 SANE_CFLAGS = $SANE_CFLAGS
16697 SANE_LIBS = $SANE_LIBS
16698 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16699 GPHOTO2_LIBS = $GPHOTO2_LIBS
16700 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16701 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16702 RESOLV_LIBS = $RESOLV_LIBS
16703 LCMS2_CFLAGS = $LCMS2_CFLAGS
16704 LCMS2_LIBS = $LCMS2_LIBS
16705 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16706 FREETYPE_LIBS = $FREETYPE_LIBS
16708 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16709 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16710 GSTREAMER_LIBS = $GSTREAMER_LIBS
16711 ALSA_LIBS = $ALSA_LIBS
16712 OSS4_CFLAGS = $OSS4_CFLAGS
16713 CAPI20_CFLAGS = $CAPI20_CFLAGS
16714 CAPI20_LIBS = $CAPI20_LIBS
16715 CUPS_CFLAGS = $CUPS_CFLAGS
16716 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16717 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16718 JPEG_CFLAGS = $JPEG_CFLAGS
16719 JPEG_LIBS = $JPEG_LIBS
16720 PNG_CFLAGS = $PNG_CFLAGS
16721 PNG_LIBS = $PNG_LIBS
16722 TIFF_CFLAGS = $TIFF_CFLAGS
16723 TIFF_LIBS = $TIFF_LIBS
16724 MPG123_CFLAGS = $MPG123_CFLAGS
16725 MPG123_LIBS = $MPG123_LIBS
16726 KSTAT_LIBS = $KSTAT_LIBS
16727 PROCSTAT_LIBS = $PROCSTAT_LIBS
16729 POLL_LIBS = $POLL_LIBS
16731 LDAP_LIBS = $LDAP_LIBS
16736 wine_fn_append_rule
"
16737 # Rules automatically generated by configure
16739 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16744 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16745 @./config.status Make.tmp Makefile"
16747 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16748 .gitignore: config.status
16749 @./config.status .gitignore"
16751 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16752 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16754 if test "x$enable_fonts" != xno
; then
16755 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16756 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16757 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16758 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16759 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16761 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16762 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16763 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16764 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16765 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16766 wine_fn_config_symlink wine
16767 if test "x$enable_win64" != xno
; then
16768 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16769 wine_fn_config_symlink wine64
16772 wine_fn_config_dll acledit enable_acledit
16773 wine_fn_config_dll aclui enable_aclui implib
16774 wine_fn_config_dll activeds enable_activeds implib
16775 wine_fn_config_dll actxprxy enable_actxprxy clean
16776 wine_fn_config_lib adsiid
16777 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16778 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16779 wine_fn_config_dll advpack enable_advpack implib
16780 wine_fn_config_test dlls
/advpack
/tests advpack_test
16781 wine_fn_config_dll amstream enable_amstream clean
16782 wine_fn_config_test dlls
/amstream
/tests amstream_test
16783 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16784 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16785 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16786 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16787 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16788 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16789 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16790 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16791 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16792 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16793 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16794 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16795 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16796 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16797 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16798 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16799 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16800 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16801 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16802 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16803 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16804 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16805 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16806 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16807 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16808 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16809 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16810 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16811 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16812 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16813 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16814 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16815 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16816 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16817 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16818 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16819 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16820 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16821 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16822 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16823 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16824 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16825 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16826 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16827 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16828 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16829 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16830 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16831 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16832 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16833 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16834 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16835 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16836 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16837 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16838 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16839 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16840 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16841 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16842 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16843 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16844 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16845 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16846 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16847 wine_fn_config_dll apphelp enable_apphelp
16848 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16849 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16850 wine_fn_config_dll atl enable_atl clean
,implib
16851 wine_fn_config_test dlls
/atl
/tests atl_test
16852 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16853 wine_fn_config_test dlls
/atl100
/tests atl100_test
16854 wine_fn_config_dll atl110 enable_atl110 clean
16855 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16856 wine_fn_config_test dlls
/atl80
/tests atl80_test
16857 wine_fn_config_dll atl90 enable_atl90 clean
16858 wine_fn_config_dll authz enable_authz
16859 wine_fn_config_dll avicap32 enable_avicap32 implib
16860 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16861 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16862 wine_fn_config_dll avifile.dll16 enable_win16
16863 wine_fn_config_dll avrt enable_avrt implib
16864 wine_fn_config_dll bcrypt enable_bcrypt
16865 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16866 wine_fn_config_dll browseui enable_browseui clean
,po
16867 wine_fn_config_test dlls
/browseui
/tests browseui_test
16868 wine_fn_config_dll cabinet enable_cabinet implib
16869 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16870 wine_fn_config_dll capi2032 enable_capi2032 implib
16871 wine_fn_config_dll cards enable_cards implib
16872 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16873 wine_fn_config_dll clusapi enable_clusapi implib
16874 wine_fn_config_dll comcat enable_comcat
16875 wine_fn_config_test dlls
/comcat
/tests comcat_test
16876 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16877 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16878 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16879 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16880 wine_fn_config_dll
comm.drv16 enable_win16
16881 wine_fn_config_dll commdlg.dll16 enable_win16
16882 wine_fn_config_dll compobj.dll16 enable_win16
16883 wine_fn_config_dll compstui enable_compstui implib
16884 wine_fn_config_dll comsvcs enable_comsvcs implib
16885 wine_fn_config_dll credui enable_credui implib
,po
16886 wine_fn_config_test dlls
/credui
/tests credui_test
16887 wine_fn_config_dll crtdll enable_crtdll implib
16888 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16889 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16890 wine_fn_config_dll cryptdlg enable_cryptdlg po
16891 wine_fn_config_dll cryptdll enable_cryptdll implib
16892 wine_fn_config_dll cryptext enable_cryptext
16893 wine_fn_config_dll cryptnet enable_cryptnet implib
16894 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16895 wine_fn_config_dll cryptui enable_cryptui implib
,po
16896 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16897 wine_fn_config_dll ctapi32 enable_ctapi32
16898 wine_fn_config_dll ctl3d.dll16 enable_win16
16899 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16900 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16901 wine_fn_config_dll d2d1 enable_d2d1 implib
16902 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16903 wine_fn_config_dll d3d10 enable_d3d10 implib
16904 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16905 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16906 wine_fn_config_dll d3d10core enable_d3d10core implib
16907 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16908 wine_fn_config_dll d3d11 enable_d3d11
16909 wine_fn_config_dll d3d8 enable_d3d8 implib
16910 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16911 wine_fn_config_dll d3d9 enable_d3d9 implib
16912 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16913 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16914 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16915 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16916 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16917 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16918 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16919 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16920 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16921 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16922 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16923 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16924 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16925 wine_fn_config_dll d3dim enable_d3dim implib
16926 wine_fn_config_dll d3drm enable_d3drm implib
16927 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16928 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16929 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16930 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16931 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16932 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16933 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16934 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16935 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16936 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16937 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16938 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16939 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16940 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16941 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16942 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16943 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16944 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16945 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16946 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16947 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16948 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16949 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16950 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16951 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16952 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16953 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16954 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16955 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16956 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16957 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16958 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16959 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16960 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16961 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16962 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16963 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16964 wine_fn_config_dll dbgeng enable_dbgeng implib
16965 wine_fn_config_dll dbghelp enable_dbghelp implib
16966 wine_fn_config_dll dciman32 enable_dciman32 implib
16967 wine_fn_config_dll ddeml.dll16 enable_win16
16968 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16969 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16970 wine_fn_config_dll ddrawex enable_ddrawex clean
16971 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16972 wine_fn_config_dll devenum enable_devenum clean
,po
16973 wine_fn_config_test dlls
/devenum
/tests devenum_test
16974 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16975 wine_fn_config_dll difxapi enable_difxapi
16976 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16977 wine_fn_config_test dlls
/dinput
/tests dinput_test
16978 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16979 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16980 wine_fn_config_dll dispdib.dll16 enable_win16
16981 wine_fn_config_dll dispex enable_dispex clean
16982 wine_fn_config_test dlls
/dispex
/tests dispex_test
16983 wine_fn_config_dll display.drv16 enable_win16
16984 wine_fn_config_dll dmband enable_dmband clean
16985 wine_fn_config_test dlls
/dmband
/tests dmband_test
16986 wine_fn_config_dll dmcompos enable_dmcompos clean
16987 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16988 wine_fn_config_dll dmime enable_dmime clean
16989 wine_fn_config_test dlls
/dmime
/tests dmime_test
16990 wine_fn_config_dll dmloader enable_dmloader clean
16991 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16992 wine_fn_config_dll dmscript enable_dmscript clean
16993 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16994 wine_fn_config_dll dmstyle enable_dmstyle clean
16995 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16996 wine_fn_config_dll dmsynth enable_dmsynth clean
16997 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16998 wine_fn_config_dll dmusic enable_dmusic clean
16999 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17000 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17001 wine_fn_config_dll dnsapi enable_dnsapi implib
17002 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17003 wine_fn_config_dll dplay enable_dplay implib
17004 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17005 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17006 wine_fn_config_dll dpnaddr enable_dpnaddr
17007 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17008 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17009 wine_fn_config_dll dpnhpast enable_dpnhpast
17010 wine_fn_config_dll dpnlobby enable_dpnlobby
17011 wine_fn_config_dll dpvoice enable_dpvoice clean
17012 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17013 wine_fn_config_dll dpwsockx enable_dpwsockx
17014 wine_fn_config_dll drmclien enable_drmclien
17015 wine_fn_config_dll dsound enable_dsound clean
,implib
17016 wine_fn_config_test dlls
/dsound
/tests dsound_test
17017 wine_fn_config_dll dssenh enable_dssenh
17018 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17019 wine_fn_config_dll dswave enable_dswave clean
17020 wine_fn_config_test dlls
/dswave
/tests dswave_test
17021 wine_fn_config_dll dwmapi enable_dwmapi implib
17022 wine_fn_config_dll dwrite enable_dwrite implib
17023 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17024 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17025 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17026 wine_fn_config_lib dxerr8
17027 wine_fn_config_lib dxerr9
17028 wine_fn_config_dll dxgi enable_dxgi implib
17029 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17030 wine_fn_config_lib dxguid
17031 wine_fn_config_dll dxva2 enable_dxva2
17032 wine_fn_config_dll explorerframe enable_explorerframe clean
17033 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17034 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17035 wine_fn_config_dll faultrep enable_faultrep implib
17036 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17037 wine_fn_config_dll fltlib enable_fltlib
17038 wine_fn_config_dll fntcache enable_fntcache
17039 wine_fn_config_dll fontsub enable_fontsub
17040 wine_fn_config_dll fusion enable_fusion
17041 wine_fn_config_test dlls
/fusion
/tests fusion_test
17042 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17043 wine_fn_config_dll gameux enable_gameux clean
17044 wine_fn_config_test dlls
/gameux
/tests gameux_test
17045 wine_fn_config_dll gdi.exe16 enable_win16
17046 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17047 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17048 wine_fn_config_dll gdiplus enable_gdiplus implib
17049 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17050 wine_fn_config_dll glu32 enable_glu32 implib
17051 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17052 wine_fn_config_dll gpkcsp enable_gpkcsp
17053 wine_fn_config_dll hal enable_hal
17054 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17055 wine_fn_config_dll hid enable_hid implib
17056 wine_fn_config_dll hlink enable_hlink clean
,implib
17057 wine_fn_config_test dlls
/hlink
/tests hlink_test
17058 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17059 wine_fn_config_dll httpapi enable_httpapi
17060 wine_fn_config_dll iccvid enable_iccvid po
17061 wine_fn_config_dll icmp enable_icmp
17062 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17063 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17064 wine_fn_config_dll ifsmgr.vxd enable_win16
17065 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17066 wine_fn_config_dll imagehlp enable_imagehlp implib
17067 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17068 wine_fn_config_dll imm.dll16 enable_win16
17069 wine_fn_config_dll imm32 enable_imm32 implib
17070 wine_fn_config_test dlls
/imm32
/tests imm32_test
17071 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17072 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17073 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17074 wine_fn_config_dll inetmib1 enable_inetmib1
17075 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17076 wine_fn_config_dll infosoft enable_infosoft clean
17077 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17078 wine_fn_config_dll initpki enable_initpki
17079 wine_fn_config_dll inkobj enable_inkobj
17080 wine_fn_config_dll inseng enable_inseng clean
17081 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17082 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17083 wine_fn_config_dll itircl enable_itircl
17084 wine_fn_config_dll itss enable_itss clean
17085 wine_fn_config_test dlls
/itss
/tests itss_test
17086 wine_fn_config_dll joy.cpl enable_joy_cpl po
17087 wine_fn_config_dll jscript enable_jscript clean
,po
17088 wine_fn_config_test dlls
/jscript
/tests jscript_test
17089 wine_fn_config_dll jsproxy enable_jsproxy implib
17090 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17091 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17092 wine_fn_config_dll keyboard.drv16 enable_win16
17093 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17094 wine_fn_config_dll ksuser enable_ksuser
17095 wine_fn_config_dll ktmw32 enable_ktmw32
17096 wine_fn_config_dll loadperf enable_loadperf implib
17097 wine_fn_config_dll localspl enable_localspl po
17098 wine_fn_config_test dlls
/localspl
/tests localspl_test
17099 wine_fn_config_dll localui enable_localui po
17100 wine_fn_config_test dlls
/localui
/tests localui_test
17101 wine_fn_config_dll lz32 enable_lz32 implib
17102 wine_fn_config_test dlls
/lz32
/tests lz32_test
17103 wine_fn_config_dll lzexpand.dll16 enable_win16
17104 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17105 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17106 wine_fn_config_dll mapistub enable_mapistub
17107 wine_fn_config_dll mciavi32 enable_mciavi32
17108 wine_fn_config_dll mcicda enable_mcicda
17109 wine_fn_config_dll mciqtz32 enable_mciqtz32
17110 wine_fn_config_dll mciseq enable_mciseq
17111 wine_fn_config_dll mciwave enable_mciwave
17112 wine_fn_config_dll mgmtapi enable_mgmtapi
17113 wine_fn_config_dll midimap enable_midimap
17114 wine_fn_config_dll mlang enable_mlang clean
,implib
17115 wine_fn_config_test dlls
/mlang
/tests mlang_test
17116 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17117 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17118 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17119 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17120 wine_fn_config_dll mmdevldr.vxd enable_win16
17121 wine_fn_config_dll mmsystem.dll16 enable_win16
17122 wine_fn_config_dll monodebg.vxd enable_win16
17123 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17124 wine_fn_config_dll mouse.drv16 enable_win16
17125 wine_fn_config_dll mpr enable_mpr implib
,po
17126 wine_fn_config_test dlls
/mpr
/tests mpr_test
17127 wine_fn_config_dll mprapi enable_mprapi implib
17128 wine_fn_config_dll msacm.dll16 enable_win16
17129 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17130 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17131 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17132 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17133 wine_fn_config_dll msasn1 enable_msasn1 implib
17134 wine_fn_config_dll mscat32 enable_mscat32
17135 wine_fn_config_dll mscms enable_mscms implib
17136 wine_fn_config_test dlls
/mscms
/tests mscms_test
17137 wine_fn_config_dll mscoree enable_mscoree clean
17138 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17139 wine_fn_config_dll msctf enable_msctf clean
17140 wine_fn_config_test dlls
/msctf
/tests msctf_test
17141 wine_fn_config_dll msdaps enable_msdaps clean
17142 wine_fn_config_dll msdmo enable_msdmo implib
17143 wine_fn_config_dll msftedit enable_msftedit
17144 wine_fn_config_dll msg711.acm enable_msg711_acm
17145 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17146 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17147 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17148 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17149 wine_fn_config_dll msi enable_msi clean
,implib
,po
17150 wine_fn_config_test dlls
/msi
/tests msi_test
17151 wine_fn_config_dll msident enable_msident clean
17152 wine_fn_config_dll msimg32 enable_msimg32 implib
17153 wine_fn_config_dll msimsg enable_msimsg
17154 wine_fn_config_dll msimtf enable_msimtf clean
17155 wine_fn_config_dll msisip enable_msisip
17156 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17157 wine_fn_config_dll msls31 enable_msls31
17158 wine_fn_config_dll msnet32 enable_msnet32
17159 wine_fn_config_dll mspatcha enable_mspatcha
17160 wine_fn_config_dll msrle32 enable_msrle32 po
17161 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17162 wine_fn_config_dll mssign32 enable_mssign32
17163 wine_fn_config_dll mssip32 enable_mssip32
17164 wine_fn_config_dll mstask enable_mstask clean
17165 wine_fn_config_test dlls
/mstask
/tests mstask_test
17166 wine_fn_config_dll msvcirt enable_msvcirt
17167 wine_fn_config_dll msvcm80 enable_msvcm80
17168 wine_fn_config_dll msvcm90 enable_msvcm90
17169 wine_fn_config_dll msvcp100 enable_msvcp100
17170 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17171 wine_fn_config_dll msvcp110 enable_msvcp110
17172 wine_fn_config_dll msvcp120 enable_msvcp120
17173 wine_fn_config_dll msvcp60 enable_msvcp60
17174 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17175 wine_fn_config_dll msvcp70 enable_msvcp70
17176 wine_fn_config_dll msvcp71 enable_msvcp71
17177 wine_fn_config_dll msvcp80 enable_msvcp80
17178 wine_fn_config_dll msvcp90 enable_msvcp90
17179 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17180 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17181 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17182 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17183 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17184 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17185 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17186 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17187 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17188 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17189 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17190 wine_fn_config_dll msvcrt enable_msvcrt implib
17191 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17192 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17193 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17194 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17195 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17196 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17197 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17198 wine_fn_config_dll msvidc32 enable_msvidc32 po
17199 wine_fn_config_dll msvideo.dll16 enable_win16
17200 wine_fn_config_dll mswsock enable_mswsock implib
17201 wine_fn_config_dll msxml enable_msxml clean
17202 wine_fn_config_dll msxml2 enable_msxml2 clean
17203 wine_fn_config_dll msxml3 enable_msxml3 clean
17204 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17205 wine_fn_config_dll msxml4 enable_msxml4 clean
17206 wine_fn_config_dll msxml6 enable_msxml6 clean
17207 wine_fn_config_dll nddeapi enable_nddeapi implib
17208 wine_fn_config_dll ndis.sys enable_ndis_sys
17209 wine_fn_config_dll netapi32 enable_netapi32 implib
17210 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17211 wine_fn_config_dll netcfgx enable_netcfgx clean
17212 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17213 wine_fn_config_dll netprofm enable_netprofm clean
17214 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17215 wine_fn_config_dll newdev enable_newdev implib
17216 wine_fn_config_dll normaliz enable_normaliz implib
17217 wine_fn_config_dll npmshtml enable_npmshtml
17218 wine_fn_config_dll npptools enable_npptools
17219 wine_fn_config_dll ntdll enable_ntdll implib
17220 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17221 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17222 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17223 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17224 wine_fn_config_dll ntprint enable_ntprint
17225 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17226 wine_fn_config_dll objsel enable_objsel clean
17227 wine_fn_config_dll odbc32 enable_odbc32 implib
17228 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17229 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17230 wine_fn_config_dll odbccu32 enable_odbccu32
17231 wine_fn_config_dll ole2.dll16 enable_win16
17232 wine_fn_config_dll ole2conv.dll16 enable_win16
17233 wine_fn_config_dll ole2disp.dll16 enable_win16
17234 wine_fn_config_dll ole2nls.dll16 enable_win16
17235 wine_fn_config_dll ole2prox.dll16 enable_win16
17236 wine_fn_config_dll ole2thk.dll16 enable_win16
17237 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17238 wine_fn_config_test dlls
/ole32
/tests ole32_test
17239 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17240 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17241 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17242 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17243 wine_fn_config_dll olecli.dll16 enable_win16
17244 wine_fn_config_dll olecli32 enable_olecli32 implib
17245 wine_fn_config_dll oledb32 enable_oledb32 clean
17246 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17247 wine_fn_config_dll oledlg enable_oledlg implib
,po
17248 wine_fn_config_dll olepro32 enable_olepro32 implib
17249 wine_fn_config_dll olesvr.dll16 enable_win16
17250 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17251 wine_fn_config_dll olethk32 enable_olethk32
17252 wine_fn_config_dll openal32 enable_openal32
17253 wine_fn_config_dll opencl enable_opencl
17254 wine_fn_config_dll opengl32 enable_opengl32 implib
17255 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17256 wine_fn_config_dll packager enable_packager clean
17257 wine_fn_config_test dlls
/packager
/tests packager_test
17258 wine_fn_config_dll pdh enable_pdh implib
17259 wine_fn_config_test dlls
/pdh
/tests pdh_test
17260 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17261 wine_fn_config_dll pidgen enable_pidgen
17262 wine_fn_config_dll powrprof enable_powrprof implib
17263 wine_fn_config_dll printui enable_printui
17264 wine_fn_config_dll prntvpt enable_prntvpt
17265 wine_fn_config_dll propsys enable_propsys clean
,implib
17266 wine_fn_config_test dlls
/propsys
/tests propsys_test
17267 wine_fn_config_dll psapi enable_psapi implib
17268 wine_fn_config_test dlls
/psapi
/tests psapi_test
17269 wine_fn_config_dll pstorec enable_pstorec clean
17270 wine_fn_config_dll qcap enable_qcap
17271 wine_fn_config_test dlls
/qcap
/tests qcap_test
17272 wine_fn_config_dll qedit enable_qedit clean
17273 wine_fn_config_test dlls
/qedit
/tests qedit_test
17274 wine_fn_config_dll qmgr enable_qmgr clean
17275 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17276 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17277 wine_fn_config_dll quartz enable_quartz clean
,implib
17278 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17279 wine_fn_config_dll query enable_query
17280 wine_fn_config_dll rasapi16.dll16 enable_win16
17281 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17282 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17283 wine_fn_config_dll rasdlg enable_rasdlg implib
17284 wine_fn_config_dll regapi enable_regapi
17285 wine_fn_config_dll resutils enable_resutils implib
17286 wine_fn_config_dll riched20 enable_riched20 implib
17287 wine_fn_config_test dlls
/riched20
/tests riched20_test
17288 wine_fn_config_dll riched32 enable_riched32
17289 wine_fn_config_test dlls
/riched32
/tests riched32_test
17290 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17291 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17292 wine_fn_config_dll rsabase enable_rsabase
17293 wine_fn_config_dll rsaenh enable_rsaenh implib
17294 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17295 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17296 wine_fn_config_dll rtutils enable_rtutils implib
17297 wine_fn_config_dll samlib enable_samlib
17298 wine_fn_config_dll sane.ds enable_sane_ds po
17299 wine_fn_config_dll scarddlg enable_scarddlg
17300 wine_fn_config_dll sccbase enable_sccbase
17301 wine_fn_config_dll schannel enable_schannel
17302 wine_fn_config_test dlls
/schannel
/tests schannel_test
17303 wine_fn_config_dll schedsvc enable_schedsvc clean
17304 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17305 wine_fn_config_dll scrrun enable_scrrun clean
17306 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17307 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17308 wine_fn_config_dll secur32 enable_secur32 implib
17309 wine_fn_config_test dlls
/secur32
/tests secur32_test
17310 wine_fn_config_dll security enable_security
17311 wine_fn_config_dll sensapi enable_sensapi implib
17312 wine_fn_config_dll serialui enable_serialui implib
,po
17313 wine_fn_config_test dlls
/serialui
/tests serialui_test
17314 wine_fn_config_dll setupapi enable_setupapi implib
,po
17315 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17316 wine_fn_config_dll setupx.dll16 enable_win16
17317 wine_fn_config_dll sfc enable_sfc implib
17318 wine_fn_config_dll sfc_os enable_sfc_os implib
17319 wine_fn_config_dll shdoclc enable_shdoclc po
17320 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17321 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17322 wine_fn_config_dll shell.dll16 enable_win16
17323 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17324 wine_fn_config_test dlls
/shell32
/tests shell32_test
17325 wine_fn_config_dll shfolder enable_shfolder implib
17326 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17327 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17328 wine_fn_config_dll slbcsp enable_slbcsp
17329 wine_fn_config_dll slc enable_slc implib
17330 wine_fn_config_dll snmpapi enable_snmpapi implib
17331 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17332 wine_fn_config_dll softpub enable_softpub
17333 wine_fn_config_dll sound.drv16 enable_win16
17334 wine_fn_config_dll spoolss enable_spoolss implib
17335 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17336 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17337 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17338 wine_fn_config_dll sti enable_sti clean
,implib
17339 wine_fn_config_test dlls
/sti
/tests sti_test
17340 wine_fn_config_dll storage.dll16 enable_win16
17341 wine_fn_config_dll stress.dll16 enable_win16
17342 wine_fn_config_lib strmbase
17343 wine_fn_config_lib strmiids
17344 wine_fn_config_dll svrapi enable_svrapi
17345 wine_fn_config_dll sxs enable_sxs implib
17346 wine_fn_config_test dlls
/sxs
/tests sxs_test
17347 wine_fn_config_dll system.drv16 enable_win16
17348 wine_fn_config_dll t2embed enable_t2embed
17349 wine_fn_config_dll tapi32 enable_tapi32 implib
17350 wine_fn_config_dll taskschd enable_taskschd clean
17351 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17352 wine_fn_config_dll toolhelp.dll16 enable_win16
17353 wine_fn_config_dll traffic enable_traffic
17354 wine_fn_config_dll twain.dll16 enable_win16
17355 wine_fn_config_dll twain_32 enable_twain_32
17356 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17357 wine_fn_config_dll typelib.dll16 enable_win16
17358 wine_fn_config_dll unicows enable_unicows implib
17359 wine_fn_config_dll updspapi enable_updspapi
17360 wine_fn_config_dll url enable_url implib
17361 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17362 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17363 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17364 wine_fn_config_dll user.exe16 enable_win16
17365 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17366 wine_fn_config_test dlls
/user32
/tests user32_test
17367 wine_fn_config_dll userenv enable_userenv implib
17368 wine_fn_config_test dlls
/userenv
/tests userenv_test
17369 wine_fn_config_dll usp10 enable_usp10 implib
17370 wine_fn_config_test dlls
/usp10
/tests usp10_test
17371 wine_fn_config_lib uuid
17372 wine_fn_config_dll uxtheme enable_uxtheme implib
17373 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17374 wine_fn_config_dll vbscript enable_vbscript clean
17375 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17376 wine_fn_config_dll vcomp enable_vcomp
17377 wine_fn_config_dll vcomp100 enable_vcomp100
17378 wine_fn_config_dll vcomp90 enable_vcomp90
17379 wine_fn_config_dll vdhcp.vxd enable_win16
17380 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17381 wine_fn_config_dll ver.dll16 enable_win16
17382 wine_fn_config_dll version enable_version implib
17383 wine_fn_config_test dlls
/version
/tests version_test
17384 wine_fn_config_dll vmm.vxd enable_win16
17385 wine_fn_config_dll vnbt.vxd enable_win16
17386 wine_fn_config_dll vnetbios.vxd enable_win16
17387 wine_fn_config_dll vssapi enable_vssapi
17388 wine_fn_config_dll vtdapi.vxd enable_win16
17389 wine_fn_config_dll vwin32.vxd enable_win16
17390 wine_fn_config_dll w32skrnl enable_win16
17391 wine_fn_config_dll w32sys.dll16 enable_win16
17392 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17393 wine_fn_config_dll wbemprox enable_wbemprox clean
17394 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17395 wine_fn_config_dll webservices enable_webservices implib
17396 wine_fn_config_dll wer enable_wer implib
17397 wine_fn_config_test dlls
/wer
/tests wer_test
17398 wine_fn_config_dll wevtapi enable_wevtapi
17399 wine_fn_config_dll wiaservc enable_wiaservc clean
17400 wine_fn_config_dll win32s16.dll16 enable_win16
17401 wine_fn_config_dll win87em.dll16 enable_win16
17402 wine_fn_config_dll winaspi.dll16 enable_win16
17403 wine_fn_config_dll windebug.dll16 enable_win16
17404 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17405 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17406 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17407 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17408 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17409 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17410 wine_fn_config_lib winecrt0
17411 wine_fn_config_dll wined3d enable_wined3d implib
17412 wine_fn_config_dll winegstreamer enable_winegstreamer
17413 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17414 wine_fn_config_dll winemac.drv enable_winemac_drv
17415 wine_fn_config_dll winemapi enable_winemapi
17416 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17417 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17418 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17419 wine_fn_config_dll wineps16.drv16 enable_win16
17420 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17421 wine_fn_config_dll winex11.drv enable_winex11_drv
17422 wine_fn_config_dll wing.dll16 enable_win16
17423 wine_fn_config_dll wing32 enable_wing32
17424 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17425 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17426 wine_fn_config_dll wininet enable_wininet implib
,po
17427 wine_fn_config_test dlls
/wininet
/tests wininet_test
17428 wine_fn_config_dll winmm enable_winmm implib
,po
17429 wine_fn_config_test dlls
/winmm
/tests winmm_test
17430 wine_fn_config_dll winnls.dll16 enable_win16
17431 wine_fn_config_dll winnls32 enable_winnls32 implib
17432 wine_fn_config_dll winscard enable_winscard implib
17433 wine_fn_config_dll winsock.dll16 enable_win16
17434 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17435 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17436 wine_fn_config_dll winsta enable_winsta
17437 wine_fn_config_dll wintab.dll16 enable_win16
17438 wine_fn_config_dll wintab32 enable_wintab32 implib
17439 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17440 wine_fn_config_dll wintrust enable_wintrust implib
17441 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17442 wine_fn_config_dll wlanapi enable_wlanapi
17443 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17444 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17445 wine_fn_config_dll wmi enable_wmi
17446 wine_fn_config_dll wmiutils enable_wmiutils clean
17447 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17448 wine_fn_config_dll wmp enable_wmp clean
17449 wine_fn_config_test dlls
/wmp
/tests wmp_test
17450 wine_fn_config_dll wmvcore enable_wmvcore
17451 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17452 wine_fn_config_dll wow32 enable_win16 implib
17453 wine_fn_config_dll wpcap enable_wpcap
17454 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17455 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17456 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17457 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17458 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17459 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17460 wine_fn_config_dll wsock32 enable_wsock32 implib
17461 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17462 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17463 wine_fn_config_dll wuapi enable_wuapi clean
17464 wine_fn_config_dll wuaueng enable_wuaueng
17465 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17466 wine_fn_config_dll xinput1_1 enable_xinput1_1
17467 wine_fn_config_dll xinput1_2 enable_xinput1_2
17468 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17469 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17470 wine_fn_config_dll xinput1_4 enable_xinput1_4
17471 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17472 wine_fn_config_dll xmllite enable_xmllite implib
17473 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17474 wine_fn_config_dll xolehlp enable_xolehlp
17475 wine_fn_config_dll xpsprint enable_xpsprint
17476 wine_fn_config_dll xpssvcs enable_xpssvcs
17477 wine_fn_config_makefile documentation enable_documentation clean
17478 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17479 wine_fn_config_makefile include enable_include clean
,install-dev
17480 wine_fn_config_makefile libs
/port enable_libs_port
17481 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17482 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17483 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17484 wine_fn_config_program arp enable_arp
install
17485 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17486 wine_fn_config_program attrib enable_attrib
install,po
17487 wine_fn_config_program cabarc enable_cabarc
install
17488 wine_fn_config_program cacls enable_cacls
install
17489 wine_fn_config_program
clock enable_clock
install,po
17490 wine_fn_config_program cmd enable_cmd
install,po
17491 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17492 wine_fn_config_program conhost enable_conhost
install
17493 wine_fn_config_program control enable_control
install
17494 wine_fn_config_program cscript enable_cscript clean
,install
17495 wine_fn_config_program dpnsvr enable_dpnsvr
install
17496 wine_fn_config_program dxdiag enable_dxdiag
install,po
17497 wine_fn_config_program eject enable_eject
install
17498 wine_fn_config_program
expand enable_expand
install
17499 wine_fn_config_program explorer enable_explorer
install,po
17500 wine_fn_config_program extrac32 enable_extrac32
install
17501 wine_fn_config_program findstr enable_findstr
install
17502 wine_fn_config_program hh enable_hh
install
17503 wine_fn_config_program hostname enable_hostname
install,po
17504 wine_fn_config_program icinfo enable_icinfo
install
17505 wine_fn_config_program iexplore enable_iexplore
install
17506 wine_fn_config_program ipconfig enable_ipconfig
install,po
17507 wine_fn_config_program lodctr enable_lodctr
install
17508 wine_fn_config_program mofcomp enable_mofcomp
install
17509 wine_fn_config_program mshta enable_mshta
install
17510 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17511 wine_fn_config_program net enable_net
install,po
17512 wine_fn_config_program netsh enable_netsh
install
17513 wine_fn_config_program netstat enable_netstat
install,po
17514 wine_fn_config_program ngen enable_ngen
install
17515 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17516 wine_fn_config_program oleview enable_oleview
install,po
17517 wine_fn_config_program
ping enable_ping
install
17518 wine_fn_config_program plugplay enable_plugplay
install
17519 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17520 wine_fn_config_program progman enable_progman
install,po
17521 wine_fn_config_program reg enable_reg
install,po
17522 wine_fn_config_test programs
/reg
/tests reg.exe_test
17523 wine_fn_config_program regasm enable_regasm
install
17524 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17525 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17526 wine_fn_config_program regsvcs enable_regsvcs
install
17527 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17528 wine_fn_config_program rpcss enable_rpcss clean
,install
17529 wine_fn_config_program rundll.exe16 enable_win16
install
17530 wine_fn_config_program rundll32 enable_rundll32
install
17531 wine_fn_config_program sc enable_sc
install
17532 wine_fn_config_program schtasks enable_schtasks
install
17533 wine_fn_config_program sdbinst enable_sdbinst
install
17534 wine_fn_config_program secedit enable_secedit
install
17535 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17536 wine_fn_config_program services enable_services clean
,install
17537 wine_fn_config_test programs
/services
/tests services.exe_test
17538 wine_fn_config_program spoolsv enable_spoolsv
install
17539 wine_fn_config_program start enable_start
install,po
17540 wine_fn_config_program svchost enable_svchost
install
17541 wine_fn_config_program systeminfo enable_systeminfo
install
17542 wine_fn_config_program taskkill enable_taskkill
install,po
17543 wine_fn_config_program tasklist enable_tasklist
install
17544 wine_fn_config_program taskmgr enable_taskmgr
install,po
17545 wine_fn_config_program termsv enable_termsv
install
17546 wine_fn_config_program uninstaller enable_uninstaller
install,po
17547 wine_fn_config_program unlodctr enable_unlodctr
install
17548 wine_fn_config_program view enable_view
install,po
17549 wine_fn_config_program wevtutil enable_wevtutil
install
17550 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17551 wine_fn_config_program winebrowser enable_winebrowser
install
17552 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17553 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17554 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17555 wine_fn_config_program winedevice enable_winedevice
install
17556 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17557 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17558 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17559 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17560 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17561 wine_fn_config_program winetest enable_winetest clean
17562 wine_fn_config_program winevdm enable_win16
install
17563 wine_fn_config_program winhelp.exe16 enable_win16
install
17564 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17565 wine_fn_config_program winoldap.mod16 enable_win16
install
17566 wine_fn_config_program winver enable_winver
install
17567 wine_fn_config_program wmic enable_wmic
install,po
17568 wine_fn_config_program wordpad enable_wordpad
install,po
17569 wine_fn_config_program
write enable_write
install,po
17570 wine_fn_config_program wscript enable_wscript clean
,install
17571 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17572 wine_fn_config_program wusa enable_wusa
install
17573 wine_fn_config_program xcopy enable_xcopy
install,po
17574 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17575 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17576 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17577 wine_fn_config_tool tools
/sfnt2fon clean
17578 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17579 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17580 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17581 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17582 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17583 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17635 wine_fn_ignore_file
".gitignore"
17636 wine_fn_ignore_file
"Makefile"
17637 wine_fn_ignore_file
"TAGS"
17638 wine_fn_ignore_file
"tags"
17639 wine_fn_ignore_file
"autom4te.cache"
17640 wine_fn_ignore_file
"config.cache"
17641 wine_fn_ignore_file
"config.log"
17642 wine_fn_ignore_file
"config.status"
17643 wine_fn_ignore_file
"configure.lineno"
17644 wine_fn_ignore_file
"include/config.h"
17645 wine_fn_ignore_file
"include/stamp-h"
17646 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17648 if test "x$enable_tools" != xno
17650 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17651 ac_config_commands
="$ac_config_commands tools/makedep"
17655 ac_config_commands
="$ac_config_commands Makefile"
17658 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17662 if test "x$enable_maintainer_mode" = xyes
17664 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17665 autoconf --warnings=all
17666 include/config.h.in: include/stamp-h.in
17667 include/stamp-h.in: configure.ac aclocal.m4
17668 autoheader --warnings=all
17669 @echo timestamp > \$@"
17672 if test "x$with_gettextpo" = xyes
17674 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17675 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17676 \$(LINGUAS:%=po/%.po): po/wine.pot
17677 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17678 po/wine.pot: \$(ALL_POT_FILES)
17679 msgcat -o \$@ \$(ALL_POT_FILES)"
17682 if test "$MSGFMT" != false
17684 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17686 \$(RM) \$(LINGUAS:%=po/%.mo)"
17689 test "$srcdir" = . || posrc
="$srcdir/po"
17692 wine_fn_ignore_file
"po/$i.mo"
17693 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17694 \$(MSGFMT) -o \$@ $posrc/$i.po"
17700 if test "x$enable_tools" != xno
17702 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17703 @./config.status tools/makedep
17704 Makefile: tools/makedep$ac_exeext
17706 \$(RM) tools/makedep$ac_exeext"
17708 wine_fn_append_rule
"\$(MAKEDEP):
17709 @echo \"You need to run make in $TOOLSDIR first\" && false"
17712 if test -n "$with_wine64"
17714 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17715 fonts server tools:
17716 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17717 $with_wine64/loader/wine:
17718 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17719 $with_wine64/loader/wine-preloader:
17720 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17722 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17724 as_fn_append LOADER_RULES
"
17725 install install-lib:: wine.inf install-man-pages
17726 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17727 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17730 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17734 if test "$srcdir" = .
17736 ac_config_commands
="$ac_config_commands .gitignore"
17740 $as_echo " done" >&6
17741 cat >confcache
<<\_ACEOF
17742 # This file is a shell script that caches the results of configure
17743 # tests run on this system so they can be shared between configure
17744 # scripts and configure runs, see configure's option --config-cache.
17745 # It is not useful on other systems. If it contains results you don't
17746 # want to keep, you may remove or edit it.
17748 # config.status only pays attention to the cache file if you give it
17749 # the --recheck option to rerun configure.
17751 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17752 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17753 # following values.
17757 # The following way of writing the cache mishandles newlines in values,
17758 # but we know of no workaround that is simple, portable, and efficient.
17759 # So, we kill variables containing newlines.
17760 # Ultrix sh set writes to stderr and can't be redirected directly,
17761 # and sets the high bit in the cache file unless we assign to the vars.
17763 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17764 eval ac_val
=\$
$ac_var
17768 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17769 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17772 _ | IFS | as_nl
) ;; #(
17773 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17774 *) { eval $ac_var=; unset $ac_var;} ;;
17780 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17781 *${as_nl}ac_space
=\
*)
17782 # `set' does not quote correctly, so add quotes: double-quote
17783 # substitution turns \\\\ into \\, and sed turns \\ into \.
17786 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17789 # `set' quotes correctly as required by POSIX, so do not add quotes.
17790 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17799 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17801 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17803 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17804 if test -w "$cache_file"; then
17805 if test "x$cache_file" != "x/dev/null"; then
17806 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17807 $as_echo "$as_me: updating cache $cache_file" >&6;}
17808 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17809 cat confcache
>"$cache_file"
17811 case $cache_file in #(
17813 mv -f confcache
"$cache_file"$$
&&
17814 mv -f "$cache_file"$$
"$cache_file" ;; #(
17816 mv -f confcache
"$cache_file" ;;
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17822 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17827 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17828 # Let make expand exec_prefix.
17829 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17831 DEFS
=-DHAVE_CONFIG_H
17836 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17837 # 1. Remove the extension, and $U if already installed.
17838 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17839 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17840 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17841 # will be set to the directory where LIBOBJS objects are built.
17842 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17843 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17845 LIBOBJS
=$ac_libobjs
17847 LTLIBOBJS
=$ac_ltlibobjs
17851 : "${CONFIG_STATUS=./config.status}"
17853 ac_clean_files_save
=$ac_clean_files
17854 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17856 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17858 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17860 # Generated by $as_me.
17861 # Run this file to recreate the current configuration.
17862 # Compiler output produced by configure, useful for debugging
17863 # configure, is in config.log if it exists.
17866 ac_cs_recheck=false
17869 SHELL=\${CONFIG_SHELL-$SHELL}
17872 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17873 ## -------------------- ##
17874 ## M4sh Initialization. ##
17875 ## -------------------- ##
17877 # Be more Bourne compatible
17878 DUALCASE
=1; export DUALCASE
# for MKS sh
17879 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17882 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17883 # is contrary to our usage. Disable this feature.
17884 alias -g '${1+"$@"}'='"$@"'
17885 setopt NO_GLOB_SUBST
17887 case `(set -o) 2>/dev/null` in #(
17899 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17900 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17901 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17902 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17903 # Prefer a ksh shell builtin over an external printf program on Solaris,
17904 # but without wasting forks for bash or zsh.
17905 if test -z "$BASH_VERSION$ZSH_VERSION" \
17906 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17907 as_echo='print
-r --'
17908 as_echo_n='print
-rn --'
17909 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17910 as_echo='printf %s
\n'
17911 as_echo_n='printf %s
'
17913 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17914 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17915 as_echo_n='/usr
/ucb
/echo -n'
17917 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17918 as_echo_n_body='eval
17922 expr "X$arg" : "X\\(.*\\)$as_nl";
17923 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17925 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17927 export as_echo_n_body
17928 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17930 export as_echo_body
17931 as_echo='sh
-c $as_echo_body as_echo
'
17934 # The user is always right.
17935 if test "${PATH_SEPARATOR+set}" != set; then
17937 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17938 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17945 # We need space, tab and new line, in precisely that order. Quoting is
17946 # there to prevent editors from complaining about space-tab.
17947 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17948 # splitting by setting IFS to empty value.)
17951 # Find who we are. Look in the path if we contain no directory separator.
17954 *[\\/]* ) as_myself=$0 ;;
17955 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17956 for as_dir in $PATH
17959 test -z "$as_dir" && as_dir=.
17960 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17966 # We did not find ourselves, most probably we were run as `sh COMMAND'
17967 # in which case we are not to be found in the path.
17968 if test "x$as_myself" = x
; then
17971 if test ! -f "$as_myself"; then
17972 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17976 # Unset variables that we do not need and which cause bugs (e.g. in
17977 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17978 # suppresses any "Segmentation fault" message there. '((' could
17979 # trigger a bug in pdksh 5.2.14.
17980 for as_var
in BASH_ENV ENV MAIL MAILPATH
17981 do eval test x\
${$as_var+set} = xset \
17982 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17995 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17998 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17999 # ----------------------------------------
18000 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18001 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18002 # script with STATUS, using 1 if that was 0.
18005 as_status
=$1; test $as_status -eq 0 && as_status
=1
18007 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18008 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18010 $as_echo "$as_me: error: $2" >&2
18011 as_fn_exit
$as_status
18015 # as_fn_set_status STATUS
18016 # -----------------------
18017 # Set $? to STATUS, without forking.
18018 as_fn_set_status
()
18021 } # as_fn_set_status
18023 # as_fn_exit STATUS
18024 # -----------------
18025 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18029 as_fn_set_status
$1
18035 # Portably unset VAR.
18038 { eval $1=; unset $1;}
18040 as_unset
=as_fn_unset
18041 # as_fn_append VAR VALUE
18042 # ----------------------
18043 # Append the text in VALUE to the end of the definition contained in VAR. Take
18044 # advantage of any shell optimizations that allow amortized linear growth over
18045 # repeated appends, instead of the typical quadratic growth present in naive
18047 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18048 eval 'as_fn_append ()
18059 # as_fn_arith ARG...
18060 # ------------------
18061 # Perform arithmetic evaluation on the ARGs, and store the result in the
18062 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18063 # must be portable across $(()) and expr.
18064 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18065 eval 'as_fn_arith ()
18072 as_val
=`expr "$@" || test $? -eq 1`
18077 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18078 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18084 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18085 as_basename
=basename
18090 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18096 as_me
=`$as_basename -- "$0" ||
18097 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18098 X"$0" : 'X\(//\)$' \| \
18099 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18101 sed '/^.*\/\([^/][^/]*\)\/*$/{
18115 # Avoid depending upon Character Ranges.
18116 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18117 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18118 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18119 as_cr_digits
='0123456789'
18120 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18122 ECHO_C
= ECHO_N
= ECHO_T
=
18123 case `echo -n x` in #(((((
18125 case `echo 'xy\c'` in
18126 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18128 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18135 rm -f conf$$ conf$$.exe conf$$.
file
18136 if test -d conf$$.dir
; then
18137 rm -f conf$$.dir
/conf$$.
file
18140 mkdir conf$$.dir
2>/dev
/null
18142 if (echo >conf$$.
file) 2>/dev
/null
; then
18143 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18145 # ... but there are two gotchas:
18146 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18147 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18148 # In both cases, we have to default to `cp -pR'.
18149 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18151 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18159 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18160 rmdir conf$$.dir
2>/dev
/null
18165 # Create "$as_dir" as a directory, including parents if necessary.
18170 -*) as_dir
=.
/$as_dir;;
18172 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18176 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18177 *) as_qdir
=$as_dir;;
18179 as_dirs
="'$as_qdir' $as_dirs"
18180 as_dir
=`$as_dirname -- "$as_dir" ||
18181 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18182 X"$as_dir" : 'X\(//\)[^/]' \| \
18183 X"$as_dir" : 'X\(//\)$' \| \
18184 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18185 $as_echo X"$as_dir" |
18186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18190 /^X\(\/\/\)[^/].*/{
18203 test -d "$as_dir" && break
18205 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18206 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18210 if mkdir
-p .
2>/dev
/null
; then
18211 as_mkdir_p
='mkdir -p "$as_dir"'
18213 test -d .
/-p && rmdir .
/-p
18218 # as_fn_executable_p FILE
18219 # -----------------------
18220 # Test if FILE is an executable regular file.
18221 as_fn_executable_p
()
18223 test -f "$1" && test -x "$1"
18224 } # as_fn_executable_p
18225 as_test_x
='test -x'
18226 as_executable_p
=as_fn_executable_p
18228 # Sed expression to map a string onto a valid CPP name.
18229 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18231 # Sed expression to map a string onto a valid variable name.
18232 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18236 ## ----------------------------------- ##
18237 ## Main body of $CONFIG_STATUS script. ##
18238 ## ----------------------------------- ##
18240 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18243 # Save the log message, to keep $0 and so on meaningful, and to
18244 # report actual input values of CONFIG_FILES etc. instead of their
18245 # values after options handling.
18247 This file was extended by Wine $as_me 1.7.32, which was
18248 generated by GNU Autoconf 2.69. Invocation command line was
18250 CONFIG_FILES = $CONFIG_FILES
18251 CONFIG_HEADERS = $CONFIG_HEADERS
18252 CONFIG_LINKS = $CONFIG_LINKS
18253 CONFIG_COMMANDS = $CONFIG_COMMANDS
18256 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18261 case $ac_config_files in *"
18262 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18265 case $ac_config_headers in *"
18266 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18271 # Files that config.status was made for.
18272 config_files="$ac_config_files"
18273 config_headers="$ac_config_headers"
18274 config_links="$ac_config_links"
18275 config_commands="$ac_config_commands"
18279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18281 \`$as_me' instantiates files and other configuration actions
18282 from templates according to the current configuration. Unless the files
18283 and actions are specified as TAGs, all are instantiated by default.
18285 Usage: $0 [OPTION]... [TAG]...
18287 -h, --help print this help, then exit
18288 -V, --version print version number and configuration settings, then exit
18289 --config print configuration, then exit
18290 -q, --quiet, --silent
18291 do not print progress messages
18292 -d, --debug don't remove temporary files
18293 --recheck update $as_me by reconfiguring in the same conditions
18294 --file=FILE[:TEMPLATE]
18295 instantiate the configuration file FILE
18296 --header=FILE[:TEMPLATE]
18297 instantiate the configuration header FILE
18299 Configuration files:
18302 Configuration headers:
18305 Configuration links:
18308 Configuration commands:
18311 Report bugs to <wine-devel@winehq.org>.
18312 Wine home page: <http://www.winehq.org>."
18315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18316 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18318 Wine config.status 1.7.32
18319 configured by $0, generated by GNU Autoconf 2.69,
18320 with options \\"\$ac_cs_config\\"
18322 Copyright (C) 2012 Free Software Foundation, Inc.
18323 This config.status script is free software; the Free Software Foundation
18324 gives unlimited permission to copy, distribute and modify it."
18328 test -n "\$AWK" || AWK=awk
18331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18332 # The default lists apply if the user does not specify any file.
18338 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18339 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18343 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18355 # Handling of the options.
18356 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18358 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18359 $as_echo "$ac_cs_version"; exit ;;
18360 --config |
--confi |
--conf |
--con |
--co |
--c )
18361 $as_echo "$ac_cs_config"; exit ;;
18362 --debug |
--debu |
--deb |
--de |
--d |
-d )
18364 --file |
--fil |
--fi |
--f )
18367 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18368 '') as_fn_error $?
"missing file argument" ;;
18370 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18371 ac_need_defaults
=false
;;
18372 --header |
--heade |
--head |
--hea )
18375 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18377 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18378 ac_need_defaults
=false
;;
18380 # Conflict between --help and --header
18381 as_fn_error $?
"ambiguous option: \`$1'
18382 Try \`$0 --help' for more information.";;
18383 --help |
--hel |
-h )
18384 $as_echo "$ac_cs_usage"; exit ;;
18385 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18386 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18389 # This is an error.
18390 -*) as_fn_error $?
"unrecognized option: \`$1'
18391 Try \`$0 --help' for more information." ;;
18393 *) as_fn_append ac_config_targets
" $1"
18394 ac_need_defaults
=false
;;
18400 ac_configure_extra_args
=
18402 if $ac_cs_silent; then
18404 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18409 if \$ac_cs_recheck; then
18410 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18412 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18413 CONFIG_SHELL='$SHELL'
18414 export CONFIG_SHELL
18419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18423 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18424 ## Running $as_me. ##
18430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18434 wine_fn_output_makedep ()
18436 as_dir=tools; as_fn_mkdir_p
18437 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18439 wine_fn_output_makefile ()
18441 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18442 `cat $wine_rules_file`
18444 as_fn_error $? "could not create Makefile" "$LINENO" 5
18446 wine_fn_output_gitignore ()
18448 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18451 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18458 # Handling of arguments.
18459 for ac_config_target
in $ac_config_targets
18461 case $ac_config_target in
18462 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18463 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18464 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18465 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18466 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18467 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18468 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18469 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18470 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18471 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18472 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18473 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18474 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18475 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18477 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18482 # If the user did not use the arguments to specify the items to instantiate,
18483 # then the envvar interface is used. Set only those that are not.
18484 # We use the long form for the default assignment because of an extremely
18485 # bizarre bug on SunOS 4.1.3.
18486 if $ac_need_defaults; then
18487 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18488 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18489 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18490 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18493 # Have a temporary directory for convenience. Make it in the build tree
18494 # simply because there is no reason against having it here, and in addition,
18495 # creating and moving files from /tmp can sometimes cause problems.
18496 # Hook for its removal unless debugging.
18497 # Note that there is a small window in which the directory will not be cleaned:
18498 # after its creation but before its name has been assigned to `$tmp'.
18502 trap 'exit_status=$?
18503 : "${ac_tmp:=$tmp}"
18504 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18506 trap 'as_fn_exit 1' 1 2 13 15
18508 # Create a (secure) tmp directory for tmp files.
18511 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18515 tmp
=.
/conf$$
-$RANDOM
18516 (umask 077 && mkdir
"$tmp")
18517 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18520 # Set up the scripts for CONFIG_FILES section.
18521 # No need to generate them if there are no CONFIG_FILES.
18522 # This happens for instance with `./config.status config.h'.
18523 if test -n "$CONFIG_FILES"; then
18526 ac_cr
=`echo X | tr X '\015'`
18527 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18528 # But we know of no other shell where ac_cr would be empty at this
18529 # point, so we can use a bashism as a fallback.
18530 if test "x$ac_cr" = x
; then
18531 eval ac_cr
=\$
\'\\r
\'
18533 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18534 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18537 ac_cs_awk_cr
=$ac_cr
18540 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18545 echo "cat >conf$$subs.awk <<_ACEOF" &&
18546 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18548 } >conf$$subs.sh ||
18549 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18550 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18552 for ac_last_try in false false false false false :; do
18553 . ./conf$$subs.sh ||
18554 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18556 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18557 if test $ac_delim_n = $ac_delim_num; then
18559 elif $ac_last_try; then
18560 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18562 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18565 rm -f conf$$subs.sh
18567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18568 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18572 s/^/S["/; s
/!.
*/"]=/
18582 s/\(.\{148\}\)..*/\1/
18584 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18589 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18596 s/\(.\{148\}\)..*/\1/
18598 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18602 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18607 ' <conf$$subs.awk | sed '
18612 ' >>$CONFIG_STATUS || ac_write_fail=1
18613 rm -f conf$$subs.awk
18614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18616 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18617 for (key in S) S_is_set[key] = 1
18623 nfields = split(line, field, "@
")
18625 len = length(field[1])
18626 for (i = 2; i < nfields; i++) {
18628 keylen = length(key)
18629 if (S_is_set[key]) {
18631 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18632 len += length(value) + length(field[++i])
18643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18644 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18645 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18648 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18649 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18652 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18653 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18654 # trailing colons and then remove the whole line if VPATH becomes empty
18655 # (actually we leave an empty line to preserve line numbers).
18656 if test "x
$srcdir" = x.; then
18657 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18676 fi # test -n "$CONFIG_FILES"
18678 # Set up the scripts for CONFIG_HEADERS section.
18679 # No need to generate them if there are no CONFIG_HEADERS.
18680 # This happens for instance with `./config.status Makefile'.
18681 if test -n "$CONFIG_HEADERS"; then
18682 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18686 # Transform confdefs.h into an awk script `defines.awk', embedded as
18687 # here-document in config.status, that substitutes the proper values into
18688 # config.h.in to produce config.h.
18690 # Create a delimiter string that does not exist in confdefs.h, to ease
18691 # handling of long lines.
18693 for ac_last_try in false false :; do
18694 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18695 if test -z "$ac_tt"; then
18697 elif $ac_last_try; then
18698 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18700 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18704 # For the awk script, D is an array of macro values keyed by name,
18705 # likewise P contains macro parameters if any. Preserve backslash
18706 # newline sequences.
18708 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18710 s/.\{148\}/&'"$ac_delim"'/g
18713 s/^[ ]*#[ ]*define[ ][ ]*/ /
18720 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18722 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18726 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18727 D["\
1"]=" \
3\\\\\\n
"\\/p
18729 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18734 s/.\{148\}/&'"$ac_delim"'/g
18739 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18742 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18744 ' <confdefs.h | sed '
18745 s/'"$ac_delim"'/"\\\
18746 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18749 for (key in D) D_is_set[key] = 1
18752 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18754 split(line, arg, " ")
18755 if (arg[1] == "#") {
18759 defundef
= substr
(arg
[1], 2)
18762 split(mac1
, mac2
, "(") #)
18764 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18765 if (D_is_set
[macro
]) {
18766 # Preserve the white space surrounding the "#".
18767 print prefix
"define", macro P
[macro
] D
[macro
]
18770 # Replace #undef with comments. This is necessary, for example,
18771 # in the case of _POSIX_SOURCE, which is predefined and required
18772 # on some systems where configure will not decide to define it.
18773 if (defundef
== "undef") {
18774 print
"/*", prefix defundef
, macro
, "*/"
18782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18783 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18784 fi # test -n "$CONFIG_HEADERS"
18787 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18792 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18794 case $ac_mode$ac_tag in
18796 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18797 :[FH
]-) ac_tag
=-:-;;
18798 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18815 -) ac_f
="$ac_tmp/stdin";;
18816 *) # Look for the file first in the build tree, then in the source tree
18817 # (if the path is not absolute). The absolute path cannot be DOS-style,
18818 # because $ac_f cannot contain `:'.
18822 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18824 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18826 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18827 as_fn_append ac_file_inputs
" '$ac_f'"
18830 # Let's still pretend it is `configure' which instantiates (i.e., don't
18831 # use $as_me), people would be surprised to read:
18832 # /* config.h. Generated by config.status. */
18833 configure_input
='Generated from '`
18834 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18836 if test x
"$ac_file" != x-
; then
18837 configure_input
="$ac_file. $configure_input"
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18839 $as_echo "$as_me: creating $ac_file" >&6;}
18841 # Neutralize special characters interpreted by sed in replacement strings.
18842 case $configure_input in #(
18843 *\
&* |
*\|
* |
*\\* )
18844 ac_sed_conf_input
=`$as_echo "$configure_input" |
18845 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18846 *) ac_sed_conf_input
=$configure_input;;
18850 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18851 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18856 ac_dir
=`$as_dirname -- "$ac_file" ||
18857 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18858 X"$ac_file" : 'X\(//\)[^/]' \| \
18859 X"$ac_file" : 'X\(//\)$' \| \
18860 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18861 $as_echo X"$ac_file" |
18862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18866 /^X\(\/\/\)[^/].*/{
18879 as_dir
="$ac_dir"; as_fn_mkdir_p
18883 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18885 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18886 # A ".." for each directory in $ac_dir_suffix.
18887 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18888 case $ac_top_builddir_sub in
18889 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18890 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18893 ac_abs_top_builddir
=$ac_pwd
18894 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18895 # for backward compatibility:
18896 ac_top_builddir
=$ac_top_build_prefix
18899 .
) # We are building in place.
18901 ac_top_srcdir
=$ac_top_builddir_sub
18902 ac_abs_top_srcdir
=$ac_pwd ;;
18903 [\\/]* | ?
:[\\/]* ) # Absolute name.
18904 ac_srcdir
=$srcdir$ac_dir_suffix;
18905 ac_top_srcdir
=$srcdir
18906 ac_abs_top_srcdir
=$srcdir ;;
18907 *) # Relative name.
18908 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18909 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18910 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18912 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18924 # If the template does not know about datarootdir, expand it.
18925 # FIXME: This hack should be removed a few years after 2.60.
18926 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18937 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18938 *datarootdir
*) ac_datarootdir_seen
=yes;;
18939 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18941 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18943 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18944 ac_datarootdir_hack='
18945 s&@datadir@&$datadir&g
18946 s&@docdir@&$docdir&g
18947 s&@infodir@&$infodir&g
18948 s&@localedir@&$localedir&g
18949 s&@mandir@&$mandir&g
18950 s&\\\${datarootdir}&$datarootdir&g' ;;
18954 # Neutralize VPATH when `$srcdir' = `.'.
18955 # Shell code in configure.ac might set extrasub.
18956 # FIXME: do we really want to maintain this feature?
18957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18958 ac_sed_extra="$ac_vpsub
18961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18963 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18964 s|@configure_input@|
$ac_sed_conf_input|
;t t
18965 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18966 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18967 s
&@srcdir@
&$ac_srcdir&;t t
18968 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18969 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18970 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18971 s
&@builddir@
&$ac_builddir&;t t
18972 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18973 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18974 $ac_datarootdir_hack
18976 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18977 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18979 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18980 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18981 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18982 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18984 which seems to be undefined. Please make sure it is defined" >&5
18985 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18986 which seems to be undefined. Please make sure it is defined" >&2;}
18988 rm -f "$ac_tmp/stdin"
18990 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18991 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18993 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18999 if test x"$ac_file" != x-; then
19001 $as_echo "/* $configure_input */" \
19002 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19003 } >"$ac_tmp/config.h" \
19004 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19005 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19006 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19007 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19010 mv "$ac_tmp/config.h" "$ac_file" \
19011 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19014 $as_echo "/* $configure_input */" \
19015 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19016 || as_fn_error $? "could not create -" "$LINENO" 5
19024 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19027 # Prefer the file from the source tree if names are identical.
19028 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19029 ac_source=$srcdir/$ac_source
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19033 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19035 if test ! -r "$ac_source"; then
19036 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19040 # Try a relative symlink, then a hard link, then a copy.
19042 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19043 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19045 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19046 ln "$ac_source" "$ac_file" 2>/dev/null ||
19047 cp -p "$ac_source" "$ac_file" ||
19048 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19051 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19052 $as_echo "$as_me: executing $ac_file commands" >&6;}
19057 case $ac_file$ac_mode in
19058 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19059 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19060 "Makefile":C) wine_fn_output_makefile Makefile ;;
19061 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19069 ac_clean_files=$ac_clean_files_save
19071 test $ac_write_fail = 0 ||
19072 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19075 # configure is writing to config.log, and then calls config.status.
19076 # config.status does its own redirection, appending to config.log.
19077 # Unfortunately, on DOS this fails, as config.log is still kept open
19078 # by configure, so config.status won't be able to
write to it
; its
19079 # output is simply discarded. So we exec the FD to /dev/null,
19080 # effectively closing config.log, so it can be properly (re)opened and
19081 # appended to by config.status. When coming back to configure, we
19082 # need to make the FD available again.
19083 if test "$no_create" != yes; then
19085 ac_config_status_args
=
19086 test "$silent" = yes &&
19087 ac_config_status_args
="$ac_config_status_args --quiet"
19089 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19091 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19092 # would make configure fail if this is the last instruction.
19093 $ac_cs_success || as_fn_exit
1
19095 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19097 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19101 if test "$no_create" = "yes"
19107 if test "x$wine_notices != "x
; then
19110 for msg
in $wine_notices; do
19112 if ${msg:+false} :; then :
19115 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19116 $as_echo "$as_me: $msg" >&6;}
19121 for msg
in $wine_warnings; do
19123 if ${msg:+false} :; then :
19127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19128 $as_echo "$as_me: WARNING: $msg" >&2;}
19134 $as_me: Finished. Do '${ac_make}' to compile Wine.