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_debug_l1_1_1
859 enable_api_ms_win_core_errorhandling_l1_1_1
860 enable_api_ms_win_core_file_l1_2_0
861 enable_api_ms_win_core_file_l2_1_1
862 enable_api_ms_win_core_handle_l1_1_0
863 enable_api_ms_win_core_heap_l1_2_0
864 enable_api_ms_win_core_heap_obsolete_l1_1_0
865 enable_api_ms_win_core_interlocked_l1_2_0
866 enable_api_ms_win_core_io_l1_1_1
867 enable_api_ms_win_core_kernel32_legacy_l1_1_0
868 enable_api_ms_win_core_libraryloader_l1_1_1
869 enable_api_ms_win_core_localization_l1_2_0
870 enable_api_ms_win_core_localization_obsolete_l1_1_0
871 enable_api_ms_win_core_localregistry_l1_1_0
872 enable_api_ms_win_core_memory_l1_1_1
873 enable_api_ms_win_core_namedpipe_l1_2_0
874 enable_api_ms_win_core_processenvironment_l1_2_0
875 enable_api_ms_win_core_processthreads_l1_1_0
876 enable_api_ms_win_core_processthreads_l1_1_1
877 enable_api_ms_win_core_processthreads_l1_1_2
878 enable_api_ms_win_core_profile_l1_1_0
879 enable_api_ms_win_core_psapi_l1_1_0
880 enable_api_ms_win_core_registry_l1_1_0
881 enable_api_ms_win_core_rtlsupport_l1_2_0
882 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
883 enable_api_ms_win_core_string_l1_1_0
884 enable_api_ms_win_core_synch_l1_2_0
885 enable_api_ms_win_core_sysinfo_l1_2_0
886 enable_api_ms_win_core_sysinfo_l1_2_1
887 enable_api_ms_win_core_threadpool_legacy_l1_1_0
888 enable_api_ms_win_core_timezone_l1_1_0
889 enable_api_ms_win_core_url_l1_1_0
890 enable_api_ms_win_core_util_l1_1_0
891 enable_api_ms_win_core_winrt_error_l1_1_0
892 enable_api_ms_win_core_winrt_string_l1_1_0
893 enable_api_ms_win_downlevel_advapi32_l1_1_0
894 enable_api_ms_win_downlevel_advapi32_l2_1_0
895 enable_api_ms_win_downlevel_normaliz_l1_1_0
896 enable_api_ms_win_downlevel_ole32_l1_1_0
897 enable_api_ms_win_downlevel_shell32_l1_1_0
898 enable_api_ms_win_downlevel_shlwapi_l1_1_0
899 enable_api_ms_win_downlevel_shlwapi_l2_1_0
900 enable_api_ms_win_downlevel_user32_l1_1_0
901 enable_api_ms_win_downlevel_version_l1_1_0
902 enable_api_ms_win_eventing_provider_l1_1_0
903 enable_api_ms_win_ntuser_dc_access_l1_1_0
904 enable_api_ms_win_security_base_l1_1_0
905 enable_api_ms_win_security_base_l1_2_0
906 enable_api_ms_win_security_sddl_l1_1_0
907 enable_api_ms_win_service_core_l1_1_1
908 enable_api_ms_win_service_management_l1_1_0
909 enable_api_ms_win_service_winsvc_l1_2_0
950 enable_d3dcompiler_33
951 enable_d3dcompiler_34
952 enable_d3dcompiler_35
953 enable_d3dcompiler_36
954 enable_d3dcompiler_37
955 enable_d3dcompiler_38
956 enable_d3dcompiler_39
957 enable_d3dcompiler_40
958 enable_d3dcompiler_41
959 enable_d3dcompiler_42
960 enable_d3dcompiler_43
1035 enable_explorerframe
1036 enable_ext_ms_win_gdi_devcaps_l1_1_0
1186 enable_photometadatahandler
1268 enable_windowscodecs
1269 enable_windowscodecsext
1271 enable_winecoreaudio_drv
1273 enable_winegstreamer
1274 enable_winejoystick_drv
1280 enable_wineqtdecoder
1317 enable_documentation
1325 enable_aspnet_regiis
1358 enable_presentationfontcache
1371 enable_servicemodelreg
1392 enable_winemenubuilder
1394 enable_winemsibuilder
1408 ac_precious_vars
='build_alias
1457 # Initialize some variables set by options.
1459 ac_init_version
=false
1460 ac_unrecognized_opts
=
1461 ac_unrecognized_sep
=
1462 # The variables have the same names as the options, with
1463 # dashes changed to underlines.
1464 cache_file
=/dev
/null
1471 program_transform_name
=s
,x
,x
,
1479 # Installation directory options.
1480 # These are left unexpanded so users can "make install exec_prefix=/foo"
1481 # and all the variables that are supposed to be based on exec_prefix
1482 # by default will actually change.
1483 # Use braces instead of parens because sh, perl, etc. also accept them.
1484 # (The list follows the same order as the GNU Coding Standards.)
1485 bindir
='${exec_prefix}/bin'
1486 sbindir
='${exec_prefix}/sbin'
1487 libexecdir
='${exec_prefix}/libexec'
1488 datarootdir
='${prefix}/share'
1489 datadir
='${datarootdir}'
1490 sysconfdir
='${prefix}/etc'
1491 sharedstatedir
='${prefix}/com'
1492 localstatedir
='${prefix}/var'
1493 includedir
='${prefix}/include'
1494 oldincludedir
='/usr/include'
1495 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1496 infodir
='${datarootdir}/info'
1501 libdir
='${exec_prefix}/lib'
1502 localedir
='${datarootdir}/locale'
1503 mandir
='${datarootdir}/man'
1509 # If the previous option needs an argument, assign it.
1510 if test -n "$ac_prev"; then
1511 eval $ac_prev=\
$ac_option
1517 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1522 # Accept the important Cygnus configure options, so we can diagnose typos.
1524 case $ac_dashdash$ac_option in
1528 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1530 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1531 bindir
=$ac_optarg ;;
1533 -build |
--build |
--buil |
--bui |
--bu)
1534 ac_prev
=build_alias
;;
1535 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1536 build_alias
=$ac_optarg ;;
1538 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1539 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1540 ac_prev
=cache_file
;;
1541 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1542 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1543 cache_file
=$ac_optarg ;;
1545 --config-cache |
-C)
1546 cache_file
=config.cache
;;
1548 -datadir |
--datadir |
--datadi |
--datad)
1550 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1551 datadir
=$ac_optarg ;;
1553 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1554 |
--dataroo |
--dataro |
--datar)
1555 ac_prev
=datarootdir
;;
1556 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1557 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1558 datarootdir
=$ac_optarg ;;
1560 -disable-* |
--disable-*)
1561 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1562 # Reject names that are not valid shell variable names.
1563 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1564 as_fn_error $?
"invalid feature name: $ac_useropt"
1565 ac_useropt_orig
=$ac_useropt
1566 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1567 case $ac_user_opts in
1569 "enable_
$ac_useropt"
1571 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1572 ac_unrecognized_sep
=', ';;
1574 eval enable_
$ac_useropt=no
;;
1576 -docdir |
--docdir |
--docdi |
--doc |
--do)
1578 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1579 docdir
=$ac_optarg ;;
1581 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1583 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1584 dvidir
=$ac_optarg ;;
1586 -enable-* |
--enable-*)
1587 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1588 # Reject names that are not valid shell variable names.
1589 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1590 as_fn_error $?
"invalid feature name: $ac_useropt"
1591 ac_useropt_orig
=$ac_useropt
1592 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1593 case $ac_user_opts in
1595 "enable_
$ac_useropt"
1597 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1598 ac_unrecognized_sep
=', ';;
1600 eval enable_
$ac_useropt=\
$ac_optarg ;;
1602 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1603 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1604 |
--exec |
--exe |
--ex)
1605 ac_prev
=exec_prefix
;;
1606 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1607 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1608 |
--exec=* |
--exe=* |
--ex=*)
1609 exec_prefix
=$ac_optarg ;;
1611 -gas |
--gas |
--ga |
--g)
1612 # Obsolete; use --with-gas.
1615 -help |
--help |
--hel |
--he |
-h)
1616 ac_init_help
=long
;;
1617 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1618 ac_init_help
=recursive
;;
1619 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1620 ac_init_help
=short
;;
1622 -host |
--host |
--hos |
--ho)
1623 ac_prev
=host_alias
;;
1624 -host=* |
--host=* |
--hos=* |
--ho=*)
1625 host_alias
=$ac_optarg ;;
1627 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1629 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1631 htmldir
=$ac_optarg ;;
1633 -includedir |
--includedir |
--includedi |
--included |
--include \
1634 |
--includ |
--inclu |
--incl |
--inc)
1635 ac_prev
=includedir
;;
1636 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1637 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1638 includedir
=$ac_optarg ;;
1640 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1642 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1643 infodir
=$ac_optarg ;;
1645 -libdir |
--libdir |
--libdi |
--libd)
1647 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1648 libdir
=$ac_optarg ;;
1650 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1651 |
--libexe |
--libex |
--libe)
1652 ac_prev
=libexecdir
;;
1653 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1654 |
--libexe=* |
--libex=* |
--libe=*)
1655 libexecdir
=$ac_optarg ;;
1657 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1658 ac_prev
=localedir
;;
1659 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1660 localedir
=$ac_optarg ;;
1662 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1663 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1664 ac_prev
=localstatedir
;;
1665 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1666 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1667 localstatedir
=$ac_optarg ;;
1669 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1671 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1672 mandir
=$ac_optarg ;;
1674 -nfp |
--nfp |
--nf)
1675 # Obsolete; use --without-fp.
1678 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1679 |
--no-cr |
--no-c |
-n)
1682 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1683 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1686 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1687 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1688 |
--oldin |
--oldi |
--old |
--ol |
--o)
1689 ac_prev
=oldincludedir
;;
1690 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1691 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1692 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1693 oldincludedir
=$ac_optarg ;;
1695 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1697 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1698 prefix
=$ac_optarg ;;
1700 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1701 |
--program-pre |
--program-pr |
--program-p)
1702 ac_prev
=program_prefix
;;
1703 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1704 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1705 program_prefix
=$ac_optarg ;;
1707 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1708 |
--program-suf |
--program-su |
--program-s)
1709 ac_prev
=program_suffix
;;
1710 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1711 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1712 program_suffix
=$ac_optarg ;;
1714 -program-transform-name |
--program-transform-name \
1715 |
--program-transform-nam |
--program-transform-na \
1716 |
--program-transform-n |
--program-transform- \
1717 |
--program-transform |
--program-transfor \
1718 |
--program-transfo |
--program-transf \
1719 |
--program-trans |
--program-tran \
1720 |
--progr-tra |
--program-tr |
--program-t)
1721 ac_prev
=program_transform_name
;;
1722 -program-transform-name=* |
--program-transform-name=* \
1723 |
--program-transform-nam=* |
--program-transform-na=* \
1724 |
--program-transform-n=* |
--program-transform-=* \
1725 |
--program-transform=* |
--program-transfor=* \
1726 |
--program-transfo=* |
--program-transf=* \
1727 |
--program-trans=* |
--program-tran=* \
1728 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1729 program_transform_name
=$ac_optarg ;;
1731 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1733 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1734 pdfdir
=$ac_optarg ;;
1736 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1738 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1741 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1742 |
-silent |
--silent |
--silen |
--sile |
--sil)
1745 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1747 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1749 sbindir
=$ac_optarg ;;
1751 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1752 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1753 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1755 ac_prev
=sharedstatedir
;;
1756 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1757 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1758 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1760 sharedstatedir
=$ac_optarg ;;
1762 -site |
--site |
--sit)
1764 -site=* |
--site=* |
--sit=*)
1767 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1769 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1770 srcdir
=$ac_optarg ;;
1772 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1773 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1774 ac_prev
=sysconfdir
;;
1775 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1776 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1777 sysconfdir
=$ac_optarg ;;
1779 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1780 ac_prev
=target_alias
;;
1781 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1782 target_alias
=$ac_optarg ;;
1784 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1787 -version |
--version |
--versio |
--versi |
--vers |
-V)
1788 ac_init_version
=: ;;
1791 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1792 # Reject names that are not valid shell variable names.
1793 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1794 as_fn_error $?
"invalid package name: $ac_useropt"
1795 ac_useropt_orig
=$ac_useropt
1796 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1797 case $ac_user_opts in
1801 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1802 ac_unrecognized_sep
=', ';;
1804 eval with_
$ac_useropt=\
$ac_optarg ;;
1806 -without-* |
--without-*)
1807 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1808 # Reject names that are not valid shell variable names.
1809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1810 as_fn_error $?
"invalid package name: $ac_useropt"
1811 ac_useropt_orig
=$ac_useropt
1812 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1813 case $ac_user_opts in
1817 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1818 ac_unrecognized_sep
=', ';;
1820 eval with_
$ac_useropt=no
;;
1823 # Obsolete; use --with-x.
1826 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1827 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1828 ac_prev
=x_includes
;;
1829 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1830 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1831 x_includes
=$ac_optarg ;;
1833 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1834 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1835 ac_prev
=x_libraries
;;
1836 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1837 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1838 x_libraries
=$ac_optarg ;;
1840 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1841 Try \`$0 --help' for more information"
1845 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1846 # Reject names that are not valid shell variable names.
1847 case $ac_envvar in #(
1848 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1849 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1851 eval $ac_envvar=\
$ac_optarg
1852 export $ac_envvar ;;
1855 # FIXME: should be removed in autoconf 3.0.
1856 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1857 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1858 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1859 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1865 if test -n "$ac_prev"; then
1866 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1867 as_fn_error $?
"missing argument to $ac_option"
1870 if test -n "$ac_unrecognized_opts"; then
1871 case $enable_option_checking in
1873 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1874 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1878 # Check all directory arguments for consistency.
1879 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1880 datadir sysconfdir sharedstatedir localstatedir includedir \
1881 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1882 libdir localedir mandir
1884 eval ac_val
=\$
$ac_var
1885 # Remove trailing slashes.
1888 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1889 eval $ac_var=\
$ac_val;;
1891 # Be sure to have absolute directory names.
1893 [\\/$
]* | ?
:[\\/]* ) continue;;
1894 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1896 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1899 # There might be people who depend on the old broken behavior: `$host'
1900 # used to hold the argument of --host etc.
1901 # FIXME: To remove some day.
1904 target
=$target_alias
1906 # FIXME: To remove some day.
1907 if test "x$host_alias" != x
; then
1908 if test "x$build_alias" = x
; then
1909 cross_compiling
=maybe
1910 elif test "x$build_alias" != "x$host_alias"; then
1916 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1918 test "$silent" = yes && exec 6>/dev
/null
1921 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1922 ac_ls_di
=`ls -di .` &&
1923 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1924 as_fn_error $?
"working directory cannot be determined"
1925 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1926 as_fn_error $?
"pwd does not report name of working directory"
1929 # Find the source files, if location was not specified.
1930 if test -z "$srcdir"; then
1931 ac_srcdir_defaulted
=yes
1932 # Try the directory containing this script, then the parent directory.
1933 ac_confdir
=`$as_dirname -- "$as_myself" ||
1934 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1935 X"$as_myself" : 'X\(//\)[^/]' \| \
1936 X"$as_myself" : 'X\(//\)$' \| \
1937 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1938 $as_echo X"$as_myself" |
1939 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1957 if test ! -r "$srcdir/$ac_unique_file"; then
1961 ac_srcdir_defaulted
=no
1963 if test ! -r "$srcdir/$ac_unique_file"; then
1964 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1965 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1967 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1969 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1971 # When building in place, set srcdir=.
1972 if test "$ac_abs_confdir" = "$ac_pwd"; then
1975 # Remove unnecessary trailing slashes from srcdir.
1976 # Double slashes in file names in object file debugging info
1977 # mess up M-x gdb in Emacs.
1979 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1981 for ac_var
in $ac_precious_vars; do
1982 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1983 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1984 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1985 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1989 # Report the --help message.
1991 if test "$ac_init_help" = "long"; then
1992 # Omit some internal or obsolete options to make the list less imposing.
1993 # This message is too long to be a string in the A/UX 3.1 sh.
1995 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
1997 Usage: $0 [OPTION]... [VAR=VALUE]...
1999 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2000 VAR=VALUE. See below for descriptions of some of the useful variables.
2002 Defaults for the options are specified in brackets.
2005 -h, --help display this help and exit
2006 --help=short display options specific to this package
2007 --help=recursive display the short help of all the included packages
2008 -V, --version display version information and exit
2009 -q, --quiet, --silent do not print \`checking ...' messages
2010 --cache-file=FILE cache test results in FILE [disabled]
2011 -C, --config-cache alias for \`--cache-file=config.cache'
2012 -n, --no-create do not create output files
2013 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2015 Installation directories:
2016 --prefix=PREFIX install architecture-independent files in PREFIX
2017 [$ac_default_prefix]
2018 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2021 By default, \`make install' will install all the files in
2022 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2023 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2024 for instance \`--prefix=\$HOME'.
2026 For better control, use the options below.
2028 Fine tuning of the installation directories:
2029 --bindir=DIR user executables [EPREFIX/bin]
2030 --sbindir=DIR system admin executables [EPREFIX/sbin]
2031 --libexecdir=DIR program executables [EPREFIX/libexec]
2032 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2033 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2034 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2035 --libdir=DIR object code libraries [EPREFIX/lib]
2036 --includedir=DIR C header files [PREFIX/include]
2037 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2038 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2039 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2040 --infodir=DIR info documentation [DATAROOTDIR/info]
2041 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2042 --mandir=DIR man documentation [DATAROOTDIR/man]
2043 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2044 --htmldir=DIR html documentation [DOCDIR]
2045 --dvidir=DIR dvi documentation [DOCDIR]
2046 --pdfdir=DIR pdf documentation [DOCDIR]
2047 --psdir=DIR ps documentation [DOCDIR]
2053 --x-includes=DIR X include files are
in DIR
2054 --x-libraries=DIR X library files are
in DIR
2057 --build=BUILD configure
for building on BUILD
[guessed
]
2058 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2062 if test -n "$ac_init_help"; then
2063 case $ac_init_help in
2064 short | recursive
) echo "Configuration of Wine 1.7.32:";;
2069 --disable-option-checking ignore unrecognized
--enable/--with options
2070 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2071 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2072 --disable-win16 do not include Win16 support
2073 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2075 --disable-tests do not build the regression tests
2076 --enable-maintainer-mode
2077 enable maintainer-specific build rules
2078 --disable-largefile omit support for large files
2081 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2082 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2083 --without-alsa do not use the Alsa sound support
2084 --without-capi do not use CAPI (ISDN support)
2085 --without-cms do not use CMS (color management support)
2086 --without-coreaudio do not use the CoreAudio sound support
2087 --without-cups do not use CUPS
2088 --without-curses do not use (n)curses
2089 --without-dbus do not use DBus (dynamic device support)
2090 --without-fontconfig do not use fontconfig
2091 --without-freetype do not use the FreeType library
2092 --without-gettext do not use gettext
2093 --with-gettextpo use the GetTextPO library to rebuild po files
2094 --without-gphoto do not use gphoto (Digital Camera support)
2095 --without-glu do not use the GLU library
2096 --without-gnutls do not use GnuTLS (schannel support)
2097 --without-gsm do not use libgsm (GSM 06.10 codec support)
2098 --without-gstreamer do not use GStreamer (codecs support)
2099 --without-hal do not use HAL (dynamic device support)
2100 --without-jpeg do not use JPEG
2101 --without-ldap do not use LDAP
2102 --without-mpg123 do not use the mpg123 library
2103 --without-netapi do not use the Samba NetAPI library
2104 --without-openal do not use OpenAL
2105 --without-opencl do not use OpenCL
2106 --without-opengl do not use OpenGL
2107 --without-osmesa do not use the OSMesa library
2108 --without-oss do not use the OSS sound support
2109 --without-pcap do not use the Packet Capture library
2110 --without-png do not use PNG
2111 --without-pthread do not use the pthread library
2112 --without-sane do not use SANE (scanner support)
2113 --without-tiff do not use TIFF
2114 --without-v4l do not use v4l1 (v4l support)
2115 --without-xcomposite do not use the Xcomposite extension
2116 --without-xcursor do not use the Xcursor extension
2117 --without-xinerama do not use Xinerama (multi-monitor support)
2118 --without-xinput do not use the Xinput extension
2119 --without-xinput2 do not use the Xinput 2 extension
2120 --without-xml do not use XML
2121 --without-xrandr do not use Xrandr (resolution changes)
2122 --without-xrender do not use the Xrender extension
2123 --without-xshape do not use the Xshape extension
2124 --without-xshm do not use XShm (shared memory extension)
2125 --without-xslt do not use XSLT
2126 --without-xxf86vm do not use XFree video mode extension
2127 --without-zlib do not use Zlib (data compression)
2128 --with-wine-tools=DIR use Wine tools from directory DIR
2129 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2130 --with-x use the X Window System
2132 Some influential environment variables:
2133 CC C compiler command
2134 CFLAGS C compiler flags
2135 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2136 nonstandard directory <lib dir>
2137 LIBS libraries to pass to the linker, e.g. -l<library>
2138 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2139 you have headers in a nonstandard directory <include dir>
2140 CXX C++ compiler command
2141 CXXFLAGS C++ compiler flags
2143 XMKMF Path to xmkmf, Makefile generator for X Window System
2144 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2145 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2146 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2147 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2148 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2149 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2150 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2151 HAL_LIBS Linker flags for hal, overriding pkg-config
2153 C compiler flags for gnutls, overriding pkg-config
2154 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2155 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2156 SANE_LIBS Linker flags for libsane, overriding pkg-config
2158 C compiler flags for libgphoto2, overriding pkg-config
2160 Linker flags for libgphoto2, overriding pkg-config
2162 C compiler flags for libgphoto2_port, overriding pkg-config
2164 Linker flags for libgphoto2_port, overriding pkg-config
2166 C compiler flags for lcms2, overriding pkg-config
2167 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2169 C compiler flags for freetype2, overriding pkg-config
2171 Linker flags for freetype2, overriding pkg-config
2173 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2175 Linker flags for gstreamer-app-0.10, overriding pkg-config
2177 C compiler flags for capi20, overriding pkg-config
2178 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2180 C compiler flags for fontconfig, overriding pkg-config
2182 Linker flags for fontconfig, overriding pkg-config
2183 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2184 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2185 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2186 PNG_LIBS Linker flags for libpng, overriding pkg-config
2187 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2188 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2190 C compiler flags for libmpg123, overriding pkg-config
2191 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2193 Use these variables to override the choices made by `configure' or to
help
2194 it to
find libraries and programs with nonstandard names
/locations.
2196 Report bugs to
<wine-devel@winehq.org
>.
2197 Wine home page
: <http
://www.winehq.org
>.
2202 if test "$ac_init_help" = "recursive"; then
2203 # If there are subdirs, report their specific --help.
2204 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2205 test -d "$ac_dir" ||
2206 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2211 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2213 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2214 # A ".." for each directory in $ac_dir_suffix.
2215 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2216 case $ac_top_builddir_sub in
2217 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2218 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2221 ac_abs_top_builddir
=$ac_pwd
2222 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2223 # for backward compatibility:
2224 ac_top_builddir
=$ac_top_build_prefix
2227 .
) # We are building in place.
2229 ac_top_srcdir
=$ac_top_builddir_sub
2230 ac_abs_top_srcdir
=$ac_pwd ;;
2231 [\\/]* | ?
:[\\/]* ) # Absolute name.
2232 ac_srcdir
=$srcdir$ac_dir_suffix;
2233 ac_top_srcdir
=$srcdir
2234 ac_abs_top_srcdir
=$srcdir ;;
2236 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2237 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2238 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2240 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2242 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2243 # Check for guested configure.
2244 if test -f "$ac_srcdir/configure.gnu"; then
2246 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2247 elif test -f "$ac_srcdir/configure"; then
2249 $SHELL "$ac_srcdir/configure" --help=recursive
2251 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2253 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2257 test -n "$ac_init_help" && exit $ac_status
2258 if $ac_init_version; then
2260 Wine configure
1.7.32
2261 generated by GNU Autoconf
2.69
2263 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2264 This configure
script is free software
; the Free Software Foundation
2265 gives unlimited permission to copy
, distribute and modify it.
2270 ## ------------------------ ##
2271 ## Autoconf initialization. ##
2272 ## ------------------------ ##
2274 # ac_fn_c_try_compile LINENO
2275 # --------------------------
2276 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2277 ac_fn_c_try_compile
()
2279 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2280 rm -f conftest.
$ac_objext
2281 if { { ac_try
="$ac_compile"
2283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2284 *) ac_try_echo=$ac_try;;
2286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2287 $as_echo "$ac_try_echo"; } >&5
2288 (eval "$ac_compile") 2>conftest.err
2290 if test -s conftest.err; then
2291 grep -v '^ *+' conftest.err >conftest.er1
2292 cat conftest.er1 >&5
2293 mv -f conftest.er1 conftest.err
2295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2296 test $ac_status = 0; } && {
2297 test -z "$ac_c_werror_flag" ||
2298 test ! -s conftest.err
2299 } && test -s conftest.$ac_objext; then :
2302 $as_echo "$as_me: failed program was:" >&5
2303 sed 's/^/| /' conftest.$ac_ext >&5
2307 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2308 as_fn_set_status $ac_retval
2310 } # ac_fn_c_try_compile
2312 # ac_fn_cxx_try_compile LINENO
2313 # ----------------------------
2314 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2315 ac_fn_cxx_try_compile ()
2317 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2318 rm -f conftest.$ac_objext
2319 if { { ac_try="$ac_compile"
2321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2322 *) ac_try_echo
=$ac_try;;
2324 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2325 $as_echo "$ac_try_echo"; } >&5
2326 (eval "$ac_compile") 2>conftest.err
2328 if test -s conftest.err
; then
2329 grep -v '^ *+' conftest.err
>conftest.er1
2330 cat conftest.er1
>&5
2331 mv -f conftest.er1 conftest.err
2333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2334 test $ac_status = 0; } && {
2335 test -z "$ac_cxx_werror_flag" ||
2336 test ! -s conftest.err
2337 } && test -s conftest.
$ac_objext; then :
2340 $as_echo "$as_me: failed program was:" >&5
2341 sed 's/^/| /' conftest.
$ac_ext >&5
2345 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2346 as_fn_set_status
$ac_retval
2348 } # ac_fn_cxx_try_compile
2350 # ac_fn_c_try_link LINENO
2351 # -----------------------
2352 # Try to link conftest.$ac_ext, and return whether this succeeded.
2355 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2356 rm -f conftest.
$ac_objext conftest
$ac_exeext
2357 if { { ac_try
="$ac_link"
2359 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2360 *) ac_try_echo=$ac_try;;
2362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2363 $as_echo "$ac_try_echo"; } >&5
2364 (eval "$ac_link") 2>conftest.err
2366 if test -s conftest.err; then
2367 grep -v '^ *+' conftest.err >conftest.er1
2368 cat conftest.er1 >&5
2369 mv -f conftest.er1 conftest.err
2371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2372 test $ac_status = 0; } && {
2373 test -z "$ac_c_werror_flag" ||
2374 test ! -s conftest.err
2375 } && test -s conftest$ac_exeext && {
2376 test "$cross_compiling" = yes ||
2377 test -x conftest$ac_exeext
2381 $as_echo "$as_me: failed program was:" >&5
2382 sed 's/^/| /' conftest.$ac_ext >&5
2386 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2387 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2388 # interfere with the next link command; also delete a directory that is
2389 # left behind by Apple's compiler. We do this before executing the actions.
2390 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2391 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2392 as_fn_set_status $ac_retval
2394 } # ac_fn_c_try_link
2396 # ac_fn_c_try_cpp LINENO
2397 # ----------------------
2398 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2401 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2402 if { { ac_try="$ac_cpp conftest.$ac_ext"
2404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2405 *) ac_try_echo
=$ac_try;;
2407 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2408 $as_echo "$ac_try_echo"; } >&5
2409 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2411 if test -s conftest.err
; then
2412 grep -v '^ *+' conftest.err
>conftest.er1
2413 cat conftest.er1
>&5
2414 mv -f conftest.er1 conftest.err
2416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2417 test $ac_status = 0; } > conftest.i
&& {
2418 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2419 test ! -s conftest.err
2423 $as_echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.
$ac_ext >&5
2428 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2429 as_fn_set_status
$ac_retval
2433 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2434 # -------------------------------------------------------
2435 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2436 # the include files in INCLUDES and setting the cache variable VAR
2438 ac_fn_c_check_header_mongrel
()
2440 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2441 if eval \
${$3+:} false
; then :
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2443 $as_echo_n "checking for $2... " >&6; }
2444 if eval \
${$3+:} false
; then :
2445 $as_echo_n "(cached) " >&6
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2449 $as_echo "$ac_res" >&6; }
2451 # Is the header compilable?
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2453 $as_echo_n "checking $2 usability... " >&6; }
2454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2459 if ac_fn_c_try_compile
"$LINENO"; then :
2460 ac_header_compiler
=yes
2462 ac_header_compiler
=no
2464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2466 $as_echo "$ac_header_compiler" >&6; }
2468 # Is the header present?
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2470 $as_echo_n "checking $2 presence... " >&6; }
2471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2472 /* end confdefs.h. */
2475 if ac_fn_c_try_cpp
"$LINENO"; then :
2476 ac_header_preproc
=yes
2478 ac_header_preproc
=no
2480 rm -f conftest.err conftest.i conftest.
$ac_ext
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2482 $as_echo "$ac_header_preproc" >&6; }
2484 # So? What about this header?
2485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2488 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2490 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2494 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2496 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2498 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2500 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2502 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2503 ( $as_echo "## ------------------------------------ ##
2504 ## Report this to wine-devel@winehq.org ##
2505 ## ------------------------------------ ##"
2506 ) |
sed "s/^/$as_me: WARNING: /" >&2
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2510 $as_echo_n "checking for $2... " >&6; }
2511 if eval \
${$3+:} false
; then :
2512 $as_echo_n "(cached) " >&6
2514 eval "$3=\$ac_header_compiler"
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2518 $as_echo "$ac_res" >&6; }
2520 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2522 } # ac_fn_c_check_header_mongrel
2524 # ac_fn_c_try_run LINENO
2525 # ----------------------
2526 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2527 # that executables *can* be run.
2530 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2531 if { { ac_try
="$ac_link"
2533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2534 *) ac_try_echo=$ac_try;;
2536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2537 $as_echo "$ac_try_echo"; } >&5
2538 (eval "$ac_link") 2>&5
2540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2541 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2542 { { case "(($ac_try" in
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_try") 2>&5
2550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2551 test $ac_status = 0; }; }; then :
2554 $as_echo "$as_me: program exited with status $ac_status" >&5
2555 $as_echo "$as_me: failed program was:" >&5
2556 sed 's/^/| /' conftest.
$ac_ext >&5
2558 ac_retval
=$ac_status
2560 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2561 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2562 as_fn_set_status
$ac_retval
2566 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2567 # -------------------------------------------------------
2568 # Tests whether HEADER exists and can be compiled using the include files in
2569 # INCLUDES, setting the cache variable VAR accordingly.
2570 ac_fn_c_check_header_compile
()
2572 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2574 $as_echo_n "checking for $2... " >&6; }
2575 if eval \
${$3+:} false
; then :
2576 $as_echo_n "(cached) " >&6
2578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2579 /* end confdefs.h. */
2583 if ac_fn_c_try_compile
"$LINENO"; then :
2588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2592 $as_echo "$ac_res" >&6; }
2593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2595 } # ac_fn_c_check_header_compile
2597 # ac_fn_c_check_func LINENO FUNC VAR
2598 # ----------------------------------
2599 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2600 ac_fn_c_check_func
()
2602 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2604 $as_echo_n "checking for $2... " >&6; }
2605 if eval \
${$3+:} false
; then :
2606 $as_echo_n "(cached) " >&6
2608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2610 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2612 #define $2 innocuous_$2
2614 /* System header to define __stub macros and hopefully few prototypes,
2615 which can conflict with char $2 (); below.
2616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2617 <limits.h> exists even on freestanding compilers. */
2620 # include <limits.h>
2622 # include <assert.h>
2627 /* Override any GCC internal prototype to avoid an error.
2628 Use char because int might match the return type of a GCC
2629 builtin and then its argument prototype would still apply. */
2634 /* The GNU C library defines this for functions which it implements
2635 to always fail with ENOSYS. Some functions are actually named
2636 something starting with __ and the normal name is an alias. */
2637 #if defined __stub_$2 || defined __stub___$2
2649 if ac_fn_c_try_link
"$LINENO"; then :
2654 rm -f core conftest.err conftest.
$ac_objext \
2655 conftest
$ac_exeext conftest.
$ac_ext
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2659 $as_echo "$ac_res" >&6; }
2660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2662 } # ac_fn_c_check_func
2664 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2665 # ----------------------------------------------------
2666 # Tries to find if the field MEMBER exists in type AGGR, after including
2667 # INCLUDES, setting cache variable VAR accordingly.
2668 ac_fn_c_check_member
()
2670 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2672 $as_echo_n "checking for $2.$3... " >&6; }
2673 if eval \
${$4+:} false
; then :
2674 $as_echo_n "(cached) " >&6
2676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2677 /* end confdefs.h. */
2689 if ac_fn_c_try_compile
"$LINENO"; then :
2692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2693 /* end confdefs.h. */
2699 if (sizeof ac_aggr.$3)
2705 if ac_fn_c_try_compile
"$LINENO"; then :
2710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2716 $as_echo "$ac_res" >&6; }
2717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2719 } # ac_fn_c_check_member
2721 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2722 # -------------------------------------------
2723 # Tests whether TYPE exists after having included INCLUDES, setting cache
2724 # variable VAR accordingly.
2725 ac_fn_c_check_type
()
2727 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2729 $as_echo_n "checking for $2... " >&6; }
2730 if eval \
${$3+:} false
; then :
2731 $as_echo_n "(cached) " >&6
2734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2735 /* end confdefs.h. */
2746 if ac_fn_c_try_compile
"$LINENO"; then :
2747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2748 /* end confdefs.h. */
2759 if ac_fn_c_try_compile
"$LINENO"; then :
2764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2770 $as_echo "$ac_res" >&6; }
2771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2773 } # ac_fn_c_check_type
2774 cat >config.log
<<_ACEOF
2775 This file contains any messages produced by compilers while
2776 running configure, to aid debugging if configure makes a mistake.
2778 It was created by Wine $as_me 1.7.32, which was
2779 generated by GNU Autoconf 2.69. Invocation command line was
2791 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2792 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2793 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2794 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2795 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2797 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2798 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2800 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2801 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2802 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2803 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2804 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2805 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2806 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2814 test -z "$as_dir" && as_dir
=.
2815 $as_echo "PATH: $as_dir"
2831 # Keep a trace of the command line.
2832 # Strip out --no-create and --no-recursion so they do not pile up.
2833 # Strip out --silent because we don't want to record it for future runs.
2834 # Also quote any args containing shell meta-characters.
2835 # Make two passes to allow for proper duplicate-argument suppression.
2839 ac_must_keep_next
=false
2845 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2846 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2847 |
-silent |
--silent |
--silen |
--sile |
--sil)
2850 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2853 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2855 as_fn_append ac_configure_args1
" '$ac_arg'"
2856 if test $ac_must_keep_next = true
; then
2857 ac_must_keep_next
=false
# Got value, back to normal.
2860 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2861 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2862 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2863 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2864 case "$ac_configure_args0 " in
2865 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2868 -* ) ac_must_keep_next
=true
;;
2871 as_fn_append ac_configure_args
" '$ac_arg'"
2876 { ac_configure_args0
=; unset ac_configure_args0
;}
2877 { ac_configure_args1
=; unset ac_configure_args1
;}
2879 # When interrupted or exit'd, cleanup temporary files, and complete
2880 # config.log. We remove comments because anyway the quotes in there
2881 # would cause problems or look ugly.
2882 # WARNING: Use '\'' to represent an apostrophe within the trap.
2883 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2884 trap 'exit_status=$?
2885 # Save into config.log some information that might help in debugging.
2889 $as_echo "## ---------------- ##
2890 ## Cache variables. ##
2891 ## ---------------- ##"
2893 # The following way of writing the cache mishandles newlines in values,
2895 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2896 eval ac_val=\$$ac_var
2900 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2901 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2904 _ | IFS | as_nl) ;; #(
2905 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2906 *) { eval $ac_var=; unset $ac_var;} ;;
2911 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2912 *${as_nl}ac_space=\ *)
2914 "s/'\''/'\''\\\\'\'''\''/g;
2915 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2918 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2925 $as_echo "## ----------------- ##
2926 ## Output variables. ##
2927 ## ----------------- ##"
2929 for ac_var in $ac_subst_vars
2931 eval ac_val=\$$ac_var
2933 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2935 $as_echo "$ac_var='\''$ac_val'\''"
2939 if test -n "$ac_subst_files"; then
2940 $as_echo "## ------------------- ##
2941 ## File substitutions. ##
2942 ## ------------------- ##"
2944 for ac_var
in $ac_subst_files
2946 eval ac_val
=\$
$ac_var
2948 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2950 $as_echo "$ac_var='\''$ac_val'\''"
2955 if test -s confdefs.h; then
2956 $as_echo "## ----------- ##
2963 test "$ac_signal" != 0 &&
2964 $as_echo "$as_me: caught signal $ac_signal"
2965 $as_echo "$as_me: exit $exit_status"
2967 rm -f core *.core core.conftest.* &&
2968 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2971 for ac_signal
in 1 2 13 15; do
2972 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2976 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2977 rm -f -r conftest
* confdefs.h
2979 $as_echo "/* confdefs.h */" > confdefs.h
2981 # Predefined preprocessor variables.
2983 cat >>confdefs.h
<<_ACEOF
2984 #define PACKAGE_NAME "$PACKAGE_NAME"
2987 cat >>confdefs.h
<<_ACEOF
2988 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2991 cat >>confdefs.h
<<_ACEOF
2992 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2995 cat >>confdefs.h
<<_ACEOF
2996 #define PACKAGE_STRING "$PACKAGE_STRING"
2999 cat >>confdefs.h
<<_ACEOF
3000 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3003 cat >>confdefs.h
<<_ACEOF
3004 #define PACKAGE_URL "$PACKAGE_URL"
3008 # Let the site file select an alternate cache file if it wants to.
3009 # Prefer an explicitly selected file to automatically selected ones.
3012 if test -n "$CONFIG_SITE"; then
3013 # We do not want a PATH search for config.site.
3014 case $CONFIG_SITE in #((
3015 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3016 */*) ac_site_file1
=$CONFIG_SITE;;
3017 *) ac_site_file1
=.
/$CONFIG_SITE;;
3019 elif test "x$prefix" != xNONE
; then
3020 ac_site_file1
=$prefix/share
/config.site
3021 ac_site_file2
=$prefix/etc
/config.site
3023 ac_site_file1
=$ac_default_prefix/share
/config.site
3024 ac_site_file2
=$ac_default_prefix/etc
/config.site
3026 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3028 test "x$ac_site_file" = xNONE
&& continue
3029 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3031 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3032 sed 's/^/| /' "$ac_site_file" >&5
3034 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3036 as_fn_error $?
"failed to load site script $ac_site_file
3037 See \`config.log' for more details" "$LINENO" 5; }
3041 if test -r "$cache_file"; then
3042 # Some versions of bash will fail to source /dev/null (special files
3043 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3044 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3046 $as_echo "$as_me: loading cache $cache_file" >&6;}
3048 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3049 *) .
"./$cache_file";;
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3054 $as_echo "$as_me: creating cache $cache_file" >&6;}
3058 # Check that the precious variables saved in the cache have kept the same
3060 ac_cache_corrupted
=false
3061 for ac_var
in $ac_precious_vars; do
3062 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3063 eval ac_new_set
=\
$ac_env_${ac_var}_set
3064 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3065 eval ac_new_val
=\
$ac_env_${ac_var}_value
3066 case $ac_old_set,$ac_new_set in
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3069 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3070 ac_cache_corrupted
=: ;;
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3073 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3074 ac_cache_corrupted
=: ;;
3077 if test "x$ac_old_val" != "x$ac_new_val"; then
3078 # differences in whitespace do not lead to failure.
3079 ac_old_val_w
=`echo x $ac_old_val`
3080 ac_new_val_w
=`echo x $ac_new_val`
3081 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3083 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3084 ac_cache_corrupted
=:
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3087 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3088 eval $ac_var=\
$ac_old_val
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3091 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3093 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3096 # Pass precious variables to config.status.
3097 if test "$ac_new_set" = set; then
3099 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3100 *) ac_arg
=$ac_var=$ac_new_val ;;
3102 case " $ac_configure_args " in
3103 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3104 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3108 if $ac_cache_corrupted; then
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3112 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3113 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3115 ## -------------------- ##
3116 ## Main body of script. ##
3117 ## -------------------- ##
3120 ac_cpp
='$CPP $CPPFLAGS'
3121 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3122 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3123 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3127 ac_config_headers
="$ac_config_headers include/config.h"
3130 for ac_dir
in tools
"$srcdir"/tools
; do
3131 if test -f "$ac_dir/install-sh"; then
3133 ac_install_sh
="$ac_aux_dir/install-sh -c"
3135 elif test -f "$ac_dir/install.sh"; then
3137 ac_install_sh
="$ac_aux_dir/install.sh -c"
3139 elif test -f "$ac_dir/shtool"; then
3141 ac_install_sh
="$ac_aux_dir/shtool install -c"
3145 if test -z "$ac_aux_dir"; then
3146 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3149 # These three variables are undocumented and unsupported,
3150 # and are intended to be withdrawn in a future Autoconf release.
3151 # They can cause serious problems if a builder's source tree is in a directory
3152 # whose full name contains unusual characters.
3153 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3154 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3155 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3159 libwine_version
="1.0"
3163 # Check whether --enable-win16 was given.
3164 if test "${enable_win16+set}" = set; then :
3165 enableval
=$enable_win16;
3168 # Check whether --enable-win64 was given.
3169 if test "${enable_win64+set}" = set; then :
3170 enableval
=$enable_win64;
3173 # Check whether --enable-tests was given.
3174 if test "${enable_tests+set}" = set; then :
3175 enableval
=$enable_tests;
3178 # Check whether --enable-maintainer-mode was given.
3179 if test "${enable_maintainer_mode+set}" = set; then :
3180 enableval
=$enable_maintainer_mode;
3185 # Check whether --with-alsa was given.
3186 if test "${with_alsa+set}" = set; then :
3187 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3191 # Check whether --with-capi was given.
3192 if test "${with_capi+set}" = set; then :
3197 # Check whether --with-cms was given.
3198 if test "${with_cms+set}" = set; then :
3203 # Check whether --with-coreaudio was given.
3204 if test "${with_coreaudio+set}" = set; then :
3205 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3209 # Check whether --with-cups was given.
3210 if test "${with_cups+set}" = set; then :
3215 # Check whether --with-curses was given.
3216 if test "${with_curses+set}" = set; then :
3217 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3221 # Check whether --with-dbus was given.
3222 if test "${with_dbus+set}" = set; then :
3227 # Check whether --with-fontconfig was given.
3228 if test "${with_fontconfig+set}" = set; then :
3229 withval
=$with_fontconfig;
3233 # Check whether --with-freetype was given.
3234 if test "${with_freetype+set}" = set; then :
3235 withval
=$with_freetype;
3239 # Check whether --with-gettext was given.
3240 if test "${with_gettext+set}" = set; then :
3241 withval
=$with_gettext;
3245 # Check whether --with-gettextpo was given.
3246 if test "${with_gettextpo+set}" = set; then :
3247 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3251 # Check whether --with-gphoto was given.
3252 if test "${with_gphoto+set}" = set; then :
3253 withval
=$with_gphoto;
3257 # Check whether --with-glu was given.
3258 if test "${with_glu+set}" = set; then :
3263 # Check whether --with-gnutls was given.
3264 if test "${with_gnutls+set}" = set; then :
3265 withval
=$with_gnutls;
3269 # Check whether --with-gsm was given.
3270 if test "${with_gsm+set}" = set; then :
3271 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3275 # Check whether --with-gstreamer was given.
3276 if test "${with_gstreamer+set}" = set; then :
3277 withval
=$with_gstreamer;
3281 # Check whether --with-hal was given.
3282 if test "${with_hal+set}" = set; then :
3287 # Check whether --with-jpeg was given.
3288 if test "${with_jpeg+set}" = set; then :
3293 # Check whether --with-ldap was given.
3294 if test "${with_ldap+set}" = set; then :
3295 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3299 # Check whether --with-mpg123 was given.
3300 if test "${with_mpg123+set}" = set; then :
3301 withval
=$with_mpg123;
3305 # Check whether --with-netapi was given.
3306 if test "${with_netapi+set}" = set; then :
3307 withval
=$with_netapi;
3311 # Check whether --with-openal was given.
3312 if test "${with_openal+set}" = set; then :
3313 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3317 # Check whether --with-opencl was given.
3318 if test "${with_opencl+set}" = set; then :
3319 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3323 # Check whether --with-opengl was given.
3324 if test "${with_opengl+set}" = set; then :
3325 withval
=$with_opengl;
3329 # Check whether --with-osmesa was given.
3330 if test "${with_osmesa+set}" = set; then :
3331 withval
=$with_osmesa;
3335 # Check whether --with-oss was given.
3336 if test "${with_oss+set}" = set; then :
3341 # Check whether --with-pcap was given.
3342 if test "${with_pcap+set}" = set; then :
3343 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3347 # Check whether --with-png was given.
3348 if test "${with_png+set}" = set; then :
3353 # Check whether --with-pthread was given.
3354 if test "${with_pthread+set}" = set; then :
3355 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3359 # Check whether --with-sane was given.
3360 if test "${with_sane+set}" = set; then :
3365 # Check whether --with-tiff was given.
3366 if test "${with_tiff+set}" = set; then :
3371 # Check whether --with-v4l was given.
3372 if test "${with_v4l+set}" = set; then :
3377 # Check whether --with-xcomposite was given.
3378 if test "${with_xcomposite+set}" = set; then :
3379 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3383 # Check whether --with-xcursor was given.
3384 if test "${with_xcursor+set}" = set; then :
3385 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3389 # Check whether --with-xinerama was given.
3390 if test "${with_xinerama+set}" = set; then :
3391 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3395 # Check whether --with-xinput was given.
3396 if test "${with_xinput+set}" = set; then :
3397 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3401 # Check whether --with-xinput2 was given.
3402 if test "${with_xinput2+set}" = set; then :
3403 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3407 # Check whether --with-xml was given.
3408 if test "${with_xml+set}" = set; then :
3413 # Check whether --with-xrandr was given.
3414 if test "${with_xrandr+set}" = set; then :
3415 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3419 # Check whether --with-xrender was given.
3420 if test "${with_xrender+set}" = set; then :
3421 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3425 # Check whether --with-xshape was given.
3426 if test "${with_xshape+set}" = set; then :
3427 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3431 # Check whether --with-xshm was given.
3432 if test "${with_xshm+set}" = set; then :
3433 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3437 # Check whether --with-xslt was given.
3438 if test "${with_xslt+set}" = set; then :
3443 # Check whether --with-xxf86vm was given.
3444 if test "${with_xxf86vm+set}" = set; then :
3445 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
3449 # Check whether --with-zlib was given.
3450 if test "${with_zlib+set}" = set; then :
3451 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3456 # Check whether --with-wine-tools was given.
3457 if test "${with_wine_tools+set}" = set; then :
3458 withval
=$with_wine_tools;
3462 # Check whether --with-wine64 was given.
3463 if test "${with_wine64+set}" = set; then :
3464 withval
=$with_wine64;
3468 # Make sure we can run config.sub.
3469 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3470 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3473 $as_echo_n "checking build system type... " >&6; }
3474 if ${ac_cv_build+:} false
; then :
3475 $as_echo_n "(cached) " >&6
3477 ac_build_alias
=$build_alias
3478 test "x$ac_build_alias" = x
&&
3479 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3480 test "x$ac_build_alias" = x
&&
3481 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3482 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3483 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3487 $as_echo "$ac_cv_build" >&6; }
3488 case $ac_cv_build in
3490 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3493 ac_save_IFS
=$IFS; IFS
='-'
3499 # Remember, the first character of IFS is used to create $*,
3500 # except with old shells:
3503 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3507 $as_echo_n "checking host system type... " >&6; }
3508 if ${ac_cv_host+:} false
; then :
3509 $as_echo_n "(cached) " >&6
3511 if test "x$host_alias" = x
; then
3512 ac_cv_host
=$ac_cv_build
3514 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3515 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3520 $as_echo "$ac_cv_host" >&6; }
3523 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3526 ac_save_IFS
=$IFS; IFS
='-'
3532 # Remember, the first character of IFS is used to create $*,
3533 # except with old shells:
3536 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3542 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3543 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3544 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3550 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3552 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3553 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3554 $as_echo_n "(cached) " >&6
3556 cat >conftest.
make <<\_ACEOF
3559 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3561 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3562 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3564 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3566 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3570 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3572 $as_echo "yes" >&6; }
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 $as_echo "no" >&6; }
3577 SET_MAKE
="MAKE=${MAKE-make}"
3581 ac_cpp
='$CPP $CPPFLAGS'
3582 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3583 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3585 if test -n "$ac_tool_prefix"; then
3586 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3587 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3589 $as_echo_n "checking for $ac_word... " >&6; }
3590 if ${ac_cv_prog_CC+:} false
; then :
3591 $as_echo_n "(cached) " >&6
3593 if test -n "$CC"; then
3594 ac_cv_prog_CC
="$CC" # Let the user override the test.
3596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3600 test -z "$as_dir" && as_dir
=.
3601 for ac_exec_ext
in '' $ac_executable_extensions; do
3602 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3603 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3614 if test -n "$CC"; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3616 $as_echo "$CC" >&6; }
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619 $as_echo "no" >&6; }
3624 if test -z "$ac_cv_prog_CC"; then
3626 # Extract the first word of "gcc", so it can be a program name with args.
3627 set dummy gcc
; ac_word
=$2
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3629 $as_echo_n "checking for $ac_word... " >&6; }
3630 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3631 $as_echo_n "(cached) " >&6
3633 if test -n "$ac_ct_CC"; then
3634 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3640 test -z "$as_dir" && as_dir
=.
3641 for ac_exec_ext
in '' $ac_executable_extensions; do
3642 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3643 ac_cv_prog_ac_ct_CC
="gcc"
3644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3654 if test -n "$ac_ct_CC"; then
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3656 $as_echo "$ac_ct_CC" >&6; }
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659 $as_echo "no" >&6; }
3662 if test "x$ac_ct_CC" = x
; then
3665 case $cross_compiling:$ac_tool_warned in
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3669 ac_tool_warned
=yes ;;
3677 if test -z "$CC"; then
3678 if test -n "$ac_tool_prefix"; then
3679 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3680 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682 $as_echo_n "checking for $ac_word... " >&6; }
3683 if ${ac_cv_prog_CC+:} false
; then :
3684 $as_echo_n "(cached) " >&6
3686 if test -n "$CC"; then
3687 ac_cv_prog_CC
="$CC" # Let the user override the test.
3689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir
=.
3694 for ac_exec_ext
in '' $ac_executable_extensions; do
3695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3696 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 if test -n "$CC"; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3709 $as_echo "$CC" >&6; }
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 $as_echo "no" >&6; }
3718 if test -z "$CC"; then
3719 # Extract the first word of "cc", so it can be a program name with args.
3720 set dummy cc
; ac_word
=$2
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3722 $as_echo_n "checking for $ac_word... " >&6; }
3723 if ${ac_cv_prog_CC+:} false
; then :
3724 $as_echo_n "(cached) " >&6
3726 if test -n "$CC"; then
3727 ac_cv_prog_CC
="$CC" # Let the user override the test.
3730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3734 test -z "$as_dir" && as_dir
=.
3735 for ac_exec_ext
in '' $ac_executable_extensions; do
3736 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3737 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3738 ac_prog_rejected
=yes
3742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3749 if test $ac_prog_rejected = yes; then
3750 # We found a bogon in the path, so make sure we never use it.
3751 set dummy
$ac_cv_prog_CC
3753 if test $# != 0; then
3754 # We chose a different compiler from the bogus one.
3755 # However, it has the same basename, so the bogon will be chosen
3756 # first if we set CC to just the basename; use the full file name.
3758 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3764 if test -n "$CC"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3766 $as_echo "$CC" >&6; }
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3774 if test -z "$CC"; then
3775 if test -n "$ac_tool_prefix"; then
3776 for ac_prog
in cl.exe
3778 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3779 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if ${ac_cv_prog_CC+:} false
; then :
3783 $as_echo_n "(cached) " >&6
3785 if test -n "$CC"; then
3786 ac_cv_prog_CC
="$CC" # Let the user override the test.
3788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3792 test -z "$as_dir" && as_dir
=.
3793 for ac_exec_ext
in '' $ac_executable_extensions; do
3794 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3795 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 if test -n "$CC"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3808 $as_echo "$CC" >&6; }
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3815 test -n "$CC" && break
3818 if test -z "$CC"; then
3820 for ac_prog
in cl.exe
3822 # Extract the first word of "$ac_prog", so it can be a program name with args.
3823 set dummy
$ac_prog; ac_word
=$2
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3825 $as_echo_n "checking for $ac_word... " >&6; }
3826 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3827 $as_echo_n "(cached) " >&6
3829 if test -n "$ac_ct_CC"; then
3830 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3836 test -z "$as_dir" && as_dir
=.
3837 for ac_exec_ext
in '' $ac_executable_extensions; do
3838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_ac_ct_CC
="$ac_prog"
3840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3849 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3850 if test -n "$ac_ct_CC"; then
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3852 $as_echo "$ac_ct_CC" >&6; }
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855 $as_echo "no" >&6; }
3859 test -n "$ac_ct_CC" && break
3862 if test "x$ac_ct_CC" = x
; then
3865 case $cross_compiling:$ac_tool_warned in
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3869 ac_tool_warned
=yes ;;
3878 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3880 as_fn_error $?
"no acceptable C compiler found in \$PATH
3881 See \`config.log' for more details" "$LINENO" 5; }
3883 # Provide some information about the compiler.
3884 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3887 for ac_option
in --version -v -V -qversion; do
3888 { { ac_try
="$ac_compiler $ac_option >&5"
3890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3891 *) ac_try_echo=$ac_try;;
3893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3894 $as_echo "$ac_try_echo"; } >&5
3895 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3897 if test -s conftest.err; then
3899 ... rest of stderr output deleted ...
3900 10q' conftest.err >conftest.er1
3901 cat conftest.er1 >&5
3903 rm -f conftest.er1 conftest.err
3904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3905 test $ac_status = 0; }
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3919 ac_clean_files_save=$ac_clean_files
3920 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3921 # Try to create an executable without -o first, disregard a.out.
3922 # It will help us diagnose broken compilers, and finding out an intuition
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3925 $as_echo_n "checking whether the C compiler works... " >&6; }
3926 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3928 # The possible output files:
3929 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3932 for ac_file in $ac_files
3935 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3936 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3941 if { { ac_try="$ac_link_default"
3943 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3944 *) ac_try_echo
=$ac_try;;
3946 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3947 $as_echo "$ac_try_echo"; } >&5
3948 (eval "$ac_link_default") 2>&5
3950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3951 test $ac_status = 0; }; then :
3952 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3953 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3954 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3955 # so that the user can short-circuit this test for compilers unknown to
3957 for ac_file
in $ac_files ''
3959 test -f "$ac_file" ||
continue
3961 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3964 # We found the default executable, but exeext='' is most
3968 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3970 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3972 # We set ac_cv_exeext here because the later test for it is not
3973 # safe: cross compilers may not add the suffix if given an `-o'
3974 # argument, so we may need to know it at that point already.
3975 # Even if this section looks crufty: it has the advantage of
3982 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3987 if test -z "$ac_file"; then :
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3989 $as_echo "no" >&6; }
3990 $as_echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.
$ac_ext >&5
3993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3995 as_fn_error
77 "C compiler cannot create executables
3996 See \`config.log' for more details" "$LINENO" 5; }
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3999 $as_echo "yes" >&6; }
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4002 $as_echo_n "checking for C compiler default output file name... " >&6; }
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4004 $as_echo "$ac_file" >&6; }
4005 ac_exeext
=$ac_cv_exeext
4007 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4008 ac_clean_files
=$ac_clean_files_save
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4010 $as_echo_n "checking for suffix of executables... " >&6; }
4011 if { { ac_try
="$ac_link"
4013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4014 *) ac_try_echo=$ac_try;;
4016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4017 $as_echo "$ac_try_echo"; } >&5
4018 (eval "$ac_link") 2>&5
4020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4021 test $ac_status = 0; }; then :
4022 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4023 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4024 # work properly (i.e., refer to `conftest.exe'), while it won't with
4026 for ac_file
in conftest.exe conftest conftest.
*; do
4027 test -f "$ac_file" ||
continue
4029 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4030 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4038 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4039 See \`config.log' for more details" "$LINENO" 5; }
4041 rm -f conftest conftest
$ac_cv_exeext
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4043 $as_echo "$ac_cv_exeext" >&6; }
4045 rm -f conftest.
$ac_ext
4046 EXEEXT
=$ac_cv_exeext
4048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4054 FILE *f = fopen ("conftest.out", "w");
4055 return ferror (f) || fclose (f) != 0;
4061 ac_clean_files
="$ac_clean_files conftest.out"
4062 # Check that the compiler produces executables we can run. If not, either
4063 # the compiler is broken, or we cross compile.
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4065 $as_echo_n "checking whether we are cross compiling... " >&6; }
4066 if test "$cross_compiling" != yes; then
4067 { { ac_try
="$ac_link"
4069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4070 *) ac_try_echo=$ac_try;;
4072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4073 $as_echo "$ac_try_echo"; } >&5
4074 (eval "$ac_link") 2>&5
4076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4077 test $ac_status = 0; }
4078 if { ac_try='./conftest$ac_cv_exeext'
4079 { { case "(($ac_try" in
4080 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4081 *) ac_try_echo
=$ac_try;;
4083 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4084 $as_echo "$ac_try_echo"; } >&5
4085 (eval "$ac_try") 2>&5
4087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088 test $ac_status = 0; }; }; then
4091 if test "$cross_compiling" = maybe
; then
4094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4096 as_fn_error $?
"cannot run C compiled programs.
4097 If you meant to cross compile, use \`--host'.
4098 See \`config.log' for more details" "$LINENO" 5; }
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4103 $as_echo "$cross_compiling" >&6; }
4105 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4106 ac_clean_files
=$ac_clean_files_save
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4108 $as_echo_n "checking for suffix of object files... " >&6; }
4109 if ${ac_cv_objext+:} false
; then :
4110 $as_echo_n "(cached) " >&6
4112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4123 rm -f conftest.o conftest.obj
4124 if { { ac_try
="$ac_compile"
4126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4127 *) ac_try_echo=$ac_try;;
4129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4130 $as_echo "$ac_try_echo"; } >&5
4131 (eval "$ac_compile") 2>&5
4133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4134 test $ac_status = 0; }; then :
4135 for ac_file in conftest.o conftest.obj conftest.*; do
4136 test -f "$ac_file" || continue;
4138 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4139 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4144 $as_echo "$as_me: failed program was:" >&5
4145 sed 's/^/| /' conftest.$ac_ext >&5
4147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4149 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4150 See \
`config.log' for more details" "$LINENO" 5; }
4152 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4155 $as_echo "$ac_cv_objext" >&6; }
4156 OBJEXT=$ac_cv_objext
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4159 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4160 if ${ac_cv_c_compiler_gnu+:} false; then :
4161 $as_echo_n "(cached) " >&6
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4177 if ac_fn_c_try_compile "$LINENO"; then :
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4187 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4188 if test $ac_compiler_gnu = yes; then
4193 ac_test_CFLAGS=${CFLAGS+set}
4194 ac_save_CFLAGS=$CFLAGS
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4196 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4197 if ${ac_cv_prog_cc_g+:} false; then :
4198 $as_echo_n "(cached) " >&6
4200 ac_save_c_werror_flag=$ac_c_werror_flag
4201 ac_c_werror_flag=yes
4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h. */
4215 if ac_fn_c_try_compile "$LINENO"; then :
4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4230 if ac_fn_c_try_compile "$LINENO"; then :
4233 ac_c_werror_flag=$ac_save_c_werror_flag
4235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4236 /* end confdefs.h. */
4246 if ac_fn_c_try_compile "$LINENO"; then :
4249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4254 ac_c_werror_flag=$ac_save_c_werror_flag
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4257 $as_echo "$ac_cv_prog_cc_g" >&6; }
4258 if test "$ac_test_CFLAGS" = set; then
4259 CFLAGS=$ac_save_CFLAGS
4260 elif test $ac_cv_prog_cc_g = yes; then
4261 if test "$GCC" = yes; then
4267 if test "$GCC" = yes; then
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4274 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4275 if ${ac_cv_prog_cc_c89+:} false; then :
4276 $as_echo_n "(cached) " >&6
4278 ac_cv_prog_cc_c89=no
4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h. */
4285 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4286 struct buf { int x; };
4287 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4288 static char *e (p, i)
4294 static char *f (char * (*g) (char **, int), char **p, ...)
4299 s = g (p, va_arg (v,int));
4304 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4305 function prototypes and stuff, but not '\xHH' hex character constants.
4306 These don't provoke an error unfortunately, instead are silently treated
4307 as 'x'. The following induces an error, until -std is added to get
4308 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4309 array size at least. It's necessary to write '\x00'==0 to get something
4310 that's true only with -std. */
4311 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4313 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4314 inside strings and character constants. */
4316 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4318 int test (int i, double x);
4319 struct s1 {int (*f) (int a);};
4320 struct s2 {int (*f) (double a);};
4321 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4327 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4332 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4333 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4335 CC="$ac_save_CC $ac_arg"
4336 if ac_fn_c_try_compile "$LINENO"; then :
4337 ac_cv_prog_cc_c89=$ac_arg
4339 rm -f core conftest.err conftest.$ac_objext
4340 test "x$ac_cv_prog_cc_c89" != "xno" && break
4342 rm -f conftest.$ac_ext
4347 case "x$ac_cv_prog_cc_c89" in
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4350 $as_echo "none needed" >&6; } ;;
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4353 $as_echo "unsupported" >&6; } ;;
4355 CC="$CC $ac_cv_prog_cc_c89"
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4357 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4359 if test "x$ac_cv_prog_cc_c89" != xno; then :
4364 ac_cpp='$CPP $CPPFLAGS'
4365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4370 ac_cpp='$CXXCPP $CPPFLAGS'
4371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4374 if test -z "$CXX"; then
4375 if test -n "$CCC"; then
4378 if test -n "$ac_tool_prefix"; then
4379 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4381 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4382 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4384 $as_echo_n "checking for $ac_word... " >&6; }
4385 if ${ac_cv_prog_CXX+:} false; then :
4386 $as_echo_n "(cached) " >&6
4388 if test -n "$CXX"; then
4389 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4395 test -z "$as_dir" && as_dir=.
4396 for ac_exec_ext in '' $ac_executable_extensions; do
4397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4398 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 if test -n "$CXX"; then
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4411 $as_echo "$CXX" >&6; }
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4414 $as_echo "no" >&6; }
4418 test -n "$CXX" && break
4421 if test -z "$CXX"; then
4423 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4425 # Extract the first word of "$ac_prog", so it can be a program name with args.
4426 set dummy $ac_prog; ac_word=$2
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4428 $as_echo_n "checking for $ac_word... " >&6; }
4429 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4430 $as_echo_n "(cached) " >&6
4432 if test -n "$ac_ct_CXX"; then
4433 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4439 test -z "$as_dir" && as_dir=.
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442 ac_cv_prog_ac_ct_CXX="$ac_prog"
4443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4452 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4453 if test -n "$ac_ct_CXX"; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4455 $as_echo "$ac_ct_CXX" >&6; }
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458 $as_echo "no" >&6; }
4462 test -n "$ac_ct_CXX" && break
4465 if test "x$ac_ct_CXX" = x; then
4468 case $cross_compiling:$ac_tool_warned in
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4472 ac_tool_warned=yes ;;
4480 # Provide some information about the compiler.
4481 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4484 for ac_option in --version -v -V -qversion; do
4485 { { ac_try="$ac_compiler $ac_option >&5"
4487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4488 *) ac_try_echo
=$ac_try;;
4490 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4491 $as_echo "$ac_try_echo"; } >&5
4492 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4494 if test -s conftest.err
; then
4496 ... rest of stderr output deleted ...
4497 10q' conftest.err
>conftest.er1
4498 cat conftest.er1
>&5
4500 rm -f conftest.er1 conftest.err
4501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4502 test $ac_status = 0; }
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4506 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4507 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4508 $as_echo_n "(cached) " >&6
4510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4511 /* end confdefs.h. */
4524 if ac_fn_cxx_try_compile
"$LINENO"; then :
4529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4530 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4534 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4535 if test $ac_compiler_gnu = yes; then
4540 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4541 ac_save_CXXFLAGS
=$CXXFLAGS
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4543 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4544 if ${ac_cv_prog_cxx_g+:} false
; then :
4545 $as_echo_n "(cached) " >&6
4547 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4548 ac_cxx_werror_flag
=yes
4551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4562 if ac_fn_cxx_try_compile
"$LINENO"; then :
4563 ac_cv_prog_cxx_g
=yes
4566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4577 if ac_fn_cxx_try_compile
"$LINENO"; then :
4580 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4583 /* end confdefs.h. */
4593 if ac_fn_cxx_try_compile
"$LINENO"; then :
4594 ac_cv_prog_cxx_g
=yes
4596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4601 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4604 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4605 if test "$ac_test_CXXFLAGS" = set; then
4606 CXXFLAGS
=$ac_save_CXXFLAGS
4607 elif test $ac_cv_prog_cxx_g = yes; then
4608 if test "$GXX" = yes; then
4614 if test "$GXX" = yes; then
4621 ac_cpp
='$CPP $CPPFLAGS'
4622 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4623 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4624 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4626 if test -n "$ac_tool_prefix"; then
4627 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4628 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4630 $as_echo_n "checking for $ac_word... " >&6; }
4631 if ${ac_cv_prog_CPPBIN+:} false
; then :
4632 $as_echo_n "(cached) " >&6
4634 if test -n "$CPPBIN"; then
4635 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4641 test -z "$as_dir" && as_dir
=.
4642 for ac_exec_ext
in '' $ac_executable_extensions; do
4643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4644 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4654 CPPBIN
=$ac_cv_prog_CPPBIN
4655 if test -n "$CPPBIN"; then
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4657 $as_echo "$CPPBIN" >&6; }
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4660 $as_echo "no" >&6; }
4665 if test -z "$ac_cv_prog_CPPBIN"; then
4666 ac_ct_CPPBIN
=$CPPBIN
4667 # Extract the first word of "cpp", so it can be a program name with args.
4668 set dummy cpp
; ac_word
=$2
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4670 $as_echo_n "checking for $ac_word... " >&6; }
4671 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4672 $as_echo_n "(cached) " >&6
4674 if test -n "$ac_ct_CPPBIN"; then
4675 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4681 test -z "$as_dir" && as_dir
=.
4682 for ac_exec_ext
in '' $ac_executable_extensions; do
4683 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4684 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4694 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4695 if test -n "$ac_ct_CPPBIN"; then
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4697 $as_echo "$ac_ct_CPPBIN" >&6; }
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 $as_echo "no" >&6; }
4703 if test "x$ac_ct_CPPBIN" = x
; then
4706 case $cross_compiling:$ac_tool_warned in
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4710 ac_tool_warned
=yes ;;
4712 CPPBIN
=$ac_ct_CPPBIN
4715 CPPBIN
="$ac_cv_prog_CPPBIN"
4719 cat >>confdefs.h
<<_ACEOF
4720 #define EXEEXT "$ac_exeext"
4726 if test "x$enable_win64" = "xyes"
4731 notice_platform
="64-bit "
4738 notice_platform
="32-bit "
4741 enable_win16
=${enable_win16:-yes}
4743 with_fontconfig
=${with_fontconfig:-no}
4746 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4751 $as_echo_n "checking whether $CC works... " >&6; }
4753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4754 /* end confdefs.h. */
4764 if ac_fn_c_try_link
"$LINENO"; then :
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4766 $as_echo "yes" >&6; }
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769 $as_echo "no" >&6; }
4770 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4772 rm -f core conftest.err conftest.
$ac_objext \
4773 conftest
$ac_exeext conftest.
$ac_ext
4775 notice_platform
="32-bit "
4778 enable_win16
=${enable_win16:-yes}
4780 if test "x${GCC}" = "xyes"
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4783 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4790 void func(__builtin_ms_va_list *args);
4795 if ac_fn_c_try_compile
"$LINENO"; then :
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4797 $as_echo "yes" >&6; }
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 $as_echo "no" >&6; }
4801 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4811 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4813 /* end confdefs.h. */
4814 int ac_test(int i) { return i; }
4818 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4823 if ac_fn_c_try_link
"$LINENO"; then :
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4825 $as_echo "yes" >&6; }
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4828 $as_echo "no" >&6; }
4829 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4831 rm -f core conftest.err conftest.
$ac_objext \
4832 conftest
$ac_exeext conftest.
$ac_ext
4833 CFLAGS
="$CFLAGS -marm"
4837 *-mingw32*|
*-cygwin*)
4838 enable_win16
=${enable_win16:-no}
4839 CFLAGS
="$CFLAGS -D_WIN32"
4842 enable_win16
=${enable_win16:-yes}
4846 enable_win16
=${enable_win16:-no}
4847 enable_win64
=${enable_win64:-no}
4849 enable_winetest
=${enable_winetest:-$enable_tests}
4851 if test -n "$with_wine64"
4853 if test "x$enable_win64" = "xyes"
4855 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4856 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4858 enable_fonts
=${enable_fonts:-no}
4859 enable_server
=${enable_server:-no}
4860 elif test "x$enable_win64" = "xyes"
4862 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4866 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4867 if ${wine_cv_toolsdir+:} false
; then :
4868 $as_echo_n "(cached) " >&6
4870 wine_cv_toolsdir
="$with_wine_tools"
4871 if test -z "$with_wine_tools"; then
4872 if test "$cross_compiling" = "yes"; then
4873 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4874 elif test -n "$with_wine64"; then
4875 wine_cv_toolsdir
="$with_wine64"
4878 if test -z "$wine_cv_toolsdir"; then
4879 wine_makedep
=tools
/makedep
4880 wine_cv_toolsdir
="\$(top_builddir)"
4881 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4882 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4883 case "$wine_cv_toolsdir" in
4885 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4887 enable_tools
=${enable_tools:-no}
4888 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4890 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4894 $as_echo "$wine_cv_toolsdir" >&6; }
4895 TOOLSDIR
=$wine_cv_toolsdir
4897 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4899 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4905 # Extract the first word of "$ac_prog", so it can be a program name with args.
4906 set dummy
$ac_prog; ac_word
=$2
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4908 $as_echo_n "checking for $ac_word... " >&6; }
4909 if ${ac_cv_prog_FLEX+:} false
; then :
4910 $as_echo_n "(cached) " >&6
4912 if test -n "$FLEX"; then
4913 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4919 test -z "$as_dir" && as_dir
=.
4920 for ac_exec_ext
in '' $ac_executable_extensions; do
4921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4922 ac_cv_prog_FLEX
="$ac_prog"
4923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4932 FLEX
=$ac_cv_prog_FLEX
4933 if test -n "$FLEX"; then
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4935 $as_echo "$FLEX" >&6; }
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4942 test -n "$FLEX" && break
4944 test -n "$FLEX" || FLEX
="none"
4946 if test "$FLEX" = "none"
4948 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4951 $as_echo_n "checking whether flex is recent enough... " >&6; }
4952 cat >conftest.l
<<EOF
4954 #include "prediluvian.h"
4958 if $FLEX -t conftest.l
>/dev
/null
2>&5
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4961 $as_echo "yes" >&6; }
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4965 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4968 for ac_prog
in bison
4970 # Extract the first word of "$ac_prog", so it can be a program name with args.
4971 set dummy
$ac_prog; ac_word
=$2
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4973 $as_echo_n "checking for $ac_word... " >&6; }
4974 if ${ac_cv_prog_BISON+:} false
; then :
4975 $as_echo_n "(cached) " >&6
4977 if test -n "$BISON"; then
4978 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4984 test -z "$as_dir" && as_dir
=.
4985 for ac_exec_ext
in '' $ac_executable_extensions; do
4986 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4987 ac_cv_prog_BISON
="$ac_prog"
4988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 BISON
=$ac_cv_prog_BISON
4998 if test -n "$BISON"; then
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5000 $as_echo "$BISON" >&6; }
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5003 $as_echo "no" >&6; }
5007 test -n "$BISON" && break
5009 test -n "$BISON" || BISON
="none"
5011 if test "$BISON" = "none"
5013 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5016 if test -n "$ac_tool_prefix"; then
5017 for ac_prog
in ar gar
5019 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5020 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5022 $as_echo_n "checking for $ac_word... " >&6; }
5023 if ${ac_cv_prog_AR+:} false
; then :
5024 $as_echo_n "(cached) " >&6
5026 if test -n "$AR"; then
5027 ac_cv_prog_AR
="$AR" # Let the user override the test.
5029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5033 test -z "$as_dir" && as_dir
=.
5034 for ac_exec_ext
in '' $ac_executable_extensions; do
5035 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5036 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 if test -n "$AR"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5049 $as_echo "$AR" >&6; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5056 test -n "$AR" && break
5059 if test -z "$AR"; then
5061 for ac_prog
in ar gar
5063 # Extract the first word of "$ac_prog", so it can be a program name with args.
5064 set dummy
$ac_prog; ac_word
=$2
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5066 $as_echo_n "checking for $ac_word... " >&6; }
5067 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5068 $as_echo_n "(cached) " >&6
5070 if test -n "$ac_ct_AR"; then
5071 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5077 test -z "$as_dir" && as_dir
=.
5078 for ac_exec_ext
in '' $ac_executable_extensions; do
5079 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5080 ac_cv_prog_ac_ct_AR
="$ac_prog"
5081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5090 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5091 if test -n "$ac_ct_AR"; then
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5093 $as_echo "$ac_ct_AR" >&6; }
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5096 $as_echo "no" >&6; }
5100 test -n "$ac_ct_AR" && break
5103 if test "x$ac_ct_AR" = x
; then
5106 case $cross_compiling:$ac_tool_warned in
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5110 ac_tool_warned
=yes ;;
5116 if test -n "$ac_tool_prefix"; then
5117 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5118 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5120 $as_echo_n "checking for $ac_word... " >&6; }
5121 if ${ac_cv_prog_STRIP+:} false
; then :
5122 $as_echo_n "(cached) " >&6
5124 if test -n "$STRIP"; then
5125 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5131 test -z "$as_dir" && as_dir
=.
5132 for ac_exec_ext
in '' $ac_executable_extensions; do
5133 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5134 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5144 STRIP
=$ac_cv_prog_STRIP
5145 if test -n "$STRIP"; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5147 $as_echo "$STRIP" >&6; }
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150 $as_echo "no" >&6; }
5155 if test -z "$ac_cv_prog_STRIP"; then
5157 # Extract the first word of "strip", so it can be a program name with args.
5158 set dummy strip
; ac_word
=$2
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5160 $as_echo_n "checking for $ac_word... " >&6; }
5161 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5162 $as_echo_n "(cached) " >&6
5164 if test -n "$ac_ct_STRIP"; then
5165 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5171 test -z "$as_dir" && as_dir
=.
5172 for ac_exec_ext
in '' $ac_executable_extensions; do
5173 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5174 ac_cv_prog_ac_ct_STRIP
="strip"
5175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5185 if test -n "$ac_ct_STRIP"; then
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5187 $as_echo "$ac_ct_STRIP" >&6; }
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190 $as_echo "no" >&6; }
5193 if test "x$ac_ct_STRIP" = x
; then
5196 case $cross_compiling:$ac_tool_warned in
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5200 ac_tool_warned
=yes ;;
5205 STRIP
="$ac_cv_prog_STRIP"
5210 if test -n "$ac_tool_prefix"; then
5211 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5212 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if ${ac_cv_prog_RANLIB+:} false
; then :
5216 $as_echo_n "(cached) " >&6
5218 if test -n "$RANLIB"; then
5219 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5225 test -z "$as_dir" && as_dir
=.
5226 for ac_exec_ext
in '' $ac_executable_extensions; do
5227 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5228 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 RANLIB
=$ac_cv_prog_RANLIB
5239 if test -n "$RANLIB"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5241 $as_echo "$RANLIB" >&6; }
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5249 if test -z "$ac_cv_prog_RANLIB"; then
5250 ac_ct_RANLIB
=$RANLIB
5251 # Extract the first word of "ranlib", so it can be a program name with args.
5252 set dummy ranlib
; ac_word
=$2
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5254 $as_echo_n "checking for $ac_word... " >&6; }
5255 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5256 $as_echo_n "(cached) " >&6
5258 if test -n "$ac_ct_RANLIB"; then
5259 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5265 test -z "$as_dir" && as_dir
=.
5266 for ac_exec_ext
in '' $ac_executable_extensions; do
5267 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5268 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5278 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5279 if test -n "$ac_ct_RANLIB"; then
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5281 $as_echo "$ac_ct_RANLIB" >&6; }
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5284 $as_echo "no" >&6; }
5287 if test "x$ac_ct_RANLIB" = x
; then
5290 case $cross_compiling:$ac_tool_warned in
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5294 ac_tool_warned
=yes ;;
5296 RANLIB
=$ac_ct_RANLIB
5299 RANLIB
="$ac_cv_prog_RANLIB"
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5303 $as_echo_n "checking whether ln -s works... " >&6; }
5305 if test "$LN_S" = "ln -s"; then
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5307 $as_echo "yes" >&6; }
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5310 $as_echo "no, using $LN_S" >&6; }
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5314 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5315 if ${ac_cv_path_GREP+:} false
; then :
5316 $as_echo_n "(cached) " >&6
5318 if test -z "$GREP"; then
5319 ac_path_GREP_found
=false
5320 # Loop through the user's path and test for each of PROGNAME-LIST
5321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5322 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5325 test -z "$as_dir" && as_dir
=.
5326 for ac_prog
in grep ggrep
; do
5327 for ac_exec_ext
in '' $ac_executable_extensions; do
5328 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5329 as_fn_executable_p
"$ac_path_GREP" ||
continue
5330 # Check for GNU ac_path_GREP and select it if it is found.
5331 # Check for GNU $ac_path_GREP
5332 case `"$ac_path_GREP" --version 2>&1` in
5334 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5337 $as_echo_n 0123456789 >"conftest.in"
5340 cat "conftest.in" "conftest.in" >"conftest.tmp"
5341 mv "conftest.tmp" "conftest.in"
5342 cp "conftest.in" "conftest.nl"
5343 $as_echo 'GREP' >> "conftest.nl"
5344 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5345 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5346 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5347 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5348 # Best one so far, save it but keep looking for a better one
5349 ac_cv_path_GREP
="$ac_path_GREP"
5350 ac_path_GREP_max
=$ac_count
5352 # 10*(2^10) chars as input seems more than enough
5353 test $ac_count -gt 10 && break
5355 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5358 $ac_path_GREP_found && break 3
5363 if test -z "$ac_cv_path_GREP"; then
5364 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5367 ac_cv_path_GREP
=$GREP
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5372 $as_echo "$ac_cv_path_GREP" >&6; }
5373 GREP
="$ac_cv_path_GREP"
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5377 $as_echo_n "checking for egrep... " >&6; }
5378 if ${ac_cv_path_EGREP+:} false
; then :
5379 $as_echo_n "(cached) " >&6
5381 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5382 then ac_cv_path_EGREP
="$GREP -E"
5384 if test -z "$EGREP"; then
5385 ac_path_EGREP_found
=false
5386 # Loop through the user's path and test for each of PROGNAME-LIST
5387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5388 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5391 test -z "$as_dir" && as_dir
=.
5392 for ac_prog
in egrep; do
5393 for ac_exec_ext
in '' $ac_executable_extensions; do
5394 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5395 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5396 # Check for GNU ac_path_EGREP and select it if it is found.
5397 # Check for GNU $ac_path_EGREP
5398 case `"$ac_path_EGREP" --version 2>&1` in
5400 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5403 $as_echo_n 0123456789 >"conftest.in"
5406 cat "conftest.in" "conftest.in" >"conftest.tmp"
5407 mv "conftest.tmp" "conftest.in"
5408 cp "conftest.in" "conftest.nl"
5409 $as_echo 'EGREP' >> "conftest.nl"
5410 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5411 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5412 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5413 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5414 # Best one so far, save it but keep looking for a better one
5415 ac_cv_path_EGREP
="$ac_path_EGREP"
5416 ac_path_EGREP_max
=$ac_count
5418 # 10*(2^10) chars as input seems more than enough
5419 test $ac_count -gt 10 && break
5421 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5424 $ac_path_EGREP_found && break 3
5429 if test -z "$ac_cv_path_EGREP"; then
5430 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5433 ac_cv_path_EGREP
=$EGREP
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5439 $as_echo "$ac_cv_path_EGREP" >&6; }
5440 EGREP
="$ac_cv_path_EGREP"
5443 # Extract the first word of "ldconfig", so it can be a program name with args.
5444 set dummy ldconfig
; ac_word
=$2
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5446 $as_echo_n "checking for $ac_word... " >&6; }
5447 if ${ac_cv_path_LDCONFIG+:} false
; then :
5448 $as_echo_n "(cached) " >&6
5452 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5456 for as_dir
in /sbin
/usr
/sbin
$PATH
5459 test -z "$as_dir" && as_dir
=.
5460 for ac_exec_ext
in '' $ac_executable_extensions; do
5461 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5462 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5470 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5474 LDCONFIG
=$ac_cv_path_LDCONFIG
5475 if test -n "$LDCONFIG"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5477 $as_echo "$LDCONFIG" >&6; }
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5484 for ac_prog
in msgfmt
5486 # Extract the first word of "$ac_prog", so it can be a program name with args.
5487 set dummy
$ac_prog; ac_word
=$2
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5489 $as_echo_n "checking for $ac_word... " >&6; }
5490 if ${ac_cv_prog_MSGFMT+:} false
; then :
5491 $as_echo_n "(cached) " >&6
5493 if test -n "$MSGFMT"; then
5494 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5500 test -z "$as_dir" && as_dir
=.
5501 for ac_exec_ext
in '' $ac_executable_extensions; do
5502 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5503 ac_cv_prog_MSGFMT
="$ac_prog"
5504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 MSGFMT
=$ac_cv_prog_MSGFMT
5514 if test -n "$MSGFMT"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5516 $as_echo "$MSGFMT" >&6; }
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 $as_echo "no" >&6; }
5523 test -n "$MSGFMT" && break
5525 test -n "$MSGFMT" || MSGFMT
="false"
5527 if ${ac_tool_prefix+:} false
; then :
5528 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5529 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5533 $as_echo_n "(cached) " >&6
5535 if test -n "$PKG_CONFIG"; then
5536 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5542 test -z "$as_dir" && as_dir
=.
5543 for ac_exec_ext
in '' $ac_executable_extensions; do
5544 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5545 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5556 if test -n "$PKG_CONFIG"; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5558 $as_echo "$PKG_CONFIG" >&6; }
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561 $as_echo "no" >&6; }
5566 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5567 if test "x$cross_compiling" = xyes
; then :
5570 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5571 # Extract the first word of "pkg-config", so it can be a program name with args.
5572 set dummy pkg-config
; ac_word
=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5576 $as_echo_n "(cached) " >&6
5578 if test -n "$PKG_CONFIG"; then
5579 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5585 test -z "$as_dir" && as_dir
=.
5586 for ac_exec_ext
in '' $ac_executable_extensions; do
5587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5588 ac_cv_prog_PKG_CONFIG
="pkg-config"
5589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5598 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5599 if test -n "$PKG_CONFIG"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5601 $as_echo "$PKG_CONFIG" >&6; }
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5610 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5613 if test "x$enable_maintainer_mode" != "xyes"
5620 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5621 for ac_prog
in fontforge
5623 # Extract the first word of "$ac_prog", so it can be a program name with args.
5624 set dummy
$ac_prog; ac_word
=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5628 $as_echo_n "(cached) " >&6
5630 if test -n "$FONTFORGE"; then
5631 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5637 test -z "$as_dir" && as_dir
=.
5638 for ac_exec_ext
in '' $ac_executable_extensions; do
5639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5640 ac_cv_prog_FONTFORGE
="$ac_prog"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650 FONTFORGE
=$ac_cv_prog_FONTFORGE
5651 if test -n "$FONTFORGE"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5653 $as_echo "$FONTFORGE" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5660 test -n "$FONTFORGE" && break
5662 test -n "$FONTFORGE" || FONTFORGE
="false"
5666 # Extract the first word of "$ac_prog", so it can be a program name with args.
5667 set dummy
$ac_prog; ac_word
=$2
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5669 $as_echo_n "checking for $ac_word... " >&6; }
5670 if ${ac_cv_prog_RSVG+:} false
; then :
5671 $as_echo_n "(cached) " >&6
5673 if test -n "$RSVG"; then
5674 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5680 test -z "$as_dir" && as_dir
=.
5681 for ac_exec_ext
in '' $ac_executable_extensions; do
5682 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5683 ac_cv_prog_RSVG
="$ac_prog"
5684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5693 RSVG
=$ac_cv_prog_RSVG
5694 if test -n "$RSVG"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5696 $as_echo "$RSVG" >&6; }
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }
5703 test -n "$RSVG" && break
5705 test -n "$RSVG" || RSVG
="false"
5707 for ac_prog
in convert
5709 # Extract the first word of "$ac_prog", so it can be a program name with args.
5710 set dummy
$ac_prog; ac_word
=$2
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 $as_echo_n "checking for $ac_word... " >&6; }
5713 if ${ac_cv_prog_CONVERT+:} false
; then :
5714 $as_echo_n "(cached) " >&6
5716 if test -n "$CONVERT"; then
5717 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5723 test -z "$as_dir" && as_dir
=.
5724 for ac_exec_ext
in '' $ac_executable_extensions; do
5725 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5726 ac_cv_prog_CONVERT
="$ac_prog"
5727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5736 CONVERT
=$ac_cv_prog_CONVERT
5737 if test -n "$CONVERT"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5739 $as_echo "$CONVERT" >&6; }
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 $as_echo "no" >&6; }
5746 test -n "$CONVERT" && break
5748 test -n "$CONVERT" || CONVERT
="false"
5750 for ac_prog
in icotool
5752 # Extract the first word of "$ac_prog", so it can be a program name with args.
5753 set dummy
$ac_prog; ac_word
=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5757 $as_echo_n "(cached) " >&6
5759 if test -n "$ICOTOOL"; then
5760 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5766 test -z "$as_dir" && as_dir
=.
5767 for ac_exec_ext
in '' $ac_executable_extensions; do
5768 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5769 ac_cv_prog_ICOTOOL
="$ac_prog"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 ICOTOOL
=$ac_cv_prog_ICOTOOL
5780 if test -n "$ICOTOOL"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5782 $as_echo "$ICOTOOL" >&6; }
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5789 test -n "$ICOTOOL" && break
5791 test -n "$ICOTOOL" || ICOTOOL
="false"
5793 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5794 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5796 if test "$CONVERT" = false
5798 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5801 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5802 convert_version
=`convert --version | head -n1`
5803 if test "x$convert_version" != "x"
5805 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5806 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5807 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5812 if test "$CONVERT" = false
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5815 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5816 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5819 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5823 if test "$ICOTOOL" = false
5825 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5828 $as_echo_n "checking for recent enough icotool... " >&6; }
5829 icotool_version
=`icotool --version | head -n1`
5830 if test "x$icotool_version" != "x"
5832 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5833 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5834 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5837 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5840 if test "$ICOTOOL" = false
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5843 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5844 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5847 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5853 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5856 test "x$with_gettext" != xno || MSGFMT
=false
5857 if test "$MSGFMT" != "false"
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5860 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5861 cat >conftest.po
<<EOF
5867 if $MSGFMT -o /dev
/null conftest.po
2>&5
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5870 $as_echo "yes" >&6; }
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5873 $as_echo "no" >&6; }
5877 if test "$MSGFMT" = false
; then :
5878 case "x$with_gettext" in
5879 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5881 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5882 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5888 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5889 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5890 $as_echo_n "(cached) " >&6
5892 ac_check_lib_save_LIBS
=$LIBS
5894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5895 /* end confdefs.h. */
5897 /* Override any GCC internal prototype to avoid an error.
5898 Use char because int might match the return type of a GCC
5899 builtin and then its argument prototype would still apply. */
5903 char i386_set_ldt ();
5907 return i386_set_ldt ();
5912 if ac_fn_c_try_link
"$LINENO"; then :
5913 ac_cv_lib_i386_i386_set_ldt
=yes
5915 ac_cv_lib_i386_i386_set_ldt
=no
5917 rm -f core conftest.err conftest.
$ac_objext \
5918 conftest
$ac_exeext conftest.
$ac_ext
5919 LIBS
=$ac_check_lib_save_LIBS
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5922 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5923 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5924 cat >>confdefs.h
<<_ACEOF
5925 #define HAVE_LIBI386 1
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5933 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5934 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5935 $as_echo_n "(cached) " >&6
5937 ac_check_lib_save_LIBS
=$LIBS
5938 LIBS
="-lossaudio $LIBS"
5939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5940 /* end confdefs.h. */
5942 /* Override any GCC internal prototype to avoid an error.
5943 Use char because int might match the return type of a GCC
5944 builtin and then its argument prototype would still apply. */
5952 return _oss_ioctl ();
5957 if ac_fn_c_try_link
"$LINENO"; then :
5958 ac_cv_lib_ossaudio__oss_ioctl
=yes
5960 ac_cv_lib_ossaudio__oss_ioctl
=no
5962 rm -f core conftest.err conftest.
$ac_objext \
5963 conftest
$ac_exeext conftest.
$ac_ext
5964 LIBS
=$ac_check_lib_save_LIBS
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5967 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5968 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5969 cat >>confdefs.h
<<_ACEOF
5970 #define HAVE_LIBOSSAUDIO 1
5973 LIBS
="-lossaudio $LIBS"
5982 # Check whether --enable-largefile was given.
5983 if test "${enable_largefile+set}" = set; then :
5984 enableval
=$enable_largefile;
5987 if test "$enable_largefile" != no
; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5990 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5991 if ${ac_cv_sys_largefile_CC+:} false
; then :
5992 $as_echo_n "(cached) " >&6
5994 ac_cv_sys_largefile_CC
=no
5995 if test "$GCC" != yes; then
5998 # IRIX 6.2 and later do not support large files by default,
5999 # so use the C compiler's -n32 option if that helps.
6000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6001 /* end confdefs.h. */
6002 #include <sys/types.h>
6003 /* Check that off_t can represent 2**63 - 1 correctly.
6004 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6005 since some C++ compilers masquerading as C compilers
6006 incorrectly reject 9223372036854775807. */
6007 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6008 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6009 && LARGE_OFF_T % 2147483647 == 1)
6019 if ac_fn_c_try_compile
"$LINENO"; then :
6022 rm -f core conftest.err conftest.
$ac_objext
6024 if ac_fn_c_try_compile
"$LINENO"; then :
6025 ac_cv_sys_largefile_CC
=' -n32'; break
6027 rm -f core conftest.err conftest.
$ac_objext
6031 rm -f conftest.
$ac_ext
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6035 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6036 if test "$ac_cv_sys_largefile_CC" != no
; then
6037 CC
=$CC$ac_cv_sys_largefile_CC
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6041 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6042 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6043 $as_echo_n "(cached) " >&6
6046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6047 /* end confdefs.h. */
6048 #include <sys/types.h>
6049 /* Check that off_t can represent 2**63 - 1 correctly.
6050 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6051 since some C++ compilers masquerading as C compilers
6052 incorrectly reject 9223372036854775807. */
6053 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6054 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6055 && LARGE_OFF_T % 2147483647 == 1)
6065 if ac_fn_c_try_compile
"$LINENO"; then :
6066 ac_cv_sys_file_offset_bits
=no
; break
6068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6070 /* end confdefs.h. */
6071 #define _FILE_OFFSET_BITS 64
6072 #include <sys/types.h>
6073 /* Check that off_t can represent 2**63 - 1 correctly.
6074 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6075 since some C++ compilers masquerading as C compilers
6076 incorrectly reject 9223372036854775807. */
6077 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6078 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6079 && LARGE_OFF_T % 2147483647 == 1)
6089 if ac_fn_c_try_compile
"$LINENO"; then :
6090 ac_cv_sys_file_offset_bits
=64; break
6092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6093 ac_cv_sys_file_offset_bits
=unknown
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6098 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6099 case $ac_cv_sys_file_offset_bits in #(
6102 cat >>confdefs.h
<<_ACEOF
6103 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6108 if test $ac_cv_sys_file_offset_bits = unknown
; then
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6110 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6111 if ${ac_cv_sys_large_files+:} false
; then :
6112 $as_echo_n "(cached) " >&6
6115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6116 /* end confdefs.h. */
6117 #include <sys/types.h>
6118 /* Check that off_t can represent 2**63 - 1 correctly.
6119 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6120 since some C++ compilers masquerading as C compilers
6121 incorrectly reject 9223372036854775807. */
6122 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6123 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6124 && LARGE_OFF_T % 2147483647 == 1)
6134 if ac_fn_c_try_compile
"$LINENO"; then :
6135 ac_cv_sys_large_files
=no
; break
6137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6139 /* end confdefs.h. */
6140 #define _LARGE_FILES 1
6141 #include <sys/types.h>
6142 /* Check that off_t can represent 2**63 - 1 correctly.
6143 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6144 since some C++ compilers masquerading as C compilers
6145 incorrectly reject 9223372036854775807. */
6146 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6147 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6148 && LARGE_OFF_T % 2147483647 == 1)
6158 if ac_fn_c_try_compile
"$LINENO"; then :
6159 ac_cv_sys_large_files
=1; break
6161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6162 ac_cv_sys_large_files
=unknown
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6167 $as_echo "$ac_cv_sys_large_files" >&6; }
6168 case $ac_cv_sys_large_files in #(
6171 cat >>confdefs.h
<<_ACEOF
6172 #define _LARGE_FILES $ac_cv_sys_large_files
6184 ac_cpp
='$CPP $CPPFLAGS'
6185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6189 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6190 # On Suns, sometimes $CPP names a directory.
6191 if test -n "$CPP" && test -d "$CPP"; then
6194 if test -z "$CPP"; then
6195 if ${ac_cv_prog_CPP+:} false
; then :
6196 $as_echo_n "(cached) " >&6
6198 # Double quotes because CPP needs to be expanded
6199 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6202 for ac_c_preproc_warn_flag
in '' yes
6204 # Use a header file that comes with gcc, so configuring glibc
6205 # with a fresh cross-compiler works.
6206 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6207 # <limits.h> exists even on freestanding compilers.
6208 # On the NeXT, cc -E runs the code through the compiler's parser,
6209 # not just through cpp. "Syntax error" is here to catch this case.
6210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6211 /* end confdefs.h. */
6213 # include <limits.h>
6215 # include <assert.h>
6219 if ac_fn_c_try_cpp
"$LINENO"; then :
6222 # Broken: fails on valid input.
6225 rm -f conftest.err conftest.i conftest.
$ac_ext
6227 # OK, works on sane cases. Now check whether nonexistent headers
6228 # can be detected and how.
6229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6230 /* end confdefs.h. */
6231 #include <ac_nonexistent.h>
6233 if ac_fn_c_try_cpp
"$LINENO"; then :
6234 # Broken: success on invalid input.
6237 # Passes both tests.
6241 rm -f conftest.err conftest.i conftest.
$ac_ext
6244 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6245 rm -f conftest.i conftest.err conftest.
$ac_ext
6246 if $ac_preproc_ok; then :
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6259 $as_echo "$CPP" >&6; }
6261 for ac_c_preproc_warn_flag
in '' yes
6263 # Use a header file that comes with gcc, so configuring glibc
6264 # with a fresh cross-compiler works.
6265 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6266 # <limits.h> exists even on freestanding compilers.
6267 # On the NeXT, cc -E runs the code through the compiler's parser,
6268 # not just through cpp. "Syntax error" is here to catch this case.
6269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6270 /* end confdefs.h. */
6272 # include <limits.h>
6274 # include <assert.h>
6278 if ac_fn_c_try_cpp
"$LINENO"; then :
6281 # Broken: fails on valid input.
6284 rm -f conftest.err conftest.i conftest.
$ac_ext
6286 # OK, works on sane cases. Now check whether nonexistent headers
6287 # can be detected and how.
6288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6289 /* end confdefs.h. */
6290 #include <ac_nonexistent.h>
6292 if ac_fn_c_try_cpp
"$LINENO"; then :
6293 # Broken: success on invalid input.
6296 # Passes both tests.
6300 rm -f conftest.err conftest.i conftest.
$ac_ext
6303 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6304 rm -f conftest.i conftest.err conftest.
$ac_ext
6305 if $ac_preproc_ok; then :
6308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6310 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6311 See \`config.log' for more details" "$LINENO" 5; }
6315 ac_cpp
='$CPP $CPPFLAGS'
6316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6322 $as_echo_n "checking for ANSI C header files... " >&6; }
6323 if ${ac_cv_header_stdc+:} false
; then :
6324 $as_echo_n "(cached) " >&6
6326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6327 /* end confdefs.h. */
6341 if ac_fn_c_try_compile
"$LINENO"; then :
6342 ac_cv_header_stdc
=yes
6344 ac_cv_header_stdc
=no
6346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6348 if test $ac_cv_header_stdc = yes; then
6349 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6351 /* end confdefs.h. */
6355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6356 $EGREP "memchr" >/dev
/null
2>&1; then :
6359 ac_cv_header_stdc
=no
6365 if test $ac_cv_header_stdc = yes; then
6366 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6368 /* end confdefs.h. */
6372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6373 $EGREP "free" >/dev
/null
2>&1; then :
6376 ac_cv_header_stdc
=no
6382 if test $ac_cv_header_stdc = yes; then
6383 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6384 if test "$cross_compiling" = yes; then :
6387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6388 /* end confdefs.h. */
6391 #if ((' ' & 0x0FF) == 0x020)
6392 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6393 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6395 # define ISLOWER(c) \
6396 (('a' <= (c) && (c) <= 'i') \
6397 || ('j' <= (c) && (c) <= 'r') \
6398 || ('s' <= (c) && (c) <= 'z'))
6399 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6402 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6407 for (i = 0; i < 256; i++)
6408 if (XOR (islower (i), ISLOWER (i))
6409 || toupper (i) != TOUPPER (i))
6414 if ac_fn_c_try_run
"$LINENO"; then :
6417 ac_cv_header_stdc
=no
6419 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6420 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6426 $as_echo "$ac_cv_header_stdc" >&6; }
6427 if test $ac_cv_header_stdc = yes; then
6429 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6433 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6434 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6435 inttypes.h stdint.h unistd.h
6437 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6438 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6440 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6441 cat >>confdefs.h
<<_ACEOF
6442 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6452 ApplicationServices
/ApplicationServices.h \
6453 AudioToolbox
/AudioConverter.h \
6454 AudioUnit
/AudioUnit.h \
6455 AudioUnit
/AudioComponent.h \
6458 CoreAudio
/CoreAudio.h \
6459 CoreServices
/CoreServices.h \
6460 DiskArbitration
/DiskArbitration.h \
6462 IOKit
/hid
/IOHIDLib.h \
6465 QuickTime
/ImageCompression.h \
6466 Security
/Security.h \
6517 netinet
/in_systm.h \
6579 valgrind
/memcheck.h \
6580 valgrind
/valgrind.h \
6584 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6585 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6586 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6587 cat >>confdefs.h
<<_ACEOF
6588 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6596 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6597 if ${ac_cv_header_stat_broken+:} false
; then :
6598 $as_echo_n "(cached) " >&6
6600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6601 /* end confdefs.h. */
6602 #include <sys/types.h>
6603 #include <sys/stat.h>
6605 #if defined S_ISBLK && defined S_IFDIR
6606 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6609 #if defined S_ISBLK && defined S_IFCHR
6610 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6613 #if defined S_ISLNK && defined S_IFREG
6614 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6617 #if defined S_ISSOCK && defined S_IFREG
6618 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6622 if ac_fn_c_try_compile
"$LINENO"; then :
6623 ac_cv_header_stat_broken
=no
6625 ac_cv_header_stat_broken
=yes
6627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6630 $as_echo "$ac_cv_header_stat_broken" >&6; }
6631 if test $ac_cv_header_stat_broken = yes; then
6633 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6639 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6641 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6642 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6643 #ifdef HAVE_SYS_PARAM_H
6644 # include <sys/param.h>
6647 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6648 cat >>confdefs.h
<<_ACEOF
6649 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6664 netinet
/if_ether.h \
6665 netinet
/if_inarp.h \
6674 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6675 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6676 #ifdef HAVE_SYS_SOCKET_H
6677 # include <sys/socket.h>
6679 #ifdef HAVE_SYS_SOCKETVAR_H
6680 # include <sys/socketvar.h>
6682 #ifdef HAVE_NET_ROUTE_H
6683 # include <net/route.h>
6685 #ifdef HAVE_NETINET_IN_H
6686 # include <netinet/in.h>
6688 #ifdef HAVE_NETINET_IN_SYSTM_H
6689 # include <netinet/in_systm.h>
6691 #ifdef HAVE_NET_IF_H
6692 # include <net/if.h>
6694 #ifdef HAVE_NETINET_IP_H
6695 # include <netinet/ip.h>
6698 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6699 cat >>confdefs.h
<<_ACEOF
6700 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6708 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6710 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6711 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6715 #ifdef HAVE_SYS_SOCKET_H
6716 # include <sys/socket.h>
6718 #ifdef HAVE_SYS_SOCKETVAR_H
6719 # include <sys/socketvar.h>
6721 #ifdef HAVE_SYS_TIMEOUT_H
6722 # include <sys/timeout.h>
6724 #ifdef HAVE_NETINET_IN_H
6725 # include <netinet/in.h>
6727 #ifdef HAVE_NETINET_IN_SYSTM_H
6728 # include <netinet/in_systm.h>
6730 #ifdef HAVE_NETINET_IP_H
6731 # include <netinet/ip.h>
6733 #ifdef HAVE_NETINET_IP_VAR_H
6734 # include <netinet/ip_var.h>
6736 #ifdef HAVE_NETINET_IP_ICMP_H
6737 # include <netinet/ip_icmp.h>
6739 #ifdef HAVE_NETINET_UDP_H
6740 # include <netinet/udp.h>
6742 #ifdef HAVE_NETINET_TCP_H
6743 # include <netinet/tcp.h>
6745 #ifdef HAVE_NETINET_TCP_TIMER_H
6746 #include <netinet/tcp_timer.h>
6749 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6750 cat >>confdefs.h
<<_ACEOF
6751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6759 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6761 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6762 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6763 #ifdef HAVE_ASM_TYPES_H
6764 # include <asm/types.h>
6766 #ifdef HAVE_SYS_SOCKET_H
6767 # include <sys/socket.h>
6769 #ifdef HAVE_LINUX_TYPES_H
6770 # include <linux/types.h>
6773 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6774 cat >>confdefs.h
<<_ACEOF
6775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6783 for ac_header
in mach-o
/dyld_images.h
6785 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6786 # include <stdbool.h>
6788 #ifdef HAVE_STDINT_H
6789 # include <stdint.h>
6792 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6793 cat >>confdefs.h
<<_ACEOF
6794 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6802 for ac_header
in resolv.h
6804 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6805 #ifdef HAVE_SYS_SOCKET_H
6806 # include <sys/socket.h>
6808 #ifdef HAVE_NETINET_IN_H
6809 # include <netinet/in.h>
6811 #ifdef HAVE_ARPA_NAMESER_H
6812 # include <arpa/nameser.h>
6815 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6816 cat >>confdefs.h
<<_ACEOF
6817 #define HAVE_RESOLV_H 1
6825 for ac_header
in ifaddrs.h
6827 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6829 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6830 cat >>confdefs.h
<<_ACEOF
6831 #define HAVE_IFADDRS_H 1
6839 for ac_header
in sys
/ucontext.h
6841 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6843 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6844 cat >>confdefs.h
<<_ACEOF
6845 #define HAVE_SYS_UCONTEXT_H 1
6853 for ac_header
in sys
/thr.h
6855 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6856 #ifdef HAVE_SYS_UCONTEXT_H
6857 #include <sys/ucontext.h>
6860 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6861 cat >>confdefs.h
<<_ACEOF
6862 #define HAVE_SYS_THR_H 1
6870 for ac_header
in pthread_np.h
6872 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6873 #include <pthread.h>
6876 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6877 cat >>confdefs.h
<<_ACEOF
6878 #define HAVE_PTHREAD_NP_H 1
6886 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6888 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6889 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6890 #include <sys/time.h>
6892 #include <sys/types.h>
6893 #ifdef HAVE_ASM_TYPES_H
6894 #include <asm/types.h>
6897 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6898 cat >>confdefs.h
<<_ACEOF
6899 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6907 for ac_header
in libprocstat.h
6909 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6910 #include <sys/param.h>
6912 #ifdef HAVE_SYS_QUEUE_H
6913 #include <sys/queue.h>
6915 #ifdef HAVE_SYS_SOCKET_H
6916 #include <sys/socket.h>
6919 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6920 cat >>confdefs.h
<<_ACEOF
6921 #define HAVE_LIBPROCSTAT_H 1
6930 dlldir
="\${libdir}/wine"
6934 DLLFLAGS
="-D_REENTRANT"
6943 STATIC_IMPLIBEXT
="def.a"
6944 # Extract the first word of "ldd", so it can be a program name with args.
6945 set dummy ldd
; ac_word
=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if ${ac_cv_path_LDD+:} false
; then :
6949 $as_echo_n "(cached) " >&6
6953 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6957 as_dummy
="/sbin:/usr/sbin:$PATH"
6958 for as_dir
in $as_dummy
6961 test -z "$as_dir" && as_dir
=.
6962 for ac_exec_ext
in '' $ac_executable_extensions; do
6963 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6964 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6972 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6977 if test -n "$LDD"; then
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6979 $as_echo "$LDD" >&6; }
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6982 $as_echo "no" >&6; }
6986 if test -n "$ac_tool_prefix"; then
6987 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6988 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6990 $as_echo_n "checking for $ac_word... " >&6; }
6991 if ${ac_cv_prog_READELF+:} false
; then :
6992 $as_echo_n "(cached) " >&6
6994 if test -n "$READELF"; then
6995 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7001 test -z "$as_dir" && as_dir
=.
7002 for ac_exec_ext
in '' $ac_executable_extensions; do
7003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7004 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7014 READELF
=$ac_cv_prog_READELF
7015 if test -n "$READELF"; then
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7017 $as_echo "$READELF" >&6; }
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7020 $as_echo "no" >&6; }
7025 if test -z "$ac_cv_prog_READELF"; then
7026 ac_ct_READELF
=$READELF
7027 # Extract the first word of "readelf", so it can be a program name with args.
7028 set dummy readelf
; ac_word
=$2
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7030 $as_echo_n "checking for $ac_word... " >&6; }
7031 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7032 $as_echo_n "(cached) " >&6
7034 if test -n "$ac_ct_READELF"; then
7035 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7041 test -z "$as_dir" && as_dir
=.
7042 for ac_exec_ext
in '' $ac_executable_extensions; do
7043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7044 ac_cv_prog_ac_ct_READELF
="readelf"
7045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7054 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7055 if test -n "$ac_ct_READELF"; then
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7057 $as_echo "$ac_ct_READELF" >&6; }
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7060 $as_echo "no" >&6; }
7063 if test "x$ac_ct_READELF" = x
; then
7066 case $cross_compiling:$ac_tool_warned in
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7070 ac_tool_warned
=yes ;;
7072 READELF
=$ac_ct_READELF
7075 READELF
="$ac_cv_prog_READELF"
7078 wine_rules_file
=conf$
$rules.
make
7079 rm -f $wine_rules_file
7081 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7082 ALL_TEST_RESOURCES
=""
7085 wine_fn_append_file
()
7087 as_fn_append
$1 " \\$as_nl $2"
7090 wine_fn_ignore_file
()
7093 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7094 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7095 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7099 wine_fn_append_rule
()
7101 $as_echo "$1" >>$wine_rules_file
7106 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7109 wine_fn_depend_rules
()
7111 wine_fn_append_rule \
7112 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7113 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7114 depend: $ac_dir/depend
7115 .PHONY: $ac_dir/depend
7116 $ac_dir/depend: \$(MAKEDEP) dummy
7117 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7120 wine_fn_pot_rules
()
7122 test "x$with_gettextpo" = xyes ||
return
7124 if wine_fn_has_flag mc
7126 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7127 wine_fn_append_rule \
7128 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7129 @cd $ac_dir && \$(MAKE) msg.pot
7130 $ac_dir/msg.pot: tools/wmc include"
7132 if wine_fn_has_flag po
7134 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7135 wine_fn_append_rule \
7136 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7137 @cd $ac_dir && \$(MAKE) rsrc.pot
7138 $ac_dir/rsrc.pot: tools/wrc include"
7142 wine_fn_all_rules
()
7144 wine_fn_depend_rules
7145 wine_fn_append_rule \
7148 $ac_dir: $ac_dir/Makefile dummy
7149 @cd $ac_dir && \$(MAKE)"
7152 wine_fn_install_rules
()
7154 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7156 wine_fn_append_rule \
7157 ".PHONY: $ac_dir/install $ac_dir/uninstall
7158 $ac_dir/install:: $ac_dir
7159 @cd $ac_dir && \$(MAKE) install
7160 $ac_dir/uninstall:: $ac_dir/Makefile
7161 @cd $ac_dir && \$(MAKE) uninstall
7162 install:: $ac_dir/install
7163 __uninstall__: $ac_dir/uninstall"
7165 if wine_fn_has_flag install-lib
7167 wine_fn_append_rule \
7168 ".PHONY: $ac_dir/install-lib
7169 $ac_dir/install-lib:: $ac_dir
7170 @cd $ac_dir && \$(MAKE) install-lib
7171 install-lib:: $ac_dir/install-lib"
7174 if wine_fn_has_flag install-dev
7176 wine_fn_append_rule \
7177 ".PHONY: $ac_dir/install-dev
7178 $ac_dir/install-dev:: $ac_dir
7179 @cd $ac_dir && \$(MAKE) install-dev
7180 install-dev:: $ac_dir/install-dev"
7184 wine_fn_clean_rules
()
7187 ac_extraclean
="$ac_dir/Makefile"
7188 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7190 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7193 if wine_fn_has_flag clean
7195 wine_fn_append_rule \
7196 "__clean__: $ac_dir/clean
7197 .PHONY: $ac_dir/clean
7198 $ac_dir/clean: $ac_dir/Makefile
7199 @cd $ac_dir && \$(MAKE) clean
7200 \$(RM) $ac_extraclean"
7202 wine_fn_append_rule \
7203 "__clean__: $ac_dir/clean
7204 .PHONY: $ac_dir/clean
7205 $ac_dir/clean: dummy
7206 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7210 wine_fn_disabled_rules
()
7213 ac_extraclean
="$ac_dir/Makefile"
7214 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7216 wine_fn_append_rule \
7217 "__clean__: $ac_dir/clean
7218 .PHONY: $ac_dir/clean
7219 $ac_dir/clean: dummy
7220 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7223 wine_fn_config_makefile
()
7229 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7230 wine_fn_disabled_rules
; return
7233 wine_fn_install_rules
7237 wine_fn_config_lib
()
7241 ac_dir
=dlls
/$ac_name
7244 if test "x$enable_tools" = xno
; then :
7247 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7252 wine_fn_append_rule \
7253 ".PHONY: $ac_dir/install $ac_dir/uninstall
7254 $ac_dir/install:: $ac_dir
7255 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7257 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7258 install install-dev:: $ac_dir/install
7259 __uninstall__: $ac_dir/uninstall
7260 __builddeps__: $ac_dir
7264 wine_fn_config_dll
()
7267 ac_dir
=dlls
/$ac_name
7270 ac_implib
=${4:-$ac_name}
7271 ac_file
=$ac_dir/lib
$ac_implib
7276 if test "x$enable_tools" = xno
; then :
7279 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7282 *16) ac_implibflags
=" -m16" ;;
7284 *) ac_dll
=$ac_dll.dll
;;
7288 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7289 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7290 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7291 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7293 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7294 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7296 wine_fn_depend_rules
7297 wine_fn_clean_rules
$ac_clean
7299 wine_fn_disabled_rules
$ac_clean
7304 wine_fn_clean_rules
$ac_clean
7305 wine_fn_append_rule \
7306 "$ac_dir: __builddeps__
7307 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7308 @cd $ac_dir && \$(MAKE) \$@
7309 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7310 install install-lib:: $ac_dir/install-lib
7311 __uninstall__: $ac_dir/uninstall"
7312 if test -n "$DLLEXT"
7314 wine_fn_append_rule \
7315 "$ac_dir/install-lib:: $ac_dir
7316 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7317 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7319 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7321 wine_fn_append_rule \
7322 "$ac_dir/install-lib:: $ac_dir
7323 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7325 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7331 if wine_fn_has_flag staticimplib
7333 wine_fn_append_rule \
7334 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7335 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7336 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7337 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7338 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7339 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7340 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7341 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7342 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7344 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7345 install install-dev:: $ac_dir/install-dev
7346 __uninstall__: $ac_dir/uninstall"
7348 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7350 wine_fn_append_rule \
7351 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7352 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7354 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7357 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7359 wine_fn_append_rule \
7360 "__builddeps__: $ac_file.cross.a
7361 $ac_file.cross.a: $ac_dir/Makefile dummy
7362 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7365 elif wine_fn_has_flag implib
7367 wine_fn_append_rule \
7368 "__builddeps__: $ac_file.$IMPLIBEXT
7369 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7370 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7371 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7372 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7373 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7374 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7375 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7377 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7378 install install-dev:: $ac_dir/install-dev
7379 __uninstall__: $ac_dir/uninstall"
7380 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7382 wine_fn_append_rule \
7383 "__builddeps__: $ac_file.cross.a
7384 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7385 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7388 if test "$ac_name" != "$ac_implib"
7390 wine_fn_append_rule \
7391 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7392 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7393 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7395 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7396 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7397 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7399 wine_fn_append_rule \
7400 "__builddeps__: dlls/lib$ac_implib.cross.a
7401 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7402 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7404 \$(RM) dlls/lib$ac_implib.cross.a"
7405 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7411 wine_fn_config_program
()
7414 ac_dir
=programs
/$ac_name
7421 *) ac_program
=$ac_program.exe
;;
7425 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7426 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7427 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7428 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7430 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7431 wine_fn_disabled_rules
$ac_clean; return
7435 wine_fn_clean_rules
$ac_clean
7436 wine_fn_append_rule
"$ac_dir: __builddeps__"
7439 wine_fn_has_flag
install ||
return
7440 wine_fn_append_rule \
7441 ".PHONY: $ac_dir/install $ac_dir/uninstall
7442 install install-lib:: $ac_dir/install
7443 __uninstall__: $ac_dir/uninstall"
7445 if test -n "$DLLEXT"
7447 wine_fn_append_rule \
7448 "$ac_dir/install:: $ac_dir
7449 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7450 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7452 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7454 if test -z "$with_wine64" && wine_fn_has_flag installbin
7456 wine_fn_append_rule \
7457 "$ac_dir/install:: __tooldeps__
7458 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7460 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7463 wine_fn_append_rule \
7464 "$ac_dir/install:: $ac_dir
7465 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7467 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7470 if test -z "$with_wine64" && wine_fn_has_flag manpage
7472 wine_fn_append_rule \
7473 "$ac_dir/install:: $ac_dir
7474 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7476 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7480 wine_fn_config_test
()
7487 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7488 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7490 if test "x$enable_tests" = xno
; then :
7491 wine_fn_disabled_rules
$ac_clean; return
7494 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7496 wine_fn_clean_rules
$ac_clean
7498 wine_fn_append_rule \
7499 "$ac_dir: programs/winetest/Makefile __builddeps__
7500 programs/winetest: $ac_dir
7501 check test: $ac_dir/test
7502 .PHONY: $ac_dir/test
7504 @cd $ac_dir && \$(MAKE) test
7506 \$(RM) $ac_dir/*.ok"
7508 if test -n "$CROSSTARGET"
7510 wine_fn_append_rule \
7511 "crosstest: $ac_dir/crosstest
7512 .PHONY: $ac_dir/crosstest
7513 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7514 @cd $ac_dir && \$(MAKE) crosstest"
7518 wine_fn_config_tool
()
7522 if test "x$enable_tools" = xno
; then :
7527 wine_fn_install_rules
7530 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7531 wine_fn_append_rule
"$ac_dir: libs/port"
7533 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7537 wine_fn_config_symlink
()
7540 if test "x$1" = "x-d"
7546 wine_fn_append_rule \
7548 @./config.status \$@
7551 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7552 test -n "$ac_linkdir" ||
return
7553 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7557 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7558 loader_programs
="$wine_binary wine-installed"
7559 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7564 install install-lib:: wine-installed
7565 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7568 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7574 if test -n "$ac_tool_prefix"; then
7575 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7576 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7578 $as_echo_n "checking for $ac_word... " >&6; }
7579 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7580 $as_echo_n "(cached) " >&6
7582 if test -n "$DLLTOOL"; then
7583 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7589 test -z "$as_dir" && as_dir
=.
7590 for ac_exec_ext
in '' $ac_executable_extensions; do
7591 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7592 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7602 DLLTOOL
=$ac_cv_prog_DLLTOOL
7603 if test -n "$DLLTOOL"; then
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7605 $as_echo "$DLLTOOL" >&6; }
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7608 $as_echo "no" >&6; }
7613 if test -z "$ac_cv_prog_DLLTOOL"; then
7614 ac_ct_DLLTOOL
=$DLLTOOL
7615 # Extract the first word of "dlltool", so it can be a program name with args.
7616 set dummy dlltool
; ac_word
=$2
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7618 $as_echo_n "checking for $ac_word... " >&6; }
7619 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7620 $as_echo_n "(cached) " >&6
7622 if test -n "$ac_ct_DLLTOOL"; then
7623 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7629 test -z "$as_dir" && as_dir
=.
7630 for ac_exec_ext
in '' $ac_executable_extensions; do
7631 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7632 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7643 if test -n "$ac_ct_DLLTOOL"; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7645 $as_echo "$ac_ct_DLLTOOL" >&6; }
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7648 $as_echo "no" >&6; }
7651 if test "x$ac_ct_DLLTOOL" = x
; then
7654 case $cross_compiling:$ac_tool_warned in
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7658 ac_tool_warned
=yes ;;
7660 DLLTOOL
=$ac_ct_DLLTOOL
7663 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7669 STATIC_IMPLIBEXT
="a"
7670 enable_iphlpapi
=${enable_iphlpapi:-no}
7671 enable_kernel32
=${enable_kernel32:-no}
7672 enable_msvcrt
=${enable_msvcrt:-no}
7673 enable_ntdll
=${enable_ntdll:-no}
7674 enable_ws2_32
=${enable_ws2_32:-no}
7675 enable_loader
=${enable_loader:-no}
7676 enable_server
=${enable_server:-no}
7677 with_x
=${with_x:-no}
7678 with_pthread
=${with_pthread:-no}
7684 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7688 libwine_targets
="libwine.dll libwine.a"
7690 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7692 all: libwine.dll libwine.a
7694 libwine.a: \$(srcdir)/wine.def
7695 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7697 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7698 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7700 install install-lib:: libwine.dll
7701 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7703 install install-dev:: libwine.a
7704 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7707 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7714 DLLFLAGS
="$DLLFLAGS -fPIC"
7715 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7716 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7717 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7718 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7720 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7722 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7724 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7726 CORESERVICES_LIBS
="-framework CoreServices"
7728 APPKIT_LIBS
="-framework AppKit"
7730 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7732 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7733 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7734 $as_echo_n "(cached) " >&6
7736 ac_wine_try_cflags_saved
=$CFLAGS
7737 CFLAGS
="$CFLAGS -Wl,-no_pie"
7738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7739 /* end confdefs.h. */
7740 int main(int argc, char **argv) { return 0; }
7742 if ac_fn_c_try_link
"$LINENO"; then :
7743 ac_cv_cflags__Wl__no_pie
=yes
7745 ac_cv_cflags__Wl__no_pie
=no
7747 rm -f core conftest.err conftest.
$ac_objext \
7748 conftest
$ac_exeext conftest.
$ac_ext
7749 CFLAGS
=$ac_wine_try_cflags_saved
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7752 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7753 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7754 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7756 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7758 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7761 if test "$ac_cv_header_Security_Security_h" = "yes"
7763 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7765 ac_save_LIBS
="$LIBS"
7766 LIBS
="$LIBS $SECURITY_LIBS"
7767 for ac_func
in SSLCopyPeerCertificates
7769 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7770 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7771 cat >>confdefs.h
<<_ACEOF
7772 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7778 LIBS
="$ac_save_LIBS"
7779 with_gnutls
=${with_gnutls:-no}
7781 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7783 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7785 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7788 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7791 ac_save_LIBS
="$LIBS"
7792 LIBS
="$LIBS $COREAUDIO_LIBS"
7793 for ac_func
in AUGraphAddNode
7795 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7796 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7797 cat >>confdefs.h
<<_ACEOF
7798 #define HAVE_AUGRAPHADDNODE 1
7804 LIBS
="$ac_save_LIBS"
7806 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7808 OPENAL_LIBS
="-framework OpenAL"
7811 cat >>confdefs.h
<<_ACEOF
7812 #define HAVE_OPENAL 1
7815 ac_cv_lib_openal
=yes
7817 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7819 OPENCL_LIBS
="-framework OpenCL"
7821 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7823 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7825 ac_save_LIBS
="$LIBS"
7826 LIBS
="$LIBS $IOKIT_LIBS"
7827 for ac_func
in IOHIDManagerCreate
7829 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7830 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7831 cat >>confdefs.h
<<_ACEOF
7832 #define HAVE_IOHIDMANAGERCREATE 1
7838 LIBS
="$ac_save_LIBS"
7840 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7842 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7844 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7846 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7848 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7850 CARBON_LIBS
="-framework Carbon"
7854 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7856 ac_save_LIBS
="$LIBS"
7857 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7858 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7859 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7860 enable_winemac_drv
=${enable_winemac_drv:-yes}
7863 LIBS
="$ac_save_LIBS"
7866 if test "x$enable_win16" = "xyes"
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7869 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7870 if test "$cross_compiling" = yes; then :
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7872 $as_echo "cross-compiling, assuming yes" >&6; }
7874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7878 "good:\tnop;nop\n\t"
7879 ".globl _testfunc\n"
7880 "_testfunc:\tcallw good");
7881 extern void testfunc();
7885 unsigned short *p = (unsigned short *)testfunc;
7886 return p[0] != 0xe866 || p[1] != 0xfffa
7891 if ac_fn_c_try_run
"$LINENO"; then :
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7893 $as_echo "yes" >&6; }
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7896 $as_echo "no" >&6; }
7897 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
7899 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7900 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7905 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7907 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7911 libwine.$libwine_version.dylib: \$(OBJS)
7912 \$(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 \$@
7914 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7915 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7917 libwine.dylib: libwine.$libwine_soversion.dylib
7918 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7920 install install-lib:: libwine.$libwine_version.dylib
7921 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7922 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7924 install install-dev::
7925 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7928 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7932 as_fn_append LOADER_RULES
"
7933 $wine_binary: main.o wine_info.plist
7934 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7936 wine-installed: main.o wine_info.plist
7937 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7942 DLLFLAGS
="$DLLFLAGS -fPIC"
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7947 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7948 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7949 $as_echo_n "(cached) " >&6
7951 ac_wine_try_cflags_saved
=$CFLAGS
7952 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7954 /* end confdefs.h. */
7955 int main(int argc, char **argv) { return 0; }
7957 if ac_fn_c_try_link
"$LINENO"; then :
7958 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7960 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7962 rm -f core conftest.err conftest.
$ac_objext \
7963 conftest
$ac_exeext conftest.
$ac_ext
7964 CFLAGS
=$ac_wine_try_cflags_saved
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7967 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7968 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7969 LDEXECFLAGS
="-Wl,--export-dynamic"
7971 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7973 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7974 if eval \
${$as_ac_var+:} false
; then :
7975 $as_echo_n "(cached) " >&6
7977 ac_wine_try_cflags_saved
=$CFLAGS
7978 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7980 /* end confdefs.h. */
7981 int main(int argc, char **argv) { return 0; }
7983 if ac_fn_c_try_link
"$LINENO"; then :
7984 eval "$as_ac_var=yes"
7986 eval "$as_ac_var=no"
7988 rm -f core conftest.err conftest.
$ac_objext \
7989 conftest
$ac_exeext conftest.
$ac_ext
7990 CFLAGS
=$ac_wine_try_cflags_saved
7992 eval ac_res
=\$
$as_ac_var
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7994 $as_echo "$ac_res" >&6; }
7995 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7996 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7997 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7999 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8001 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8002 if eval \
${$as_ac_var+:} false
; then :
8003 $as_echo_n "(cached) " >&6
8005 ac_wine_try_cflags_saved
=$CFLAGS
8006 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8008 /* end confdefs.h. */
8009 int main(int argc, char **argv) { return 0; }
8011 if ac_fn_c_try_link
"$LINENO"; then :
8012 eval "$as_ac_var=yes"
8014 eval "$as_ac_var=no"
8016 rm -f core conftest.err conftest.
$ac_objext \
8017 conftest
$ac_exeext conftest.
$ac_ext
8018 CFLAGS
=$ac_wine_try_cflags_saved
8020 eval ac_res
=\$
$as_ac_var
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8022 $as_echo "$ac_res" >&6; }
8023 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8024 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8025 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8030 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8031 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8032 $as_echo_n "(cached) " >&6
8034 ac_wine_try_cflags_saved
=$CFLAGS
8035 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8037 /* end confdefs.h. */
8038 int main(int argc, char **argv) { return 0; }
8040 if ac_fn_c_try_link
"$LINENO"; then :
8041 ac_cv_cflags__Wl___enable_new_dtags
=yes
8043 ac_cv_cflags__Wl___enable_new_dtags
=no
8045 rm -f core conftest.err conftest.
$ac_objext \
8046 conftest
$ac_exeext conftest.
$ac_ext
8047 CFLAGS
=$ac_wine_try_cflags_saved
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8050 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8051 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8052 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8056 *i
[3456789]86* | x86_64
)
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8058 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8059 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8060 $as_echo_n "(cached) " >&6
8062 ac_wine_try_cflags_saved
=$CFLAGS
8063 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8065 /* end confdefs.h. */
8066 int main(int argc, char **argv) { return 0; }
8068 if ac_fn_c_try_link
"$LINENO"; then :
8069 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8071 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8073 rm -f core conftest.err conftest.
$ac_objext \
8074 conftest
$ac_exeext conftest.
$ac_ext
8075 CFLAGS
=$ac_wine_try_cflags_saved
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8078 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8079 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8080 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8085 libwine_targets
="libwine.so"
8087 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8091 libwine.so: \$(OBJS)
8092 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8094 install install-lib:: libwine.so
8095 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8098 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8102 as_fn_append LOADER_RULES
"
8103 $wine_binary: main.o
8104 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8106 wine-installed: main.o
8107 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8112 DLLFLAGS
="$DLLFLAGS -fPIC"
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8115 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8116 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8117 $as_echo_n "(cached) " >&6
8119 ac_wine_try_cflags_saved
=$CFLAGS
8120 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8122 /* end confdefs.h. */
8125 if ac_fn_c_try_link
"$LINENO"; then :
8126 ac_cv_c_dll_gnuelf
="yes"
8128 ac_cv_c_dll_gnuelf
="no"
8130 rm -f core conftest.err conftest.
$ac_objext \
8131 conftest
$ac_exeext conftest.
$ac_ext
8132 CFLAGS
=$ac_wine_try_cflags_saved
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8135 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8136 if test "$ac_cv_c_dll_gnuelf" = "yes"
8138 LDSHARED
="\$(CC) -shared"
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8140 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8141 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8142 $as_echo_n "(cached) " >&6
8144 ac_wine_try_cflags_saved
=$CFLAGS
8145 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8148 int main(int argc, char **argv) { return 0; }
8150 if ac_fn_c_try_link
"$LINENO"; then :
8151 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8153 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8155 rm -f core conftest.err conftest.
$ac_objext \
8156 conftest
$ac_exeext conftest.
$ac_ext
8157 CFLAGS
=$ac_wine_try_cflags_saved
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8160 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8161 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8162 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8165 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8166 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8167 $as_echo_n "(cached) " >&6
8169 ac_wine_try_cflags_saved
=$CFLAGS
8170 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8172 /* end confdefs.h. */
8173 int main(int argc, char **argv) { return 0; }
8175 if ac_fn_c_try_link
"$LINENO"; then :
8176 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8178 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8180 rm -f core conftest.err conftest.
$ac_objext \
8181 conftest
$ac_exeext conftest.
$ac_ext
8182 CFLAGS
=$ac_wine_try_cflags_saved
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8185 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8186 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8187 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8191 echo '{ global: *; };' >conftest.map
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8193 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8194 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8195 $as_echo_n "(cached) " >&6
8197 ac_wine_try_cflags_saved
=$CFLAGS
8198 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8200 /* end confdefs.h. */
8201 int main(int argc, char **argv) { return 0; }
8203 if ac_fn_c_try_link
"$LINENO"; then :
8204 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8206 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8208 rm -f core conftest.err conftest.
$ac_objext \
8209 conftest
$ac_exeext conftest.
$ac_ext
8210 CFLAGS
=$ac_wine_try_cflags_saved
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8213 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8214 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8215 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8220 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8221 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8222 $as_echo_n "(cached) " >&6
8224 ac_wine_try_cflags_saved
=$CFLAGS
8225 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8227 /* end confdefs.h. */
8228 int main(int argc, char **argv) { return 0; }
8230 if ac_fn_c_try_link
"$LINENO"; then :
8231 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8233 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8235 rm -f core conftest.err conftest.
$ac_objext \
8236 conftest
$ac_exeext conftest.
$ac_ext
8237 CFLAGS
=$ac_wine_try_cflags_saved
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8240 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8241 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8242 LDEXECFLAGS
="-Wl,--export-dynamic"
8245 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8247 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8248 if eval \
${$as_ac_var+:} false
; then :
8249 $as_echo_n "(cached) " >&6
8251 ac_wine_try_cflags_saved
=$CFLAGS
8252 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8254 /* end confdefs.h. */
8255 int main(int argc, char **argv) { return 0; }
8257 if ac_fn_c_try_link
"$LINENO"; then :
8258 eval "$as_ac_var=yes"
8260 eval "$as_ac_var=no"
8262 rm -f core conftest.err conftest.
$ac_objext \
8263 conftest
$ac_exeext conftest.
$ac_ext
8264 CFLAGS
=$ac_wine_try_cflags_saved
8266 eval ac_res
=\$
$as_ac_var
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8268 $as_echo "$ac_res" >&6; }
8269 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8270 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8271 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8273 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8275 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8276 if eval \
${$as_ac_var+:} false
; then :
8277 $as_echo_n "(cached) " >&6
8279 ac_wine_try_cflags_saved
=$CFLAGS
8280 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8282 /* end confdefs.h. */
8283 int main(int argc, char **argv) { return 0; }
8285 if ac_fn_c_try_link
"$LINENO"; then :
8286 eval "$as_ac_var=yes"
8288 eval "$as_ac_var=no"
8290 rm -f core conftest.err conftest.
$ac_objext \
8291 conftest
$ac_exeext conftest.
$ac_ext
8292 CFLAGS
=$ac_wine_try_cflags_saved
8294 eval ac_res
=\$
$as_ac_var
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8296 $as_echo "$ac_res" >&6; }
8297 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8298 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8299 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8304 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8305 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8306 $as_echo_n "(cached) " >&6
8308 ac_wine_try_cflags_saved
=$CFLAGS
8309 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8311 /* end confdefs.h. */
8312 int main(int argc, char **argv) { return 0; }
8314 if ac_fn_c_try_link
"$LINENO"; then :
8315 ac_cv_cflags__Wl___enable_new_dtags
=yes
8317 ac_cv_cflags__Wl___enable_new_dtags
=no
8319 rm -f core conftest.err conftest.
$ac_objext \
8320 conftest
$ac_exeext conftest.
$ac_ext
8321 CFLAGS
=$ac_wine_try_cflags_saved
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8324 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8325 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8326 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8330 *i
[3456789]86* | x86_64
)
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8332 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8333 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8334 $as_echo_n "(cached) " >&6
8336 ac_wine_try_cflags_saved
=$CFLAGS
8337 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8339 /* end confdefs.h. */
8340 int main(int argc, char **argv) { return 0; }
8342 if ac_fn_c_try_link
"$LINENO"; then :
8343 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8345 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8347 rm -f core conftest.err conftest.
$ac_objext \
8348 conftest
$ac_exeext conftest.
$ac_ext
8349 CFLAGS
=$ac_wine_try_cflags_saved
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8352 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8353 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8355 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8356 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8360 # Extract the first word of "prelink", so it can be a program name with args.
8361 set dummy prelink
; ac_word
=$2
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8363 $as_echo_n "checking for $ac_word... " >&6; }
8364 if ${ac_cv_path_PRELINK+:} false
; then :
8365 $as_echo_n "(cached) " >&6
8369 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8373 for as_dir
in /sbin
/usr
/sbin
$PATH
8376 test -z "$as_dir" && as_dir
=.
8377 for ac_exec_ext
in '' $ac_executable_extensions; do
8378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8379 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8387 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8391 PRELINK
=$ac_cv_path_PRELINK
8392 if test -n "$PRELINK"; then
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8394 $as_echo "$PRELINK" >&6; }
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8397 $as_echo "no" >&6; }
8401 if test "x$PRELINK" = xfalse
8403 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8410 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8411 if ${ac_cv_c_dll_unixware+:} false
; then :
8412 $as_echo_n "(cached) " >&6
8414 ac_wine_try_cflags_saved
=$CFLAGS
8415 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8417 /* end confdefs.h. */
8420 if ac_fn_c_try_link
"$LINENO"; then :
8421 ac_cv_c_dll_unixware
="yes"
8423 ac_cv_c_dll_unixware
="no"
8425 rm -f core conftest.err conftest.
$ac_objext \
8426 conftest
$ac_exeext conftest.
$ac_ext
8427 CFLAGS
=$ac_wine_try_cflags_saved
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8430 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8431 if test "$ac_cv_c_dll_unixware" = "yes"
8433 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8436 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8438 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8442 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8443 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8445 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8446 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8448 libwine.so: libwine.so.$libwine_soversion
8449 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8451 install install-lib:: libwine.so.$libwine_version
8452 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8453 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8455 install install-dev::
8456 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8459 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8463 as_fn_append LOADER_RULES
"
8464 $wine_binary: main.o
8465 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8467 wine-installed: main.o
8468 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8473 as_fn_append LIBWINE_RULES
"
8474 EXTRA_TARGETS = $libwine_targets
8477 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8478 enable_winemac_drv
=${enable_winemac_drv:-no}
8482 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8486 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
8489 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 " ;;
8491 ac_prefix_list
="" ;;
8493 for ac_prog
in $ac_prefix_list
8495 # Extract the first word of "$ac_prog", so it can be a program name with args.
8496 set dummy
$ac_prog; ac_word
=$2
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8498 $as_echo_n "checking for $ac_word... " >&6; }
8499 if ${ac_cv_prog_CROSSCC+:} false
; then :
8500 $as_echo_n "(cached) " >&6
8502 if test -n "$CROSSCC"; then
8503 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8509 test -z "$as_dir" && as_dir
=.
8510 for ac_exec_ext
in '' $ac_executable_extensions; do
8511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8512 ac_cv_prog_CROSSCC
="$ac_prog"
8513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8522 CROSSCC
=$ac_cv_prog_CROSSCC
8523 if test -n "$CROSSCC"; then
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8525 $as_echo "$CROSSCC" >&6; }
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8528 $as_echo "no" >&6; }
8532 test -n "$CROSSCC" && break
8534 test -n "$CROSSCC" || CROSSCC
="false"
8536 if test "$CROSSCC" != "false"
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8541 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8543 /* end confdefs.h. */
8553 if ac_fn_c_try_compile
"$LINENO"; then :
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8555 $as_echo "yes" >&6; }
8561 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8567 $as_echo "no" >&6; }
8569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8575 if test "$ac_cv_header_pthread_h" = "yes"
8577 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8578 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8582 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8583 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8584 $as_echo_n "(cached) " >&6
8586 ac_check_lib_save_LIBS
=$LIBS
8587 LIBS
="-lpthread $LIBS"
8588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8589 /* end confdefs.h. */
8591 /* Override any GCC internal prototype to avoid an error.
8592 Use char because int might match the return type of a GCC
8593 builtin and then its argument prototype would still apply. */
8597 char pthread_create ();
8601 return pthread_create ();
8606 if ac_fn_c_try_link
"$LINENO"; then :
8607 ac_cv_lib_pthread_pthread_create
=yes
8609 ac_cv_lib_pthread_pthread_create
=no
8611 rm -f core conftest.err conftest.
$ac_objext \
8612 conftest
$ac_exeext conftest.
$ac_ext
8613 LIBS
=$ac_check_lib_save_LIBS
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8616 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8617 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8618 PTHREAD_LIBS
="-lpthread"
8625 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8626 case "x$with_pthread" in
8628 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8629 Wine cannot support threads without libpthread.
8630 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8636 $as_echo_n "checking for X... " >&6; }
8639 # Check whether --with-x was given.
8640 if test "${with_x+set}" = set; then :
8644 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8645 if test "x$with_x" = xno
; then
8646 # The user explicitly disabled X.
8649 case $x_includes,$x_libraries in #(
8650 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8651 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8652 $as_echo_n "(cached) " >&6
8654 # One or both of the vars are not set, and there is no cached value.
8655 ac_x_includes
=no ac_x_libraries
=no
8656 rm -f -r conftest.dir
8657 if mkdir conftest.dir
; then
8659 cat >Imakefile
<<'_ACEOF'
8661 @echo incroot='${INCROOT}'
8663 @echo usrlibdir='${USRLIBDIR}'
8665 @echo libdir='${LIBDIR}'
8667 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8668 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8669 for ac_var
in incroot usrlibdir libdir
; do
8670 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8672 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8673 for ac_extension
in a so sl dylib la dll
; do
8674 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8675 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8676 ac_im_usrlibdir
=$ac_im_libdir; break
8679 # Screen out bogus values from the imake configuration. They are
8680 # bogus both because they are the default anyway, and because
8681 # using them would break gcc on systems where it needs fixed includes.
8682 case $ac_im_incroot in
8683 /usr
/include
) ac_x_includes
= ;;
8684 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8686 case $ac_im_usrlibdir in
8687 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8688 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8692 rm -f -r conftest.dir
8695 # Standard set of common directories for X headers.
8696 # Check X11 before X11Rn because it is often a symlink to the current release.
8710 /usr/local/X11/include
8711 /usr/local/X11R7/include
8712 /usr/local/X11R6/include
8713 /usr/local/X11R5/include
8714 /usr/local/X11R4/include
8716 /usr/local/include/X11
8717 /usr/local/include/X11R7
8718 /usr/local/include/X11R6
8719 /usr/local/include/X11R5
8720 /usr/local/include/X11R4
8724 /usr/XFree86/include/X11
8728 /usr/unsupported/include
8730 /usr/local/x11r5/include
8731 /usr/lpp/Xamples/include
8733 /usr/openwin/include
8734 /usr/openwin/share/include'
8736 if test "$ac_x_includes" = no
; then
8737 # Guess where to find include files, by looking for Xlib.h.
8738 # First, try using that file with no special directory specified.
8739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8740 /* end confdefs.h. */
8741 #include <X11/Xlib.h>
8743 if ac_fn_c_try_cpp
"$LINENO"; then :
8744 # We can compile using X headers with no special include directory.
8747 for ac_dir
in $ac_x_header_dirs; do
8748 if test -r "$ac_dir/X11/Xlib.h"; then
8749 ac_x_includes
=$ac_dir
8754 rm -f conftest.err conftest.i conftest.
$ac_ext
8755 fi # $ac_x_includes = no
8757 if test "$ac_x_libraries" = no
; then
8758 # Check for the libraries.
8759 # See if we find them without any special options.
8760 # Don't add to $LIBS permanently.
8763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8764 /* end confdefs.h. */
8765 #include <X11/Xlib.h>
8774 if ac_fn_c_try_link
"$LINENO"; then :
8776 # We can link X programs with no special library path.
8780 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8782 # Don't even attempt the hair of trying to link an X program!
8783 for ac_extension
in a so sl dylib la dll
; do
8784 if test -r "$ac_dir/libX11.$ac_extension"; then
8785 ac_x_libraries
=$ac_dir
8791 rm -f core conftest.err conftest.
$ac_objext \
8792 conftest
$ac_exeext conftest.
$ac_ext
8793 fi # $ac_x_libraries = no
8795 case $ac_x_includes,$ac_x_libraries in #(
8797 # Didn't find X, or a directory has "'" in its name.
8798 ac_cv_have_x
="have_x=no";; #(
8800 # Record where we found X for the cache.
8801 ac_cv_have_x
="have_x=yes\
8802 ac_x_includes='$ac_x_includes'\
8803 ac_x_libraries='$ac_x_libraries'"
8809 eval "$ac_cv_have_x"
8812 if test "$have_x" != yes; then
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8814 $as_echo "$have_x" >&6; }
8817 # If each of the values was on the command line, it overrides each guess.
8818 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8819 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8820 # Update the cache value to reflect the command line values.
8821 ac_cv_have_x
="have_x=yes\
8822 ac_x_includes='$x_includes'\
8823 ac_x_libraries='$x_libraries'"
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8825 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8828 if test "$no_x" = yes; then
8829 # Not all programs may use this symbol, but it does not hurt to define it.
8831 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8833 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8835 if test -n "$x_includes"; then
8836 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8839 # It would also be nice to do this for all -L options, not just this one.
8840 if test -n "$x_libraries"; then
8841 X_LIBS
="$X_LIBS -L$x_libraries"
8842 # For Solaris; some versions of Sun CC require a space after -R and
8843 # others require no space. Words are not sufficient . . . .
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8845 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8846 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8847 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8848 ac_c_werror_flag
=yes
8849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8850 /* end confdefs.h. */
8860 if ac_fn_c_try_link
"$LINENO"; then :
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8862 $as_echo "no" >&6; }
8863 X_LIBS
="$X_LIBS -R$x_libraries"
8865 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8867 /* end confdefs.h. */
8877 if ac_fn_c_try_link
"$LINENO"; then :
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8879 $as_echo "yes" >&6; }
8880 X_LIBS
="$X_LIBS -R $x_libraries"
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8883 $as_echo "neither works" >&6; }
8885 rm -f core conftest.err conftest.
$ac_objext \
8886 conftest
$ac_exeext conftest.
$ac_ext
8888 rm -f core conftest.err conftest.
$ac_objext \
8889 conftest
$ac_exeext conftest.
$ac_ext
8890 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8894 # Check for system-dependent libraries X programs must link with.
8895 # Do this before checking for the system-independent R6 libraries
8896 # (-lICE), since we may need -lsocket or whatever for X linking.
8898 if test "$ISC" = yes; then
8899 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8901 # Martyn Johnson says this is needed for Ultrix, if the X
8902 # libraries were built with DECnet support. And Karl Berry says
8903 # the Alpha needs dnet_stub (dnet does not exist).
8904 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8906 /* end confdefs.h. */
8908 /* Override any GCC internal prototype to avoid an error.
8909 Use char because int might match the return type of a GCC
8910 builtin and then its argument prototype would still apply. */
8914 char XOpenDisplay ();
8918 return XOpenDisplay ();
8923 if ac_fn_c_try_link
"$LINENO"; then :
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8927 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8928 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8929 $as_echo_n "(cached) " >&6
8931 ac_check_lib_save_LIBS
=$LIBS
8933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8934 /* end confdefs.h. */
8936 /* Override any GCC internal prototype to avoid an error.
8937 Use char because int might match the return type of a GCC
8938 builtin and then its argument prototype would still apply. */
8946 return dnet_ntoa ();
8951 if ac_fn_c_try_link
"$LINENO"; then :
8952 ac_cv_lib_dnet_dnet_ntoa
=yes
8954 ac_cv_lib_dnet_dnet_ntoa
=no
8956 rm -f core conftest.err conftest.
$ac_objext \
8957 conftest
$ac_exeext conftest.
$ac_ext
8958 LIBS
=$ac_check_lib_save_LIBS
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8961 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8962 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8963 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8966 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8968 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8969 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8970 $as_echo_n "(cached) " >&6
8972 ac_check_lib_save_LIBS
=$LIBS
8973 LIBS
="-ldnet_stub $LIBS"
8974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8975 /* end confdefs.h. */
8977 /* Override any GCC internal prototype to avoid an error.
8978 Use char because int might match the return type of a GCC
8979 builtin and then its argument prototype would still apply. */
8987 return dnet_ntoa ();
8992 if ac_fn_c_try_link
"$LINENO"; then :
8993 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8995 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8997 rm -f core conftest.err conftest.
$ac_objext \
8998 conftest
$ac_exeext conftest.
$ac_ext
8999 LIBS
=$ac_check_lib_save_LIBS
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9002 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9003 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9004 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9009 rm -f core conftest.err conftest.
$ac_objext \
9010 conftest
$ac_exeext conftest.
$ac_ext
9011 LIBS
="$ac_xsave_LIBS"
9013 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9014 # to get the SysV transport functions.
9015 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9017 # The nsl library prevents programs from opening the X display
9018 # on Irix 5.2, according to T.E. Dickey.
9019 # The functions gethostbyname, getservbyname, and inet_addr are
9020 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9021 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9022 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9026 if test $ac_cv_func_gethostbyname = no
; then
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9028 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9029 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9030 $as_echo_n "(cached) " >&6
9032 ac_check_lib_save_LIBS
=$LIBS
9034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9035 /* end confdefs.h. */
9037 /* Override any GCC internal prototype to avoid an error.
9038 Use char because int might match the return type of a GCC
9039 builtin and then its argument prototype would still apply. */
9043 char gethostbyname ();
9047 return gethostbyname ();
9052 if ac_fn_c_try_link
"$LINENO"; then :
9053 ac_cv_lib_nsl_gethostbyname
=yes
9055 ac_cv_lib_nsl_gethostbyname
=no
9057 rm -f core conftest.err conftest.
$ac_objext \
9058 conftest
$ac_exeext conftest.
$ac_ext
9059 LIBS
=$ac_check_lib_save_LIBS
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9062 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9063 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9064 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9067 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9069 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9070 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9071 $as_echo_n "(cached) " >&6
9073 ac_check_lib_save_LIBS
=$LIBS
9075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9076 /* end confdefs.h. */
9078 /* Override any GCC internal prototype to avoid an error.
9079 Use char because int might match the return type of a GCC
9080 builtin and then its argument prototype would still apply. */
9084 char gethostbyname ();
9088 return gethostbyname ();
9093 if ac_fn_c_try_link
"$LINENO"; then :
9094 ac_cv_lib_bsd_gethostbyname
=yes
9096 ac_cv_lib_bsd_gethostbyname
=no
9098 rm -f core conftest.err conftest.
$ac_objext \
9099 conftest
$ac_exeext conftest.
$ac_ext
9100 LIBS
=$ac_check_lib_save_LIBS
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9103 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9104 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9105 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9111 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9112 # socket/setsockopt and other routines are undefined under SCO ODT
9113 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9114 # on later versions), says Simon Leinen: it contains gethostby*
9115 # variants that don't use the name server (or something). -lsocket
9116 # must be given before -lnsl if both are needed. We assume that
9117 # if connect needs -lnsl, so does gethostbyname.
9118 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9119 if test "x$ac_cv_func_connect" = xyes
; then :
9123 if test $ac_cv_func_connect = no
; then
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9125 $as_echo_n "checking for connect in -lsocket... " >&6; }
9126 if ${ac_cv_lib_socket_connect+:} false
; then :
9127 $as_echo_n "(cached) " >&6
9129 ac_check_lib_save_LIBS
=$LIBS
9130 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9132 /* end confdefs.h. */
9134 /* Override any GCC internal prototype to avoid an error.
9135 Use char because int might match the return type of a GCC
9136 builtin and then its argument prototype would still apply. */
9149 if ac_fn_c_try_link
"$LINENO"; then :
9150 ac_cv_lib_socket_connect
=yes
9152 ac_cv_lib_socket_connect
=no
9154 rm -f core conftest.err conftest.
$ac_objext \
9155 conftest
$ac_exeext conftest.
$ac_ext
9156 LIBS
=$ac_check_lib_save_LIBS
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9159 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9160 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9161 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9166 # Guillermo Gomez says -lposix is necessary on A/UX.
9167 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9168 if test "x$ac_cv_func_remove" = xyes
; then :
9172 if test $ac_cv_func_remove = no
; then
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9174 $as_echo_n "checking for remove in -lposix... " >&6; }
9175 if ${ac_cv_lib_posix_remove+:} false
; then :
9176 $as_echo_n "(cached) " >&6
9178 ac_check_lib_save_LIBS
=$LIBS
9179 LIBS
="-lposix $LIBS"
9180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9181 /* end confdefs.h. */
9183 /* Override any GCC internal prototype to avoid an error.
9184 Use char because int might match the return type of a GCC
9185 builtin and then its argument prototype would still apply. */
9198 if ac_fn_c_try_link
"$LINENO"; then :
9199 ac_cv_lib_posix_remove
=yes
9201 ac_cv_lib_posix_remove
=no
9203 rm -f core conftest.err conftest.
$ac_objext \
9204 conftest
$ac_exeext conftest.
$ac_ext
9205 LIBS
=$ac_check_lib_save_LIBS
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9208 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9209 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9210 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9215 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9216 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9217 if test "x$ac_cv_func_shmat" = xyes
; then :
9221 if test $ac_cv_func_shmat = no
; then
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9223 $as_echo_n "checking for shmat in -lipc... " >&6; }
9224 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9225 $as_echo_n "(cached) " >&6
9227 ac_check_lib_save_LIBS
=$LIBS
9229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9230 /* end confdefs.h. */
9232 /* Override any GCC internal prototype to avoid an error.
9233 Use char because int might match the return type of a GCC
9234 builtin and then its argument prototype would still apply. */
9247 if ac_fn_c_try_link
"$LINENO"; then :
9248 ac_cv_lib_ipc_shmat
=yes
9250 ac_cv_lib_ipc_shmat
=no
9252 rm -f core conftest.err conftest.
$ac_objext \
9253 conftest
$ac_exeext conftest.
$ac_ext
9254 LIBS
=$ac_check_lib_save_LIBS
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9257 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9258 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9259 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9265 # Check for libraries that X11R6 Xt/Xaw programs need.
9266 ac_save_LDFLAGS
=$LDFLAGS
9267 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9268 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9269 # check for ICE first), but we must link in the order -lSM -lICE or
9270 # we get undefined symbols. So assume we have SM if we have ICE.
9271 # These have to be linked with before -lX11, unlike the other
9272 # libraries we check for below, so use a different variable.
9273 # John Interrante, Karl Berry
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9275 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9276 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9277 $as_echo_n "(cached) " >&6
9279 ac_check_lib_save_LIBS
=$LIBS
9280 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9282 /* end confdefs.h. */
9284 /* Override any GCC internal prototype to avoid an error.
9285 Use char because int might match the return type of a GCC
9286 builtin and then its argument prototype would still apply. */
9290 char IceConnectionNumber ();
9294 return IceConnectionNumber ();
9299 if ac_fn_c_try_link
"$LINENO"; then :
9300 ac_cv_lib_ICE_IceConnectionNumber
=yes
9302 ac_cv_lib_ICE_IceConnectionNumber
=no
9304 rm -f core conftest.err conftest.
$ac_objext \
9305 conftest
$ac_exeext conftest.
$ac_ext
9306 LIBS
=$ac_check_lib_save_LIBS
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9309 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9310 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9311 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9314 LDFLAGS
=$ac_save_LDFLAGS
9319 if test "$have_x" = "yes"
9321 ac_save_CPPFLAGS
="$CPPFLAGS"
9322 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9325 $as_echo_n "checking for -lX11... " >&6; }
9326 if ${ac_cv_lib_soname_X11+:} false
; then :
9327 $as_echo_n "(cached) " >&6
9329 ac_check_soname_save_LIBS
=$LIBS
9330 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9332 /* end confdefs.h. */
9334 /* Override any GCC internal prototype to avoid an error.
9335 Use char because int might match the return type of a GCC
9336 builtin and then its argument prototype would still apply. */
9340 char XCreateWindow ();
9344 return XCreateWindow ();
9349 if ac_fn_c_try_link
"$LINENO"; then :
9351 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9352 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'` ;;
9353 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9354 if ${ac_cv_lib_soname_X11:+false} :; then :
9355 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9359 rm -f core conftest.err conftest.
$ac_objext \
9360 conftest
$ac_exeext conftest.
$ac_ext
9361 LIBS
=$ac_check_soname_save_LIBS
9363 if ${ac_cv_lib_soname_X11:+false} :; then :
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9365 $as_echo "not found" >&6; }
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9369 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9371 cat >>confdefs.h
<<_ACEOF
9372 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9378 $as_echo_n "checking for -lXext... " >&6; }
9379 if ${ac_cv_lib_soname_Xext+:} false
; then :
9380 $as_echo_n "(cached) " >&6
9382 ac_check_soname_save_LIBS
=$LIBS
9383 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h. */
9387 /* Override any GCC internal prototype to avoid an error.
9388 Use char because int might match the return type of a GCC
9389 builtin and then its argument prototype would still apply. */
9393 char XextCreateExtension ();
9397 return XextCreateExtension ();
9402 if ac_fn_c_try_link
"$LINENO"; then :
9404 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9405 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'` ;;
9406 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9407 if ${ac_cv_lib_soname_Xext:+false} :; then :
9408 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9412 rm -f core conftest.err conftest.
$ac_objext \
9413 conftest
$ac_exeext conftest.
$ac_ext
9414 LIBS
=$ac_check_soname_save_LIBS
9416 if ${ac_cv_lib_soname_Xext:+false} :; then :
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9418 $as_echo "not found" >&6; }
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9422 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9424 cat >>confdefs.h
<<_ACEOF
9425 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9428 X_LIBS
="$X_LIBS -lXext"
9430 X_LIBS
="$X_LIBS -lX11"
9432 for ac_header
in X11
/Xlib.h \
9435 X11
/Xcursor
/Xcursor.h \
9436 X11
/extensions
/shape.h \
9437 X11
/extensions
/XInput.h \
9438 X11
/extensions
/XInput2.h \
9439 X11
/extensions
/XShm.h \
9440 X11
/extensions
/Xcomposite.h \
9441 X11
/extensions
/Xinerama.h \
9442 X11
/extensions
/Xrandr.h \
9443 X11
/extensions
/Xrender.h \
9444 X11
/extensions
/xf86vmode.h \
9445 X11
/extensions
/xf86vmproto.h
9447 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9448 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9449 # include <X11/Xlib.h>
9451 #ifdef HAVE_X11_XUTIL_H
9452 # include <X11/Xutil.h>
9455 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9456 cat >>confdefs.h
<<_ACEOF
9457 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9465 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9468 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9469 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9470 $as_echo_n "(cached) " >&6
9472 ac_check_lib_save_LIBS
=$LIBS
9473 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9477 /* Override any GCC internal prototype to avoid an error.
9478 Use char because int might match the return type of a GCC
9479 builtin and then its argument prototype would still apply. */
9483 char XkbQueryExtension ();
9487 return XkbQueryExtension ();
9492 if ac_fn_c_try_link
"$LINENO"; then :
9493 ac_cv_lib_X11_XkbQueryExtension
=yes
9495 ac_cv_lib_X11_XkbQueryExtension
=no
9497 rm -f core conftest.err conftest.
$ac_objext \
9498 conftest
$ac_exeext conftest.
$ac_ext
9499 LIBS
=$ac_check_lib_save_LIBS
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9502 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9503 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9505 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9511 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9514 $as_echo_n "checking for -lXcursor... " >&6; }
9515 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9516 $as_echo_n "(cached) " >&6
9518 ac_check_soname_save_LIBS
=$LIBS
9519 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9523 /* Override any GCC internal prototype to avoid an error.
9524 Use char because int might match the return type of a GCC
9525 builtin and then its argument prototype would still apply. */
9529 char XcursorImageLoadCursor ();
9533 return XcursorImageLoadCursor ();
9538 if ac_fn_c_try_link
"$LINENO"; then :
9540 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9541 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'` ;;
9542 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9543 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9544 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9548 rm -f core conftest.err conftest.
$ac_objext \
9549 conftest
$ac_exeext conftest.
$ac_ext
9550 LIBS
=$ac_check_soname_save_LIBS
9552 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9554 $as_echo "not found" >&6; }
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9558 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9560 cat >>confdefs.h
<<_ACEOF
9561 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9567 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9568 case "x$with_xcursor" in
9569 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9571 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9572 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9576 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9579 $as_echo_n "checking for -lXi... " >&6; }
9580 if ${ac_cv_lib_soname_Xi+:} false
; then :
9581 $as_echo_n "(cached) " >&6
9583 ac_check_soname_save_LIBS
=$LIBS
9584 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9588 /* Override any GCC internal prototype to avoid an error.
9589 Use char because int might match the return type of a GCC
9590 builtin and then its argument prototype would still apply. */
9594 char XOpenDevice ();
9598 return XOpenDevice ();
9603 if ac_fn_c_try_link
"$LINENO"; then :
9605 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9606 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'` ;;
9607 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9608 if ${ac_cv_lib_soname_Xi:+false} :; then :
9609 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9613 rm -f core conftest.err conftest.
$ac_objext \
9614 conftest
$ac_exeext conftest.
$ac_ext
9615 LIBS
=$ac_check_soname_save_LIBS
9617 if ${ac_cv_lib_soname_Xi:+false} :; then :
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9619 $as_echo "not found" >&6; }
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9623 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9625 cat >>confdefs.h
<<_ACEOF
9626 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9632 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9633 case "x$with_xinput" in
9634 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9636 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9637 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9641 if test "x$ac_cv_lib_soname_Xi" != x
9643 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9644 case "x$with_xinput2" in
9645 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9647 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9648 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9653 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9656 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9657 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9658 $as_echo_n "(cached) " >&6
9660 ac_check_lib_save_LIBS
=$LIBS
9661 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9663 /* end confdefs.h. */
9665 /* Override any GCC internal prototype to avoid an error.
9666 Use char because int might match the return type of a GCC
9667 builtin and then its argument prototype would still apply. */
9671 char XShmQueryExtension ();
9675 return XShmQueryExtension ();
9680 if ac_fn_c_try_link
"$LINENO"; then :
9681 ac_cv_lib_Xext_XShmQueryExtension
=yes
9683 ac_cv_lib_Xext_XShmQueryExtension
=no
9685 rm -f core conftest.err conftest.
$ac_objext \
9686 conftest
$ac_exeext conftest.
$ac_ext
9687 LIBS
=$ac_check_lib_save_LIBS
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9690 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9691 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9693 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9698 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9699 case "x$with_xshm" in
9700 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9702 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9703 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9707 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9710 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9711 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9712 $as_echo_n "(cached) " >&6
9714 ac_check_lib_save_LIBS
=$LIBS
9715 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9719 /* Override any GCC internal prototype to avoid an error.
9720 Use char because int might match the return type of a GCC
9721 builtin and then its argument prototype would still apply. */
9725 char XShapeQueryExtension ();
9729 return XShapeQueryExtension ();
9734 if ac_fn_c_try_link
"$LINENO"; then :
9735 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9737 ac_cv_lib_Xext_XShapeQueryExtension
=no
9739 rm -f core conftest.err conftest.
$ac_objext \
9740 conftest
$ac_exeext conftest.
$ac_ext
9741 LIBS
=$ac_check_lib_save_LIBS
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9744 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9745 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9747 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9752 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9753 case "x$with_xshape" in
9754 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9756 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9757 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9761 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9764 $as_echo_n "checking for -lXxf86vm... " >&6; }
9765 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9766 $as_echo_n "(cached) " >&6
9768 ac_check_soname_save_LIBS
=$LIBS
9769 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9771 /* end confdefs.h. */
9773 /* Override any GCC internal prototype to avoid an error.
9774 Use char because int might match the return type of a GCC
9775 builtin and then its argument prototype would still apply. */
9779 char XF86VidModeQueryExtension ();
9783 return XF86VidModeQueryExtension ();
9788 if ac_fn_c_try_link
"$LINENO"; then :
9790 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9791 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'` ;;
9792 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9793 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9794 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9798 rm -f core conftest.err conftest.
$ac_objext \
9799 conftest
$ac_exeext conftest.
$ac_ext
9800 LIBS
=$ac_check_soname_save_LIBS
9802 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9804 $as_echo "not found" >&6; }
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9808 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9810 cat >>confdefs.h
<<_ACEOF
9811 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9817 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9818 case "x$with_xxf86vm" in
9819 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9821 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9822 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9826 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9829 $as_echo_n "checking for -lXrender... " >&6; }
9830 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9831 $as_echo_n "(cached) " >&6
9833 ac_check_soname_save_LIBS
=$LIBS
9834 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9838 /* Override any GCC internal prototype to avoid an error.
9839 Use char because int might match the return type of a GCC
9840 builtin and then its argument prototype would still apply. */
9844 char XRenderQueryExtension ();
9848 return XRenderQueryExtension ();
9853 if ac_fn_c_try_link
"$LINENO"; then :
9855 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9856 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'` ;;
9857 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9858 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9859 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9863 rm -f core conftest.err conftest.
$ac_objext \
9864 conftest
$ac_exeext conftest.
$ac_ext
9865 LIBS
=$ac_check_soname_save_LIBS
9867 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9869 $as_echo "not found" >&6; }
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9873 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9875 cat >>confdefs.h
<<_ACEOF
9876 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9880 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9881 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9882 $as_echo_n "(cached) " >&6
9884 ac_check_lib_save_LIBS
=$LIBS
9885 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9887 /* end confdefs.h. */
9889 /* Override any GCC internal prototype to avoid an error.
9890 Use char because int might match the return type of a GCC
9891 builtin and then its argument prototype would still apply. */
9895 char XRenderSetPictureTransform ();
9899 return XRenderSetPictureTransform ();
9904 if ac_fn_c_try_link
"$LINENO"; then :
9905 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9907 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9909 rm -f core conftest.err conftest.
$ac_objext \
9910 conftest
$ac_exeext conftest.
$ac_ext
9911 LIBS
=$ac_check_lib_save_LIBS
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9914 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9915 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9917 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9922 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9923 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9924 $as_echo_n "(cached) " >&6
9926 ac_check_lib_save_LIBS
=$LIBS
9927 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9929 /* end confdefs.h. */
9931 /* Override any GCC internal prototype to avoid an error.
9932 Use char because int might match the return type of a GCC
9933 builtin and then its argument prototype would still apply. */
9937 char XRenderCreateLinearGradient ();
9941 return XRenderCreateLinearGradient ();
9946 if ac_fn_c_try_link
"$LINENO"; then :
9947 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9949 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9951 rm -f core conftest.err conftest.
$ac_objext \
9952 conftest
$ac_exeext conftest.
$ac_ext
9953 LIBS
=$ac_check_lib_save_LIBS
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9956 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9957 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9959 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9966 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9967 case "x$with_xrender" in
9968 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9970 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9971 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9975 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9979 #include <X11/Xlib.h>
9980 #include <X11/extensions/Xrandr.h>
9984 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9989 if ac_fn_c_try_compile
"$LINENO"; then :
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9991 $as_echo_n "checking for -lXrandr... " >&6; }
9992 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9993 $as_echo_n "(cached) " >&6
9995 ac_check_soname_save_LIBS
=$LIBS
9996 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
10000 /* Override any GCC internal prototype to avoid an error.
10001 Use char because int might match the return type of a GCC
10002 builtin and then its argument prototype would still apply. */
10006 char XRRQueryExtension ();
10010 return XRRQueryExtension ();
10015 if ac_fn_c_try_link
"$LINENO"; then :
10017 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10018 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'` ;;
10019 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10020 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10021 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10025 rm -f core conftest.err conftest.
$ac_objext \
10026 conftest
$ac_exeext conftest.
$ac_ext
10027 LIBS
=$ac_check_soname_save_LIBS
10029 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10031 $as_echo "not found" >&6; }
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10035 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10037 cat >>confdefs.h
<<_ACEOF
10038 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10043 #include <X11/Xlib.h>
10044 #include <X11/extensions/Xrandr.h>
10048 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10053 if ac_fn_c_try_compile
"$LINENO"; then :
10055 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10063 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10064 case "x$with_xrandr" in
10065 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10067 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10068 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10072 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10076 #include <X11/Xlib.h>
10077 #include <X11/extensions/Xinerama.h>
10081 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10086 if ac_fn_c_try_compile
"$LINENO"; then :
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10088 $as_echo_n "checking for -lXinerama... " >&6; }
10089 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10090 $as_echo_n "(cached) " >&6
10092 ac_check_soname_save_LIBS
=$LIBS
10093 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10095 /* end confdefs.h. */
10097 /* Override any GCC internal prototype to avoid an error.
10098 Use char because int might match the return type of a GCC
10099 builtin and then its argument prototype would still apply. */
10103 char XineramaQueryScreens ();
10107 return XineramaQueryScreens ();
10112 if ac_fn_c_try_link
"$LINENO"; then :
10114 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10115 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'` ;;
10116 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10117 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10118 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10122 rm -f core conftest.err conftest.
$ac_objext \
10123 conftest
$ac_exeext conftest.
$ac_ext
10124 LIBS
=$ac_check_soname_save_LIBS
10126 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10128 $as_echo "not found" >&6; }
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10132 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10134 cat >>confdefs.h
<<_ACEOF
10135 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10143 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10144 case "x$with_xinerama" in
10145 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10147 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10148 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10152 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10155 $as_echo_n "checking for -lXcomposite... " >&6; }
10156 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10157 $as_echo_n "(cached) " >&6
10159 ac_check_soname_save_LIBS
=$LIBS
10160 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h. */
10164 /* Override any GCC internal prototype to avoid an error.
10165 Use char because int might match the return type of a GCC
10166 builtin and then its argument prototype would still apply. */
10170 char XCompositeRedirectWindow ();
10174 return XCompositeRedirectWindow ();
10179 if ac_fn_c_try_link
"$LINENO"; then :
10181 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10182 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'` ;;
10183 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10184 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10185 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10189 rm -f core conftest.err conftest.
$ac_objext \
10190 conftest
$ac_exeext conftest.
$ac_ext
10191 LIBS
=$ac_check_soname_save_LIBS
10193 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10195 $as_echo "not found" >&6; }
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10199 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10201 cat >>confdefs.h
<<_ACEOF
10202 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10208 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10209 case "x$with_xcomposite" in
10210 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10212 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10213 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10217 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10218 #include <X11/Xlib.h>
10221 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10223 cat >>confdefs.h
<<_ACEOF
10224 #define HAVE_XICCALLBACK_CALLBACK 1
10229 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10230 #include <X11/Xlib.h>
10233 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10235 cat >>confdefs.h
<<_ACEOF
10236 #define HAVE_XEVENT_XCOOKIE 1
10245 if test "x$with_opengl" != "xno"
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10248 $as_echo_n "checking for -lGL... " >&6; }
10249 if ${ac_cv_lib_soname_GL+:} false
; then :
10250 $as_echo_n "(cached) " >&6
10252 ac_check_soname_save_LIBS
=$LIBS
10253 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10257 /* Override any GCC internal prototype to avoid an error.
10258 Use char because int might match the return type of a GCC
10259 builtin and then its argument prototype would still apply. */
10263 char glXCreateContext ();
10267 return glXCreateContext ();
10272 if ac_fn_c_try_link
"$LINENO"; then :
10274 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10275 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'` ;;
10276 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10277 if ${ac_cv_lib_soname_GL:+false} :; then :
10278 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10282 rm -f core conftest.err conftest.
$ac_objext \
10283 conftest
$ac_exeext conftest.
$ac_ext
10284 LIBS
=$ac_check_soname_save_LIBS
10286 if ${ac_cv_lib_soname_GL:+false} :; then :
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10288 $as_echo "not found" >&6; }
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10290 $as_echo_n "checking for -lGL... " >&6; }
10291 if ${ac_cv_lib_soname_GL+:} false
; then :
10292 $as_echo_n "(cached) " >&6
10294 ac_check_soname_save_LIBS
=$LIBS
10295 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"
10296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10299 /* Override any GCC internal prototype to avoid an error.
10300 Use char because int might match the return type of a GCC
10301 builtin and then its argument prototype would still apply. */
10305 char glXCreateContext ();
10309 return glXCreateContext ();
10314 if ac_fn_c_try_link
"$LINENO"; then :
10316 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10317 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'` ;;
10318 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10319 if ${ac_cv_lib_soname_GL:+false} :; then :
10320 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10324 rm -f core conftest.err conftest.
$ac_objext \
10325 conftest
$ac_exeext conftest.
$ac_ext
10326 LIBS
=$ac_check_soname_save_LIBS
10328 if ${ac_cv_lib_soname_GL:+false} :; then :
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10330 $as_echo "not found" >&6; }
10331 if test -f /usr
/X11R
6/lib
/libGL.a
10333 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10334 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10336 opengl_msg
="No OpenGL library found on this system."
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10340 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10342 cat >>confdefs.h
<<_ACEOF
10343 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10346 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"
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"
10358 if test "x$with_glu" != "xno"
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10361 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10362 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10363 $as_echo_n "(cached) " >&6
10365 ac_check_lib_save_LIBS
=$LIBS
10366 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10368 /* end confdefs.h. */
10370 /* Override any GCC internal prototype to avoid an error.
10371 Use char because int might match the return type of a GCC
10372 builtin and then its argument prototype would still apply. */
10380 return gluLookAt ();
10385 if ac_fn_c_try_link
"$LINENO"; then :
10386 ac_cv_lib_GLU_gluLookAt
=yes
10388 ac_cv_lib_GLU_gluLookAt
=no
10390 rm -f core conftest.err conftest.
$ac_objext \
10391 conftest
$ac_exeext conftest.
$ac_ext
10392 LIBS
=$ac_check_lib_save_LIBS
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10395 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10396 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10400 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10401 case "x$with_glu" in
10402 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10404 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10405 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10410 if test "x$with_osmesa" != "xno"
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10413 $as_echo_n "checking for -lOSMesa... " >&6; }
10414 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10415 $as_echo_n "(cached) " >&6
10417 ac_check_soname_save_LIBS
=$LIBS
10418 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10422 /* Override any GCC internal prototype to avoid an error.
10423 Use char because int might match the return type of a GCC
10424 builtin and then its argument prototype would still apply. */
10437 if ac_fn_c_try_link
"$LINENO"; then :
10439 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10440 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'` ;;
10441 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10442 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10443 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10447 rm -f core conftest.err conftest.
$ac_objext \
10448 conftest
$ac_exeext conftest.
$ac_ext
10449 LIBS
=$ac_check_soname_save_LIBS
10451 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10453 $as_echo "not found" >&6; }
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10457 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10459 cat >>confdefs.h
<<_ACEOF
10460 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10465 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10466 case "x$with_osmesa" in
10467 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10469 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10470 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10475 if test -n "$opengl_msg"; then :
10476 case "x$with_opengl" in
10477 x
) as_fn_append wine_warnings
"|$opengl_msg
10478 OpenGL and Direct3D won't be supported." ;;
10480 *) as_fn_error $?
"$opengl_msg
10481 OpenGL and Direct3D won't be supported.
10482 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10486 CPPFLAGS
="$ac_save_CPPFLAGS"
10490 enable_winex11_drv
=${enable_winex11_drv:-no}
10492 if test "x$X_LIBS" = "x"; then :
10495 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10496 without X support, which probably isn't what you want. You will need
10497 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10498 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10502 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10504 if test "$ac_cv_header_CL_cl_h" = "yes"
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10507 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10508 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10509 $as_echo_n "(cached) " >&6
10511 ac_check_lib_save_LIBS
=$LIBS
10512 LIBS
="-lOpenCL $LIBS"
10513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10514 /* end confdefs.h. */
10516 /* Override any GCC internal prototype to avoid an error.
10517 Use char because int might match the return type of a GCC
10518 builtin and then its argument prototype would still apply. */
10522 char clGetPlatformInfo ();
10526 return clGetPlatformInfo ();
10531 if ac_fn_c_try_link
"$LINENO"; then :
10532 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10534 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10536 rm -f core conftest.err conftest.
$ac_objext \
10537 conftest
$ac_exeext conftest.
$ac_ext
10538 LIBS
=$ac_check_lib_save_LIBS
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10541 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10542 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10543 OPENCL_LIBS
="-lOpenCL"
10548 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10549 case "x$with_opencl" in
10550 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10552 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10553 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10556 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10558 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10561 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10562 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10563 $as_echo_n "(cached) " >&6
10565 ac_check_lib_save_LIBS
=$LIBS
10566 LIBS
="-lpcap $LIBS"
10567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10568 /* end confdefs.h. */
10570 /* Override any GCC internal prototype to avoid an error.
10571 Use char because int might match the return type of a GCC
10572 builtin and then its argument prototype would still apply. */
10576 char pcap_create ();
10580 return pcap_create ();
10585 if ac_fn_c_try_link
"$LINENO"; then :
10586 ac_cv_lib_pcap_pcap_create
=yes
10588 ac_cv_lib_pcap_pcap_create
=no
10590 rm -f core conftest.err conftest.
$ac_objext \
10591 conftest
$ac_exeext conftest.
$ac_ext
10592 LIBS
=$ac_check_lib_save_LIBS
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10595 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10596 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10602 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10603 case "x$with_pcap" in
10604 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10606 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10607 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10610 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10613 if test "x$with_xml" != "xno"
10615 if ${XML2_CFLAGS:+false} :; then :
10616 if ${PKG_CONFIG+:} false
; then :
10617 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10620 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10621 if ${XML2_LIBS:+false} :; then :
10622 if ${PKG_CONFIG+:} false
; then :
10623 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10626 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10627 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10628 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10629 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10630 ac_save_CPPFLAGS
=$CPPFLAGS
10631 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10632 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10634 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10635 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10636 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10637 cat >>confdefs.h
<<_ACEOF
10638 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10645 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"
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10648 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10649 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10650 $as_echo_n "(cached) " >&6
10652 ac_check_lib_save_LIBS
=$LIBS
10653 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10655 /* end confdefs.h. */
10657 /* Override any GCC internal prototype to avoid an error.
10658 Use char because int might match the return type of a GCC
10659 builtin and then its argument prototype would still apply. */
10663 char xmlParseMemory ();
10667 return xmlParseMemory ();
10672 if ac_fn_c_try_link
"$LINENO"; then :
10673 ac_cv_lib_xml2_xmlParseMemory
=yes
10675 ac_cv_lib_xml2_xmlParseMemory
=no
10677 rm -f core conftest.err conftest.
$ac_objext \
10678 conftest
$ac_exeext conftest.
$ac_ext
10679 LIBS
=$ac_check_lib_save_LIBS
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10682 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10683 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10685 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10692 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10693 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10694 $as_echo_n "(cached) " >&6
10696 ac_check_lib_save_LIBS
=$LIBS
10697 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10699 /* end confdefs.h. */
10701 /* Override any GCC internal prototype to avoid an error.
10702 Use char because int might match the return type of a GCC
10703 builtin and then its argument prototype would still apply. */
10707 char xmlReadMemory ();
10711 return xmlReadMemory ();
10716 if ac_fn_c_try_link
"$LINENO"; then :
10717 ac_cv_lib_xml2_xmlReadMemory
=yes
10719 ac_cv_lib_xml2_xmlReadMemory
=no
10721 rm -f core conftest.err conftest.
$ac_objext \
10722 conftest
$ac_exeext conftest.
$ac_ext
10723 LIBS
=$ac_check_lib_save_LIBS
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10726 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10727 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10729 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10734 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10735 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10736 $as_echo_n "(cached) " >&6
10738 ac_check_lib_save_LIBS
=$LIBS
10739 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10741 /* end confdefs.h. */
10743 /* Override any GCC internal prototype to avoid an error.
10744 Use char because int might match the return type of a GCC
10745 builtin and then its argument prototype would still apply. */
10749 char xmlNewDocPI ();
10753 return xmlNewDocPI ();
10758 if ac_fn_c_try_link
"$LINENO"; then :
10759 ac_cv_lib_xml2_xmlNewDocPI
=yes
10761 ac_cv_lib_xml2_xmlNewDocPI
=no
10763 rm -f core conftest.err conftest.
$ac_objext \
10764 conftest
$ac_exeext conftest.
$ac_ext
10765 LIBS
=$ac_check_lib_save_LIBS
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10768 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10769 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10771 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10776 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10777 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10778 $as_echo_n "(cached) " >&6
10780 ac_check_lib_save_LIBS
=$LIBS
10781 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10783 /* end confdefs.h. */
10785 /* Override any GCC internal prototype to avoid an error.
10786 Use char because int might match the return type of a GCC
10787 builtin and then its argument prototype would still apply. */
10791 char xmlSchemaSetParserStructuredErrors ();
10795 return xmlSchemaSetParserStructuredErrors ();
10800 if ac_fn_c_try_link
"$LINENO"; then :
10801 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10803 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10805 rm -f core conftest.err conftest.
$ac_objext \
10806 conftest
$ac_exeext conftest.
$ac_ext
10807 LIBS
=$ac_check_lib_save_LIBS
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10810 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10811 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10813 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10818 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10819 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10820 $as_echo_n "(cached) " >&6
10822 ac_check_lib_save_LIBS
=$LIBS
10823 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10827 /* Override any GCC internal prototype to avoid an error.
10828 Use char because int might match the return type of a GCC
10829 builtin and then its argument prototype would still apply. */
10833 char xmlSchemaSetValidStructuredErrors ();
10837 return xmlSchemaSetValidStructuredErrors ();
10842 if ac_fn_c_try_link
"$LINENO"; then :
10843 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10845 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10847 rm -f core conftest.err conftest.
$ac_objext \
10848 conftest
$ac_exeext conftest.
$ac_ext
10849 LIBS
=$ac_check_lib_save_LIBS
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10852 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10853 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10855 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10860 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10861 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10862 $as_echo_n "(cached) " >&6
10864 ac_check_lib_save_LIBS
=$LIBS
10865 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10867 /* end confdefs.h. */
10869 /* Override any GCC internal prototype to avoid an error.
10870 Use char because int might match the return type of a GCC
10871 builtin and then its argument prototype would still apply. */
10875 char xmlFirstElementChild ();
10879 return xmlFirstElementChild ();
10884 if ac_fn_c_try_link
"$LINENO"; then :
10885 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10887 ac_cv_lib_xml2_xmlFirstElementChild
=no
10889 rm -f core conftest.err conftest.
$ac_objext \
10890 conftest
$ac_exeext conftest.
$ac_ext
10891 LIBS
=$ac_check_lib_save_LIBS
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10894 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10895 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10897 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10901 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10903 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10905 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10913 CPPFLAGS
=$ac_save_CPPFLAGS
10914 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10915 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10918 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10919 case "x$with_xml" in
10920 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10922 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10923 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10927 if test "x$with_xslt" != "xno"
10929 if ${XSLT_CFLAGS:+false} :; then :
10930 if ${PKG_CONFIG+:} false
; then :
10931 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10934 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10935 if ${XSLT_LIBS:+false} :; then :
10936 if ${PKG_CONFIG+:} false
; then :
10937 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10940 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10941 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10942 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10943 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10944 ac_save_CPPFLAGS
=$CPPFLAGS
10945 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10946 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10948 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10949 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10950 # include <libxslt/pattern.h>
10953 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10954 cat >>confdefs.h
<<_ACEOF
10955 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10962 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10965 $as_echo_n "checking for -lxslt... " >&6; }
10966 if ${ac_cv_lib_soname_xslt+:} false
; then :
10967 $as_echo_n "(cached) " >&6
10969 ac_check_soname_save_LIBS
=$LIBS
10970 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10974 /* Override any GCC internal prototype to avoid an error.
10975 Use char because int might match the return type of a GCC
10976 builtin and then its argument prototype would still apply. */
10980 char xsltCompilePattern ();
10984 return xsltCompilePattern ();
10989 if ac_fn_c_try_link
"$LINENO"; then :
10991 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10992 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'` ;;
10993 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10994 if ${ac_cv_lib_soname_xslt:+false} :; then :
10995 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10999 rm -f core conftest.err conftest.
$ac_objext \
11000 conftest
$ac_exeext conftest.
$ac_ext
11001 LIBS
=$ac_check_soname_save_LIBS
11003 if ${ac_cv_lib_soname_xslt:+false} :; then :
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11005 $as_echo "not found" >&6; }
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11009 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11011 cat >>confdefs.h
<<_ACEOF
11012 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11020 CPPFLAGS
=$ac_save_CPPFLAGS
11021 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11022 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11025 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11026 case "x$with_xslt" in
11027 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11029 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11030 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11034 if test "x$with_dbus" != "xno"
11036 if ${DBUS_CFLAGS:+false} :; then :
11037 if ${PKG_CONFIG+:} false
; then :
11038 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11042 if ${DBUS_LIBS:+false} :; then :
11043 if ${PKG_CONFIG+:} false
; then :
11044 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11049 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11050 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11051 ac_save_CPPFLAGS
=$CPPFLAGS
11052 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11053 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11054 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11056 $as_echo_n "checking for -ldbus-1... " >&6; }
11057 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11058 $as_echo_n "(cached) " >&6
11060 ac_check_soname_save_LIBS
=$LIBS
11061 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11065 /* Override any GCC internal prototype to avoid an error.
11066 Use char because int might match the return type of a GCC
11067 builtin and then its argument prototype would still apply. */
11071 char dbus_connection_close ();
11075 return dbus_connection_close ();
11080 if ac_fn_c_try_link
"$LINENO"; then :
11082 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11083 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'` ;;
11084 *) 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'`
11085 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11086 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11090 rm -f core conftest.err conftest.
$ac_objext \
11091 conftest
$ac_exeext conftest.
$ac_ext
11092 LIBS
=$ac_check_soname_save_LIBS
11094 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11096 $as_echo "not found" >&6; }
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11100 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11102 cat >>confdefs.h
<<_ACEOF
11103 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11113 CPPFLAGS
=$ac_save_CPPFLAGS
11114 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11115 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11118 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11119 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11120 case "x$with_dbus" in
11121 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11123 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11124 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11128 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11130 if ${HAL_CFLAGS:+false} :; then :
11131 if ${PKG_CONFIG+:} false
; then :
11132 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11136 if ${HAL_LIBS:+false} :; then :
11137 if ${PKG_CONFIG+:} false
; then :
11138 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11142 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11143 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11144 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11145 ac_save_CPPFLAGS
=$CPPFLAGS
11146 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11147 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11148 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11150 $as_echo_n "checking for -lhal... " >&6; }
11151 if ${ac_cv_lib_soname_hal+:} false
; then :
11152 $as_echo_n "(cached) " >&6
11154 ac_check_soname_save_LIBS
=$LIBS
11155 LIBS
="-lhal $HAL_LIBS $LIBS"
11156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11165 char libhal_ctx_new ();
11169 return libhal_ctx_new ();
11174 if ac_fn_c_try_link
"$LINENO"; then :
11176 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11177 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'` ;;
11178 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11179 if ${ac_cv_lib_soname_hal:+false} :; then :
11180 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11184 rm -f core conftest.err conftest.
$ac_objext \
11185 conftest
$ac_exeext conftest.
$ac_ext
11186 LIBS
=$ac_check_soname_save_LIBS
11188 if ${ac_cv_lib_soname_hal:+false} :; then :
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11190 $as_echo "not found" >&6; }
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11194 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11196 cat >>confdefs.h
<<_ACEOF
11197 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11207 CPPFLAGS
=$ac_save_CPPFLAGS
11208 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11209 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11211 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11212 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11213 case "x$with_hal" in
11214 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11216 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11217 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11222 if test "x$with_gnutls" != "xno"
11224 if ${GNUTLS_CFLAGS:+false} :; then :
11225 if ${PKG_CONFIG+:} false
; then :
11226 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11230 if ${GNUTLS_LIBS:+false} :; then :
11231 if ${PKG_CONFIG+:} false
; then :
11232 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11237 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11238 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11239 ac_save_CPPFLAGS
=$CPPFLAGS
11240 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11241 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11242 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11245 #include <gnutls/gnutls.h>
11246 #include <gnutls/crypto.h>
11250 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11255 if ac_fn_c_try_compile
"$LINENO"; then :
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11257 $as_echo_n "checking for -lgnutls... " >&6; }
11258 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11259 $as_echo_n "(cached) " >&6
11261 ac_check_soname_save_LIBS
=$LIBS
11262 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11266 /* Override any GCC internal prototype to avoid an error.
11267 Use char because int might match the return type of a GCC
11268 builtin and then its argument prototype would still apply. */
11272 char gnutls_global_init ();
11276 return gnutls_global_init ();
11281 if ac_fn_c_try_link
"$LINENO"; then :
11283 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11284 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'` ;;
11285 *) 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'`
11286 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11287 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'`
11291 rm -f core conftest.err conftest.
$ac_objext \
11292 conftest
$ac_exeext conftest.
$ac_ext
11293 LIBS
=$ac_check_soname_save_LIBS
11295 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11297 $as_echo "not found" >&6; }
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11301 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11303 cat >>confdefs.h
<<_ACEOF
11304 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11316 CPPFLAGS
=$ac_save_CPPFLAGS
11317 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11318 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11321 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11322 case "x$with_gnutls" in
11323 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11325 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11326 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11331 if test "$ac_cv_header_ncurses_h" = "yes"
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11334 $as_echo_n "checking for -lncurses... " >&6; }
11335 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11336 $as_echo_n "(cached) " >&6
11338 ac_check_soname_save_LIBS
=$LIBS
11339 LIBS
="-lncurses $LIBS"
11340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11341 /* end confdefs.h. */
11343 /* Override any GCC internal prototype to avoid an error.
11344 Use char because int might match the return type of a GCC
11345 builtin and then its argument prototype would still apply. */
11358 if ac_fn_c_try_link
"$LINENO"; then :
11360 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11361 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'` ;;
11362 *) 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'`
11363 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11364 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11368 rm -f core conftest.err conftest.
$ac_objext \
11369 conftest
$ac_exeext conftest.
$ac_ext
11370 LIBS
=$ac_check_soname_save_LIBS
11372 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11374 $as_echo "not found" >&6; }
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11378 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11380 cat >>confdefs.h
<<_ACEOF
11381 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11384 CURSES_LIBS
="-lncurses"
11386 elif test "$ac_cv_header_curses_h" = "yes"
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11389 $as_echo_n "checking for -lcurses... " >&6; }
11390 if ${ac_cv_lib_soname_curses+:} false
; then :
11391 $as_echo_n "(cached) " >&6
11393 ac_check_soname_save_LIBS
=$LIBS
11394 LIBS
="-lcurses $LIBS"
11395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11413 if ac_fn_c_try_link
"$LINENO"; then :
11415 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11416 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'` ;;
11417 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11418 if ${ac_cv_lib_soname_curses:+false} :; then :
11419 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11423 rm -f core conftest.err conftest.
$ac_objext \
11424 conftest
$ac_exeext conftest.
$ac_ext
11425 LIBS
=$ac_check_soname_save_LIBS
11427 if ${ac_cv_lib_soname_curses:+false} :; then :
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11429 $as_echo "not found" >&6; }
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11433 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11435 cat >>confdefs.h
<<_ACEOF
11436 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11439 CURSES_LIBS
="-lcurses"
11442 ac_save_LIBS
="$LIBS"
11443 LIBS
="$LIBS $CURSES_LIBS"
11444 for ac_func
in mousemask
11446 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11447 if test "x$ac_cv_func_mousemask" = xyes
; then :
11448 cat >>confdefs.h
<<_ACEOF
11449 #define HAVE_MOUSEMASK 1
11455 LIBS
="$ac_save_LIBS"
11456 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11457 case "x$with_curses" in
11458 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11460 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11461 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11465 if test "x$with_sane" != "xno"
11467 if ${SANE_CFLAGS:+false} :; then :
11468 if ${PKG_CONFIG+:} false
; then :
11469 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11472 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11473 if ${SANE_LIBS:+false} :; then :
11474 if ${PKG_CONFIG+:} false
; then :
11475 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11478 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11480 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11481 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11482 ac_save_CPPFLAGS
=$CPPFLAGS
11483 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11484 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11485 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11487 $as_echo_n "checking for -lsane... " >&6; }
11488 if ${ac_cv_lib_soname_sane+:} false
; then :
11489 $as_echo_n "(cached) " >&6
11491 ac_check_soname_save_LIBS
=$LIBS
11492 LIBS
="-lsane $SANE_LIBS $LIBS"
11493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h. */
11496 /* Override any GCC internal prototype to avoid an error.
11497 Use char because int might match the return type of a GCC
11498 builtin and then its argument prototype would still apply. */
11506 return sane_init ();
11511 if ac_fn_c_try_link
"$LINENO"; then :
11513 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11514 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'` ;;
11515 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11516 if ${ac_cv_lib_soname_sane:+false} :; then :
11517 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11521 rm -f core conftest.err conftest.
$ac_objext \
11522 conftest
$ac_exeext conftest.
$ac_ext
11523 LIBS
=$ac_check_soname_save_LIBS
11525 if ${ac_cv_lib_soname_sane:+false} :; then :
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11527 $as_echo "not found" >&6; }
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11531 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11533 cat >>confdefs.h
<<_ACEOF
11534 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11544 CPPFLAGS
=$ac_save_CPPFLAGS
11545 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11546 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11549 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11550 case "x$with_sane" in
11551 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11553 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11554 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11558 if test "x$with_v4l" != "xno"
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11561 $as_echo_n "checking for -lv4l1... " >&6; }
11562 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11563 $as_echo_n "(cached) " >&6
11565 ac_check_soname_save_LIBS
=$LIBS
11566 LIBS
="-lv4l1 $LIBS"
11567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11568 /* end confdefs.h. */
11570 /* Override any GCC internal prototype to avoid an error.
11571 Use char because int might match the return type of a GCC
11572 builtin and then its argument prototype would still apply. */
11580 return v4l1_open ();
11585 if ac_fn_c_try_link
"$LINENO"; then :
11587 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11588 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'` ;;
11589 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11590 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11591 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11595 rm -f core conftest.err conftest.
$ac_objext \
11596 conftest
$ac_exeext conftest.
$ac_ext
11597 LIBS
=$ac_check_soname_save_LIBS
11599 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11601 $as_echo "not found" >&6; }
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11605 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11607 cat >>confdefs.h
<<_ACEOF
11608 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11614 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11615 case "x$with_v4l" in
11616 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11618 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11619 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11623 if test "x$with_gphoto" != "xno"
11625 if ${GPHOTO2_CFLAGS:+false} :; then :
11626 if ${PKG_CONFIG+:} false
; then :
11627 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11630 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11631 if ${GPHOTO2_LIBS:+false} :; then :
11632 if ${PKG_CONFIG+:} false
; then :
11633 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11636 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11637 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11638 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11639 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11640 ac_save_CPPFLAGS
=$CPPFLAGS
11641 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11642 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11643 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11645 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11646 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11647 $as_echo_n "(cached) " >&6
11649 ac_check_lib_save_LIBS
=$LIBS
11650 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11654 /* Override any GCC internal prototype to avoid an error.
11655 Use char because int might match the return type of a GCC
11656 builtin and then its argument prototype would still apply. */
11660 char gp_camera_new ();
11664 return gp_camera_new ();
11669 if ac_fn_c_try_link
"$LINENO"; then :
11670 ac_cv_lib_gphoto2_gp_camera_new
=yes
11672 ac_cv_lib_gphoto2_gp_camera_new
=no
11674 rm -f core conftest.err conftest.
$ac_objext \
11675 conftest
$ac_exeext conftest.
$ac_ext
11676 LIBS
=$ac_check_lib_save_LIBS
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11679 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11680 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11682 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11685 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11689 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11693 CPPFLAGS
=$ac_save_CPPFLAGS
11694 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11695 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11697 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11698 if ${PKG_CONFIG+:} false
; then :
11699 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11702 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11703 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11704 if ${PKG_CONFIG+:} false
; then :
11705 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11708 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11709 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11710 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11711 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11712 ac_save_CPPFLAGS
=$CPPFLAGS
11713 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11714 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11715 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11717 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11718 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11719 $as_echo_n "(cached) " >&6
11721 ac_check_lib_save_LIBS
=$LIBS
11722 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11724 /* end confdefs.h. */
11726 /* Override any GCC internal prototype to avoid an error.
11727 Use char because int might match the return type of a GCC
11728 builtin and then its argument prototype would still apply. */
11732 char gp_port_info_list_new ();
11736 return gp_port_info_list_new ();
11741 if ac_fn_c_try_link
"$LINENO"; then :
11742 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11744 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11746 rm -f core conftest.err conftest.
$ac_objext \
11747 conftest
$ac_exeext conftest.
$ac_ext
11748 LIBS
=$ac_check_lib_save_LIBS
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11751 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11752 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11754 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11757 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11761 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11765 CPPFLAGS
=$ac_save_CPPFLAGS
11766 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11767 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11770 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11771 case "x$with_gphoto" in
11772 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11774 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11775 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11778 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11779 case "x$with_gphoto" in
11780 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11782 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11783 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11788 if test "$ac_cv_header_resolv_h" = "yes"
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11791 $as_echo_n "checking for resolver library... " >&6; }
11792 if ${ac_cv_have_resolv+:} false
; then :
11793 $as_echo_n "(cached) " >&6
11795 ac_save_LIBS
="$LIBS"
11796 for lib
in '' -lresolv
11798 LIBS
="$lib $ac_save_LIBS"
11799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11800 /* end confdefs.h. */
11801 #ifdef HAVE_NETINET_IN_H
11802 #include <netinet/in.h>
11804 #include <resolv.h>
11808 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11813 if ac_fn_c_try_link
"$LINENO"; then :
11814 ac_cv_have_resolv
=${lib:-"none required"}
11816 ac_cv_have_resolv
="not found"
11818 rm -f core conftest.err conftest.
$ac_objext \
11819 conftest
$ac_exeext conftest.
$ac_ext
11820 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11822 LIBS
="$ac_save_LIBS"
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11825 $as_echo "$ac_cv_have_resolv" >&6; }
11827 case "$ac_cv_have_resolv" in
11831 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11834 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11836 RESOLV_LIBS
=$ac_cv_have_resolv
11841 if test "x$with_lcms2" != "xno"
11843 if ${LCMS2_CFLAGS:+false} :; then :
11844 if ${PKG_CONFIG+:} false
; then :
11845 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11849 if ${LCMS2_LIBS:+false} :; then :
11850 if ${PKG_CONFIG+:} false
; then :
11851 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11855 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11856 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11857 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11858 ac_save_CPPFLAGS
=$CPPFLAGS
11859 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11860 for ac_header
in lcms2.h
11862 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11863 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11864 cat >>confdefs.h
<<_ACEOF
11865 #define HAVE_LCMS2_H 1
11872 if test "$ac_cv_header_lcms2_h" = "yes"
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11875 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11876 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11877 $as_echo_n "(cached) " >&6
11879 ac_check_lib_save_LIBS
=$LIBS
11880 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11884 /* Override any GCC internal prototype to avoid an error.
11885 Use char because int might match the return type of a GCC
11886 builtin and then its argument prototype would still apply. */
11890 char cmsOpenProfileFromFile ();
11894 return cmsOpenProfileFromFile ();
11899 if ac_fn_c_try_link
"$LINENO"; then :
11900 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11902 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11904 rm -f core conftest.err conftest.
$ac_objext \
11905 conftest
$ac_exeext conftest.
$ac_ext
11906 LIBS
=$ac_check_lib_save_LIBS
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11909 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11910 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11912 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11922 CPPFLAGS
=$ac_save_CPPFLAGS
11923 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11924 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11927 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11928 case "x$with_cms" in
11929 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11931 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11932 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11936 if test "x$with_freetype" != "xno"
11938 if ${FREETYPE_CFLAGS:+false} :; then :
11939 if ${PKG_CONFIG+:} false
; then :
11940 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11943 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11944 if ${FREETYPE_LIBS:+false} :; then :
11945 if ${PKG_CONFIG+:} false
; then :
11946 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11949 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11950 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11951 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11952 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11953 ac_save_CPPFLAGS
=$CPPFLAGS
11954 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11955 for ac_header
in ft2build.h
11957 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11958 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11959 cat >>confdefs.h
<<_ACEOF
11960 #define HAVE_FT2BUILD_H 1
11967 if test "$ac_cv_header_ft2build_h" = "yes"
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11970 $as_echo_n "checking for -lfreetype... " >&6; }
11971 if ${ac_cv_lib_soname_freetype+:} false
; then :
11972 $as_echo_n "(cached) " >&6
11974 ac_check_soname_save_LIBS
=$LIBS
11975 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11977 /* end confdefs.h. */
11979 /* Override any GCC internal prototype to avoid an error.
11980 Use char because int might match the return type of a GCC
11981 builtin and then its argument prototype would still apply. */
11985 char FT_Init_FreeType ();
11989 return FT_Init_FreeType ();
11994 if ac_fn_c_try_link
"$LINENO"; then :
11996 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11997 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'` ;;
11998 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11999 if ${ac_cv_lib_soname_freetype:+false} :; then :
12000 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12004 rm -f core conftest.err conftest.
$ac_objext \
12005 conftest
$ac_exeext conftest.
$ac_ext
12006 LIBS
=$ac_check_soname_save_LIBS
12008 if ${ac_cv_lib_soname_freetype:+false} :; then :
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12010 $as_echo "not found" >&6; }
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12014 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12016 cat >>confdefs.h
<<_ACEOF
12017 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12021 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12023 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12024 #include FT_MODULE_H
12026 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12028 cat >>confdefs.h
<<_ACEOF
12029 #define HAVE_FT_TRUETYPEENGINETYPE 1
12040 CPPFLAGS
=$ac_save_CPPFLAGS
12041 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12042 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12045 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12046 case "x$with_freetype" in
12048 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12049 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12052 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12055 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12056 if ${ac_cv_c_ppdev+:} false
; then :
12057 $as_echo_n "(cached) " >&6
12059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12060 /* end confdefs.h. */
12061 #ifdef HAVE_SYS_IOCTL_H
12062 # include <sys/ioctl.h>
12064 #include <linux/ppdev.h>
12068 ioctl (1,PPCLAIM,0)
12073 if ac_fn_c_try_compile
"$LINENO"; then :
12074 ac_cv_c_ppdev
="yes"
12078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12081 $as_echo "$ac_cv_c_ppdev" >&6; }
12082 if test "$ac_cv_c_ppdev" = "yes"
12085 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12089 ac_wine_check_funcs_save_LIBS
="$LIBS"
12090 LIBS
="$LIBS $PTHREAD_LIBS"
12092 pthread_attr_get_np \
12093 pthread_getattr_np \
12094 pthread_getthreadid_np \
12095 pthread_get_stackaddr_np \
12096 pthread_get_stacksize_np
12098 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12099 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12100 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12101 cat >>confdefs.h
<<_ACEOF
12102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12108 LIBS
="$ac_wine_check_funcs_save_LIBS"
12110 if test "$ac_cv_header_zlib_h" = "yes"
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12113 $as_echo_n "checking for inflate in -lz... " >&6; }
12114 if ${ac_cv_lib_z_inflate+:} false
; then :
12115 $as_echo_n "(cached) " >&6
12117 ac_check_lib_save_LIBS
=$LIBS
12119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12120 /* end confdefs.h. */
12122 /* Override any GCC internal prototype to avoid an error.
12123 Use char because int might match the return type of a GCC
12124 builtin and then its argument prototype would still apply. */
12137 if ac_fn_c_try_link
"$LINENO"; then :
12138 ac_cv_lib_z_inflate
=yes
12140 ac_cv_lib_z_inflate
=no
12142 rm -f core conftest.err conftest.
$ac_objext \
12143 conftest
$ac_exeext conftest.
$ac_ext
12144 LIBS
=$ac_check_lib_save_LIBS
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12147 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12148 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12150 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12157 if test "x$Z_LIBS" = "x"; then :
12158 case "x$with_zlib" in
12159 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12161 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12162 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12166 if test "x$enable_tools" != xno
12168 if test "$ac_cv_header_gettext_po_h" = "yes"
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12171 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12172 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12173 $as_echo_n "(cached) " >&6
12175 ac_check_lib_save_LIBS
=$LIBS
12176 LIBS
="-lgettextpo $LIBS"
12177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12178 /* end confdefs.h. */
12180 /* Override any GCC internal prototype to avoid an error.
12181 Use char because int might match the return type of a GCC
12182 builtin and then its argument prototype would still apply. */
12186 char po_message_msgctxt ();
12190 return po_message_msgctxt ();
12195 if ac_fn_c_try_link
"$LINENO"; then :
12196 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12198 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12200 rm -f core conftest.err conftest.
$ac_objext \
12201 conftest
$ac_exeext conftest.
$ac_ext
12202 LIBS
=$ac_check_lib_save_LIBS
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12205 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12206 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12208 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12210 GETTEXTPO_LIBS
="-lgettextpo"
12215 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12216 case "x$with_gettextpo" in
12217 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12219 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12220 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12225 if test "x$with_gstreamer" != "xno"
12227 if ${GSTREAMER_CFLAGS:+false} :; then :
12228 if ${PKG_CONFIG+:} false
; then :
12229 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12233 if ${GSTREAMER_LIBS:+false} :; then :
12234 if ${PKG_CONFIG+:} false
; then :
12235 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12240 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12241 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12242 ac_save_CPPFLAGS
=$CPPFLAGS
12243 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12245 for i
in $GSTREAMER_CFLAGS
12248 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12251 GSTREAMER_CFLAGS
=$ac_gst_incl
12252 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12253 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12254 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12255 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12256 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12258 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12260 /* end confdefs.h. */
12261 #include <gst/app/gstappsink.h>
12265 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12270 if ac_fn_c_try_compile
"$LINENO"; then :
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12272 $as_echo "yes" >&6; }
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12274 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12275 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12276 $as_echo_n "(cached) " >&6
12278 ac_check_lib_save_LIBS
=$LIBS
12279 LIBS
="-lgstreamer-0.10 $LIBS"
12280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h. */
12283 /* Override any GCC internal prototype to avoid an error.
12284 Use char because int might match the return type of a GCC
12285 builtin and then its argument prototype would still apply. */
12289 char gst_pad_get_caps_reffed ();
12293 return gst_pad_get_caps_reffed ();
12298 if ac_fn_c_try_link
"$LINENO"; then :
12299 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12301 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12303 rm -f core conftest.err conftest.
$ac_objext \
12304 conftest
$ac_exeext conftest.
$ac_ext
12305 LIBS
=$ac_check_lib_save_LIBS
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12308 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12309 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12311 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12312 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12313 $as_echo_n "(cached) " >&6
12315 ac_check_lib_save_LIBS
=$LIBS
12316 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12318 /* end confdefs.h. */
12320 /* Override any GCC internal prototype to avoid an error.
12321 Use char because int might match the return type of a GCC
12322 builtin and then its argument prototype would still apply. */
12326 char gst_app_buffer_new ();
12330 return gst_app_buffer_new ();
12335 if ac_fn_c_try_link
"$LINENO"; then :
12336 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12338 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12340 rm -f core conftest.err conftest.
$ac_objext \
12341 conftest
$ac_exeext conftest.
$ac_ext
12342 LIBS
=$ac_check_lib_save_LIBS
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12345 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12346 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12354 $as_echo "no" >&6; }
12356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12361 GSTREAMER_CFLAGS
=""
12365 CPPFLAGS
=$ac_save_CPPFLAGS
12366 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12367 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12370 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12371 case "x$with_gstreamer" in
12372 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12374 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12375 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12378 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12382 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12385 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12386 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12387 $as_echo_n "(cached) " >&6
12389 ac_check_lib_save_LIBS
=$LIBS
12390 LIBS
="-lasound $LIBS"
12391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12394 /* Override any GCC internal prototype to avoid an error.
12395 Use char because int might match the return type of a GCC
12396 builtin and then its argument prototype would still apply. */
12400 char snd_pcm_hw_params_get_access_mask ();
12404 return snd_pcm_hw_params_get_access_mask ();
12409 if ac_fn_c_try_link
"$LINENO"; then :
12410 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12412 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12414 rm -f core conftest.err conftest.
$ac_objext \
12415 conftest
$ac_exeext conftest.
$ac_ext
12416 LIBS
=$ac_check_lib_save_LIBS
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12419 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12420 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12422 /* end confdefs.h. */
12423 #ifdef HAVE_ALSA_ASOUNDLIB_H
12424 #include <alsa/asoundlib.h>
12425 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12426 #include <sys/asoundlib.h>
12431 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12436 if ac_fn_c_try_compile
"$LINENO"; then :
12437 ALSA_LIBS
="-lasound"
12439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12444 if test "x$with_oss" != xno
12446 ac_save_CPPFLAGS
="$CPPFLAGS"
12447 if test -f /etc
/oss.conf
12451 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12452 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12453 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12454 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12455 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12457 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12459 cat >>confdefs.h
<<_ACEOF
12460 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12463 OSS4_CFLAGS
="$ac_oss_incl"
12470 CPPFLAGS
="$ac_save_CPPFLAGS"
12471 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12473 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12477 if test "x$with_capi" != "xno"
12479 if ${CAPI20_CFLAGS:+false} :; then :
12480 if ${PKG_CONFIG+:} false
; then :
12481 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12485 if ${CAPI20_LIBS:+false} :; then :
12486 if ${PKG_CONFIG+:} false
; then :
12487 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12492 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12493 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12494 ac_save_CPPFLAGS
=$CPPFLAGS
12495 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12496 for ac_header
in capi20.h linux
/capi.h
12498 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12499 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12501 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12502 cat >>confdefs.h
<<_ACEOF
12503 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12510 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12513 $as_echo_n "checking for -lcapi20... " >&6; }
12514 if ${ac_cv_lib_soname_capi20+:} false
; then :
12515 $as_echo_n "(cached) " >&6
12517 ac_check_soname_save_LIBS
=$LIBS
12518 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h. */
12522 /* Override any GCC internal prototype to avoid an error.
12523 Use char because int might match the return type of a GCC
12524 builtin and then its argument prototype would still apply. */
12528 char capi20_register ();
12532 return capi20_register ();
12537 if ac_fn_c_try_link
"$LINENO"; then :
12539 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12540 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'` ;;
12541 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12542 if ${ac_cv_lib_soname_capi20:+false} :; then :
12543 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12547 rm -f core conftest.err conftest.
$ac_objext \
12548 conftest
$ac_exeext conftest.
$ac_ext
12549 LIBS
=$ac_check_soname_save_LIBS
12551 if ${ac_cv_lib_soname_capi20:+false} :; then :
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12553 $as_echo "not found" >&6; }
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12557 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12559 cat >>confdefs.h
<<_ACEOF
12560 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12566 CPPFLAGS
=$ac_save_CPPFLAGS
12567 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12568 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12571 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12572 case "x$with_capi" in
12573 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12575 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12576 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12582 if test "x$with_cups" != "xno"
12584 ac_save_CPPFLAGS
="$CPPFLAGS"
12585 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12586 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12587 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12588 for ac_header
in cups
/cups.h
12590 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12591 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12592 cat >>confdefs.h
<<_ACEOF
12593 #define HAVE_CUPS_CUPS_H 1
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12596 $as_echo_n "checking for -lcups... " >&6; }
12597 if ${ac_cv_lib_soname_cups+:} false
; then :
12598 $as_echo_n "(cached) " >&6
12600 ac_check_soname_save_LIBS
=$LIBS
12601 LIBS
="-lcups $ac_cups_libs $LIBS"
12602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12603 /* end confdefs.h. */
12605 /* Override any GCC internal prototype to avoid an error.
12606 Use char because int might match the return type of a GCC
12607 builtin and then its argument prototype would still apply. */
12611 char cupsGetDefault ();
12615 return cupsGetDefault ();
12620 if ac_fn_c_try_link
"$LINENO"; then :
12622 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12623 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'` ;;
12624 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12625 if ${ac_cv_lib_soname_cups:+false} :; then :
12626 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12630 rm -f core conftest.err conftest.
$ac_objext \
12631 conftest
$ac_exeext conftest.
$ac_ext
12632 LIBS
=$ac_check_soname_save_LIBS
12634 if ${ac_cv_lib_soname_cups:+false} :; then :
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12636 $as_echo "not found" >&6; }
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12640 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12642 cat >>confdefs.h
<<_ACEOF
12643 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12646 CUPS_CFLAGS
="$ac_cups_cflags"
12652 CPPFLAGS
="$ac_save_CPPFLAGS"
12654 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12655 case "x$with_cups" in
12656 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12658 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12659 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12663 if test "x$with_fontconfig" != "xno"
12665 if ${FONTCONFIG_CFLAGS:+false} :; then :
12666 if ${PKG_CONFIG+:} false
; then :
12667 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12670 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12671 if ${FONTCONFIG_LIBS:+false} :; then :
12672 if ${PKG_CONFIG+:} false
; then :
12673 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12676 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12678 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12679 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12680 ac_save_CPPFLAGS
=$CPPFLAGS
12681 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12682 for ac_header
in fontconfig
/fontconfig.h
12684 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12685 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12686 cat >>confdefs.h
<<_ACEOF
12687 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12694 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12697 $as_echo_n "checking for -lfontconfig... " >&6; }
12698 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12699 $as_echo_n "(cached) " >&6
12701 ac_check_soname_save_LIBS
=$LIBS
12702 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12704 /* end confdefs.h. */
12706 /* Override any GCC internal prototype to avoid an error.
12707 Use char because int might match the return type of a GCC
12708 builtin and then its argument prototype would still apply. */
12721 if ac_fn_c_try_link
"$LINENO"; then :
12723 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12724 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'` ;;
12725 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12726 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12727 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12731 rm -f core conftest.err conftest.
$ac_objext \
12732 conftest
$ac_exeext conftest.
$ac_ext
12733 LIBS
=$ac_check_soname_save_LIBS
12735 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12737 $as_echo "not found" >&6; }
12738 FONTCONFIG_CFLAGS
=""
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12741 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12743 cat >>confdefs.h
<<_ACEOF
12744 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12750 FONTCONFIG_CFLAGS
=""
12752 CPPFLAGS
=$ac_save_CPPFLAGS
12753 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12754 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12757 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12758 case "x$with_fontconfig" in
12759 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12761 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12762 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12766 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12769 $as_echo_n "checking for -lgsm... " >&6; }
12770 if ${ac_cv_lib_soname_gsm+:} false
; then :
12771 $as_echo_n "(cached) " >&6
12773 ac_check_soname_save_LIBS
=$LIBS
12775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12776 /* end confdefs.h. */
12778 /* Override any GCC internal prototype to avoid an error.
12779 Use char because int might match the return type of a GCC
12780 builtin and then its argument prototype would still apply. */
12784 char gsm_create ();
12788 return gsm_create ();
12793 if ac_fn_c_try_link
"$LINENO"; then :
12795 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12796 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'` ;;
12797 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12798 if ${ac_cv_lib_soname_gsm:+false} :; then :
12799 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12803 rm -f core conftest.err conftest.
$ac_objext \
12804 conftest
$ac_exeext conftest.
$ac_ext
12805 LIBS
=$ac_check_soname_save_LIBS
12807 if ${ac_cv_lib_soname_gsm:+false} :; then :
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12809 $as_echo "not found" >&6; }
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12813 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12815 cat >>confdefs.h
<<_ACEOF
12816 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12822 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12823 case "x$with_gsm" in
12824 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12826 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12827 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12831 if test "x$with_jpeg" != "xno"
12833 if ${JPEG_CFLAGS:+false} :; then :
12834 if ${PKG_CONFIG+:} false
; then :
12835 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12839 if ${JPEG_LIBS:+false} :; then :
12840 if ${PKG_CONFIG+:} false
; then :
12841 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12846 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12847 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12848 ac_save_CPPFLAGS
=$CPPFLAGS
12849 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12850 for ac_header
in jpeglib.h
12852 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12853 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12854 cat >>confdefs.h
<<_ACEOF
12855 #define HAVE_JPEGLIB_H 1
12862 if test "$ac_cv_header_jpeglib_h" = "yes"
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12865 $as_echo_n "checking for -ljpeg... " >&6; }
12866 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12867 $as_echo_n "(cached) " >&6
12869 ac_check_soname_save_LIBS
=$LIBS
12870 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12872 /* end confdefs.h. */
12874 /* Override any GCC internal prototype to avoid an error.
12875 Use char because int might match the return type of a GCC
12876 builtin and then its argument prototype would still apply. */
12880 char jpeg_start_decompress ();
12884 return jpeg_start_decompress ();
12889 if ac_fn_c_try_link
"$LINENO"; then :
12891 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12892 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'` ;;
12893 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12894 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12895 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12899 rm -f core conftest.err conftest.
$ac_objext \
12900 conftest
$ac_exeext conftest.
$ac_ext
12901 LIBS
=$ac_check_soname_save_LIBS
12903 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12905 $as_echo "not found" >&6; }
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12909 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12911 cat >>confdefs.h
<<_ACEOF
12912 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12920 CPPFLAGS
=$ac_save_CPPFLAGS
12921 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12922 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12925 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12926 case "x$with_jpeg" in
12927 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12929 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12930 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12934 if test "x$with_png" != "xno"
12936 if ${PNG_CFLAGS:+false} :; then :
12937 if ${PKG_CONFIG+:} false
; then :
12938 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12941 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12942 if ${PNG_LIBS:+false} :; then :
12943 if ${PKG_CONFIG+:} false
; then :
12944 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12947 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12949 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12950 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12951 ac_save_CPPFLAGS
=$CPPFLAGS
12952 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12953 for ac_header
in png.h
12955 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12956 if test "x$ac_cv_header_png_h" = xyes
; then :
12957 cat >>confdefs.h
<<_ACEOF
12958 #define HAVE_PNG_H 1
12965 if test "$ac_cv_header_png_h" = "yes"
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12968 $as_echo_n "checking for -lpng... " >&6; }
12969 if ${ac_cv_lib_soname_png+:} false
; then :
12970 $as_echo_n "(cached) " >&6
12972 ac_check_soname_save_LIBS
=$LIBS
12973 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12975 /* end confdefs.h. */
12977 /* Override any GCC internal prototype to avoid an error.
12978 Use char because int might match the return type of a GCC
12979 builtin and then its argument prototype would still apply. */
12983 char png_create_read_struct ();
12987 return png_create_read_struct ();
12992 if ac_fn_c_try_link
"$LINENO"; then :
12994 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12995 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'` ;;
12996 *) 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'`
12997 if ${ac_cv_lib_soname_png:+false} :; then :
12998 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13002 rm -f core conftest.err conftest.
$ac_objext \
13003 conftest
$ac_exeext conftest.
$ac_ext
13004 LIBS
=$ac_check_soname_save_LIBS
13006 if ${ac_cv_lib_soname_png:+false} :; then :
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13008 $as_echo "not found" >&6; }
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13012 $as_echo "$ac_cv_lib_soname_png" >&6; }
13014 cat >>confdefs.h
<<_ACEOF
13015 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13019 /* end confdefs.h. */
13024 typeof(png_set_expand_gray_1_2_4_to_8) *p
13029 if ac_fn_c_try_compile
"$LINENO"; then :
13031 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13039 CPPFLAGS
=$ac_save_CPPFLAGS
13040 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13041 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13044 if test "x$ac_cv_lib_soname_png" = "x"; then :
13045 case "x$with_png" in
13046 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13048 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13049 This is an error since --with-png was requested." "$LINENO" 5 ;;
13053 if test "x$with_tiff" != "xno"
13055 if ${TIFF_CFLAGS:+false} :; then :
13056 if ${PKG_CONFIG+:} false
; then :
13057 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13061 if ${TIFF_LIBS:+false} :; then :
13062 if ${PKG_CONFIG+:} false
; then :
13063 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13068 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13069 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13070 ac_save_CPPFLAGS
=$CPPFLAGS
13071 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13072 for ac_header
in tiffio.h
13074 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13075 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13076 cat >>confdefs.h
<<_ACEOF
13077 #define HAVE_TIFFIO_H 1
13084 if test "$ac_cv_header_tiffio_h" = "yes"
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13087 $as_echo_n "checking for -ltiff... " >&6; }
13088 if ${ac_cv_lib_soname_tiff+:} false
; then :
13089 $as_echo_n "(cached) " >&6
13091 ac_check_soname_save_LIBS
=$LIBS
13092 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13094 /* end confdefs.h. */
13096 /* Override any GCC internal prototype to avoid an error.
13097 Use char because int might match the return type of a GCC
13098 builtin and then its argument prototype would still apply. */
13102 char TIFFClientOpen ();
13106 return TIFFClientOpen ();
13111 if ac_fn_c_try_link
"$LINENO"; then :
13113 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13114 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'` ;;
13115 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13116 if ${ac_cv_lib_soname_tiff:+false} :; then :
13117 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13121 rm -f core conftest.err conftest.
$ac_objext \
13122 conftest
$ac_exeext conftest.
$ac_ext
13123 LIBS
=$ac_check_soname_save_LIBS
13125 if ${ac_cv_lib_soname_tiff:+false} :; then :
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13127 $as_echo "not found" >&6; }
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13131 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13133 cat >>confdefs.h
<<_ACEOF
13134 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13140 CPPFLAGS
=$ac_save_CPPFLAGS
13141 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13142 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13145 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13146 case "x$with_tiff" in
13147 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13149 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13150 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13154 if test "x$with_mpg123" != "xno"
13156 if ${MPG123_CFLAGS:+false} :; then :
13157 if ${PKG_CONFIG+:} false
; then :
13158 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13162 if ${MPG123_LIBS:+false} :; then :
13163 if ${PKG_CONFIG+:} false
; then :
13164 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13168 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13169 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13170 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13171 ac_save_CPPFLAGS
=$CPPFLAGS
13172 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13173 for ac_header
in mpg123.h
13175 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13176 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13177 cat >>confdefs.h
<<_ACEOF
13178 #define HAVE_MPG123_H 1
13185 if test "$ac_cv_header_mpg123_h" = "yes"
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13188 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13189 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13190 $as_echo_n "(cached) " >&6
13192 ac_check_lib_save_LIBS
=$LIBS
13193 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13195 /* end confdefs.h. */
13197 /* Override any GCC internal prototype to avoid an error.
13198 Use char because int might match the return type of a GCC
13199 builtin and then its argument prototype would still apply. */
13203 char mpg123_feed ();
13207 return mpg123_feed ();
13212 if ac_fn_c_try_link
"$LINENO"; then :
13213 ac_cv_lib_mpg123_mpg123_feed
=yes
13215 ac_cv_lib_mpg123_mpg123_feed
=no
13217 rm -f core conftest.err conftest.
$ac_objext \
13218 conftest
$ac_exeext conftest.
$ac_ext
13219 LIBS
=$ac_check_lib_save_LIBS
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13222 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13223 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13233 CPPFLAGS
=$ac_save_CPPFLAGS
13234 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13235 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13238 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13239 case "x$with_mpg123" in
13240 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13242 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13243 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13246 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}
13248 if test "$ac_cv_header_AL_al_h" = "yes"
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13251 $as_echo_n "checking for -lopenal... " >&6; }
13252 if ${ac_cv_lib_soname_openal+:} false
; then :
13253 $as_echo_n "(cached) " >&6
13255 ac_check_soname_save_LIBS
=$LIBS
13256 LIBS
="-lopenal $LIBS"
13257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13260 /* Override any GCC internal prototype to avoid an error.
13261 Use char because int might match the return type of a GCC
13262 builtin and then its argument prototype would still apply. */
13266 char alGetSource3i ();
13270 return alGetSource3i ();
13275 if ac_fn_c_try_link
"$LINENO"; then :
13277 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13278 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'` ;;
13279 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13280 if ${ac_cv_lib_soname_openal:+false} :; then :
13281 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13285 rm -f core conftest.err conftest.
$ac_objext \
13286 conftest
$ac_exeext conftest.
$ac_ext
13287 LIBS
=$ac_check_soname_save_LIBS
13289 if ${ac_cv_lib_soname_openal:+false} :; then :
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13291 $as_echo "not found" >&6; }
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13295 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13297 cat >>confdefs.h
<<_ACEOF
13298 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13301 OPENAL_LIBS
="-lopenal"
13303 ac_cv_lib_openal
=yes
13305 cat >>confdefs.h
<<_ACEOF
13306 #define HAVE_OPENAL 1
13311 if test "x$ac_cv_lib_openal" != xyes
; then :
13312 case "x$with_openal" in
13313 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13315 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13316 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13319 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13321 if test "$ac_cv_header_kstat_h" = "yes"
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13324 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13325 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13326 $as_echo_n "(cached) " >&6
13328 ac_check_lib_save_LIBS
=$LIBS
13329 LIBS
="-lkstat $LIBS"
13330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13331 /* end confdefs.h. */
13333 /* Override any GCC internal prototype to avoid an error.
13334 Use char because int might match the return type of a GCC
13335 builtin and then its argument prototype would still apply. */
13339 char kstat_open ();
13343 return kstat_open ();
13348 if ac_fn_c_try_link
"$LINENO"; then :
13349 ac_cv_lib_kstat_kstat_open
=yes
13351 ac_cv_lib_kstat_kstat_open
=no
13353 rm -f core conftest.err conftest.
$ac_objext \
13354 conftest
$ac_exeext conftest.
$ac_ext
13355 LIBS
=$ac_check_lib_save_LIBS
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13358 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13359 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13361 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13363 KSTAT_LIBS
="-lkstat"
13369 if test "$ac_cv_header_libprocstat_h" = "yes"
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13372 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13373 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13374 $as_echo_n "(cached) " >&6
13376 ac_check_lib_save_LIBS
=$LIBS
13377 LIBS
="-lprocstat $LIBS"
13378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13379 /* end confdefs.h. */
13381 /* Override any GCC internal prototype to avoid an error.
13382 Use char because int might match the return type of a GCC
13383 builtin and then its argument prototype would still apply. */
13387 char procstat_open_sysctl ();
13391 return procstat_open_sysctl ();
13396 if ac_fn_c_try_link
"$LINENO"; then :
13397 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13399 ac_cv_lib_procstat_procstat_open_sysctl
=no
13401 rm -f core conftest.err conftest.
$ac_objext \
13402 conftest
$ac_exeext conftest.
$ac_ext
13403 LIBS
=$ac_check_lib_save_LIBS
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13406 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13407 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13409 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13411 PROCSTAT_LIBS
="-lprocstat"
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13418 $as_echo_n "checking for -lodbc... " >&6; }
13419 if ${ac_cv_lib_soname_odbc+:} false
; then :
13420 $as_echo_n "(cached) " >&6
13422 ac_check_soname_save_LIBS
=$LIBS
13423 LIBS
="-lodbc $LIBS"
13424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13425 /* end confdefs.h. */
13427 /* Override any GCC internal prototype to avoid an error.
13428 Use char because int might match the return type of a GCC
13429 builtin and then its argument prototype would still apply. */
13433 char SQLConnect ();
13437 return SQLConnect ();
13442 if ac_fn_c_try_link
"$LINENO"; then :
13444 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13445 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'` ;;
13446 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13447 if ${ac_cv_lib_soname_odbc:+false} :; then :
13448 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13452 rm -f core conftest.err conftest.
$ac_objext \
13453 conftest
$ac_exeext conftest.
$ac_ext
13454 LIBS
=$ac_check_soname_save_LIBS
13456 if ${ac_cv_lib_soname_odbc:+false} :; then :
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13458 $as_echo "not found" >&6; }
13459 cat >>confdefs.h
<<_ACEOF
13460 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13465 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13467 cat >>confdefs.h
<<_ACEOF
13468 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13474 if test "x$with_netapi" != "xno"
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13477 $as_echo_n "checking for -lnetapi... " >&6; }
13478 if ${ac_cv_lib_soname_netapi+:} false
; then :
13479 $as_echo_n "(cached) " >&6
13481 ac_check_soname_save_LIBS
=$LIBS
13482 LIBS
="-lnetapi $LIBS"
13483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13484 /* end confdefs.h. */
13486 /* Override any GCC internal prototype to avoid an error.
13487 Use char because int might match the return type of a GCC
13488 builtin and then its argument prototype would still apply. */
13492 char libnetapi_init ();
13496 return libnetapi_init ();
13501 if ac_fn_c_try_link
"$LINENO"; then :
13503 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13504 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'` ;;
13505 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13506 if ${ac_cv_lib_soname_netapi:+false} :; then :
13507 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13511 rm -f core conftest.err conftest.
$ac_objext \
13512 conftest
$ac_exeext conftest.
$ac_ext
13513 LIBS
=$ac_check_soname_save_LIBS
13515 if ${ac_cv_lib_soname_netapi:+false} :; then :
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13517 $as_echo "not found" >&6; }
13518 cat >>confdefs.h
<<_ACEOF
13519 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13524 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13526 cat >>confdefs.h
<<_ACEOF
13527 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13534 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13535 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13536 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13537 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13539 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13540 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13541 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13543 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13549 if test "x${GCC}" = "xyes"
13551 EXTRACFLAGS
="-Wall -pipe"
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13554 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13555 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13556 $as_echo_n "(cached) " >&6
13558 if test "$cross_compiling" = yes; then :
13559 ac_cv_c_gcc_strength_bug
="yes"
13561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13562 /* end confdefs.h. */
13563 int L[4] = {0,1,2,3};
13567 static int Array[3];
13568 unsigned int B = 3;
13570 for(i=0; i<B; i++) Array[i] = i - 3;
13571 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13573 return (Array[1] != -2 || L[2] != 3)
13578 if ac_fn_c_try_run
"$LINENO"; then :
13579 ac_cv_c_gcc_strength_bug
="no"
13581 ac_cv_c_gcc_strength_bug
="yes"
13583 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13584 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13589 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13590 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13592 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13596 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13597 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13598 $as_echo_n "(cached) " >&6
13600 ac_wine_try_cflags_saved
=$CFLAGS
13601 CFLAGS
="$CFLAGS -fno-builtin"
13602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13603 /* end confdefs.h. */
13604 int main(int argc, char **argv) { return 0; }
13606 if ac_fn_c_try_link
"$LINENO"; then :
13607 ac_cv_cflags__fno_builtin
=yes
13609 ac_cv_cflags__fno_builtin
=no
13611 rm -f core conftest.err conftest.
$ac_objext \
13612 conftest
$ac_exeext conftest.
$ac_ext
13613 CFLAGS
=$ac_wine_try_cflags_saved
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13616 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13617 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13618 BUILTINFLAG
="-fno-builtin"
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13622 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13623 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13624 $as_echo_n "(cached) " >&6
13626 ac_wine_try_cflags_saved
=$CFLAGS
13627 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13629 /* end confdefs.h. */
13630 int main(int argc, char **argv) { return 0; }
13632 if ac_fn_c_try_link
"$LINENO"; then :
13633 ac_cv_cflags__fno_strict_aliasing
=yes
13635 ac_cv_cflags__fno_strict_aliasing
=no
13637 rm -f core conftest.err conftest.
$ac_objext \
13638 conftest
$ac_exeext conftest.
$ac_ext
13639 CFLAGS
=$ac_wine_try_cflags_saved
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13642 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13643 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13644 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13646 saved_CFLAGS
=$CFLAGS
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13648 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13649 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13650 $as_echo_n "(cached) " >&6
13652 ac_wine_try_cflags_saved
=$CFLAGS
13653 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13656 int main(int argc, char **argv) { return 0; }
13658 if ac_fn_c_try_link
"$LINENO"; then :
13659 ac_cv_cflags__Werror_unknown_warning_option
=yes
13661 ac_cv_cflags__Werror_unknown_warning_option
=no
13663 rm -f core conftest.err conftest.
$ac_objext \
13664 conftest
$ac_exeext conftest.
$ac_ext
13665 CFLAGS
=$ac_wine_try_cflags_saved
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13668 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13669 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13670 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13673 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13674 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13675 $as_echo_n "(cached) " >&6
13677 ac_wine_try_cflags_saved
=$CFLAGS
13678 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13680 /* end confdefs.h. */
13681 int main(int argc, char **argv) { return 0; }
13683 if ac_fn_c_try_link
"$LINENO"; then :
13684 ac_cv_cflags__Wdeclaration_after_statement
=yes
13686 ac_cv_cflags__Wdeclaration_after_statement
=no
13688 rm -f core conftest.err conftest.
$ac_objext \
13689 conftest
$ac_exeext conftest.
$ac_ext
13690 CFLAGS
=$ac_wine_try_cflags_saved
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13693 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13694 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13695 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13698 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13699 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13700 $as_echo_n "(cached) " >&6
13702 ac_wine_try_cflags_saved
=$CFLAGS
13703 CFLAGS
="$CFLAGS -Wempty-body"
13704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13705 /* end confdefs.h. */
13706 int main(int argc, char **argv) { return 0; }
13708 if ac_fn_c_try_link
"$LINENO"; then :
13709 ac_cv_cflags__Wempty_body
=yes
13711 ac_cv_cflags__Wempty_body
=no
13713 rm -f core conftest.err conftest.
$ac_objext \
13714 conftest
$ac_exeext conftest.
$ac_ext
13715 CFLAGS
=$ac_wine_try_cflags_saved
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13718 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13719 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13720 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13723 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13724 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13725 $as_echo_n "(cached) " >&6
13727 ac_wine_try_cflags_saved
=$CFLAGS
13728 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13731 int main(int argc, char **argv) { return 0; }
13733 if ac_fn_c_try_link
"$LINENO"; then :
13734 ac_cv_cflags__Wignored_qualifiers
=yes
13736 ac_cv_cflags__Wignored_qualifiers
=no
13738 rm -f core conftest.err conftest.
$ac_objext \
13739 conftest
$ac_exeext conftest.
$ac_ext
13740 CFLAGS
=$ac_wine_try_cflags_saved
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13743 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13744 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13745 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13748 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13749 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13750 $as_echo_n "(cached) " >&6
13752 ac_wine_try_cflags_saved
=$CFLAGS
13753 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13756 int main(int argc, char **argv) { return 0; }
13758 if ac_fn_c_try_link
"$LINENO"; then :
13759 ac_cv_cflags__Wstrict_prototypes
=yes
13761 ac_cv_cflags__Wstrict_prototypes
=no
13763 rm -f core conftest.err conftest.
$ac_objext \
13764 conftest
$ac_exeext conftest.
$ac_ext
13765 CFLAGS
=$ac_wine_try_cflags_saved
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13768 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13769 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13770 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13773 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13774 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13775 $as_echo_n "(cached) " >&6
13777 ac_wine_try_cflags_saved
=$CFLAGS
13778 CFLAGS
="$CFLAGS -Wtype-limits"
13779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13781 int main(int argc, char **argv) { return 0; }
13783 if ac_fn_c_try_link
"$LINENO"; then :
13784 ac_cv_cflags__Wtype_limits
=yes
13786 ac_cv_cflags__Wtype_limits
=no
13788 rm -f core conftest.err conftest.
$ac_objext \
13789 conftest
$ac_exeext conftest.
$ac_ext
13790 CFLAGS
=$ac_wine_try_cflags_saved
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13793 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13794 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13795 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13798 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13799 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13800 $as_echo_n "(cached) " >&6
13802 ac_wine_try_cflags_saved
=$CFLAGS
13803 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13805 /* end confdefs.h. */
13806 int main(int argc, char **argv) { return 0; }
13808 if ac_fn_c_try_link
"$LINENO"; then :
13809 ac_cv_cflags__Wunused_but_set_parameter
=yes
13811 ac_cv_cflags__Wunused_but_set_parameter
=no
13813 rm -f core conftest.err conftest.
$ac_objext \
13814 conftest
$ac_exeext conftest.
$ac_ext
13815 CFLAGS
=$ac_wine_try_cflags_saved
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13818 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13819 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13820 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13823 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13824 if ${ac_cv_cflags__Wvla+:} false
; then :
13825 $as_echo_n "(cached) " >&6
13827 ac_wine_try_cflags_saved
=$CFLAGS
13828 CFLAGS
="$CFLAGS -Wvla"
13829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13830 /* end confdefs.h. */
13831 int main(int argc, char **argv) { return 0; }
13833 if ac_fn_c_try_link
"$LINENO"; then :
13834 ac_cv_cflags__Wvla
=yes
13836 ac_cv_cflags__Wvla
=no
13838 rm -f core conftest.err conftest.
$ac_objext \
13839 conftest
$ac_exeext conftest.
$ac_ext
13840 CFLAGS
=$ac_wine_try_cflags_saved
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13843 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13844 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13845 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13848 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13849 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13850 $as_echo_n "(cached) " >&6
13852 ac_wine_try_cflags_saved
=$CFLAGS
13853 CFLAGS
="$CFLAGS -Wwrite-strings"
13854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13855 /* end confdefs.h. */
13856 int main(int argc, char **argv) { return 0; }
13858 if ac_fn_c_try_link
"$LINENO"; then :
13859 ac_cv_cflags__Wwrite_strings
=yes
13861 ac_cv_cflags__Wwrite_strings
=no
13863 rm -f core conftest.err conftest.
$ac_objext \
13864 conftest
$ac_exeext conftest.
$ac_ext
13865 CFLAGS
=$ac_wine_try_cflags_saved
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13868 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13869 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13870 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13874 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13875 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13876 $as_echo_n "(cached) " >&6
13878 ac_wine_try_cflags_saved
=$CFLAGS
13879 CFLAGS
="$CFLAGS -Wpointer-arith"
13880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13882 int main(int argc, char **argv) { return 0; }
13884 if ac_fn_c_try_link
"$LINENO"; then :
13885 ac_cv_cflags__Wpointer_arith
=yes
13887 ac_cv_cflags__Wpointer_arith
=no
13889 rm -f core conftest.err conftest.
$ac_objext \
13890 conftest
$ac_exeext conftest.
$ac_ext
13891 CFLAGS
=$ac_wine_try_cflags_saved
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13894 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13895 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13896 saved_string_h_CFLAGS
=$CFLAGS
13897 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13899 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13900 if ${ac_cv_c_string_h_warnings+:} false
; then :
13901 $as_echo_n "(cached) " >&6
13903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13905 #include <string.h>
13914 if ac_fn_c_try_compile
"$LINENO"; then :
13915 ac_cv_c_string_h_warnings
=no
13917 ac_cv_c_string_h_warnings
=yes
13919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13922 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13923 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13924 CFLAGS
=$saved_string_h_CFLAGS
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13928 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13929 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13930 $as_echo_n "(cached) " >&6
13932 ac_wine_try_cflags_saved
=$CFLAGS
13933 CFLAGS
="$CFLAGS -Wlogical-op"
13934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13935 /* end confdefs.h. */
13936 int main(int argc, char **argv) { return 0; }
13938 if ac_fn_c_try_link
"$LINENO"; then :
13939 ac_cv_cflags__Wlogical_op
=yes
13941 ac_cv_cflags__Wlogical_op
=no
13943 rm -f core conftest.err conftest.
$ac_objext \
13944 conftest
$ac_exeext conftest.
$ac_ext
13945 CFLAGS
=$ac_wine_try_cflags_saved
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13948 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13949 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13950 saved_string_h_CFLAGS
=$CFLAGS
13951 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13953 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13954 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13955 $as_echo_n "(cached) " >&6
13957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13958 /* end confdefs.h. */
13959 #include <string.h>
13960 char*f(const char *h,char n) {return strchr(h,n);}
13969 if ac_fn_c_try_compile
"$LINENO"; then :
13970 ac_cv_c_logicalop_noisy
=no
13972 ac_cv_c_logicalop_noisy
=yes
13974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13977 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13978 CFLAGS
=$saved_string_h_CFLAGS
13979 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13982 CFLAGS
=$saved_CFLAGS
13984 for ac_flag
in $CFLAGS; do
13986 -g) case $host_os in
13987 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13988 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13989 if ${ac_cv_cflags__gstabsp+:} false
; then :
13990 $as_echo_n "(cached) " >&6
13992 ac_wine_try_cflags_saved
=$CFLAGS
13993 CFLAGS
="$CFLAGS -gstabs+"
13994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13995 /* end confdefs.h. */
13996 int main(int argc, char **argv) { return 0; }
13998 if ac_fn_c_try_link
"$LINENO"; then :
13999 ac_cv_cflags__gstabsp
=yes
14001 ac_cv_cflags__gstabsp
=no
14003 rm -f core conftest.err conftest.
$ac_objext \
14004 conftest
$ac_exeext conftest.
$ac_ext
14005 CFLAGS
=$ac_wine_try_cflags_saved
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14008 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14009 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14010 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14012 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14013 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14014 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14015 $as_echo_n "(cached) " >&6
14017 ac_wine_try_cflags_saved
=$CFLAGS
14018 CFLAGS
="$CFLAGS -gdwarf-2"
14019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14020 /* end confdefs.h. */
14021 int main(int argc, char **argv) { return 0; }
14023 if ac_fn_c_try_link
"$LINENO"; then :
14024 ac_cv_cflags__gdwarf_2
=yes
14026 ac_cv_cflags__gdwarf_2
=no
14028 rm -f core conftest.err conftest.
$ac_objext \
14029 conftest
$ac_exeext conftest.
$ac_ext
14030 CFLAGS
=$ac_wine_try_cflags_saved
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14033 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14034 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14035 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14038 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14039 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14040 $as_echo_n "(cached) " >&6
14042 ac_wine_try_cflags_saved
=$CFLAGS
14043 CFLAGS
="$CFLAGS -gstrict-dwarf"
14044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14046 int main(int argc, char **argv) { return 0; }
14048 if ac_fn_c_try_link
"$LINENO"; then :
14049 ac_cv_cflags__gstrict_dwarf
=yes
14051 ac_cv_cflags__gstrict_dwarf
=no
14053 rm -f core conftest.err conftest.
$ac_objext \
14054 conftest
$ac_exeext conftest.
$ac_ext
14055 CFLAGS
=$ac_wine_try_cflags_saved
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14058 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14059 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14060 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14067 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14068 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14069 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14070 $as_echo_n "(cached) " >&6
14072 ac_wine_try_cflags_saved
=$CFLAGS
14073 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14075 /* end confdefs.h. */
14076 int main(int argc, char **argv) { return 0; }
14078 if ac_fn_c_try_link
"$LINENO"; then :
14079 ac_cv_cflags__fno_omit_frame_pointer
=yes
14081 ac_cv_cflags__fno_omit_frame_pointer
=no
14083 rm -f core conftest.err conftest.
$ac_objext \
14084 conftest
$ac_exeext conftest.
$ac_ext
14085 CFLAGS
=$ac_wine_try_cflags_saved
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14088 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14089 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14090 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14095 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14096 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14097 if ${ac_cv_cflags__Wno_format+:} false
; then :
14098 $as_echo_n "(cached) " >&6
14100 ac_wine_try_cflags_saved
=$CFLAGS
14101 CFLAGS
="$CFLAGS -Wno-format"
14102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14103 /* end confdefs.h. */
14104 int main(int argc, char **argv) { return 0; }
14106 if ac_fn_c_try_link
"$LINENO"; then :
14107 ac_cv_cflags__Wno_format
=yes
14109 ac_cv_cflags__Wno_format
=no
14111 rm -f core conftest.err conftest.
$ac_objext \
14112 conftest
$ac_exeext conftest.
$ac_ext
14113 CFLAGS
=$ac_wine_try_cflags_saved
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14116 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14117 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14118 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14122 if test "x$enable_maintainer_mode" = "xyes"
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14125 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14126 if ${ac_cv_cflags__Werror+:} false
; then :
14127 $as_echo_n "(cached) " >&6
14129 ac_wine_try_cflags_saved
=$CFLAGS
14130 CFLAGS
="$CFLAGS -Werror"
14131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14133 int main(int argc, char **argv) { return 0; }
14135 if ac_fn_c_try_link
"$LINENO"; then :
14136 ac_cv_cflags__Werror
=yes
14138 ac_cv_cflags__Werror
=no
14140 rm -f core conftest.err conftest.
$ac_objext \
14141 conftest
$ac_exeext conftest.
$ac_ext
14142 CFLAGS
=$ac_wine_try_cflags_saved
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14145 $as_echo "$ac_cv_cflags__Werror" >&6; }
14146 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14147 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14151 saved_CFLAGS
="$CFLAGS"
14152 CFLAGS
="$CFLAGS -Werror"
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14154 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14155 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14156 $as_echo_n "(cached) " >&6
14158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14160 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14169 if ac_fn_c_try_compile
"$LINENO"; then :
14170 ac_cv_have_ms_hook_prologue
="yes"
14172 ac_cv_have_ms_hook_prologue
="no"
14174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14177 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14178 CFLAGS
="$saved_CFLAGS"
14179 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14182 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14185 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14192 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14193 if ${ac_cv_c_fortify_enabled+:} false
; then :
14194 $as_echo_n "(cached) " >&6
14196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14198 #include <string.h>
14202 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14203 #error Fortify enabled
14209 if ac_fn_c_try_compile
"$LINENO"; then :
14210 ac_cv_c_fortify_enabled
=no
14212 ac_cv_c_fortify_enabled
=yes
14214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14217 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14218 if test "$ac_cv_c_fortify_enabled" = yes
14220 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14225 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14226 if ${ac_cv_c_extern_prefix+:} false
; then :
14227 $as_echo_n "(cached) " >&6
14229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14231 extern int ac_test;
14235 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14240 if ac_fn_c_try_link
"$LINENO"; then :
14241 ac_cv_c_extern_prefix
="yes"
14243 ac_cv_c_extern_prefix
="no"
14245 rm -f core conftest.err conftest.
$ac_objext \
14246 conftest
$ac_exeext conftest.
$ac_ext
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14249 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14254 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14255 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14256 $as_echo_n "(cached) " >&6
14258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14261 #define __stdcall __attribute__((__stdcall__))
14263 int __stdcall ac_test(int i) { return i; }
14267 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14272 if ac_fn_c_try_link
"$LINENO"; then :
14273 ac_cv_c_stdcall_suffix
="yes"
14275 ac_cv_c_stdcall_suffix
="no"
14277 rm -f core conftest.err conftest.
$ac_objext \
14278 conftest
$ac_exeext conftest.
$ac_ext
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14281 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14282 *) ac_cv_c_stdcall_suffix
="no" ;;
14286 if test "$ac_cv_c_extern_prefix" = "yes"
14288 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14290 asm_name_prefix
="_"
14292 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14298 if test "$ac_cv_c_stdcall_suffix" = "yes"
14300 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14303 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14309 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14310 if ${ac_cv_asm_func_def+:} false
; then :
14311 $as_echo_n "(cached) " >&6
14313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h. */
14319 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14324 if ac_fn_c_try_link
"$LINENO"; then :
14325 ac_cv_asm_func_def
=".def"
14327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14328 /* end confdefs.h. */
14333 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14338 if ac_fn_c_try_link
"$LINENO"; then :
14339 ac_cv_asm_func_def
=".type @function"
14341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14347 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14352 if ac_fn_c_try_link
"$LINENO"; then :
14353 ac_cv_asm_func_def
=".type 2"
14355 ac_cv_asm_func_def
="unknown"
14357 rm -f core conftest.err conftest.
$ac_objext \
14358 conftest
$ac_exeext conftest.
$ac_ext
14360 rm -f core conftest.err conftest.
$ac_objext \
14361 conftest
$ac_exeext conftest.
$ac_ext
14363 rm -f core conftest.err conftest.
$ac_objext \
14364 conftest
$ac_exeext conftest.
$ac_ext
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14367 $as_echo "$ac_cv_asm_func_def" >&6; }
14370 case "$ac_cv_asm_func_def" in
14372 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14374 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14376 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14378 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14380 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14382 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14384 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14386 asm_func_header
="" ;;
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14390 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14391 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14392 $as_echo_n "(cached) " >&6
14394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14395 /* end confdefs.h. */
14396 asm(".text\n\t.long 0");
14405 if ac_fn_c_try_compile
"$LINENO"; then :
14406 ac_cv_c_asm_outside_funcs
="yes"
14408 ac_cv_c_asm_outside_funcs
="no"
14410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14413 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14416 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14417 if ${ac_cv_c_dot_previous+:} false
; then :
14418 $as_echo_n "(cached) " >&6
14420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h. */
14426 asm(".text\nac_test:\t.long 0\n\t.previous");
14431 if ac_fn_c_try_link
"$LINENO"; then :
14432 ac_cv_c_dot_previous
="yes"
14434 ac_cv_c_dot_previous
="no"
14436 rm -f core conftest.err conftest.
$ac_objext \
14437 conftest
$ac_exeext conftest.
$ac_ext
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14440 $as_echo "$ac_cv_c_dot_previous" >&6; }
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14443 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14444 if ${ac_cv_c_cfi_support+:} false
; then :
14445 $as_echo_n "(cached) " >&6
14447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */
14449 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14458 if ac_fn_c_try_compile
"$LINENO"; then :
14459 ac_cv_c_cfi_support
="yes"
14461 ac_cv_c_cfi_support
="no"
14463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14466 $as_echo "$ac_cv_c_cfi_support" >&6; }
14468 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14469 asm_func_trailer
=""
14470 if test "$ac_cv_c_dot_previous" = "yes"
14472 asm_func_trailer
="\\n\\t.previous"
14474 if test "$ac_cv_c_cfi_support" = "yes"
14476 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14477 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14479 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14481 UNWINDFLAGS
=-fasynchronous-unwind-tables
14484 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14488 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14491 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14493 cat >>confdefs.h
<<_ACEOF
14494 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14498 cat >>confdefs.h
<<_ACEOF
14499 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14504 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14507 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14512 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14519 *i
[3456789]86*|x86_64
*)
14520 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14521 loader_programs
="$loader_programs $wine_binary-preloader"
14522 as_fn_append LOADER_RULES
"
14523 $wine_binary-preloader: preloader.o
14524 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14526 install install-lib:: $wine_binary-preloader
14527 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14530 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14532 preloader_EXTRADEFS = $BUILTINFLAG
14537 as_fn_append LOADER_RULES
"
14538 PROGRAMS = $loader_programs
14542 ac_save_CFLAGS
="$CFLAGS"
14543 CFLAGS
="$CFLAGS $BUILTINFLAG"
14620 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14621 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14622 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14623 cat >>confdefs.h
<<_ACEOF
14624 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14630 CFLAGS
="$ac_save_CFLAGS"
14632 if test "$ac_cv_func_dlopen" = no
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14635 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14636 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14637 $as_echo_n "(cached) " >&6
14639 ac_check_lib_save_LIBS
=$LIBS
14641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14642 /* end confdefs.h. */
14644 /* Override any GCC internal prototype to avoid an error.
14645 Use char because int might match the return type of a GCC
14646 builtin and then its argument prototype would still apply. */
14659 if ac_fn_c_try_link
"$LINENO"; then :
14660 ac_cv_lib_dl_dlopen
=yes
14662 ac_cv_lib_dl_dlopen
=no
14664 rm -f core conftest.err conftest.
$ac_objext \
14665 conftest
$ac_exeext conftest.
$ac_ext
14666 LIBS
=$ac_check_lib_save_LIBS
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14669 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14670 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14671 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14677 ac_wine_check_funcs_save_LIBS
="$LIBS"
14678 LIBS
="$LIBS $DL_LIBS"
14679 for ac_func
in dladdr
14681 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14682 if test "x$ac_cv_func_dladdr" = xyes
; then :
14683 cat >>confdefs.h
<<_ACEOF
14684 #define HAVE_DLADDR 1
14690 LIBS
="$ac_wine_check_funcs_save_LIBS"
14692 if test "$ac_cv_func_poll" = no
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14695 $as_echo_n "checking for poll in -lpoll... " >&6; }
14696 if ${ac_cv_lib_poll_poll+:} false
; then :
14697 $as_echo_n "(cached) " >&6
14699 ac_check_lib_save_LIBS
=$LIBS
14700 LIBS
="-lpoll $LIBS"
14701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14704 /* Override any GCC internal prototype to avoid an error.
14705 Use char because int might match the return type of a GCC
14706 builtin and then its argument prototype would still apply. */
14719 if ac_fn_c_try_link
"$LINENO"; then :
14720 ac_cv_lib_poll_poll
=yes
14722 ac_cv_lib_poll_poll
=no
14724 rm -f core conftest.err conftest.
$ac_objext \
14725 conftest
$ac_exeext conftest.
$ac_ext
14726 LIBS
=$ac_check_lib_save_LIBS
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14729 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14730 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14731 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14739 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14740 if ${ac_cv_search_gethostbyname+:} false
; then :
14741 $as_echo_n "(cached) " >&6
14743 ac_func_search_save_LIBS
=$LIBS
14744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14745 /* end confdefs.h. */
14747 /* Override any GCC internal prototype to avoid an error.
14748 Use char because int might match the return type of a GCC
14749 builtin and then its argument prototype would still apply. */
14753 char gethostbyname ();
14757 return gethostbyname ();
14762 for ac_lib
in '' nsl
; do
14763 if test -z "$ac_lib"; then
14764 ac_res
="none required"
14767 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14769 if ac_fn_c_try_link
"$LINENO"; then :
14770 ac_cv_search_gethostbyname
=$ac_res
14772 rm -f core conftest.err conftest.
$ac_objext \
14774 if ${ac_cv_search_gethostbyname+:} false
; then :
14778 if ${ac_cv_search_gethostbyname+:} false
; then :
14781 ac_cv_search_gethostbyname
=no
14783 rm conftest.
$ac_ext
14784 LIBS
=$ac_func_search_save_LIBS
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14787 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14788 ac_res
=$ac_cv_search_gethostbyname
14789 if test "$ac_res" != no
; then :
14790 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14796 $as_echo_n "checking for library containing connect... " >&6; }
14797 if ${ac_cv_search_connect+:} false
; then :
14798 $as_echo_n "(cached) " >&6
14800 ac_func_search_save_LIBS
=$LIBS
14801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14802 /* end confdefs.h. */
14804 /* Override any GCC internal prototype to avoid an error.
14805 Use char because int might match the return type of a GCC
14806 builtin and then its argument prototype would still apply. */
14819 for ac_lib
in '' socket
; do
14820 if test -z "$ac_lib"; then
14821 ac_res
="none required"
14824 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14826 if ac_fn_c_try_link
"$LINENO"; then :
14827 ac_cv_search_connect
=$ac_res
14829 rm -f core conftest.err conftest.
$ac_objext \
14831 if ${ac_cv_search_connect+:} false
; then :
14835 if ${ac_cv_search_connect+:} false
; then :
14838 ac_cv_search_connect
=no
14840 rm conftest.
$ac_ext
14841 LIBS
=$ac_func_search_save_LIBS
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14844 $as_echo "$ac_cv_search_connect" >&6; }
14845 ac_res
=$ac_cv_search_connect
14846 if test "$ac_res" != no
; then :
14847 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14853 $as_echo_n "checking for library containing inet_aton... " >&6; }
14854 if ${ac_cv_search_inet_aton+:} false
; then :
14855 $as_echo_n "(cached) " >&6
14857 ac_func_search_save_LIBS
=$LIBS
14858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h. */
14861 /* Override any GCC internal prototype to avoid an error.
14862 Use char because int might match the return type of a GCC
14863 builtin and then its argument prototype would still apply. */
14871 return inet_aton ();
14876 for ac_lib
in '' resolv
; do
14877 if test -z "$ac_lib"; then
14878 ac_res
="none required"
14881 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14883 if ac_fn_c_try_link
"$LINENO"; then :
14884 ac_cv_search_inet_aton
=$ac_res
14886 rm -f core conftest.err conftest.
$ac_objext \
14888 if ${ac_cv_search_inet_aton+:} false
; then :
14892 if ${ac_cv_search_inet_aton+:} false
; then :
14895 ac_cv_search_inet_aton
=no
14897 rm conftest.
$ac_ext
14898 LIBS
=$ac_func_search_save_LIBS
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14901 $as_echo "$ac_cv_search_inet_aton" >&6; }
14902 ac_res
=$ac_cv_search_inet_aton
14903 if test "$ac_res" != no
; then :
14904 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14924 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14925 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14926 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14927 cat >>confdefs.h
<<_ACEOF
14928 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14937 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14938 if ${ac_cv_search_clock_gettime+:} false
; then :
14939 $as_echo_n "(cached) " >&6
14941 ac_func_search_save_LIBS
=$LIBS
14942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14943 /* end confdefs.h. */
14945 /* Override any GCC internal prototype to avoid an error.
14946 Use char because int might match the return type of a GCC
14947 builtin and then its argument prototype would still apply. */
14951 char clock_gettime ();
14955 return clock_gettime ();
14960 for ac_lib
in '' rt
; do
14961 if test -z "$ac_lib"; then
14962 ac_res
="none required"
14965 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14967 if ac_fn_c_try_link
"$LINENO"; then :
14968 ac_cv_search_clock_gettime
=$ac_res
14970 rm -f core conftest.err conftest.
$ac_objext \
14972 if ${ac_cv_search_clock_gettime+:} false
; then :
14976 if ${ac_cv_search_clock_gettime+:} false
; then :
14979 ac_cv_search_clock_gettime
=no
14981 rm conftest.
$ac_ext
14982 LIBS
=$ac_func_search_save_LIBS
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14985 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14986 ac_res
=$ac_cv_search_clock_gettime
14987 if test "$ac_res" != no
; then :
14988 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14990 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14992 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15000 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15002 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15004 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15006 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15007 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15008 $as_echo_n "(cached) " >&6
15010 ac_check_lib_save_LIBS
=$LIBS
15011 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15015 /* Override any GCC internal prototype to avoid an error.
15016 Use char because int might match the return type of a GCC
15017 builtin and then its argument prototype would still apply. */
15021 char ldap_initialize ();
15025 return ldap_initialize ();
15030 if ac_fn_c_try_link
"$LINENO"; then :
15031 ac_cv_lib_ldap_r_ldap_initialize
=yes
15033 ac_cv_lib_ldap_r_ldap_initialize
=no
15035 rm -f core conftest.err conftest.
$ac_objext \
15036 conftest
$ac_exeext conftest.
$ac_ext
15037 LIBS
=$ac_check_lib_save_LIBS
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15040 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15041 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15043 $as_echo_n "checking for ber_init in -llber... " >&6; }
15044 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15045 $as_echo_n "(cached) " >&6
15047 ac_check_lib_save_LIBS
=$LIBS
15048 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15050 /* end confdefs.h. */
15052 /* Override any GCC internal prototype to avoid an error.
15053 Use char because int might match the return type of a GCC
15054 builtin and then its argument prototype would still apply. */
15062 return ber_init ();
15067 if ac_fn_c_try_link
"$LINENO"; then :
15068 ac_cv_lib_lber_ber_init
=yes
15070 ac_cv_lib_lber_ber_init
=no
15072 rm -f core conftest.err conftest.
$ac_objext \
15073 conftest
$ac_exeext conftest.
$ac_ext
15074 LIBS
=$ac_check_lib_save_LIBS
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15077 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15078 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15080 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15082 LDAP_LIBS
="-lldap_r -llber"
15089 ac_wine_check_funcs_save_LIBS
="$LIBS"
15090 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15092 ldap_count_references \
15093 ldap_first_reference \
15094 ldap_next_reference \
15095 ldap_parse_reference \
15096 ldap_parse_sort_control \
15097 ldap_parse_sortresponse_control \
15098 ldap_parse_vlv_control \
15099 ldap_parse_vlvresponse_control
15101 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15102 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15103 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15104 cat >>confdefs.h
<<_ACEOF
15105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15111 LIBS
="$ac_wine_check_funcs_save_LIBS"
15113 if test "x$LDAP_LIBS" = "x"; then :
15114 case "x$with_ldap" in
15115 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15117 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15118 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15123 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15124 if ${wine_cv_one_arg_mkdir+:} false
; then :
15125 $as_echo_n "(cached) " >&6
15127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15129 #include <sys/stat.h>
15138 if ac_fn_c_try_compile
"$LINENO"; then :
15139 wine_cv_one_arg_mkdir
=yes
15141 wine_cv_one_arg_mkdir
=no
15143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15146 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15147 if test "$wine_cv_one_arg_mkdir" = "yes"
15150 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15155 $as_echo_n "checking for sched_setaffinity... " >&6; }
15156 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15157 $as_echo_n "(cached) " >&6
15159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15161 #define _GNU_SOURCE
15166 sched_setaffinity(0, 0, 0);
15171 if ac_fn_c_try_link
"$LINENO"; then :
15172 wine_cv_have_sched_setaffinity
=yes
15174 wine_cv_have_sched_setaffinity
=no
15176 rm -f core conftest.err conftest.
$ac_objext \
15177 conftest
$ac_exeext conftest.
$ac_ext
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15180 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15181 if test "$wine_cv_have_sched_setaffinity" = "yes"
15184 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15189 $as_echo_n "checking for fallocate... " >&6; }
15190 if ${wine_cv_have_fallocate+:} false
; then :
15191 $as_echo_n "(cached) " >&6
15193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15194 /* end confdefs.h. */
15195 #define _GNU_SOURCE
15200 fallocate(-1, 0, 0, 0);
15205 if ac_fn_c_try_link
"$LINENO"; then :
15206 wine_cv_have_fallocate
=yes
15208 wine_cv_have_fallocate
=no
15210 rm -f core conftest.err conftest.
$ac_objext \
15211 conftest
$ac_exeext conftest.
$ac_ext
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15214 $as_echo "$wine_cv_have_fallocate" >&6; }
15215 if test "$wine_cv_have_fallocate" = "yes"
15218 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15224 $as_echo_n "checking for inline... " >&6; }
15225 if ${ac_cv_c_inline+:} false
; then :
15226 $as_echo_n "(cached) " >&6
15229 for ac_kw
in inline __inline__ __inline
; do
15230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15232 #ifndef __cplusplus
15234 static $ac_kw foo_t static_foo () {return 0; }
15235 $ac_kw foo_t foo () {return 0; }
15239 if ac_fn_c_try_compile
"$LINENO"; then :
15240 ac_cv_c_inline
=$ac_kw
15242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15243 test "$ac_cv_c_inline" != no
&& break
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15248 $as_echo "$ac_cv_c_inline" >&6; }
15250 case $ac_cv_c_inline in
15253 case $ac_cv_c_inline in
15255 *) ac_val
=$ac_cv_c_inline;;
15257 cat >>confdefs.h
<<_ACEOF
15258 #ifndef __cplusplus
15259 #define inline $ac_val
15265 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15266 if test "x$ac_cv_type_mode_t" = xyes
; then :
15268 cat >>confdefs.h
<<_ACEOF
15269 #define HAVE_MODE_T 1
15274 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15275 if test "x$ac_cv_type_off_t" = xyes
; then :
15277 cat >>confdefs.h
<<_ACEOF
15278 #define HAVE_OFF_T 1
15283 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15284 if test "x$ac_cv_type_pid_t" = xyes
; then :
15286 cat >>confdefs.h
<<_ACEOF
15287 #define HAVE_PID_T 1
15292 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15293 if test "x$ac_cv_type_size_t" = xyes
; then :
15295 cat >>confdefs.h
<<_ACEOF
15296 #define HAVE_SIZE_T 1
15301 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15302 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15304 cat >>confdefs.h
<<_ACEOF
15305 #define HAVE_SSIZE_T 1
15310 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15311 if test "x$ac_cv_type_long_long" = xyes
; then :
15313 cat >>confdefs.h
<<_ACEOF
15314 #define HAVE_LONG_LONG 1
15319 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15320 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15322 cat >>confdefs.h
<<_ACEOF
15323 #define HAVE_FSBLKCNT_T 1
15328 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15329 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15331 cat >>confdefs.h
<<_ACEOF
15332 #define HAVE_FSFILCNT_T 1
15338 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15339 #include <signal.h>
15341 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15343 cat >>confdefs.h
<<_ACEOF
15344 #define HAVE_SIGSET_T 1
15350 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15352 if test "x$ac_cv_type_request_sense" = xyes
; then :
15354 cat >>confdefs.h
<<_ACEOF
15355 #define HAVE_REQUEST_SENSE 1
15362 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15363 #ifdef HAVE_SYS_SOCKET_H
15364 #include <sys/socket.h>
15366 #ifdef HAVE_SYS_SOCKETVAR_H
15367 #include <sys/socketvar.h>
15369 #ifdef HAVE_NET_ROUTE_H
15370 #include <net/route.h>
15372 #ifdef HAVE_NETINET_IN_H
15373 #include <netinet/in.h>
15375 #ifdef HAVE_NETINET_IN_SYSTM_H
15376 #include <netinet/in_systm.h>
15378 #ifdef HAVE_NETINET_IP_H
15379 #include <netinet/ip.h>
15381 #ifdef HAVE_NETINET_IN_PCB_H
15382 #include <netinet/in_pcb.h>
15385 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15387 cat >>confdefs.h
<<_ACEOF
15388 #define HAVE_STRUCT_XINPGEN 1
15395 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15398 #ifdef HAVE_SYS_LINK_H
15399 #include <sys/link.h>
15402 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15404 cat >>confdefs.h
<<_ACEOF
15405 #define HAVE_STRUCT_R_DEBUG 1
15410 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15413 #ifdef HAVE_SYS_LINK_H
15414 #include <sys/link.h>
15417 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15419 cat >>confdefs.h
<<_ACEOF
15420 #define HAVE_STRUCT_LINK_MAP 1
15427 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15428 #include <linux/input.h>
15431 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15433 cat >>confdefs.h
<<_ACEOF
15434 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15442 $as_echo_n "checking for sigaddset... " >&6; }
15443 if ${wine_cv_have_sigaddset+:} false
; then :
15444 $as_echo_n "(cached) " >&6
15446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15447 /* end confdefs.h. */
15448 #include <signal.h>
15452 sigset_t set; sigaddset(&set,SIGTERM);
15457 if ac_fn_c_try_link
"$LINENO"; then :
15458 wine_cv_have_sigaddset
=yes
15460 wine_cv_have_sigaddset
=no
15462 rm -f core conftest.err conftest.
$ac_objext \
15463 conftest
$ac_exeext conftest.
$ac_ext
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15466 $as_echo "$wine_cv_have_sigaddset" >&6; }
15467 if test "$wine_cv_have_sigaddset" = "yes"
15470 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15476 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15477 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15478 $as_echo_n "(cached) " >&6
15480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15481 /* end confdefs.h. */
15489 struct hostent *result;
15496 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15497 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15503 if ac_fn_c_try_link
"$LINENO"; then :
15504 wine_cv_linux_gethostbyname_r_6
=yes
15506 wine_cv_linux_gethostbyname_r_6
=no
15509 rm -f core conftest.err conftest.
$ac_objext \
15510 conftest
$ac_exeext conftest.
$ac_ext
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15514 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15515 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15518 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15522 if test "$ac_cv_header_linux_joystick_h" = "yes"
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15525 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15526 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15527 $as_echo_n "(cached) " >&6
15529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15530 /* end confdefs.h. */
15532 #include <sys/ioctl.h>
15533 #include <sys/types.h>
15534 #include <linux/joystick.h>
15536 struct js_event blub;
15537 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15538 #error "no 2.2 header"
15549 if ac_fn_c_try_compile
"$LINENO"; then :
15550 wine_cv_linux_joystick_22_api
=yes
15552 wine_cv_linux_joystick_22_api
=no
15554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15558 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15559 if test "$wine_cv_linux_joystick_22_api" = "yes"
15562 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15568 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15569 #ifdef HAVE_SYS_PARAM_H
15570 # include <sys/param.h>
15572 #ifdef HAVE_SYS_MOUNT_H
15573 # include <sys/mount.h>
15575 #ifdef HAVE_SYS_VFS_H
15576 # include <sys/vfs.h>
15578 #ifdef HAVE_SYS_STATFS_H
15579 # include <sys/statfs.h>
15582 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15584 cat >>confdefs.h
<<_ACEOF
15585 #define HAVE_STRUCT_STATFS_F_BFREE 1
15590 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15591 #ifdef HAVE_SYS_PARAM_H
15592 # include <sys/param.h>
15594 #ifdef HAVE_SYS_MOUNT_H
15595 # include <sys/mount.h>
15597 #ifdef HAVE_SYS_VFS_H
15598 # include <sys/vfs.h>
15600 #ifdef HAVE_SYS_STATFS_H
15601 # include <sys/statfs.h>
15604 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15606 cat >>confdefs.h
<<_ACEOF
15607 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15612 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15613 #ifdef HAVE_SYS_PARAM_H
15614 # include <sys/param.h>
15616 #ifdef HAVE_SYS_MOUNT_H
15617 # include <sys/mount.h>
15619 #ifdef HAVE_SYS_VFS_H
15620 # include <sys/vfs.h>
15622 #ifdef HAVE_SYS_STATFS_H
15623 # include <sys/statfs.h>
15626 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15628 cat >>confdefs.h
<<_ACEOF
15629 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15634 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15635 #ifdef HAVE_SYS_PARAM_H
15636 # include <sys/param.h>
15638 #ifdef HAVE_SYS_MOUNT_H
15639 # include <sys/mount.h>
15641 #ifdef HAVE_SYS_VFS_H
15642 # include <sys/vfs.h>
15644 #ifdef HAVE_SYS_STATFS_H
15645 # include <sys/statfs.h>
15648 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15650 cat >>confdefs.h
<<_ACEOF
15651 #define HAVE_STRUCT_STATFS_F_FFREE 1
15656 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15657 #ifdef HAVE_SYS_PARAM_H
15658 # include <sys/param.h>
15660 #ifdef HAVE_SYS_MOUNT_H
15661 # include <sys/mount.h>
15663 #ifdef HAVE_SYS_VFS_H
15664 # include <sys/vfs.h>
15666 #ifdef HAVE_SYS_STATFS_H
15667 # include <sys/statfs.h>
15670 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15672 cat >>confdefs.h
<<_ACEOF
15673 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15678 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15679 #ifdef HAVE_SYS_PARAM_H
15680 # include <sys/param.h>
15682 #ifdef HAVE_SYS_MOUNT_H
15683 # include <sys/mount.h>
15685 #ifdef HAVE_SYS_VFS_H
15686 # include <sys/vfs.h>
15688 #ifdef HAVE_SYS_STATFS_H
15689 # include <sys/statfs.h>
15692 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15694 cat >>confdefs.h
<<_ACEOF
15695 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15702 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15703 #include <sys/statvfs.h>
15706 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15708 cat >>confdefs.h
<<_ACEOF
15709 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15716 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15717 #include <dirent.h>
15720 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15722 cat >>confdefs.h
<<_ACEOF
15723 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15730 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15731 #ifdef HAVE_SYS_SOCKET_H
15732 # include <sys/socket.h>
15734 #ifdef HAVE_SYS_UN_H
15735 # include <sys/un.h>
15738 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15740 cat >>confdefs.h
<<_ACEOF
15741 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15746 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15747 #ifdef HAVE_SYS_SOCKET_H
15748 # include <sys/socket.h>
15750 #ifdef HAVE_SYS_UN_H
15751 # include <sys/un.h>
15754 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15756 cat >>confdefs.h
<<_ACEOF
15757 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15762 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15763 #ifdef HAVE_SYS_SOCKET_H
15764 # include <sys/socket.h>
15766 #ifdef HAVE_SYS_UN_H
15767 # include <sys/un.h>
15770 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15772 cat >>confdefs.h
<<_ACEOF
15773 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15780 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15781 #ifdef HAVE_SCSI_SG_H
15782 #include <scsi/sg.h>
15785 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15787 cat >>confdefs.h
<<_ACEOF
15788 #define HAVE_SCSIREQ_T_CMD 1
15793 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>
15794 #ifdef HAVE_SCSI_SG_H
15795 #include <scsi/sg.h>
15798 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15800 cat >>confdefs.h
<<_ACEOF
15801 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15808 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15810 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15812 cat >>confdefs.h
<<_ACEOF
15813 #define HAVE_SIGINFO_T_SI_FD 1
15820 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15821 #ifdef HAVE_SYS_MTIO_H
15822 #include <sys/mtio.h>
15825 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15827 cat >>confdefs.h
<<_ACEOF
15828 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15833 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15834 #ifdef HAVE_SYS_MTIO_H
15835 #include <sys/mtio.h>
15838 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15840 cat >>confdefs.h
<<_ACEOF
15841 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15846 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15847 #ifdef HAVE_SYS_MTIO_H
15848 #include <sys/mtio.h>
15851 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15853 cat >>confdefs.h
<<_ACEOF
15854 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15861 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15862 #include <getopt.h>
15865 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15867 cat >>confdefs.h
<<_ACEOF
15868 #define HAVE_STRUCT_OPTION_NAME 1
15875 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15876 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15878 cat >>confdefs.h
<<_ACEOF
15879 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15884 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15885 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15887 cat >>confdefs.h
<<_ACEOF
15888 #define HAVE_STRUCT_STAT_ST_MTIM 1
15893 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15894 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15896 cat >>confdefs.h
<<_ACEOF
15897 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15902 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15903 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15905 cat >>confdefs.h
<<_ACEOF
15906 #define HAVE_STRUCT_STAT_ST_CTIM 1
15911 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15912 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15914 cat >>confdefs.h
<<_ACEOF
15915 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15920 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15921 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15923 cat >>confdefs.h
<<_ACEOF
15924 #define HAVE_STRUCT_STAT_ST_ATIM 1
15929 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15930 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15932 cat >>confdefs.h
<<_ACEOF
15933 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15938 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15939 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15941 cat >>confdefs.h
<<_ACEOF
15942 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15947 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15948 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15950 cat >>confdefs.h
<<_ACEOF
15951 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15956 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15957 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15959 cat >>confdefs.h
<<_ACEOF
15960 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15965 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15966 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15968 cat >>confdefs.h
<<_ACEOF
15969 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15974 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15975 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15977 cat >>confdefs.h
<<_ACEOF
15978 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15985 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
15986 #include <sys/types.h>
15988 #ifdef HAVE_NETINET_IN_H
15989 #include <netinet/in.h>
15992 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15994 cat >>confdefs.h
<<_ACEOF
15995 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16002 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16003 #include <resolv.h>
16006 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16008 cat >>confdefs.h
<<_ACEOF
16009 #define HAVE_STRUCT___RES_STATE 1
16016 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
16017 #include <resolv.h>
16020 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16022 cat >>confdefs.h
<<_ACEOF
16023 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16030 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16031 #include <sys/types.h>
16033 #ifdef HAVE_NETINET_IN_H
16034 # include <netinet/in.h>
16036 #ifdef HAVE_ARPA_NAMESER_H
16037 # include <arpa/nameser.h>
16040 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16042 cat >>confdefs.h
<<_ACEOF
16043 #define HAVE_NS_MSG__MSG_PTR 1
16050 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16051 #include <sys/types.h>
16053 #ifdef HAVE_NETINET_IP_H
16054 #include <netinet/ip.h>
16056 #ifdef HAVE_NETINET_IP_ICMP_H
16057 #include <netinet/ip_icmp.h>
16059 #ifdef HAVE_NETINET_ICMP_VAR_H
16060 #include <netinet/icmp_var.h>
16063 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16065 cat >>confdefs.h
<<_ACEOF
16066 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16073 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16074 #include <sys/types.h>
16076 #ifdef HAVE_ALIAS_H
16079 #ifdef HAVE_SYS_SOCKET_H
16080 #include <sys/socket.h>
16082 #ifdef HAVE_SYS_SOCKETVAR_H
16083 #include <sys/socketvar.h>
16085 #ifdef HAVE_SYS_TIMEOUT_H
16086 #include <sys/timeout.h>
16088 #ifdef HAVE_NETINET_IN_H
16089 #include <netinet/in.h>
16091 #ifdef HAVE_NETINET_IN_SYSTM_H
16092 #include <netinet/in_systm.h>
16094 #ifdef HAVE_NETINET_IP_H
16095 #include <netinet/ip.h>
16097 #ifdef HAVE_NETINET_IP_VAR_H
16098 #include <netinet/ip_var.h>
16100 #ifdef HAVE_NETINET_IP_ICMP_H
16101 #include <netinet/ip_icmp.h>
16103 #ifdef HAVE_NETINET_ICMP_VAR_H
16104 #include <netinet/icmp_var.h>
16107 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16109 cat >>confdefs.h
<<_ACEOF
16110 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16117 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16118 #include <sys/types.h>
16120 #ifdef HAVE_SYS_SOCKETVAR_H
16121 #include <sys/socketvar.h>
16123 #ifdef HAVE_NETINET_IN_H
16124 #include <netinet/in.h>
16126 #ifdef HAVE_NETINET_IP_VAR_H
16127 #include <netinet/ip_var.h>
16130 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16132 cat >>confdefs.h
<<_ACEOF
16133 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16140 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
16141 #include <netinet/ip_var.h>
16144 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16146 cat >>confdefs.h
<<_ACEOF
16147 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16154 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16155 #include <sys/types.h>
16157 #ifdef HAVE_SYS_SOCKETVAR_H
16158 #include <sys/socketvar.h>
16160 #ifdef HAVE_NETINET_IN_H
16161 #include <netinet/in.h>
16163 #ifdef HAVE_NETINET_TCP_H
16164 #include <netinet/tcp.h>
16166 #ifdef HAVE_NETINET_TCP_VAR_H
16167 #include <netinet/tcp_var.h>
16170 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16172 cat >>confdefs.h
<<_ACEOF
16173 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16180 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
16181 #include <netinet/tcp_var.h>
16184 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16186 cat >>confdefs.h
<<_ACEOF
16187 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16194 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16195 #include <sys/types.h>
16197 #ifdef HAVE_NETINET_IN_H
16198 #include <netinet/in.h>
16200 #ifdef HAVE_NETINET_IP_VAR_H
16201 #include <netinet/ip_var.h>
16203 #ifdef HAVE_NETINET_UDP_H
16204 #include <netinet/udp.h>
16206 #ifdef HAVE_NETINET_UDP_VAR_H
16207 #include <netinet/udp_var.h>
16210 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16212 cat >>confdefs.h
<<_ACEOF
16213 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16220 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16221 #include <sys/types.h>
16223 #ifdef HAVE_NET_IF_H
16224 # include <net/if.h>
16227 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16229 cat >>confdefs.h
<<_ACEOF
16230 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16238 $as_echo_n "checking for timezone variable... " >&6; }
16239 if ${ac_cv_have_timezone+:} false
; then :
16240 $as_echo_n "(cached) " >&6
16242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16243 /* end confdefs.h. */
16253 if ac_fn_c_try_link
"$LINENO"; then :
16254 ac_cv_have_timezone
="yes"
16256 ac_cv_have_timezone
="no"
16258 rm -f core conftest.err conftest.
$ac_objext \
16259 conftest
$ac_exeext conftest.
$ac_ext
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16262 $as_echo "$ac_cv_have_timezone" >&6; }
16263 if test "$ac_cv_have_timezone" = "yes"
16266 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16270 $as_echo_n "checking for daylight variable... " >&6; }
16271 if ${ac_cv_have_daylight+:} false
; then :
16272 $as_echo_n "(cached) " >&6
16274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16275 /* end confdefs.h. */
16285 if ac_fn_c_try_link
"$LINENO"; then :
16286 ac_cv_have_daylight
="yes"
16288 ac_cv_have_daylight
="no"
16290 rm -f core conftest.err conftest.
$ac_objext \
16291 conftest
$ac_exeext conftest.
$ac_ext
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16294 $as_echo "$ac_cv_have_daylight" >&6; }
16295 if test "$ac_cv_have_daylight" = "yes"
16298 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16302 ac_save_LIBS
="$LIBS"
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16305 $as_echo_n "checking for isfinite... " >&6; }
16306 if ${ac_cv_have_isfinite+:} false
; then :
16307 $as_echo_n "(cached) " >&6
16309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16310 /* end confdefs.h. */
16311 #define _GNU_SOURCE
16316 float f = 0.0; return isfinite(f)
16321 if ac_fn_c_try_link
"$LINENO"; then :
16322 ac_cv_have_isfinite
="yes"
16324 ac_cv_have_isfinite
="no"
16326 rm -f core conftest.err conftest.
$ac_objext \
16327 conftest
$ac_exeext conftest.
$ac_ext
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16330 $as_echo "$ac_cv_have_isfinite" >&6; }
16331 if test "$ac_cv_have_isfinite" = "yes"
16334 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16338 ac_save_LIBS
="$LIBS"
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16341 $as_echo_n "checking for isinf... " >&6; }
16342 if ${ac_cv_have_isinf+:} false
; then :
16343 $as_echo_n "(cached) " >&6
16345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16351 float f = 0.0; return isinf(f)
16356 if ac_fn_c_try_link
"$LINENO"; then :
16357 ac_cv_have_isinf
="yes"
16359 ac_cv_have_isinf
="no"
16361 rm -f core conftest.err conftest.
$ac_objext \
16362 conftest
$ac_exeext conftest.
$ac_ext
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16365 $as_echo "$ac_cv_have_isinf" >&6; }
16366 if test "$ac_cv_have_isinf" = "yes"
16369 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16374 $as_echo_n "checking for isnan... " >&6; }
16375 if ${ac_cv_have_isnan+:} false
; then :
16376 $as_echo_n "(cached) " >&6
16378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16384 float f = 0.0; return isnan(f)
16389 if ac_fn_c_try_link
"$LINENO"; then :
16390 ac_cv_have_isnan
="yes"
16392 ac_cv_have_isnan
="no"
16394 rm -f core conftest.err conftest.
$ac_objext \
16395 conftest
$ac_exeext conftest.
$ac_ext
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16398 $as_echo "$ac_cv_have_isnan" >&6; }
16399 if test "$ac_cv_have_isnan" = "yes"
16402 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16405 LIBS
="$ac_save_LIBS"
16409 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16410 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16411 if ${ac_cv_cpp_def___i386__+:} false
; then :
16412 $as_echo_n "(cached) " >&6
16414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16421 $EGREP "yes" >/dev
/null
2>&1; then :
16422 ac_cv_cpp_def___i386__
=yes
16424 ac_cv_cpp_def___i386__
=no
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16430 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16431 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16432 CFLAGS
="$CFLAGS -D__i386__"
16433 LINTFLAGS
="$LINTFLAGS -D__i386__"
16435 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16436 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16437 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16438 $as_echo_n "(cached) " >&6
16440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16441 /* end confdefs.h. */
16446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16447 $EGREP "yes" >/dev
/null
2>&1; then :
16448 ac_cv_cpp_def___x86_64__
=yes
16450 ac_cv_cpp_def___x86_64__
=no
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16456 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16457 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16458 CFLAGS
="$CFLAGS -D__x86_64__"
16459 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16461 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16462 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16463 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16464 $as_echo_n "(cached) " >&6
16466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16467 /* end confdefs.h. */
16468 #ifndef __sparc64__
16472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16473 $EGREP "yes" >/dev
/null
2>&1; then :
16474 ac_cv_cpp_def___sparc64__
=yes
16476 ac_cv_cpp_def___sparc64__
=no
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16482 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16483 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16484 CFLAGS
="$CFLAGS -D__sparc64__"
16485 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16487 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16488 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16489 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16490 $as_echo_n "(cached) " >&6
16492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16493 /* end confdefs.h. */
16498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16499 $EGREP "yes" >/dev
/null
2>&1; then :
16500 ac_cv_cpp_def___sparc__
=yes
16502 ac_cv_cpp_def___sparc__
=no
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16508 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16509 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16510 CFLAGS
="$CFLAGS -D__sparc__"
16511 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16513 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16514 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16515 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16516 $as_echo_n "(cached) " >&6
16518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16519 /* end confdefs.h. */
16520 #ifndef __powerpc64__
16524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16525 $EGREP "yes" >/dev
/null
2>&1; then :
16526 ac_cv_cpp_def___powerpc64__
=yes
16528 ac_cv_cpp_def___powerpc64__
=no
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16534 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16535 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16536 CFLAGS
="$CFLAGS -D__powerpc64__"
16537 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16539 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16540 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16541 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16542 $as_echo_n "(cached) " >&6
16544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16545 /* end confdefs.h. */
16546 #ifndef __powerpc__
16550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16551 $EGREP "yes" >/dev
/null
2>&1; then :
16552 ac_cv_cpp_def___powerpc__
=yes
16554 ac_cv_cpp_def___powerpc__
=no
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16560 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16561 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16562 CFLAGS
="$CFLAGS -D__powerpc__"
16563 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16565 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16566 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16567 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16568 $as_echo_n "(cached) " >&6
16570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16572 #ifndef __aarch64__
16576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16577 $EGREP "yes" >/dev
/null
2>&1; then :
16578 ac_cv_cpp_def___aarch64__
=yes
16580 ac_cv_cpp_def___aarch64__
=no
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16586 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16587 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16588 CFLAGS
="$CFLAGS -D__aarch64__"
16589 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16591 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16592 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16593 if ${ac_cv_cpp_def___arm__+:} false
; then :
16594 $as_echo_n "(cached) " >&6
16596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16597 /* end confdefs.h. */
16602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16603 $EGREP "yes" >/dev
/null
2>&1; then :
16604 ac_cv_cpp_def___arm__
=yes
16606 ac_cv_cpp_def___arm__
=no
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16612 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16613 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16614 CFLAGS
="$CFLAGS -D__arm__"
16615 LINTFLAGS
="$LINTFLAGS -D__arm__"
16619 case $host_vendor in
16620 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16621 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16622 if ${ac_cv_cpp_def___sun__+:} false
; then :
16623 $as_echo_n "(cached) " >&6
16625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16626 /* end confdefs.h. */
16631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16632 $EGREP "yes" >/dev
/null
2>&1; then :
16633 ac_cv_cpp_def___sun__
=yes
16635 ac_cv_cpp_def___sun__
=no
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16641 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16642 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16643 CFLAGS
="$CFLAGS -D__sun__"
16644 LINTFLAGS
="$LINTFLAGS -D__sun__"
16652 ac_config_commands
="$ac_config_commands include/stamp-h"
16654 $as_echo_n "creating Makefile rules..." >&6
16656 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16657 SOCKET_LIBS = $SOCKET_LIBS
16658 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16659 IOKIT_LIBS = $IOKIT_LIBS
16660 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16661 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16662 CORESERVICES_LIBS = $CORESERVICES_LIBS
16663 APPKIT_LIBS = $APPKIT_LIBS
16664 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16665 SECURITY_LIBS = $SECURITY_LIBS
16666 COREAUDIO_LIBS = $COREAUDIO_LIBS
16667 OPENAL_LIBS = $OPENAL_LIBS
16668 OPENCL_LIBS = $OPENCL_LIBS
16669 QUICKTIME_LIBS = $QUICKTIME_LIBS
16670 CARBON_LIBS = $CARBON_LIBS
16671 PTHREAD_LIBS = $PTHREAD_LIBS
16672 X_CFLAGS = $X_CFLAGS
16673 X_PRE_LIBS = $X_PRE_LIBS
16675 X_EXTRA_LIBS = $X_EXTRA_LIBS
16676 XML2_CFLAGS = $XML2_CFLAGS
16677 XML2_LIBS = $XML2_LIBS
16678 XSLT_CFLAGS = $XSLT_CFLAGS
16679 XSLT_LIBS = $XSLT_LIBS
16680 DBUS_CFLAGS = $DBUS_CFLAGS
16681 DBUS_LIBS = $DBUS_LIBS
16682 HAL_CFLAGS = $HAL_CFLAGS
16683 HAL_LIBS = $HAL_LIBS
16684 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16685 GNUTLS_LIBS = $GNUTLS_LIBS
16686 SANE_CFLAGS = $SANE_CFLAGS
16687 SANE_LIBS = $SANE_LIBS
16688 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16689 GPHOTO2_LIBS = $GPHOTO2_LIBS
16690 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16691 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16692 RESOLV_LIBS = $RESOLV_LIBS
16693 LCMS2_CFLAGS = $LCMS2_CFLAGS
16694 LCMS2_LIBS = $LCMS2_LIBS
16695 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16696 FREETYPE_LIBS = $FREETYPE_LIBS
16698 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16699 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16700 GSTREAMER_LIBS = $GSTREAMER_LIBS
16701 ALSA_LIBS = $ALSA_LIBS
16702 OSS4_CFLAGS = $OSS4_CFLAGS
16703 CAPI20_CFLAGS = $CAPI20_CFLAGS
16704 CAPI20_LIBS = $CAPI20_LIBS
16705 CUPS_CFLAGS = $CUPS_CFLAGS
16706 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16707 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16708 JPEG_CFLAGS = $JPEG_CFLAGS
16709 JPEG_LIBS = $JPEG_LIBS
16710 PNG_CFLAGS = $PNG_CFLAGS
16711 PNG_LIBS = $PNG_LIBS
16712 TIFF_CFLAGS = $TIFF_CFLAGS
16713 TIFF_LIBS = $TIFF_LIBS
16714 MPG123_CFLAGS = $MPG123_CFLAGS
16715 MPG123_LIBS = $MPG123_LIBS
16716 KSTAT_LIBS = $KSTAT_LIBS
16717 PROCSTAT_LIBS = $PROCSTAT_LIBS
16719 POLL_LIBS = $POLL_LIBS
16721 LDAP_LIBS = $LDAP_LIBS
16726 wine_fn_append_rule
"
16727 # Rules automatically generated by configure
16729 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16734 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16735 @./config.status Make.tmp Makefile"
16737 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16738 .gitignore: config.status
16739 @./config.status .gitignore"
16741 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16742 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16744 if test "x$enable_fonts" != xno
; then
16745 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16746 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16747 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16748 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16749 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16751 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16752 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16753 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16754 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16755 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16756 wine_fn_config_symlink wine
16757 if test "x$enable_win64" != xno
; then
16758 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16759 wine_fn_config_symlink wine64
16762 wine_fn_config_dll acledit enable_acledit
16763 wine_fn_config_dll aclui enable_aclui implib
16764 wine_fn_config_dll activeds enable_activeds implib
16765 wine_fn_config_dll actxprxy enable_actxprxy clean
16766 wine_fn_config_lib adsiid
16767 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16768 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16769 wine_fn_config_dll advpack enable_advpack implib
16770 wine_fn_config_test dlls
/advpack
/tests advpack_test
16771 wine_fn_config_dll amstream enable_amstream clean
16772 wine_fn_config_test dlls
/amstream
/tests amstream_test
16773 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16774 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16775 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16776 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16777 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16778 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16779 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16780 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16781 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16782 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16783 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16784 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16785 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16786 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16787 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16788 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16789 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16790 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16791 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16792 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16793 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16794 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16795 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16796 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16797 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16798 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16799 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16800 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16801 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16802 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16803 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16804 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16805 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16806 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16807 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16808 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16809 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16810 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16811 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16812 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16813 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16814 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16815 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16816 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16817 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16818 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16819 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16820 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16821 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16822 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16823 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16824 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16825 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16826 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16827 wine_fn_config_dll apphelp enable_apphelp
16828 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16829 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16830 wine_fn_config_dll atl enable_atl clean
,implib
16831 wine_fn_config_test dlls
/atl
/tests atl_test
16832 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16833 wine_fn_config_test dlls
/atl100
/tests atl100_test
16834 wine_fn_config_dll atl110 enable_atl110 clean
16835 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16836 wine_fn_config_test dlls
/atl80
/tests atl80_test
16837 wine_fn_config_dll atl90 enable_atl90 clean
16838 wine_fn_config_dll authz enable_authz
16839 wine_fn_config_dll avicap32 enable_avicap32 implib
16840 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16841 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16842 wine_fn_config_dll avifile.dll16 enable_win16
16843 wine_fn_config_dll avrt enable_avrt implib
16844 wine_fn_config_dll bcrypt enable_bcrypt
16845 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16846 wine_fn_config_dll browseui enable_browseui clean
,po
16847 wine_fn_config_test dlls
/browseui
/tests browseui_test
16848 wine_fn_config_dll cabinet enable_cabinet implib
16849 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16850 wine_fn_config_dll capi2032 enable_capi2032 implib
16851 wine_fn_config_dll cards enable_cards implib
16852 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16853 wine_fn_config_dll clusapi enable_clusapi implib
16854 wine_fn_config_dll comcat enable_comcat
16855 wine_fn_config_test dlls
/comcat
/tests comcat_test
16856 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16857 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16858 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16859 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16860 wine_fn_config_dll
comm.drv16 enable_win16
16861 wine_fn_config_dll commdlg.dll16 enable_win16
16862 wine_fn_config_dll compobj.dll16 enable_win16
16863 wine_fn_config_dll compstui enable_compstui implib
16864 wine_fn_config_dll comsvcs enable_comsvcs implib
16865 wine_fn_config_dll credui enable_credui implib
,po
16866 wine_fn_config_test dlls
/credui
/tests credui_test
16867 wine_fn_config_dll crtdll enable_crtdll implib
16868 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16869 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16870 wine_fn_config_dll cryptdlg enable_cryptdlg po
16871 wine_fn_config_dll cryptdll enable_cryptdll implib
16872 wine_fn_config_dll cryptext enable_cryptext
16873 wine_fn_config_dll cryptnet enable_cryptnet implib
16874 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16875 wine_fn_config_dll cryptui enable_cryptui implib
,po
16876 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16877 wine_fn_config_dll ctapi32 enable_ctapi32
16878 wine_fn_config_dll ctl3d.dll16 enable_win16
16879 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16880 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16881 wine_fn_config_dll d2d1 enable_d2d1 implib
16882 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16883 wine_fn_config_dll d3d10 enable_d3d10 implib
16884 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16885 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16886 wine_fn_config_dll d3d10core enable_d3d10core implib
16887 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16888 wine_fn_config_dll d3d11 enable_d3d11
16889 wine_fn_config_dll d3d8 enable_d3d8 implib
16890 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16891 wine_fn_config_dll d3d9 enable_d3d9 implib
16892 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16893 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16894 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16895 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16896 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16897 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16898 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16899 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16900 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16901 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16902 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16903 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16904 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16905 wine_fn_config_dll d3dim enable_d3dim implib
16906 wine_fn_config_dll d3drm enable_d3drm implib
16907 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16908 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16909 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16910 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16911 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16912 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16913 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16914 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16915 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16916 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16917 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16918 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16919 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16920 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16921 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16922 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16923 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16924 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16925 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16926 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16927 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16928 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16929 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16930 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16931 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16932 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16933 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16934 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16935 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16936 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16937 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16938 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16939 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16940 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16941 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16942 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16943 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16944 wine_fn_config_dll dbgeng enable_dbgeng implib
16945 wine_fn_config_dll dbghelp enable_dbghelp implib
16946 wine_fn_config_dll dciman32 enable_dciman32 implib
16947 wine_fn_config_dll ddeml.dll16 enable_win16
16948 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16949 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16950 wine_fn_config_dll ddrawex enable_ddrawex clean
16951 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16952 wine_fn_config_dll devenum enable_devenum clean
,po
16953 wine_fn_config_test dlls
/devenum
/tests devenum_test
16954 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16955 wine_fn_config_dll difxapi enable_difxapi
16956 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16957 wine_fn_config_test dlls
/dinput
/tests dinput_test
16958 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16959 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16960 wine_fn_config_dll dispdib.dll16 enable_win16
16961 wine_fn_config_dll dispex enable_dispex clean
16962 wine_fn_config_test dlls
/dispex
/tests dispex_test
16963 wine_fn_config_dll display.drv16 enable_win16
16964 wine_fn_config_dll dmband enable_dmband clean
16965 wine_fn_config_test dlls
/dmband
/tests dmband_test
16966 wine_fn_config_dll dmcompos enable_dmcompos clean
16967 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16968 wine_fn_config_dll dmime enable_dmime clean
16969 wine_fn_config_test dlls
/dmime
/tests dmime_test
16970 wine_fn_config_dll dmloader enable_dmloader clean
16971 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16972 wine_fn_config_dll dmscript enable_dmscript clean
16973 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16974 wine_fn_config_dll dmstyle enable_dmstyle clean
16975 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16976 wine_fn_config_dll dmsynth enable_dmsynth clean
16977 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16978 wine_fn_config_dll dmusic enable_dmusic clean
16979 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16980 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16981 wine_fn_config_dll dnsapi enable_dnsapi implib
16982 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16983 wine_fn_config_dll dplay enable_dplay implib
16984 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16985 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16986 wine_fn_config_dll dpnaddr enable_dpnaddr
16987 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16988 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16989 wine_fn_config_dll dpnhpast enable_dpnhpast
16990 wine_fn_config_dll dpnlobby enable_dpnlobby
16991 wine_fn_config_dll dpvoice enable_dpvoice clean
16992 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
16993 wine_fn_config_dll dpwsockx enable_dpwsockx
16994 wine_fn_config_dll drmclien enable_drmclien
16995 wine_fn_config_dll dsound enable_dsound clean
,implib
16996 wine_fn_config_test dlls
/dsound
/tests dsound_test
16997 wine_fn_config_dll dssenh enable_dssenh
16998 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16999 wine_fn_config_dll dswave enable_dswave clean
17000 wine_fn_config_test dlls
/dswave
/tests dswave_test
17001 wine_fn_config_dll dwmapi enable_dwmapi implib
17002 wine_fn_config_dll dwrite enable_dwrite implib
17003 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17004 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17005 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17006 wine_fn_config_lib dxerr8
17007 wine_fn_config_lib dxerr9
17008 wine_fn_config_dll dxgi enable_dxgi implib
17009 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17010 wine_fn_config_lib dxguid
17011 wine_fn_config_dll dxva2 enable_dxva2
17012 wine_fn_config_dll explorerframe enable_explorerframe clean
17013 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17014 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17015 wine_fn_config_dll faultrep enable_faultrep implib
17016 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17017 wine_fn_config_dll fltlib enable_fltlib
17018 wine_fn_config_dll fntcache enable_fntcache
17019 wine_fn_config_dll fontsub enable_fontsub
17020 wine_fn_config_dll fusion enable_fusion
17021 wine_fn_config_test dlls
/fusion
/tests fusion_test
17022 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17023 wine_fn_config_dll gameux enable_gameux clean
17024 wine_fn_config_test dlls
/gameux
/tests gameux_test
17025 wine_fn_config_dll gdi.exe16 enable_win16
17026 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17027 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17028 wine_fn_config_dll gdiplus enable_gdiplus implib
17029 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17030 wine_fn_config_dll glu32 enable_glu32 implib
17031 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17032 wine_fn_config_dll gpkcsp enable_gpkcsp
17033 wine_fn_config_dll hal enable_hal
17034 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17035 wine_fn_config_dll hid enable_hid implib
17036 wine_fn_config_dll hlink enable_hlink clean
,implib
17037 wine_fn_config_test dlls
/hlink
/tests hlink_test
17038 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17039 wine_fn_config_dll httpapi enable_httpapi
17040 wine_fn_config_dll iccvid enable_iccvid po
17041 wine_fn_config_dll icmp enable_icmp
17042 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17043 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17044 wine_fn_config_dll ifsmgr.vxd enable_win16
17045 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17046 wine_fn_config_dll imagehlp enable_imagehlp implib
17047 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17048 wine_fn_config_dll imm.dll16 enable_win16
17049 wine_fn_config_dll imm32 enable_imm32 implib
17050 wine_fn_config_test dlls
/imm32
/tests imm32_test
17051 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17052 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17053 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17054 wine_fn_config_dll inetmib1 enable_inetmib1
17055 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17056 wine_fn_config_dll infosoft enable_infosoft clean
17057 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17058 wine_fn_config_dll initpki enable_initpki
17059 wine_fn_config_dll inkobj enable_inkobj
17060 wine_fn_config_dll inseng enable_inseng clean
17061 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17062 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17063 wine_fn_config_dll itircl enable_itircl
17064 wine_fn_config_dll itss enable_itss clean
17065 wine_fn_config_test dlls
/itss
/tests itss_test
17066 wine_fn_config_dll joy.cpl enable_joy_cpl po
17067 wine_fn_config_dll jscript enable_jscript clean
,po
17068 wine_fn_config_test dlls
/jscript
/tests jscript_test
17069 wine_fn_config_dll jsproxy enable_jsproxy implib
17070 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17071 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17072 wine_fn_config_dll keyboard.drv16 enable_win16
17073 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17074 wine_fn_config_dll ksuser enable_ksuser
17075 wine_fn_config_dll ktmw32 enable_ktmw32
17076 wine_fn_config_dll loadperf enable_loadperf implib
17077 wine_fn_config_dll localspl enable_localspl po
17078 wine_fn_config_test dlls
/localspl
/tests localspl_test
17079 wine_fn_config_dll localui enable_localui po
17080 wine_fn_config_test dlls
/localui
/tests localui_test
17081 wine_fn_config_dll lz32 enable_lz32 implib
17082 wine_fn_config_test dlls
/lz32
/tests lz32_test
17083 wine_fn_config_dll lzexpand.dll16 enable_win16
17084 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17085 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17086 wine_fn_config_dll mapistub enable_mapistub
17087 wine_fn_config_dll mciavi32 enable_mciavi32
17088 wine_fn_config_dll mcicda enable_mcicda
17089 wine_fn_config_dll mciqtz32 enable_mciqtz32
17090 wine_fn_config_dll mciseq enable_mciseq
17091 wine_fn_config_dll mciwave enable_mciwave
17092 wine_fn_config_dll mgmtapi enable_mgmtapi
17093 wine_fn_config_dll midimap enable_midimap
17094 wine_fn_config_dll mlang enable_mlang clean
,implib
17095 wine_fn_config_test dlls
/mlang
/tests mlang_test
17096 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17097 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17098 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17099 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17100 wine_fn_config_dll mmdevldr.vxd enable_win16
17101 wine_fn_config_dll mmsystem.dll16 enable_win16
17102 wine_fn_config_dll monodebg.vxd enable_win16
17103 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17104 wine_fn_config_dll mouse.drv16 enable_win16
17105 wine_fn_config_dll mpr enable_mpr implib
,po
17106 wine_fn_config_test dlls
/mpr
/tests mpr_test
17107 wine_fn_config_dll mprapi enable_mprapi implib
17108 wine_fn_config_dll msacm.dll16 enable_win16
17109 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17110 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17111 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17112 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17113 wine_fn_config_dll msasn1 enable_msasn1 implib
17114 wine_fn_config_dll mscat32 enable_mscat32
17115 wine_fn_config_dll mscms enable_mscms implib
17116 wine_fn_config_test dlls
/mscms
/tests mscms_test
17117 wine_fn_config_dll mscoree enable_mscoree clean
17118 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17119 wine_fn_config_dll msctf enable_msctf clean
17120 wine_fn_config_test dlls
/msctf
/tests msctf_test
17121 wine_fn_config_dll msdaps enable_msdaps clean
17122 wine_fn_config_dll msdmo enable_msdmo implib
17123 wine_fn_config_dll msftedit enable_msftedit
17124 wine_fn_config_dll msg711.acm enable_msg711_acm
17125 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17126 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17127 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17128 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17129 wine_fn_config_dll msi enable_msi clean
,implib
,po
17130 wine_fn_config_test dlls
/msi
/tests msi_test
17131 wine_fn_config_dll msident enable_msident clean
17132 wine_fn_config_dll msimg32 enable_msimg32 implib
17133 wine_fn_config_dll msimsg enable_msimsg
17134 wine_fn_config_dll msimtf enable_msimtf clean
17135 wine_fn_config_dll msisip enable_msisip
17136 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17137 wine_fn_config_dll msls31 enable_msls31
17138 wine_fn_config_dll msnet32 enable_msnet32
17139 wine_fn_config_dll mspatcha enable_mspatcha
17140 wine_fn_config_dll msrle32 enable_msrle32 po
17141 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17142 wine_fn_config_dll mssign32 enable_mssign32
17143 wine_fn_config_dll mssip32 enable_mssip32
17144 wine_fn_config_dll mstask enable_mstask clean
17145 wine_fn_config_test dlls
/mstask
/tests mstask_test
17146 wine_fn_config_dll msvcirt enable_msvcirt
17147 wine_fn_config_dll msvcm80 enable_msvcm80
17148 wine_fn_config_dll msvcm90 enable_msvcm90
17149 wine_fn_config_dll msvcp100 enable_msvcp100
17150 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17151 wine_fn_config_dll msvcp110 enable_msvcp110
17152 wine_fn_config_dll msvcp120 enable_msvcp120
17153 wine_fn_config_dll msvcp60 enable_msvcp60
17154 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17155 wine_fn_config_dll msvcp70 enable_msvcp70
17156 wine_fn_config_dll msvcp71 enable_msvcp71
17157 wine_fn_config_dll msvcp80 enable_msvcp80
17158 wine_fn_config_dll msvcp90 enable_msvcp90
17159 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17160 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17161 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17162 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17163 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17164 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17165 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17166 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17167 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17168 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17169 wine_fn_config_dll msvcrt enable_msvcrt implib
17170 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17171 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17172 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17173 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17174 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17175 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17176 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17177 wine_fn_config_dll msvidc32 enable_msvidc32 po
17178 wine_fn_config_dll msvideo.dll16 enable_win16
17179 wine_fn_config_dll mswsock enable_mswsock implib
17180 wine_fn_config_dll msxml enable_msxml clean
17181 wine_fn_config_dll msxml2 enable_msxml2 clean
17182 wine_fn_config_dll msxml3 enable_msxml3 clean
17183 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17184 wine_fn_config_dll msxml4 enable_msxml4 clean
17185 wine_fn_config_dll msxml6 enable_msxml6 clean
17186 wine_fn_config_dll nddeapi enable_nddeapi implib
17187 wine_fn_config_dll ndis.sys enable_ndis_sys
17188 wine_fn_config_dll netapi32 enable_netapi32 implib
17189 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17190 wine_fn_config_dll netcfgx enable_netcfgx clean
17191 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17192 wine_fn_config_dll netprofm enable_netprofm clean
17193 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17194 wine_fn_config_dll newdev enable_newdev implib
17195 wine_fn_config_dll normaliz enable_normaliz implib
17196 wine_fn_config_dll npmshtml enable_npmshtml
17197 wine_fn_config_dll npptools enable_npptools
17198 wine_fn_config_dll ntdll enable_ntdll implib
17199 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17200 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17201 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17202 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17203 wine_fn_config_dll ntprint enable_ntprint
17204 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17205 wine_fn_config_dll objsel enable_objsel clean
17206 wine_fn_config_dll odbc32 enable_odbc32 implib
17207 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17208 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17209 wine_fn_config_dll odbccu32 enable_odbccu32
17210 wine_fn_config_dll ole2.dll16 enable_win16
17211 wine_fn_config_dll ole2conv.dll16 enable_win16
17212 wine_fn_config_dll ole2disp.dll16 enable_win16
17213 wine_fn_config_dll ole2nls.dll16 enable_win16
17214 wine_fn_config_dll ole2prox.dll16 enable_win16
17215 wine_fn_config_dll ole2thk.dll16 enable_win16
17216 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17217 wine_fn_config_test dlls
/ole32
/tests ole32_test
17218 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17219 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17220 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17221 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17222 wine_fn_config_dll olecli.dll16 enable_win16
17223 wine_fn_config_dll olecli32 enable_olecli32 implib
17224 wine_fn_config_dll oledb32 enable_oledb32 clean
17225 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17226 wine_fn_config_dll oledlg enable_oledlg implib
,po
17227 wine_fn_config_dll olepro32 enable_olepro32 implib
17228 wine_fn_config_dll olesvr.dll16 enable_win16
17229 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17230 wine_fn_config_dll olethk32 enable_olethk32
17231 wine_fn_config_dll openal32 enable_openal32
17232 wine_fn_config_dll opencl enable_opencl
17233 wine_fn_config_dll opengl32 enable_opengl32 implib
17234 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17235 wine_fn_config_dll packager enable_packager clean
17236 wine_fn_config_test dlls
/packager
/tests packager_test
17237 wine_fn_config_dll pdh enable_pdh implib
17238 wine_fn_config_test dlls
/pdh
/tests pdh_test
17239 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17240 wine_fn_config_dll pidgen enable_pidgen
17241 wine_fn_config_dll powrprof enable_powrprof implib
17242 wine_fn_config_dll printui enable_printui
17243 wine_fn_config_dll prntvpt enable_prntvpt
17244 wine_fn_config_dll propsys enable_propsys clean
,implib
17245 wine_fn_config_test dlls
/propsys
/tests propsys_test
17246 wine_fn_config_dll psapi enable_psapi implib
17247 wine_fn_config_test dlls
/psapi
/tests psapi_test
17248 wine_fn_config_dll pstorec enable_pstorec clean
17249 wine_fn_config_dll qcap enable_qcap
17250 wine_fn_config_test dlls
/qcap
/tests qcap_test
17251 wine_fn_config_dll qedit enable_qedit clean
17252 wine_fn_config_test dlls
/qedit
/tests qedit_test
17253 wine_fn_config_dll qmgr enable_qmgr clean
17254 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17255 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17256 wine_fn_config_dll quartz enable_quartz clean
,implib
17257 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17258 wine_fn_config_dll query enable_query
17259 wine_fn_config_dll rasapi16.dll16 enable_win16
17260 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17261 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17262 wine_fn_config_dll rasdlg enable_rasdlg implib
17263 wine_fn_config_dll regapi enable_regapi
17264 wine_fn_config_dll resutils enable_resutils implib
17265 wine_fn_config_dll riched20 enable_riched20 implib
17266 wine_fn_config_test dlls
/riched20
/tests riched20_test
17267 wine_fn_config_dll riched32 enable_riched32
17268 wine_fn_config_test dlls
/riched32
/tests riched32_test
17269 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17270 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17271 wine_fn_config_dll rsabase enable_rsabase
17272 wine_fn_config_dll rsaenh enable_rsaenh implib
17273 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17274 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17275 wine_fn_config_dll rtutils enable_rtutils implib
17276 wine_fn_config_dll samlib enable_samlib
17277 wine_fn_config_dll sane.ds enable_sane_ds po
17278 wine_fn_config_dll scarddlg enable_scarddlg
17279 wine_fn_config_dll sccbase enable_sccbase
17280 wine_fn_config_dll schannel enable_schannel
17281 wine_fn_config_test dlls
/schannel
/tests schannel_test
17282 wine_fn_config_dll schedsvc enable_schedsvc clean
17283 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17284 wine_fn_config_dll scrrun enable_scrrun clean
17285 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17286 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17287 wine_fn_config_dll secur32 enable_secur32 implib
17288 wine_fn_config_test dlls
/secur32
/tests secur32_test
17289 wine_fn_config_dll security enable_security
17290 wine_fn_config_dll sensapi enable_sensapi implib
17291 wine_fn_config_dll serialui enable_serialui implib
,po
17292 wine_fn_config_test dlls
/serialui
/tests serialui_test
17293 wine_fn_config_dll setupapi enable_setupapi implib
,po
17294 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17295 wine_fn_config_dll setupx.dll16 enable_win16
17296 wine_fn_config_dll sfc enable_sfc implib
17297 wine_fn_config_dll sfc_os enable_sfc_os implib
17298 wine_fn_config_dll shdoclc enable_shdoclc po
17299 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17300 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17301 wine_fn_config_dll shell.dll16 enable_win16
17302 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17303 wine_fn_config_test dlls
/shell32
/tests shell32_test
17304 wine_fn_config_dll shfolder enable_shfolder implib
17305 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17306 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17307 wine_fn_config_dll slbcsp enable_slbcsp
17308 wine_fn_config_dll slc enable_slc implib
17309 wine_fn_config_dll snmpapi enable_snmpapi implib
17310 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17311 wine_fn_config_dll softpub enable_softpub
17312 wine_fn_config_dll sound.drv16 enable_win16
17313 wine_fn_config_dll spoolss enable_spoolss implib
17314 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17315 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17316 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17317 wine_fn_config_dll sti enable_sti clean
,implib
17318 wine_fn_config_test dlls
/sti
/tests sti_test
17319 wine_fn_config_dll storage.dll16 enable_win16
17320 wine_fn_config_dll stress.dll16 enable_win16
17321 wine_fn_config_lib strmbase
17322 wine_fn_config_lib strmiids
17323 wine_fn_config_dll svrapi enable_svrapi
17324 wine_fn_config_dll sxs enable_sxs implib
17325 wine_fn_config_test dlls
/sxs
/tests sxs_test
17326 wine_fn_config_dll system.drv16 enable_win16
17327 wine_fn_config_dll t2embed enable_t2embed
17328 wine_fn_config_dll tapi32 enable_tapi32 implib
17329 wine_fn_config_dll taskschd enable_taskschd clean
17330 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17331 wine_fn_config_dll toolhelp.dll16 enable_win16
17332 wine_fn_config_dll traffic enable_traffic
17333 wine_fn_config_dll twain.dll16 enable_win16
17334 wine_fn_config_dll twain_32 enable_twain_32
17335 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17336 wine_fn_config_dll typelib.dll16 enable_win16
17337 wine_fn_config_dll unicows enable_unicows implib
17338 wine_fn_config_dll updspapi enable_updspapi
17339 wine_fn_config_dll url enable_url implib
17340 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17341 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17342 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17343 wine_fn_config_dll user.exe16 enable_win16
17344 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17345 wine_fn_config_test dlls
/user32
/tests user32_test
17346 wine_fn_config_dll userenv enable_userenv implib
17347 wine_fn_config_test dlls
/userenv
/tests userenv_test
17348 wine_fn_config_dll usp10 enable_usp10 implib
17349 wine_fn_config_test dlls
/usp10
/tests usp10_test
17350 wine_fn_config_lib uuid
17351 wine_fn_config_dll uxtheme enable_uxtheme implib
17352 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17353 wine_fn_config_dll vbscript enable_vbscript clean
17354 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17355 wine_fn_config_dll vcomp enable_vcomp
17356 wine_fn_config_dll vcomp100 enable_vcomp100
17357 wine_fn_config_dll vcomp90 enable_vcomp90
17358 wine_fn_config_dll vdhcp.vxd enable_win16
17359 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17360 wine_fn_config_dll ver.dll16 enable_win16
17361 wine_fn_config_dll version enable_version implib
17362 wine_fn_config_test dlls
/version
/tests version_test
17363 wine_fn_config_dll vmm.vxd enable_win16
17364 wine_fn_config_dll vnbt.vxd enable_win16
17365 wine_fn_config_dll vnetbios.vxd enable_win16
17366 wine_fn_config_dll vssapi enable_vssapi
17367 wine_fn_config_dll vtdapi.vxd enable_win16
17368 wine_fn_config_dll vwin32.vxd enable_win16
17369 wine_fn_config_dll w32skrnl enable_win16
17370 wine_fn_config_dll w32sys.dll16 enable_win16
17371 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17372 wine_fn_config_dll wbemprox enable_wbemprox clean
17373 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17374 wine_fn_config_dll webservices enable_webservices implib
17375 wine_fn_config_dll wer enable_wer implib
17376 wine_fn_config_test dlls
/wer
/tests wer_test
17377 wine_fn_config_dll wevtapi enable_wevtapi
17378 wine_fn_config_dll wiaservc enable_wiaservc clean
17379 wine_fn_config_dll win32s16.dll16 enable_win16
17380 wine_fn_config_dll win87em.dll16 enable_win16
17381 wine_fn_config_dll winaspi.dll16 enable_win16
17382 wine_fn_config_dll windebug.dll16 enable_win16
17383 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17384 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17385 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17386 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17387 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17388 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17389 wine_fn_config_lib winecrt0
17390 wine_fn_config_dll wined3d enable_wined3d implib
17391 wine_fn_config_dll winegstreamer enable_winegstreamer
17392 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17393 wine_fn_config_dll winemac.drv enable_winemac_drv
17394 wine_fn_config_dll winemapi enable_winemapi
17395 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17396 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17397 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17398 wine_fn_config_dll wineps16.drv16 enable_win16
17399 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17400 wine_fn_config_dll winex11.drv enable_winex11_drv
17401 wine_fn_config_dll wing.dll16 enable_win16
17402 wine_fn_config_dll wing32 enable_wing32
17403 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17404 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17405 wine_fn_config_dll wininet enable_wininet implib
,po
17406 wine_fn_config_test dlls
/wininet
/tests wininet_test
17407 wine_fn_config_dll winmm enable_winmm implib
,po
17408 wine_fn_config_test dlls
/winmm
/tests winmm_test
17409 wine_fn_config_dll winnls.dll16 enable_win16
17410 wine_fn_config_dll winnls32 enable_winnls32 implib
17411 wine_fn_config_dll winscard enable_winscard implib
17412 wine_fn_config_dll winsock.dll16 enable_win16
17413 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17414 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17415 wine_fn_config_dll winsta enable_winsta
17416 wine_fn_config_dll wintab.dll16 enable_win16
17417 wine_fn_config_dll wintab32 enable_wintab32 implib
17418 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17419 wine_fn_config_dll wintrust enable_wintrust implib
17420 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17421 wine_fn_config_dll wlanapi enable_wlanapi
17422 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17423 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17424 wine_fn_config_dll wmi enable_wmi
17425 wine_fn_config_dll wmiutils enable_wmiutils clean
17426 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17427 wine_fn_config_dll wmp enable_wmp clean
17428 wine_fn_config_test dlls
/wmp
/tests wmp_test
17429 wine_fn_config_dll wmvcore enable_wmvcore
17430 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17431 wine_fn_config_dll wow32 enable_win16 implib
17432 wine_fn_config_dll wpcap enable_wpcap
17433 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17434 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17435 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17436 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17437 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17438 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17439 wine_fn_config_dll wsock32 enable_wsock32 implib
17440 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17441 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17442 wine_fn_config_dll wuapi enable_wuapi clean
17443 wine_fn_config_dll wuaueng enable_wuaueng
17444 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17445 wine_fn_config_dll xinput1_1 enable_xinput1_1
17446 wine_fn_config_dll xinput1_2 enable_xinput1_2
17447 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17448 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17449 wine_fn_config_dll xinput1_4 enable_xinput1_4
17450 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17451 wine_fn_config_dll xmllite enable_xmllite implib
17452 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17453 wine_fn_config_dll xolehlp enable_xolehlp
17454 wine_fn_config_dll xpsprint enable_xpsprint
17455 wine_fn_config_dll xpssvcs enable_xpssvcs
17456 wine_fn_config_makefile documentation enable_documentation clean
17457 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17458 wine_fn_config_makefile include enable_include clean
,install-dev
17459 wine_fn_config_makefile libs
/port enable_libs_port
17460 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17461 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17462 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17463 wine_fn_config_program arp enable_arp
install
17464 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17465 wine_fn_config_program attrib enable_attrib
install,po
17466 wine_fn_config_program cabarc enable_cabarc
install
17467 wine_fn_config_program cacls enable_cacls
install
17468 wine_fn_config_program
clock enable_clock
install,po
17469 wine_fn_config_program cmd enable_cmd
install,po
17470 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17471 wine_fn_config_program conhost enable_conhost
install
17472 wine_fn_config_program control enable_control
install
17473 wine_fn_config_program cscript enable_cscript clean
,install
17474 wine_fn_config_program dpnsvr enable_dpnsvr
install
17475 wine_fn_config_program dxdiag enable_dxdiag
install,po
17476 wine_fn_config_program eject enable_eject
install
17477 wine_fn_config_program
expand enable_expand
install
17478 wine_fn_config_program explorer enable_explorer
install,po
17479 wine_fn_config_program extrac32 enable_extrac32
install
17480 wine_fn_config_program findstr enable_findstr
install
17481 wine_fn_config_program hh enable_hh
install
17482 wine_fn_config_program hostname enable_hostname
install,po
17483 wine_fn_config_program icinfo enable_icinfo
install
17484 wine_fn_config_program iexplore enable_iexplore
install
17485 wine_fn_config_program ipconfig enable_ipconfig
install,po
17486 wine_fn_config_program lodctr enable_lodctr
install
17487 wine_fn_config_program mofcomp enable_mofcomp
install
17488 wine_fn_config_program mshta enable_mshta
install
17489 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17490 wine_fn_config_program net enable_net
install,po
17491 wine_fn_config_program netsh enable_netsh
install
17492 wine_fn_config_program netstat enable_netstat
install,po
17493 wine_fn_config_program ngen enable_ngen
install
17494 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17495 wine_fn_config_program oleview enable_oleview
install,po
17496 wine_fn_config_program
ping enable_ping
install
17497 wine_fn_config_program plugplay enable_plugplay
install
17498 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17499 wine_fn_config_program progman enable_progman
install,po
17500 wine_fn_config_program reg enable_reg
install,po
17501 wine_fn_config_test programs
/reg
/tests reg.exe_test
17502 wine_fn_config_program regasm enable_regasm
install
17503 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17504 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17505 wine_fn_config_program regsvcs enable_regsvcs
install
17506 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17507 wine_fn_config_program rpcss enable_rpcss clean
,install
17508 wine_fn_config_program rundll.exe16 enable_win16
install
17509 wine_fn_config_program rundll32 enable_rundll32
install
17510 wine_fn_config_program sc enable_sc
install
17511 wine_fn_config_program schtasks enable_schtasks
install
17512 wine_fn_config_program sdbinst enable_sdbinst
install
17513 wine_fn_config_program secedit enable_secedit
install
17514 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17515 wine_fn_config_program services enable_services clean
,install
17516 wine_fn_config_test programs
/services
/tests services.exe_test
17517 wine_fn_config_program spoolsv enable_spoolsv
install
17518 wine_fn_config_program start enable_start
install,po
17519 wine_fn_config_program svchost enable_svchost
install
17520 wine_fn_config_program systeminfo enable_systeminfo
install
17521 wine_fn_config_program taskkill enable_taskkill
install,po
17522 wine_fn_config_program tasklist enable_tasklist
install
17523 wine_fn_config_program taskmgr enable_taskmgr
install,po
17524 wine_fn_config_program termsv enable_termsv
install
17525 wine_fn_config_program uninstaller enable_uninstaller
install,po
17526 wine_fn_config_program unlodctr enable_unlodctr
install
17527 wine_fn_config_program view enable_view
install,po
17528 wine_fn_config_program wevtutil enable_wevtutil
install
17529 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17530 wine_fn_config_program winebrowser enable_winebrowser
install
17531 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17532 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17533 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17534 wine_fn_config_program winedevice enable_winedevice
install
17535 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17536 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17537 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17538 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17539 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17540 wine_fn_config_program winetest enable_winetest clean
17541 wine_fn_config_program winevdm enable_win16
install
17542 wine_fn_config_program winhelp.exe16 enable_win16
install
17543 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17544 wine_fn_config_program winoldap.mod16 enable_win16
install
17545 wine_fn_config_program winver enable_winver
install
17546 wine_fn_config_program wmic enable_wmic
install,po
17547 wine_fn_config_program wordpad enable_wordpad
install,po
17548 wine_fn_config_program
write enable_write
install,po
17549 wine_fn_config_program wscript enable_wscript clean
,install
17550 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17551 wine_fn_config_program wusa enable_wusa
install
17552 wine_fn_config_program xcopy enable_xcopy
install,po
17553 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17554 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17555 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17556 wine_fn_config_tool tools
/sfnt2fon clean
17557 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17558 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17559 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17560 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17561 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17562 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17614 wine_fn_ignore_file
".gitignore"
17615 wine_fn_ignore_file
"Makefile"
17616 wine_fn_ignore_file
"TAGS"
17617 wine_fn_ignore_file
"tags"
17618 wine_fn_ignore_file
"autom4te.cache"
17619 wine_fn_ignore_file
"config.cache"
17620 wine_fn_ignore_file
"config.log"
17621 wine_fn_ignore_file
"config.status"
17622 wine_fn_ignore_file
"configure.lineno"
17623 wine_fn_ignore_file
"include/config.h"
17624 wine_fn_ignore_file
"include/stamp-h"
17625 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17627 if test "x$enable_tools" != xno
17629 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17630 ac_config_commands
="$ac_config_commands tools/makedep"
17634 ac_config_commands
="$ac_config_commands Makefile"
17637 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17641 if test "x$enable_maintainer_mode" = xyes
17643 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17644 autoconf --warnings=all
17645 include/config.h.in: include/stamp-h.in
17646 include/stamp-h.in: configure.ac aclocal.m4
17647 autoheader --warnings=all
17648 @echo timestamp > \$@"
17651 if test "x$with_gettextpo" = xyes
17653 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17654 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17655 \$(LINGUAS:%=po/%.po): po/wine.pot
17656 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17657 po/wine.pot: \$(ALL_POT_FILES)
17658 msgcat -o \$@ \$(ALL_POT_FILES)"
17661 if test "$MSGFMT" != false
17663 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17665 \$(RM) \$(LINGUAS:%=po/%.mo)"
17668 test "$srcdir" = . || posrc
="$srcdir/po"
17671 wine_fn_ignore_file
"po/$i.mo"
17672 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17673 \$(MSGFMT) -o \$@ $posrc/$i.po"
17679 if test "x$enable_tools" != xno
17681 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17682 @./config.status tools/makedep
17683 Makefile: tools/makedep$ac_exeext
17685 \$(RM) tools/makedep$ac_exeext"
17687 wine_fn_append_rule
"\$(MAKEDEP):
17688 @echo \"You need to run make in $TOOLSDIR first\" && false"
17691 if test -n "$with_wine64"
17693 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17694 fonts server tools:
17695 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17696 $with_wine64/loader/wine:
17697 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17698 $with_wine64/loader/wine-preloader:
17699 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17701 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17703 as_fn_append LOADER_RULES
"
17704 install install-lib:: wine.inf install-man-pages
17705 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17706 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17709 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17713 if test "$srcdir" = .
17715 ac_config_commands
="$ac_config_commands .gitignore"
17719 $as_echo " done" >&6
17720 cat >confcache
<<\_ACEOF
17721 # This file is a shell script that caches the results of configure
17722 # tests run on this system so they can be shared between configure
17723 # scripts and configure runs, see configure's option --config-cache.
17724 # It is not useful on other systems. If it contains results you don't
17725 # want to keep, you may remove or edit it.
17727 # config.status only pays attention to the cache file if you give it
17728 # the --recheck option to rerun configure.
17730 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17731 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17732 # following values.
17736 # The following way of writing the cache mishandles newlines in values,
17737 # but we know of no workaround that is simple, portable, and efficient.
17738 # So, we kill variables containing newlines.
17739 # Ultrix sh set writes to stderr and can't be redirected directly,
17740 # and sets the high bit in the cache file unless we assign to the vars.
17742 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17743 eval ac_val
=\$
$ac_var
17747 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17748 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17751 _ | IFS | as_nl
) ;; #(
17752 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17753 *) { eval $ac_var=; unset $ac_var;} ;;
17759 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17760 *${as_nl}ac_space
=\
*)
17761 # `set' does not quote correctly, so add quotes: double-quote
17762 # substitution turns \\\\ into \\, and sed turns \\ into \.
17765 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17768 # `set' quotes correctly as required by POSIX, so do not add quotes.
17769 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17778 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17780 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17782 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17783 if test -w "$cache_file"; then
17784 if test "x$cache_file" != "x/dev/null"; then
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17786 $as_echo "$as_me: updating cache $cache_file" >&6;}
17787 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17788 cat confcache
>"$cache_file"
17790 case $cache_file in #(
17792 mv -f confcache
"$cache_file"$$
&&
17793 mv -f "$cache_file"$$
"$cache_file" ;; #(
17795 mv -f confcache
"$cache_file" ;;
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17801 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17806 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17807 # Let make expand exec_prefix.
17808 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17810 DEFS
=-DHAVE_CONFIG_H
17815 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17816 # 1. Remove the extension, and $U if already installed.
17817 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17818 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17819 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17820 # will be set to the directory where LIBOBJS objects are built.
17821 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17822 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17824 LIBOBJS
=$ac_libobjs
17826 LTLIBOBJS
=$ac_ltlibobjs
17830 : "${CONFIG_STATUS=./config.status}"
17832 ac_clean_files_save
=$ac_clean_files
17833 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17834 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17835 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17837 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17839 # Generated by $as_me.
17840 # Run this file to recreate the current configuration.
17841 # Compiler output produced by configure, useful for debugging
17842 # configure, is in config.log if it exists.
17845 ac_cs_recheck=false
17848 SHELL=\${CONFIG_SHELL-$SHELL}
17851 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17852 ## -------------------- ##
17853 ## M4sh Initialization. ##
17854 ## -------------------- ##
17856 # Be more Bourne compatible
17857 DUALCASE
=1; export DUALCASE
# for MKS sh
17858 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17861 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17862 # is contrary to our usage. Disable this feature.
17863 alias -g '${1+"$@"}'='"$@"'
17864 setopt NO_GLOB_SUBST
17866 case `(set -o) 2>/dev/null` in #(
17878 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17879 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17880 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17881 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17882 # Prefer a ksh shell builtin over an external printf program on Solaris,
17883 # but without wasting forks for bash or zsh.
17884 if test -z "$BASH_VERSION$ZSH_VERSION" \
17885 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17886 as_echo='print
-r --'
17887 as_echo_n='print
-rn --'
17888 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17889 as_echo='printf %s
\n'
17890 as_echo_n='printf %s
'
17892 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17893 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17894 as_echo_n='/usr
/ucb
/echo -n'
17896 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17897 as_echo_n_body='eval
17901 expr "X$arg" : "X\\(.*\\)$as_nl";
17902 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17904 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17906 export as_echo_n_body
17907 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17909 export as_echo_body
17910 as_echo='sh
-c $as_echo_body as_echo
'
17913 # The user is always right.
17914 if test "${PATH_SEPARATOR+set}" != set; then
17916 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17917 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17924 # We need space, tab and new line, in precisely that order. Quoting is
17925 # there to prevent editors from complaining about space-tab.
17926 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17927 # splitting by setting IFS to empty value.)
17930 # Find who we are. Look in the path if we contain no directory separator.
17933 *[\\/]* ) as_myself=$0 ;;
17934 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17935 for as_dir in $PATH
17938 test -z "$as_dir" && as_dir=.
17939 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17945 # We did not find ourselves, most probably we were run as `sh COMMAND'
17946 # in which case we are not to be found in the path.
17947 if test "x$as_myself" = x
; then
17950 if test ! -f "$as_myself"; then
17951 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17955 # Unset variables that we do not need and which cause bugs (e.g. in
17956 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17957 # suppresses any "Segmentation fault" message there. '((' could
17958 # trigger a bug in pdksh 5.2.14.
17959 for as_var
in BASH_ENV ENV MAIL MAILPATH
17960 do eval test x\
${$as_var+set} = xset \
17961 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17974 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17977 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17978 # ----------------------------------------
17979 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17980 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17981 # script with STATUS, using 1 if that was 0.
17984 as_status
=$1; test $as_status -eq 0 && as_status
=1
17986 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17987 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17989 $as_echo "$as_me: error: $2" >&2
17990 as_fn_exit
$as_status
17994 # as_fn_set_status STATUS
17995 # -----------------------
17996 # Set $? to STATUS, without forking.
17997 as_fn_set_status
()
18000 } # as_fn_set_status
18002 # as_fn_exit STATUS
18003 # -----------------
18004 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18008 as_fn_set_status
$1
18014 # Portably unset VAR.
18017 { eval $1=; unset $1;}
18019 as_unset
=as_fn_unset
18020 # as_fn_append VAR VALUE
18021 # ----------------------
18022 # Append the text in VALUE to the end of the definition contained in VAR. Take
18023 # advantage of any shell optimizations that allow amortized linear growth over
18024 # repeated appends, instead of the typical quadratic growth present in naive
18026 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18027 eval 'as_fn_append ()
18038 # as_fn_arith ARG...
18039 # ------------------
18040 # Perform arithmetic evaluation on the ARGs, and store the result in the
18041 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18042 # must be portable across $(()) and expr.
18043 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18044 eval 'as_fn_arith ()
18051 as_val
=`expr "$@" || test $? -eq 1`
18056 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18057 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18063 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18064 as_basename
=basename
18069 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18075 as_me
=`$as_basename -- "$0" ||
18076 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18077 X"$0" : 'X\(//\)$' \| \
18078 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18080 sed '/^.*\/\([^/][^/]*\)\/*$/{
18094 # Avoid depending upon Character Ranges.
18095 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18096 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18097 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18098 as_cr_digits
='0123456789'
18099 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18101 ECHO_C
= ECHO_N
= ECHO_T
=
18102 case `echo -n x` in #(((((
18104 case `echo 'xy\c'` in
18105 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18107 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18114 rm -f conf$$ conf$$.exe conf$$.
file
18115 if test -d conf$$.dir
; then
18116 rm -f conf$$.dir
/conf$$.
file
18119 mkdir conf$$.dir
2>/dev
/null
18121 if (echo >conf$$.
file) 2>/dev
/null
; then
18122 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18124 # ... but there are two gotchas:
18125 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18126 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18127 # In both cases, we have to default to `cp -pR'.
18128 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18130 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18138 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18139 rmdir conf$$.dir
2>/dev
/null
18144 # Create "$as_dir" as a directory, including parents if necessary.
18149 -*) as_dir
=.
/$as_dir;;
18151 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18155 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18156 *) as_qdir
=$as_dir;;
18158 as_dirs
="'$as_qdir' $as_dirs"
18159 as_dir
=`$as_dirname -- "$as_dir" ||
18160 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18161 X"$as_dir" : 'X\(//\)[^/]' \| \
18162 X"$as_dir" : 'X\(//\)$' \| \
18163 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18164 $as_echo X"$as_dir" |
18165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18169 /^X\(\/\/\)[^/].*/{
18182 test -d "$as_dir" && break
18184 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18185 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18189 if mkdir
-p .
2>/dev
/null
; then
18190 as_mkdir_p
='mkdir -p "$as_dir"'
18192 test -d .
/-p && rmdir .
/-p
18197 # as_fn_executable_p FILE
18198 # -----------------------
18199 # Test if FILE is an executable regular file.
18200 as_fn_executable_p
()
18202 test -f "$1" && test -x "$1"
18203 } # as_fn_executable_p
18204 as_test_x
='test -x'
18205 as_executable_p
=as_fn_executable_p
18207 # Sed expression to map a string onto a valid CPP name.
18208 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18210 # Sed expression to map a string onto a valid variable name.
18211 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18215 ## ----------------------------------- ##
18216 ## Main body of $CONFIG_STATUS script. ##
18217 ## ----------------------------------- ##
18219 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18222 # Save the log message, to keep $0 and so on meaningful, and to
18223 # report actual input values of CONFIG_FILES etc. instead of their
18224 # values after options handling.
18226 This file was extended by Wine $as_me 1.7.32, which was
18227 generated by GNU Autoconf 2.69. Invocation command line was
18229 CONFIG_FILES = $CONFIG_FILES
18230 CONFIG_HEADERS = $CONFIG_HEADERS
18231 CONFIG_LINKS = $CONFIG_LINKS
18232 CONFIG_COMMANDS = $CONFIG_COMMANDS
18235 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18240 case $ac_config_files in *"
18241 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18244 case $ac_config_headers in *"
18245 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18250 # Files that config.status was made for.
18251 config_files="$ac_config_files"
18252 config_headers="$ac_config_headers"
18253 config_links="$ac_config_links"
18254 config_commands="$ac_config_commands"
18258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18260 \`$as_me' instantiates files and other configuration actions
18261 from templates according to the current configuration. Unless the files
18262 and actions are specified as TAGs, all are instantiated by default.
18264 Usage: $0 [OPTION]... [TAG]...
18266 -h, --help print this help, then exit
18267 -V, --version print version number and configuration settings, then exit
18268 --config print configuration, then exit
18269 -q, --quiet, --silent
18270 do not print progress messages
18271 -d, --debug don't remove temporary files
18272 --recheck update $as_me by reconfiguring in the same conditions
18273 --file=FILE[:TEMPLATE]
18274 instantiate the configuration file FILE
18275 --header=FILE[:TEMPLATE]
18276 instantiate the configuration header FILE
18278 Configuration files:
18281 Configuration headers:
18284 Configuration links:
18287 Configuration commands:
18290 Report bugs to <wine-devel@winehq.org>.
18291 Wine home page: <http://www.winehq.org>."
18294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18295 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18297 Wine config.status 1.7.32
18298 configured by $0, generated by GNU Autoconf 2.69,
18299 with options \\"\$ac_cs_config\\"
18301 Copyright (C) 2012 Free Software Foundation, Inc.
18302 This config.status script is free software; the Free Software Foundation
18303 gives unlimited permission to copy, distribute and modify it."
18307 test -n "\$AWK" || AWK=awk
18310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18311 # The default lists apply if the user does not specify any file.
18317 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18318 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18322 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18334 # Handling of the options.
18335 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18337 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18338 $as_echo "$ac_cs_version"; exit ;;
18339 --config |
--confi |
--conf |
--con |
--co |
--c )
18340 $as_echo "$ac_cs_config"; exit ;;
18341 --debug |
--debu |
--deb |
--de |
--d |
-d )
18343 --file |
--fil |
--fi |
--f )
18346 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18347 '') as_fn_error $?
"missing file argument" ;;
18349 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18350 ac_need_defaults
=false
;;
18351 --header |
--heade |
--head |
--hea )
18354 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18356 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18357 ac_need_defaults
=false
;;
18359 # Conflict between --help and --header
18360 as_fn_error $?
"ambiguous option: \`$1'
18361 Try \`$0 --help' for more information.";;
18362 --help |
--hel |
-h )
18363 $as_echo "$ac_cs_usage"; exit ;;
18364 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18365 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18368 # This is an error.
18369 -*) as_fn_error $?
"unrecognized option: \`$1'
18370 Try \`$0 --help' for more information." ;;
18372 *) as_fn_append ac_config_targets
" $1"
18373 ac_need_defaults
=false
;;
18379 ac_configure_extra_args
=
18381 if $ac_cs_silent; then
18383 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18388 if \$ac_cs_recheck; then
18389 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18391 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18392 CONFIG_SHELL='$SHELL'
18393 export CONFIG_SHELL
18398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18402 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18403 ## Running $as_me. ##
18409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18413 wine_fn_output_makedep ()
18415 as_dir=tools; as_fn_mkdir_p
18416 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18418 wine_fn_output_makefile ()
18420 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18421 `cat $wine_rules_file`
18423 as_fn_error $? "could not create Makefile" "$LINENO" 5
18425 wine_fn_output_gitignore ()
18427 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18430 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18437 # Handling of arguments.
18438 for ac_config_target
in $ac_config_targets
18440 case $ac_config_target in
18441 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18442 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18443 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18444 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18445 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18446 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18447 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18448 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18449 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18450 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18451 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18452 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18453 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18454 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18456 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18461 # If the user did not use the arguments to specify the items to instantiate,
18462 # then the envvar interface is used. Set only those that are not.
18463 # We use the long form for the default assignment because of an extremely
18464 # bizarre bug on SunOS 4.1.3.
18465 if $ac_need_defaults; then
18466 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18467 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18468 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18469 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18472 # Have a temporary directory for convenience. Make it in the build tree
18473 # simply because there is no reason against having it here, and in addition,
18474 # creating and moving files from /tmp can sometimes cause problems.
18475 # Hook for its removal unless debugging.
18476 # Note that there is a small window in which the directory will not be cleaned:
18477 # after its creation but before its name has been assigned to `$tmp'.
18481 trap 'exit_status=$?
18482 : "${ac_tmp:=$tmp}"
18483 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18485 trap 'as_fn_exit 1' 1 2 13 15
18487 # Create a (secure) tmp directory for tmp files.
18490 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18494 tmp
=.
/conf$$
-$RANDOM
18495 (umask 077 && mkdir
"$tmp")
18496 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18499 # Set up the scripts for CONFIG_FILES section.
18500 # No need to generate them if there are no CONFIG_FILES.
18501 # This happens for instance with `./config.status config.h'.
18502 if test -n "$CONFIG_FILES"; then
18505 ac_cr
=`echo X | tr X '\015'`
18506 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18507 # But we know of no other shell where ac_cr would be empty at this
18508 # point, so we can use a bashism as a fallback.
18509 if test "x$ac_cr" = x
; then
18510 eval ac_cr
=\$
\'\\r
\'
18512 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18513 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18516 ac_cs_awk_cr
=$ac_cr
18519 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18524 echo "cat >conf$$subs.awk <<_ACEOF" &&
18525 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18527 } >conf$$subs.sh ||
18528 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18529 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18531 for ac_last_try in false false false false false :; do
18532 . ./conf$$subs.sh ||
18533 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18535 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18536 if test $ac_delim_n = $ac_delim_num; then
18538 elif $ac_last_try; then
18539 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18541 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18544 rm -f conf$$subs.sh
18546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18547 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18551 s/^/S["/; s
/!.
*/"]=/
18561 s/\(.\{148\}\)..*/\1/
18563 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18568 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18575 s/\(.\{148\}\)..*/\1/
18577 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18581 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18586 ' <conf$$subs.awk | sed '
18591 ' >>$CONFIG_STATUS || ac_write_fail=1
18592 rm -f conf$$subs.awk
18593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18595 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18596 for (key in S) S_is_set[key] = 1
18602 nfields = split(line, field, "@
")
18604 len = length(field[1])
18605 for (i = 2; i < nfields; i++) {
18607 keylen = length(key)
18608 if (S_is_set[key]) {
18610 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18611 len += length(value) + length(field[++i])
18622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18623 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18624 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18627 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18628 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18631 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18632 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18633 # trailing colons and then remove the whole line if VPATH becomes empty
18634 # (actually we leave an empty line to preserve line numbers).
18635 if test "x
$srcdir" = x.; then
18636 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18655 fi # test -n "$CONFIG_FILES"
18657 # Set up the scripts for CONFIG_HEADERS section.
18658 # No need to generate them if there are no CONFIG_HEADERS.
18659 # This happens for instance with `./config.status Makefile'.
18660 if test -n "$CONFIG_HEADERS"; then
18661 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18665 # Transform confdefs.h into an awk script `defines.awk', embedded as
18666 # here-document in config.status, that substitutes the proper values into
18667 # config.h.in to produce config.h.
18669 # Create a delimiter string that does not exist in confdefs.h, to ease
18670 # handling of long lines.
18672 for ac_last_try in false false :; do
18673 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18674 if test -z "$ac_tt"; then
18676 elif $ac_last_try; then
18677 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18679 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18683 # For the awk script, D is an array of macro values keyed by name,
18684 # likewise P contains macro parameters if any. Preserve backslash
18685 # newline sequences.
18687 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18689 s/.\{148\}/&'"$ac_delim"'/g
18692 s/^[ ]*#[ ]*define[ ][ ]*/ /
18699 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18701 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18705 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18706 D["\
1"]=" \
3\\\\\\n
"\\/p
18708 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18713 s/.\{148\}/&'"$ac_delim"'/g
18718 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18721 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18723 ' <confdefs.h | sed '
18724 s/'"$ac_delim"'/"\\\
18725 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18728 for (key in D) D_is_set[key] = 1
18731 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18733 split(line, arg, " ")
18734 if (arg[1] == "#") {
18738 defundef
= substr
(arg
[1], 2)
18741 split(mac1
, mac2
, "(") #)
18743 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18744 if (D_is_set
[macro
]) {
18745 # Preserve the white space surrounding the "#".
18746 print prefix
"define", macro P
[macro
] D
[macro
]
18749 # Replace #undef with comments. This is necessary, for example,
18750 # in the case of _POSIX_SOURCE, which is predefined and required
18751 # on some systems where configure will not decide to define it.
18752 if (defundef
== "undef") {
18753 print
"/*", prefix defundef
, macro
, "*/"
18761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18762 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18763 fi # test -n "$CONFIG_HEADERS"
18766 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18771 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18773 case $ac_mode$ac_tag in
18775 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18776 :[FH
]-) ac_tag
=-:-;;
18777 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18794 -) ac_f
="$ac_tmp/stdin";;
18795 *) # Look for the file first in the build tree, then in the source tree
18796 # (if the path is not absolute). The absolute path cannot be DOS-style,
18797 # because $ac_f cannot contain `:'.
18801 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18803 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18805 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18806 as_fn_append ac_file_inputs
" '$ac_f'"
18809 # Let's still pretend it is `configure' which instantiates (i.e., don't
18810 # use $as_me), people would be surprised to read:
18811 # /* config.h. Generated by config.status. */
18812 configure_input
='Generated from '`
18813 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18815 if test x
"$ac_file" != x-
; then
18816 configure_input
="$ac_file. $configure_input"
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18818 $as_echo "$as_me: creating $ac_file" >&6;}
18820 # Neutralize special characters interpreted by sed in replacement strings.
18821 case $configure_input in #(
18822 *\
&* |
*\|
* |
*\\* )
18823 ac_sed_conf_input
=`$as_echo "$configure_input" |
18824 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18825 *) ac_sed_conf_input
=$configure_input;;
18829 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18830 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18835 ac_dir
=`$as_dirname -- "$ac_file" ||
18836 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18837 X"$ac_file" : 'X\(//\)[^/]' \| \
18838 X"$ac_file" : 'X\(//\)$' \| \
18839 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18840 $as_echo X"$ac_file" |
18841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18845 /^X\(\/\/\)[^/].*/{
18858 as_dir
="$ac_dir"; as_fn_mkdir_p
18862 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18864 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18865 # A ".." for each directory in $ac_dir_suffix.
18866 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18867 case $ac_top_builddir_sub in
18868 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18869 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18872 ac_abs_top_builddir
=$ac_pwd
18873 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18874 # for backward compatibility:
18875 ac_top_builddir
=$ac_top_build_prefix
18878 .
) # We are building in place.
18880 ac_top_srcdir
=$ac_top_builddir_sub
18881 ac_abs_top_srcdir
=$ac_pwd ;;
18882 [\\/]* | ?
:[\\/]* ) # Absolute name.
18883 ac_srcdir
=$srcdir$ac_dir_suffix;
18884 ac_top_srcdir
=$srcdir
18885 ac_abs_top_srcdir
=$srcdir ;;
18886 *) # Relative name.
18887 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18888 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18889 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18891 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18903 # If the template does not know about datarootdir, expand it.
18904 # FIXME: This hack should be removed a few years after 2.60.
18905 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18916 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18917 *datarootdir
*) ac_datarootdir_seen
=yes;;
18918 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18920 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18923 ac_datarootdir_hack='
18924 s&@datadir@&$datadir&g
18925 s&@docdir@&$docdir&g
18926 s&@infodir@&$infodir&g
18927 s&@localedir@&$localedir&g
18928 s&@mandir@&$mandir&g
18929 s&\\\${datarootdir}&$datarootdir&g' ;;
18933 # Neutralize VPATH when `$srcdir' = `.'.
18934 # Shell code in configure.ac might set extrasub.
18935 # FIXME: do we really want to maintain this feature?
18936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18937 ac_sed_extra="$ac_vpsub
18940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18942 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18943 s|@configure_input@|
$ac_sed_conf_input|
;t t
18944 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18945 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18946 s
&@srcdir@
&$ac_srcdir&;t t
18947 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18948 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18949 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18950 s
&@builddir@
&$ac_builddir&;t t
18951 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18952 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18953 $ac_datarootdir_hack
18955 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18956 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18958 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18959 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18960 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18961 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18963 which seems to be undefined. Please make sure it is defined" >&5
18964 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18965 which seems to be undefined. Please make sure it is defined" >&2;}
18967 rm -f "$ac_tmp/stdin"
18969 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18970 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18972 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18978 if test x"$ac_file" != x-; then
18980 $as_echo "/* $configure_input */" \
18981 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18982 } >"$ac_tmp/config.h" \
18983 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18984 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18985 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18986 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18989 mv "$ac_tmp/config.h" "$ac_file" \
18990 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18993 $as_echo "/* $configure_input */" \
18994 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18995 || as_fn_error $? "could not create -" "$LINENO" 5
19003 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19006 # Prefer the file from the source tree if names are identical.
19007 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19008 ac_source=$srcdir/$ac_source
19011 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19012 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19014 if test ! -r "$ac_source"; then
19015 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19019 # Try a relative symlink, then a hard link, then a copy.
19021 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19022 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19024 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19025 ln "$ac_source" "$ac_file" 2>/dev/null ||
19026 cp -p "$ac_source" "$ac_file" ||
19027 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19030 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19031 $as_echo "$as_me: executing $ac_file commands" >&6;}
19036 case $ac_file$ac_mode in
19037 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19038 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19039 "Makefile":C) wine_fn_output_makefile Makefile ;;
19040 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19048 ac_clean_files=$ac_clean_files_save
19050 test $ac_write_fail = 0 ||
19051 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19054 # configure is writing to config.log, and then calls config.status.
19055 # config.status does its own redirection, appending to config.log.
19056 # Unfortunately, on DOS this fails, as config.log is still kept open
19057 # by configure, so config.status won't be able to
write to it
; its
19058 # output is simply discarded. So we exec the FD to /dev/null,
19059 # effectively closing config.log, so it can be properly (re)opened and
19060 # appended to by config.status. When coming back to configure, we
19061 # need to make the FD available again.
19062 if test "$no_create" != yes; then
19064 ac_config_status_args
=
19065 test "$silent" = yes &&
19066 ac_config_status_args
="$ac_config_status_args --quiet"
19068 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19070 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19071 # would make configure fail if this is the last instruction.
19072 $ac_cs_success || as_fn_exit
1
19074 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19076 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19080 if test "$no_create" = "yes"
19086 if test "x$wine_notices != "x
; then
19089 for msg
in $wine_notices; do
19091 if ${msg:+false} :; then :
19094 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19095 $as_echo "$as_me: $msg" >&6;}
19100 for msg
in $wine_warnings; do
19102 if ${msg:+false} :; then :
19106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19107 $as_echo "$as_me: WARNING: $msg" >&2;}
19113 $as_me: Finished. Do '${ac_make}' to compile Wine.