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_l1_1_0
893 enable_api_ms_win_core_winrt_string_l1_1_0
894 enable_api_ms_win_downlevel_advapi32_l1_1_0
895 enable_api_ms_win_downlevel_advapi32_l2_1_0
896 enable_api_ms_win_downlevel_normaliz_l1_1_0
897 enable_api_ms_win_downlevel_ole32_l1_1_0
898 enable_api_ms_win_downlevel_shell32_l1_1_0
899 enable_api_ms_win_downlevel_shlwapi_l1_1_0
900 enable_api_ms_win_downlevel_shlwapi_l2_1_0
901 enable_api_ms_win_downlevel_user32_l1_1_0
902 enable_api_ms_win_downlevel_version_l1_1_0
903 enable_api_ms_win_eventing_provider_l1_1_0
904 enable_api_ms_win_ntuser_dc_access_l1_1_0
905 enable_api_ms_win_security_base_l1_1_0
906 enable_api_ms_win_security_base_l1_2_0
907 enable_api_ms_win_security_sddl_l1_1_0
908 enable_api_ms_win_service_core_l1_1_1
909 enable_api_ms_win_service_management_l1_1_0
910 enable_api_ms_win_service_winsvc_l1_2_0
951 enable_d3dcompiler_33
952 enable_d3dcompiler_34
953 enable_d3dcompiler_35
954 enable_d3dcompiler_36
955 enable_d3dcompiler_37
956 enable_d3dcompiler_38
957 enable_d3dcompiler_39
958 enable_d3dcompiler_40
959 enable_d3dcompiler_41
960 enable_d3dcompiler_42
961 enable_d3dcompiler_43
1036 enable_explorerframe
1037 enable_ext_ms_win_gdi_devcaps_l1_1_0
1187 enable_photometadatahandler
1269 enable_windowscodecs
1270 enable_windowscodecsext
1272 enable_winecoreaudio_drv
1274 enable_winegstreamer
1275 enable_winejoystick_drv
1281 enable_wineqtdecoder
1318 enable_documentation
1326 enable_aspnet_regiis
1359 enable_presentationfontcache
1372 enable_servicemodelreg
1393 enable_winemenubuilder
1395 enable_winemsibuilder
1409 ac_precious_vars
='build_alias
1458 # Initialize some variables set by options.
1460 ac_init_version
=false
1461 ac_unrecognized_opts
=
1462 ac_unrecognized_sep
=
1463 # The variables have the same names as the options, with
1464 # dashes changed to underlines.
1465 cache_file
=/dev
/null
1472 program_transform_name
=s
,x
,x
,
1480 # Installation directory options.
1481 # These are left unexpanded so users can "make install exec_prefix=/foo"
1482 # and all the variables that are supposed to be based on exec_prefix
1483 # by default will actually change.
1484 # Use braces instead of parens because sh, perl, etc. also accept them.
1485 # (The list follows the same order as the GNU Coding Standards.)
1486 bindir
='${exec_prefix}/bin'
1487 sbindir
='${exec_prefix}/sbin'
1488 libexecdir
='${exec_prefix}/libexec'
1489 datarootdir
='${prefix}/share'
1490 datadir
='${datarootdir}'
1491 sysconfdir
='${prefix}/etc'
1492 sharedstatedir
='${prefix}/com'
1493 localstatedir
='${prefix}/var'
1494 includedir
='${prefix}/include'
1495 oldincludedir
='/usr/include'
1496 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1497 infodir
='${datarootdir}/info'
1502 libdir
='${exec_prefix}/lib'
1503 localedir
='${datarootdir}/locale'
1504 mandir
='${datarootdir}/man'
1510 # If the previous option needs an argument, assign it.
1511 if test -n "$ac_prev"; then
1512 eval $ac_prev=\
$ac_option
1518 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1523 # Accept the important Cygnus configure options, so we can diagnose typos.
1525 case $ac_dashdash$ac_option in
1529 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1531 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1532 bindir
=$ac_optarg ;;
1534 -build |
--build |
--buil |
--bui |
--bu)
1535 ac_prev
=build_alias
;;
1536 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1537 build_alias
=$ac_optarg ;;
1539 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1540 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1541 ac_prev
=cache_file
;;
1542 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1543 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1544 cache_file
=$ac_optarg ;;
1546 --config-cache |
-C)
1547 cache_file
=config.cache
;;
1549 -datadir |
--datadir |
--datadi |
--datad)
1551 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1552 datadir
=$ac_optarg ;;
1554 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1555 |
--dataroo |
--dataro |
--datar)
1556 ac_prev
=datarootdir
;;
1557 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1558 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1559 datarootdir
=$ac_optarg ;;
1561 -disable-* |
--disable-*)
1562 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1563 # Reject names that are not valid shell variable names.
1564 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1565 as_fn_error $?
"invalid feature name: $ac_useropt"
1566 ac_useropt_orig
=$ac_useropt
1567 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1568 case $ac_user_opts in
1570 "enable_
$ac_useropt"
1572 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1573 ac_unrecognized_sep
=', ';;
1575 eval enable_
$ac_useropt=no
;;
1577 -docdir |
--docdir |
--docdi |
--doc |
--do)
1579 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1580 docdir
=$ac_optarg ;;
1582 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1584 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1585 dvidir
=$ac_optarg ;;
1587 -enable-* |
--enable-*)
1588 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1589 # Reject names that are not valid shell variable names.
1590 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1591 as_fn_error $?
"invalid feature name: $ac_useropt"
1592 ac_useropt_orig
=$ac_useropt
1593 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1594 case $ac_user_opts in
1596 "enable_
$ac_useropt"
1598 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1599 ac_unrecognized_sep
=', ';;
1601 eval enable_
$ac_useropt=\
$ac_optarg ;;
1603 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1604 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1605 |
--exec |
--exe |
--ex)
1606 ac_prev
=exec_prefix
;;
1607 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1608 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1609 |
--exec=* |
--exe=* |
--ex=*)
1610 exec_prefix
=$ac_optarg ;;
1612 -gas |
--gas |
--ga |
--g)
1613 # Obsolete; use --with-gas.
1616 -help |
--help |
--hel |
--he |
-h)
1617 ac_init_help
=long
;;
1618 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1619 ac_init_help
=recursive
;;
1620 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1621 ac_init_help
=short
;;
1623 -host |
--host |
--hos |
--ho)
1624 ac_prev
=host_alias
;;
1625 -host=* |
--host=* |
--hos=* |
--ho=*)
1626 host_alias
=$ac_optarg ;;
1628 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1630 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1632 htmldir
=$ac_optarg ;;
1634 -includedir |
--includedir |
--includedi |
--included |
--include \
1635 |
--includ |
--inclu |
--incl |
--inc)
1636 ac_prev
=includedir
;;
1637 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1638 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1639 includedir
=$ac_optarg ;;
1641 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1643 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1644 infodir
=$ac_optarg ;;
1646 -libdir |
--libdir |
--libdi |
--libd)
1648 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1649 libdir
=$ac_optarg ;;
1651 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1652 |
--libexe |
--libex |
--libe)
1653 ac_prev
=libexecdir
;;
1654 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1655 |
--libexe=* |
--libex=* |
--libe=*)
1656 libexecdir
=$ac_optarg ;;
1658 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1659 ac_prev
=localedir
;;
1660 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1661 localedir
=$ac_optarg ;;
1663 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1664 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1665 ac_prev
=localstatedir
;;
1666 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1667 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1668 localstatedir
=$ac_optarg ;;
1670 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1672 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1673 mandir
=$ac_optarg ;;
1675 -nfp |
--nfp |
--nf)
1676 # Obsolete; use --without-fp.
1679 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1680 |
--no-cr |
--no-c |
-n)
1683 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1684 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1687 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1688 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1689 |
--oldin |
--oldi |
--old |
--ol |
--o)
1690 ac_prev
=oldincludedir
;;
1691 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1692 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1693 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1694 oldincludedir
=$ac_optarg ;;
1696 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1698 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1699 prefix
=$ac_optarg ;;
1701 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1702 |
--program-pre |
--program-pr |
--program-p)
1703 ac_prev
=program_prefix
;;
1704 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1705 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1706 program_prefix
=$ac_optarg ;;
1708 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1709 |
--program-suf |
--program-su |
--program-s)
1710 ac_prev
=program_suffix
;;
1711 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1712 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1713 program_suffix
=$ac_optarg ;;
1715 -program-transform-name |
--program-transform-name \
1716 |
--program-transform-nam |
--program-transform-na \
1717 |
--program-transform-n |
--program-transform- \
1718 |
--program-transform |
--program-transfor \
1719 |
--program-transfo |
--program-transf \
1720 |
--program-trans |
--program-tran \
1721 |
--progr-tra |
--program-tr |
--program-t)
1722 ac_prev
=program_transform_name
;;
1723 -program-transform-name=* |
--program-transform-name=* \
1724 |
--program-transform-nam=* |
--program-transform-na=* \
1725 |
--program-transform-n=* |
--program-transform-=* \
1726 |
--program-transform=* |
--program-transfor=* \
1727 |
--program-transfo=* |
--program-transf=* \
1728 |
--program-trans=* |
--program-tran=* \
1729 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1730 program_transform_name
=$ac_optarg ;;
1732 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1734 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1735 pdfdir
=$ac_optarg ;;
1737 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1739 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1742 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1743 |
-silent |
--silent |
--silen |
--sile |
--sil)
1746 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1748 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1750 sbindir
=$ac_optarg ;;
1752 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1753 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1754 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1756 ac_prev
=sharedstatedir
;;
1757 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1758 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1759 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1761 sharedstatedir
=$ac_optarg ;;
1763 -site |
--site |
--sit)
1765 -site=* |
--site=* |
--sit=*)
1768 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1770 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1771 srcdir
=$ac_optarg ;;
1773 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1774 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1775 ac_prev
=sysconfdir
;;
1776 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1777 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1778 sysconfdir
=$ac_optarg ;;
1780 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1781 ac_prev
=target_alias
;;
1782 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1783 target_alias
=$ac_optarg ;;
1785 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1788 -version |
--version |
--versio |
--versi |
--vers |
-V)
1789 ac_init_version
=: ;;
1792 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1793 # Reject names that are not valid shell variable names.
1794 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1795 as_fn_error $?
"invalid package name: $ac_useropt"
1796 ac_useropt_orig
=$ac_useropt
1797 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1798 case $ac_user_opts in
1802 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1803 ac_unrecognized_sep
=', ';;
1805 eval with_
$ac_useropt=\
$ac_optarg ;;
1807 -without-* |
--without-*)
1808 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1809 # Reject names that are not valid shell variable names.
1810 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1811 as_fn_error $?
"invalid package name: $ac_useropt"
1812 ac_useropt_orig
=$ac_useropt
1813 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1814 case $ac_user_opts in
1818 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1819 ac_unrecognized_sep
=', ';;
1821 eval with_
$ac_useropt=no
;;
1824 # Obsolete; use --with-x.
1827 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1828 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1829 ac_prev
=x_includes
;;
1830 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1831 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1832 x_includes
=$ac_optarg ;;
1834 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1835 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1836 ac_prev
=x_libraries
;;
1837 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1838 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1839 x_libraries
=$ac_optarg ;;
1841 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1842 Try \`$0 --help' for more information"
1846 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1847 # Reject names that are not valid shell variable names.
1848 case $ac_envvar in #(
1849 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1850 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1852 eval $ac_envvar=\
$ac_optarg
1853 export $ac_envvar ;;
1856 # FIXME: should be removed in autoconf 3.0.
1857 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1858 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1859 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1860 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1866 if test -n "$ac_prev"; then
1867 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1868 as_fn_error $?
"missing argument to $ac_option"
1871 if test -n "$ac_unrecognized_opts"; then
1872 case $enable_option_checking in
1874 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1875 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1879 # Check all directory arguments for consistency.
1880 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1881 datadir sysconfdir sharedstatedir localstatedir includedir \
1882 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1883 libdir localedir mandir
1885 eval ac_val
=\$
$ac_var
1886 # Remove trailing slashes.
1889 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1890 eval $ac_var=\
$ac_val;;
1892 # Be sure to have absolute directory names.
1894 [\\/$
]* | ?
:[\\/]* ) continue;;
1895 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1897 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1900 # There might be people who depend on the old broken behavior: `$host'
1901 # used to hold the argument of --host etc.
1902 # FIXME: To remove some day.
1905 target
=$target_alias
1907 # FIXME: To remove some day.
1908 if test "x$host_alias" != x
; then
1909 if test "x$build_alias" = x
; then
1910 cross_compiling
=maybe
1911 elif test "x$build_alias" != "x$host_alias"; then
1917 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1919 test "$silent" = yes && exec 6>/dev
/null
1922 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1923 ac_ls_di
=`ls -di .` &&
1924 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1925 as_fn_error $?
"working directory cannot be determined"
1926 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1927 as_fn_error $?
"pwd does not report name of working directory"
1930 # Find the source files, if location was not specified.
1931 if test -z "$srcdir"; then
1932 ac_srcdir_defaulted
=yes
1933 # Try the directory containing this script, then the parent directory.
1934 ac_confdir
=`$as_dirname -- "$as_myself" ||
1935 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1936 X"$as_myself" : 'X\(//\)[^/]' \| \
1937 X"$as_myself" : 'X\(//\)$' \| \
1938 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1939 $as_echo X"$as_myself" |
1940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1958 if test ! -r "$srcdir/$ac_unique_file"; then
1962 ac_srcdir_defaulted
=no
1964 if test ! -r "$srcdir/$ac_unique_file"; then
1965 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1966 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1968 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1970 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1972 # When building in place, set srcdir=.
1973 if test "$ac_abs_confdir" = "$ac_pwd"; then
1976 # Remove unnecessary trailing slashes from srcdir.
1977 # Double slashes in file names in object file debugging info
1978 # mess up M-x gdb in Emacs.
1980 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1982 for ac_var
in $ac_precious_vars; do
1983 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1984 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1985 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1986 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1990 # Report the --help message.
1992 if test "$ac_init_help" = "long"; then
1993 # Omit some internal or obsolete options to make the list less imposing.
1994 # This message is too long to be a string in the A/UX 3.1 sh.
1996 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
1998 Usage: $0 [OPTION]... [VAR=VALUE]...
2000 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2001 VAR=VALUE. See below for descriptions of some of the useful variables.
2003 Defaults for the options are specified in brackets.
2006 -h, --help display this help and exit
2007 --help=short display options specific to this package
2008 --help=recursive display the short help of all the included packages
2009 -V, --version display version information and exit
2010 -q, --quiet, --silent do not print \`checking ...' messages
2011 --cache-file=FILE cache test results in FILE [disabled]
2012 -C, --config-cache alias for \`--cache-file=config.cache'
2013 -n, --no-create do not create output files
2014 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2016 Installation directories:
2017 --prefix=PREFIX install architecture-independent files in PREFIX
2018 [$ac_default_prefix]
2019 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2022 By default, \`make install' will install all the files in
2023 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2024 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2025 for instance \`--prefix=\$HOME'.
2027 For better control, use the options below.
2029 Fine tuning of the installation directories:
2030 --bindir=DIR user executables [EPREFIX/bin]
2031 --sbindir=DIR system admin executables [EPREFIX/sbin]
2032 --libexecdir=DIR program executables [EPREFIX/libexec]
2033 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2034 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2035 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2036 --libdir=DIR object code libraries [EPREFIX/lib]
2037 --includedir=DIR C header files [PREFIX/include]
2038 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2039 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2040 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2041 --infodir=DIR info documentation [DATAROOTDIR/info]
2042 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2043 --mandir=DIR man documentation [DATAROOTDIR/man]
2044 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2045 --htmldir=DIR html documentation [DOCDIR]
2046 --dvidir=DIR dvi documentation [DOCDIR]
2047 --pdfdir=DIR pdf documentation [DOCDIR]
2048 --psdir=DIR ps documentation [DOCDIR]
2054 --x-includes=DIR X include files are
in DIR
2055 --x-libraries=DIR X library files are
in DIR
2058 --build=BUILD configure
for building on BUILD
[guessed
]
2059 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2063 if test -n "$ac_init_help"; then
2064 case $ac_init_help in
2065 short | recursive
) echo "Configuration of Wine 1.7.32:";;
2070 --disable-option-checking ignore unrecognized
--enable/--with options
2071 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2072 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2073 --disable-win16 do not include Win16 support
2074 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2076 --disable-tests do not build the regression tests
2077 --enable-maintainer-mode
2078 enable maintainer-specific build rules
2079 --disable-largefile omit support for large files
2082 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2083 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2084 --without-alsa do not use the Alsa sound support
2085 --without-capi do not use CAPI (ISDN support)
2086 --without-cms do not use CMS (color management support)
2087 --without-coreaudio do not use the CoreAudio sound support
2088 --without-cups do not use CUPS
2089 --without-curses do not use (n)curses
2090 --without-dbus do not use DBus (dynamic device support)
2091 --without-fontconfig do not use fontconfig
2092 --without-freetype do not use the FreeType library
2093 --without-gettext do not use gettext
2094 --with-gettextpo use the GetTextPO library to rebuild po files
2095 --without-gphoto do not use gphoto (Digital Camera support)
2096 --without-glu do not use the GLU library
2097 --without-gnutls do not use GnuTLS (schannel support)
2098 --without-gsm do not use libgsm (GSM 06.10 codec support)
2099 --without-gstreamer do not use GStreamer (codecs support)
2100 --without-hal do not use HAL (dynamic device support)
2101 --without-jpeg do not use JPEG
2102 --without-ldap do not use LDAP
2103 --without-mpg123 do not use the mpg123 library
2104 --without-netapi do not use the Samba NetAPI library
2105 --without-openal do not use OpenAL
2106 --without-opencl do not use OpenCL
2107 --without-opengl do not use OpenGL
2108 --without-osmesa do not use the OSMesa library
2109 --without-oss do not use the OSS sound support
2110 --without-pcap do not use the Packet Capture library
2111 --without-png do not use PNG
2112 --without-pthread do not use the pthread library
2113 --without-sane do not use SANE (scanner support)
2114 --without-tiff do not use TIFF
2115 --without-v4l do not use v4l1 (v4l support)
2116 --without-xcomposite do not use the Xcomposite extension
2117 --without-xcursor do not use the Xcursor extension
2118 --without-xinerama do not use Xinerama (multi-monitor support)
2119 --without-xinput do not use the Xinput extension
2120 --without-xinput2 do not use the Xinput 2 extension
2121 --without-xml do not use XML
2122 --without-xrandr do not use Xrandr (resolution changes)
2123 --without-xrender do not use the Xrender extension
2124 --without-xshape do not use the Xshape extension
2125 --without-xshm do not use XShm (shared memory extension)
2126 --without-xslt do not use XSLT
2127 --without-xxf86vm do not use XFree video mode extension
2128 --without-zlib do not use Zlib (data compression)
2129 --with-wine-tools=DIR use Wine tools from directory DIR
2130 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2131 --with-x use the X Window System
2133 Some influential environment variables:
2134 CC C compiler command
2135 CFLAGS C compiler flags
2136 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2137 nonstandard directory <lib dir>
2138 LIBS libraries to pass to the linker, e.g. -l<library>
2139 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2140 you have headers in a nonstandard directory <include dir>
2141 CXX C++ compiler command
2142 CXXFLAGS C++ compiler flags
2144 XMKMF Path to xmkmf, Makefile generator for X Window System
2145 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2146 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2147 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2148 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2149 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2150 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2151 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2152 HAL_LIBS Linker flags for hal, overriding pkg-config
2154 C compiler flags for gnutls, overriding pkg-config
2155 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2156 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2157 SANE_LIBS Linker flags for libsane, overriding pkg-config
2159 C compiler flags for libgphoto2, overriding pkg-config
2161 Linker flags for libgphoto2, overriding pkg-config
2163 C compiler flags for libgphoto2_port, overriding pkg-config
2165 Linker flags for libgphoto2_port, overriding pkg-config
2167 C compiler flags for lcms2, overriding pkg-config
2168 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2170 C compiler flags for freetype2, overriding pkg-config
2172 Linker flags for freetype2, overriding pkg-config
2174 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2176 Linker flags for gstreamer-app-0.10, overriding pkg-config
2178 C compiler flags for capi20, overriding pkg-config
2179 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2181 C compiler flags for fontconfig, overriding pkg-config
2183 Linker flags for fontconfig, overriding pkg-config
2184 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2185 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2186 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2187 PNG_LIBS Linker flags for libpng, overriding pkg-config
2188 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2189 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2191 C compiler flags for libmpg123, overriding pkg-config
2192 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2194 Use these variables to override the choices made by `configure' or to
help
2195 it to
find libraries and programs with nonstandard names
/locations.
2197 Report bugs to
<wine-devel@winehq.org
>.
2198 Wine home page
: <http
://www.winehq.org
>.
2203 if test "$ac_init_help" = "recursive"; then
2204 # If there are subdirs, report their specific --help.
2205 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2206 test -d "$ac_dir" ||
2207 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2212 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2214 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2215 # A ".." for each directory in $ac_dir_suffix.
2216 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2217 case $ac_top_builddir_sub in
2218 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2219 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2222 ac_abs_top_builddir
=$ac_pwd
2223 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2224 # for backward compatibility:
2225 ac_top_builddir
=$ac_top_build_prefix
2228 .
) # We are building in place.
2230 ac_top_srcdir
=$ac_top_builddir_sub
2231 ac_abs_top_srcdir
=$ac_pwd ;;
2232 [\\/]* | ?
:[\\/]* ) # Absolute name.
2233 ac_srcdir
=$srcdir$ac_dir_suffix;
2234 ac_top_srcdir
=$srcdir
2235 ac_abs_top_srcdir
=$srcdir ;;
2237 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2238 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2239 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2241 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2243 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2244 # Check for guested configure.
2245 if test -f "$ac_srcdir/configure.gnu"; then
2247 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2248 elif test -f "$ac_srcdir/configure"; then
2250 $SHELL "$ac_srcdir/configure" --help=recursive
2252 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2254 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2258 test -n "$ac_init_help" && exit $ac_status
2259 if $ac_init_version; then
2261 Wine configure
1.7.32
2262 generated by GNU Autoconf
2.69
2264 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2265 This configure
script is free software
; the Free Software Foundation
2266 gives unlimited permission to copy
, distribute and modify it.
2271 ## ------------------------ ##
2272 ## Autoconf initialization. ##
2273 ## ------------------------ ##
2275 # ac_fn_c_try_compile LINENO
2276 # --------------------------
2277 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2278 ac_fn_c_try_compile
()
2280 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2281 rm -f conftest.
$ac_objext
2282 if { { ac_try
="$ac_compile"
2284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2285 *) ac_try_echo=$ac_try;;
2287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2288 $as_echo "$ac_try_echo"; } >&5
2289 (eval "$ac_compile") 2>conftest.err
2291 if test -s conftest.err; then
2292 grep -v '^ *+' conftest.err >conftest.er1
2293 cat conftest.er1 >&5
2294 mv -f conftest.er1 conftest.err
2296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2297 test $ac_status = 0; } && {
2298 test -z "$ac_c_werror_flag" ||
2299 test ! -s conftest.err
2300 } && test -s conftest.$ac_objext; then :
2303 $as_echo "$as_me: failed program was:" >&5
2304 sed 's/^/| /' conftest.$ac_ext >&5
2308 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2309 as_fn_set_status $ac_retval
2311 } # ac_fn_c_try_compile
2313 # ac_fn_cxx_try_compile LINENO
2314 # ----------------------------
2315 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2316 ac_fn_cxx_try_compile ()
2318 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2319 rm -f conftest.$ac_objext
2320 if { { ac_try="$ac_compile"
2322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2323 *) ac_try_echo
=$ac_try;;
2325 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2326 $as_echo "$ac_try_echo"; } >&5
2327 (eval "$ac_compile") 2>conftest.err
2329 if test -s conftest.err
; then
2330 grep -v '^ *+' conftest.err
>conftest.er1
2331 cat conftest.er1
>&5
2332 mv -f conftest.er1 conftest.err
2334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2335 test $ac_status = 0; } && {
2336 test -z "$ac_cxx_werror_flag" ||
2337 test ! -s conftest.err
2338 } && test -s conftest.
$ac_objext; then :
2341 $as_echo "$as_me: failed program was:" >&5
2342 sed 's/^/| /' conftest.
$ac_ext >&5
2346 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2347 as_fn_set_status
$ac_retval
2349 } # ac_fn_cxx_try_compile
2351 # ac_fn_c_try_link LINENO
2352 # -----------------------
2353 # Try to link conftest.$ac_ext, and return whether this succeeded.
2356 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2357 rm -f conftest.
$ac_objext conftest
$ac_exeext
2358 if { { ac_try
="$ac_link"
2360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2361 *) ac_try_echo=$ac_try;;
2363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2364 $as_echo "$ac_try_echo"; } >&5
2365 (eval "$ac_link") 2>conftest.err
2367 if test -s conftest.err; then
2368 grep -v '^ *+' conftest.err >conftest.er1
2369 cat conftest.er1 >&5
2370 mv -f conftest.er1 conftest.err
2372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2373 test $ac_status = 0; } && {
2374 test -z "$ac_c_werror_flag" ||
2375 test ! -s conftest.err
2376 } && test -s conftest$ac_exeext && {
2377 test "$cross_compiling" = yes ||
2378 test -x conftest$ac_exeext
2382 $as_echo "$as_me: failed program was:" >&5
2383 sed 's/^/| /' conftest.$ac_ext >&5
2387 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2388 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2389 # interfere with the next link command; also delete a directory that is
2390 # left behind by Apple's compiler. We do this before executing the actions.
2391 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2392 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2393 as_fn_set_status $ac_retval
2395 } # ac_fn_c_try_link
2397 # ac_fn_c_try_cpp LINENO
2398 # ----------------------
2399 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2402 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2403 if { { ac_try="$ac_cpp conftest.$ac_ext"
2405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2406 *) ac_try_echo
=$ac_try;;
2408 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2409 $as_echo "$ac_try_echo"; } >&5
2410 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2412 if test -s conftest.err
; then
2413 grep -v '^ *+' conftest.err
>conftest.er1
2414 cat conftest.er1
>&5
2415 mv -f conftest.er1 conftest.err
2417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2418 test $ac_status = 0; } > conftest.i
&& {
2419 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2420 test ! -s conftest.err
2424 $as_echo "$as_me: failed program was:" >&5
2425 sed 's/^/| /' conftest.
$ac_ext >&5
2429 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2430 as_fn_set_status
$ac_retval
2434 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2435 # -------------------------------------------------------
2436 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2437 # the include files in INCLUDES and setting the cache variable VAR
2439 ac_fn_c_check_header_mongrel
()
2441 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2442 if eval \
${$3+:} false
; then :
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2444 $as_echo_n "checking for $2... " >&6; }
2445 if eval \
${$3+:} false
; then :
2446 $as_echo_n "(cached) " >&6
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2450 $as_echo "$ac_res" >&6; }
2452 # Is the header compilable?
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2454 $as_echo_n "checking $2 usability... " >&6; }
2455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2456 /* end confdefs.h. */
2460 if ac_fn_c_try_compile
"$LINENO"; then :
2461 ac_header_compiler
=yes
2463 ac_header_compiler
=no
2465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2467 $as_echo "$ac_header_compiler" >&6; }
2469 # Is the header present?
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2471 $as_echo_n "checking $2 presence... " >&6; }
2472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2473 /* end confdefs.h. */
2476 if ac_fn_c_try_cpp
"$LINENO"; then :
2477 ac_header_preproc
=yes
2479 ac_header_preproc
=no
2481 rm -f conftest.err conftest.i conftest.
$ac_ext
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2483 $as_echo "$ac_header_preproc" >&6; }
2485 # So? What about this header?
2486 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2489 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2491 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2495 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2497 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2499 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2501 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2503 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2504 ( $as_echo "## ------------------------------------ ##
2505 ## Report this to wine-devel@winehq.org ##
2506 ## ------------------------------------ ##"
2507 ) |
sed "s/^/$as_me: WARNING: /" >&2
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2511 $as_echo_n "checking for $2... " >&6; }
2512 if eval \
${$3+:} false
; then :
2513 $as_echo_n "(cached) " >&6
2515 eval "$3=\$ac_header_compiler"
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2519 $as_echo "$ac_res" >&6; }
2521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2523 } # ac_fn_c_check_header_mongrel
2525 # ac_fn_c_try_run LINENO
2526 # ----------------------
2527 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2528 # that executables *can* be run.
2531 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2532 if { { ac_try
="$ac_link"
2534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2535 *) ac_try_echo=$ac_try;;
2537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2538 $as_echo "$ac_try_echo"; } >&5
2539 (eval "$ac_link") 2>&5
2541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2542 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2543 { { case "(($ac_try" in
2544 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2545 *) ac_try_echo
=$ac_try;;
2547 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2548 $as_echo "$ac_try_echo"; } >&5
2549 (eval "$ac_try") 2>&5
2551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2552 test $ac_status = 0; }; }; then :
2555 $as_echo "$as_me: program exited with status $ac_status" >&5
2556 $as_echo "$as_me: failed program was:" >&5
2557 sed 's/^/| /' conftest.
$ac_ext >&5
2559 ac_retval
=$ac_status
2561 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2562 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2563 as_fn_set_status
$ac_retval
2567 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2568 # -------------------------------------------------------
2569 # Tests whether HEADER exists and can be compiled using the include files in
2570 # INCLUDES, setting the cache variable VAR accordingly.
2571 ac_fn_c_check_header_compile
()
2573 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2575 $as_echo_n "checking for $2... " >&6; }
2576 if eval \
${$3+:} false
; then :
2577 $as_echo_n "(cached) " >&6
2579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2580 /* end confdefs.h. */
2584 if ac_fn_c_try_compile
"$LINENO"; then :
2589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2593 $as_echo "$ac_res" >&6; }
2594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2596 } # ac_fn_c_check_header_compile
2598 # ac_fn_c_check_func LINENO FUNC VAR
2599 # ----------------------------------
2600 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2601 ac_fn_c_check_func
()
2603 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2605 $as_echo_n "checking for $2... " >&6; }
2606 if eval \
${$3+:} false
; then :
2607 $as_echo_n "(cached) " >&6
2609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h. */
2611 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2613 #define $2 innocuous_$2
2615 /* System header to define __stub macros and hopefully few prototypes,
2616 which can conflict with char $2 (); below.
2617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2618 <limits.h> exists even on freestanding compilers. */
2621 # include <limits.h>
2623 # include <assert.h>
2628 /* Override any GCC internal prototype to avoid an error.
2629 Use char because int might match the return type of a GCC
2630 builtin and then its argument prototype would still apply. */
2635 /* The GNU C library defines this for functions which it implements
2636 to always fail with ENOSYS. Some functions are actually named
2637 something starting with __ and the normal name is an alias. */
2638 #if defined __stub_$2 || defined __stub___$2
2650 if ac_fn_c_try_link
"$LINENO"; then :
2655 rm -f core conftest.err conftest.
$ac_objext \
2656 conftest
$ac_exeext conftest.
$ac_ext
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2660 $as_echo "$ac_res" >&6; }
2661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2663 } # ac_fn_c_check_func
2665 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2666 # ----------------------------------------------------
2667 # Tries to find if the field MEMBER exists in type AGGR, after including
2668 # INCLUDES, setting cache variable VAR accordingly.
2669 ac_fn_c_check_member
()
2671 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2673 $as_echo_n "checking for $2.$3... " >&6; }
2674 if eval \
${$4+:} false
; then :
2675 $as_echo_n "(cached) " >&6
2677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2690 if ac_fn_c_try_compile
"$LINENO"; then :
2693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2694 /* end confdefs.h. */
2700 if (sizeof ac_aggr.$3)
2706 if ac_fn_c_try_compile
"$LINENO"; then :
2711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2717 $as_echo "$ac_res" >&6; }
2718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2720 } # ac_fn_c_check_member
2722 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2723 # -------------------------------------------
2724 # Tests whether TYPE exists after having included INCLUDES, setting cache
2725 # variable VAR accordingly.
2726 ac_fn_c_check_type
()
2728 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2730 $as_echo_n "checking for $2... " >&6; }
2731 if eval \
${$3+:} false
; then :
2732 $as_echo_n "(cached) " >&6
2735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2736 /* end confdefs.h. */
2747 if ac_fn_c_try_compile
"$LINENO"; then :
2748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2749 /* end confdefs.h. */
2760 if ac_fn_c_try_compile
"$LINENO"; then :
2765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2771 $as_echo "$ac_res" >&6; }
2772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2774 } # ac_fn_c_check_type
2775 cat >config.log
<<_ACEOF
2776 This file contains any messages produced by compilers while
2777 running configure, to aid debugging if configure makes a mistake.
2779 It was created by Wine $as_me 1.7.32, which was
2780 generated by GNU Autoconf 2.69. Invocation command line was
2792 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2793 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2794 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2795 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2796 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2798 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2799 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2801 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2802 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2803 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2804 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2805 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2806 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2807 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2815 test -z "$as_dir" && as_dir
=.
2816 $as_echo "PATH: $as_dir"
2832 # Keep a trace of the command line.
2833 # Strip out --no-create and --no-recursion so they do not pile up.
2834 # Strip out --silent because we don't want to record it for future runs.
2835 # Also quote any args containing shell meta-characters.
2836 # Make two passes to allow for proper duplicate-argument suppression.
2840 ac_must_keep_next
=false
2846 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2847 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2848 |
-silent |
--silent |
--silen |
--sile |
--sil)
2851 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2854 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2856 as_fn_append ac_configure_args1
" '$ac_arg'"
2857 if test $ac_must_keep_next = true
; then
2858 ac_must_keep_next
=false
# Got value, back to normal.
2861 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2862 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2863 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2864 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2865 case "$ac_configure_args0 " in
2866 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2869 -* ) ac_must_keep_next
=true
;;
2872 as_fn_append ac_configure_args
" '$ac_arg'"
2877 { ac_configure_args0
=; unset ac_configure_args0
;}
2878 { ac_configure_args1
=; unset ac_configure_args1
;}
2880 # When interrupted or exit'd, cleanup temporary files, and complete
2881 # config.log. We remove comments because anyway the quotes in there
2882 # would cause problems or look ugly.
2883 # WARNING: Use '\'' to represent an apostrophe within the trap.
2884 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2885 trap 'exit_status=$?
2886 # Save into config.log some information that might help in debugging.
2890 $as_echo "## ---------------- ##
2891 ## Cache variables. ##
2892 ## ---------------- ##"
2894 # The following way of writing the cache mishandles newlines in values,
2896 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2897 eval ac_val=\$$ac_var
2901 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2902 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2905 _ | IFS | as_nl) ;; #(
2906 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2907 *) { eval $ac_var=; unset $ac_var;} ;;
2912 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2913 *${as_nl}ac_space=\ *)
2915 "s/'\''/'\''\\\\'\'''\''/g;
2916 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2919 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2926 $as_echo "## ----------------- ##
2927 ## Output variables. ##
2928 ## ----------------- ##"
2930 for ac_var in $ac_subst_vars
2932 eval ac_val=\$$ac_var
2934 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2936 $as_echo "$ac_var='\''$ac_val'\''"
2940 if test -n "$ac_subst_files"; then
2941 $as_echo "## ------------------- ##
2942 ## File substitutions. ##
2943 ## ------------------- ##"
2945 for ac_var
in $ac_subst_files
2947 eval ac_val
=\$
$ac_var
2949 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2951 $as_echo "$ac_var='\''$ac_val'\''"
2956 if test -s confdefs.h; then
2957 $as_echo "## ----------- ##
2964 test "$ac_signal" != 0 &&
2965 $as_echo "$as_me: caught signal $ac_signal"
2966 $as_echo "$as_me: exit $exit_status"
2968 rm -f core *.core core.conftest.* &&
2969 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2972 for ac_signal
in 1 2 13 15; do
2973 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2977 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2978 rm -f -r conftest
* confdefs.h
2980 $as_echo "/* confdefs.h */" > confdefs.h
2982 # Predefined preprocessor variables.
2984 cat >>confdefs.h
<<_ACEOF
2985 #define PACKAGE_NAME "$PACKAGE_NAME"
2988 cat >>confdefs.h
<<_ACEOF
2989 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2992 cat >>confdefs.h
<<_ACEOF
2993 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2996 cat >>confdefs.h
<<_ACEOF
2997 #define PACKAGE_STRING "$PACKAGE_STRING"
3000 cat >>confdefs.h
<<_ACEOF
3001 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3004 cat >>confdefs.h
<<_ACEOF
3005 #define PACKAGE_URL "$PACKAGE_URL"
3009 # Let the site file select an alternate cache file if it wants to.
3010 # Prefer an explicitly selected file to automatically selected ones.
3013 if test -n "$CONFIG_SITE"; then
3014 # We do not want a PATH search for config.site.
3015 case $CONFIG_SITE in #((
3016 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3017 */*) ac_site_file1
=$CONFIG_SITE;;
3018 *) ac_site_file1
=.
/$CONFIG_SITE;;
3020 elif test "x$prefix" != xNONE
; then
3021 ac_site_file1
=$prefix/share
/config.site
3022 ac_site_file2
=$prefix/etc
/config.site
3024 ac_site_file1
=$ac_default_prefix/share
/config.site
3025 ac_site_file2
=$ac_default_prefix/etc
/config.site
3027 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3029 test "x$ac_site_file" = xNONE
&& continue
3030 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3032 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3033 sed 's/^/| /' "$ac_site_file" >&5
3035 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3037 as_fn_error $?
"failed to load site script $ac_site_file
3038 See \`config.log' for more details" "$LINENO" 5; }
3042 if test -r "$cache_file"; then
3043 # Some versions of bash will fail to source /dev/null (special files
3044 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3045 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3047 $as_echo "$as_me: loading cache $cache_file" >&6;}
3049 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3050 *) .
"./$cache_file";;
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3055 $as_echo "$as_me: creating cache $cache_file" >&6;}
3059 # Check that the precious variables saved in the cache have kept the same
3061 ac_cache_corrupted
=false
3062 for ac_var
in $ac_precious_vars; do
3063 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3064 eval ac_new_set
=\
$ac_env_${ac_var}_set
3065 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3066 eval ac_new_val
=\
$ac_env_${ac_var}_value
3067 case $ac_old_set,$ac_new_set in
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3070 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3071 ac_cache_corrupted
=: ;;
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3074 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3075 ac_cache_corrupted
=: ;;
3078 if test "x$ac_old_val" != "x$ac_new_val"; then
3079 # differences in whitespace do not lead to failure.
3080 ac_old_val_w
=`echo x $ac_old_val`
3081 ac_new_val_w
=`echo x $ac_new_val`
3082 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3084 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3085 ac_cache_corrupted
=:
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3088 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3089 eval $ac_var=\
$ac_old_val
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3092 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3094 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3097 # Pass precious variables to config.status.
3098 if test "$ac_new_set" = set; then
3100 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3101 *) ac_arg
=$ac_var=$ac_new_val ;;
3103 case " $ac_configure_args " in
3104 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3105 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3109 if $ac_cache_corrupted; then
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3113 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3114 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3116 ## -------------------- ##
3117 ## Main body of script. ##
3118 ## -------------------- ##
3121 ac_cpp
='$CPP $CPPFLAGS'
3122 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3123 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3124 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3128 ac_config_headers
="$ac_config_headers include/config.h"
3131 for ac_dir
in tools
"$srcdir"/tools
; do
3132 if test -f "$ac_dir/install-sh"; then
3134 ac_install_sh
="$ac_aux_dir/install-sh -c"
3136 elif test -f "$ac_dir/install.sh"; then
3138 ac_install_sh
="$ac_aux_dir/install.sh -c"
3140 elif test -f "$ac_dir/shtool"; then
3142 ac_install_sh
="$ac_aux_dir/shtool install -c"
3146 if test -z "$ac_aux_dir"; then
3147 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3150 # These three variables are undocumented and unsupported,
3151 # and are intended to be withdrawn in a future Autoconf release.
3152 # They can cause serious problems if a builder's source tree is in a directory
3153 # whose full name contains unusual characters.
3154 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3155 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3156 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3160 libwine_version
="1.0"
3164 # Check whether --enable-win16 was given.
3165 if test "${enable_win16+set}" = set; then :
3166 enableval
=$enable_win16;
3169 # Check whether --enable-win64 was given.
3170 if test "${enable_win64+set}" = set; then :
3171 enableval
=$enable_win64;
3174 # Check whether --enable-tests was given.
3175 if test "${enable_tests+set}" = set; then :
3176 enableval
=$enable_tests;
3179 # Check whether --enable-maintainer-mode was given.
3180 if test "${enable_maintainer_mode+set}" = set; then :
3181 enableval
=$enable_maintainer_mode;
3186 # Check whether --with-alsa was given.
3187 if test "${with_alsa+set}" = set; then :
3188 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3192 # Check whether --with-capi was given.
3193 if test "${with_capi+set}" = set; then :
3198 # Check whether --with-cms was given.
3199 if test "${with_cms+set}" = set; then :
3204 # Check whether --with-coreaudio was given.
3205 if test "${with_coreaudio+set}" = set; then :
3206 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3210 # Check whether --with-cups was given.
3211 if test "${with_cups+set}" = set; then :
3216 # Check whether --with-curses was given.
3217 if test "${with_curses+set}" = set; then :
3218 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3222 # Check whether --with-dbus was given.
3223 if test "${with_dbus+set}" = set; then :
3228 # Check whether --with-fontconfig was given.
3229 if test "${with_fontconfig+set}" = set; then :
3230 withval
=$with_fontconfig;
3234 # Check whether --with-freetype was given.
3235 if test "${with_freetype+set}" = set; then :
3236 withval
=$with_freetype;
3240 # Check whether --with-gettext was given.
3241 if test "${with_gettext+set}" = set; then :
3242 withval
=$with_gettext;
3246 # Check whether --with-gettextpo was given.
3247 if test "${with_gettextpo+set}" = set; then :
3248 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3252 # Check whether --with-gphoto was given.
3253 if test "${with_gphoto+set}" = set; then :
3254 withval
=$with_gphoto;
3258 # Check whether --with-glu was given.
3259 if test "${with_glu+set}" = set; then :
3264 # Check whether --with-gnutls was given.
3265 if test "${with_gnutls+set}" = set; then :
3266 withval
=$with_gnutls;
3270 # Check whether --with-gsm was given.
3271 if test "${with_gsm+set}" = set; then :
3272 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3276 # Check whether --with-gstreamer was given.
3277 if test "${with_gstreamer+set}" = set; then :
3278 withval
=$with_gstreamer;
3282 # Check whether --with-hal was given.
3283 if test "${with_hal+set}" = set; then :
3288 # Check whether --with-jpeg was given.
3289 if test "${with_jpeg+set}" = set; then :
3294 # Check whether --with-ldap was given.
3295 if test "${with_ldap+set}" = set; then :
3296 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3300 # Check whether --with-mpg123 was given.
3301 if test "${with_mpg123+set}" = set; then :
3302 withval
=$with_mpg123;
3306 # Check whether --with-netapi was given.
3307 if test "${with_netapi+set}" = set; then :
3308 withval
=$with_netapi;
3312 # Check whether --with-openal was given.
3313 if test "${with_openal+set}" = set; then :
3314 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3318 # Check whether --with-opencl was given.
3319 if test "${with_opencl+set}" = set; then :
3320 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3324 # Check whether --with-opengl was given.
3325 if test "${with_opengl+set}" = set; then :
3326 withval
=$with_opengl;
3330 # Check whether --with-osmesa was given.
3331 if test "${with_osmesa+set}" = set; then :
3332 withval
=$with_osmesa;
3336 # Check whether --with-oss was given.
3337 if test "${with_oss+set}" = set; then :
3342 # Check whether --with-pcap was given.
3343 if test "${with_pcap+set}" = set; then :
3344 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3348 # Check whether --with-png was given.
3349 if test "${with_png+set}" = set; then :
3354 # Check whether --with-pthread was given.
3355 if test "${with_pthread+set}" = set; then :
3356 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3360 # Check whether --with-sane was given.
3361 if test "${with_sane+set}" = set; then :
3366 # Check whether --with-tiff was given.
3367 if test "${with_tiff+set}" = set; then :
3372 # Check whether --with-v4l was given.
3373 if test "${with_v4l+set}" = set; then :
3378 # Check whether --with-xcomposite was given.
3379 if test "${with_xcomposite+set}" = set; then :
3380 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3384 # Check whether --with-xcursor was given.
3385 if test "${with_xcursor+set}" = set; then :
3386 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3390 # Check whether --with-xinerama was given.
3391 if test "${with_xinerama+set}" = set; then :
3392 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3396 # Check whether --with-xinput was given.
3397 if test "${with_xinput+set}" = set; then :
3398 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3402 # Check whether --with-xinput2 was given.
3403 if test "${with_xinput2+set}" = set; then :
3404 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3408 # Check whether --with-xml was given.
3409 if test "${with_xml+set}" = set; then :
3414 # Check whether --with-xrandr was given.
3415 if test "${with_xrandr+set}" = set; then :
3416 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3420 # Check whether --with-xrender was given.
3421 if test "${with_xrender+set}" = set; then :
3422 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3426 # Check whether --with-xshape was given.
3427 if test "${with_xshape+set}" = set; then :
3428 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3432 # Check whether --with-xshm was given.
3433 if test "${with_xshm+set}" = set; then :
3434 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3438 # Check whether --with-xslt was given.
3439 if test "${with_xslt+set}" = set; then :
3444 # Check whether --with-xxf86vm was given.
3445 if test "${with_xxf86vm+set}" = set; then :
3446 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
3450 # Check whether --with-zlib was given.
3451 if test "${with_zlib+set}" = set; then :
3452 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3457 # Check whether --with-wine-tools was given.
3458 if test "${with_wine_tools+set}" = set; then :
3459 withval
=$with_wine_tools;
3463 # Check whether --with-wine64 was given.
3464 if test "${with_wine64+set}" = set; then :
3465 withval
=$with_wine64;
3469 # Make sure we can run config.sub.
3470 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3471 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3474 $as_echo_n "checking build system type... " >&6; }
3475 if ${ac_cv_build+:} false
; then :
3476 $as_echo_n "(cached) " >&6
3478 ac_build_alias
=$build_alias
3479 test "x$ac_build_alias" = x
&&
3480 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3481 test "x$ac_build_alias" = x
&&
3482 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3483 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3484 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3488 $as_echo "$ac_cv_build" >&6; }
3489 case $ac_cv_build in
3491 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3494 ac_save_IFS
=$IFS; IFS
='-'
3500 # Remember, the first character of IFS is used to create $*,
3501 # except with old shells:
3504 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3508 $as_echo_n "checking host system type... " >&6; }
3509 if ${ac_cv_host+:} false
; then :
3510 $as_echo_n "(cached) " >&6
3512 if test "x$host_alias" = x
; then
3513 ac_cv_host
=$ac_cv_build
3515 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3516 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3521 $as_echo "$ac_cv_host" >&6; }
3524 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3527 ac_save_IFS
=$IFS; IFS
='-'
3533 # Remember, the first character of IFS is used to create $*,
3534 # except with old shells:
3537 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3543 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3544 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3545 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3551 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3553 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3554 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3555 $as_echo_n "(cached) " >&6
3557 cat >conftest.
make <<\_ACEOF
3560 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3562 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3563 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3565 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3567 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3571 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3573 $as_echo "yes" >&6; }
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3577 $as_echo "no" >&6; }
3578 SET_MAKE
="MAKE=${MAKE-make}"
3582 ac_cpp
='$CPP $CPPFLAGS'
3583 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3584 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3585 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3586 if test -n "$ac_tool_prefix"; then
3587 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3588 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3590 $as_echo_n "checking for $ac_word... " >&6; }
3591 if ${ac_cv_prog_CC+:} false
; then :
3592 $as_echo_n "(cached) " >&6
3594 if test -n "$CC"; then
3595 ac_cv_prog_CC
="$CC" # Let the user override the test.
3597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3601 test -z "$as_dir" && as_dir
=.
3602 for ac_exec_ext
in '' $ac_executable_extensions; do
3603 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3604 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 if test -n "$CC"; then
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3617 $as_echo "$CC" >&6; }
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3620 $as_echo "no" >&6; }
3625 if test -z "$ac_cv_prog_CC"; then
3627 # Extract the first word of "gcc", so it can be a program name with args.
3628 set dummy gcc
; ac_word
=$2
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3630 $as_echo_n "checking for $ac_word... " >&6; }
3631 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3632 $as_echo_n "(cached) " >&6
3634 if test -n "$ac_ct_CC"; then
3635 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3641 test -z "$as_dir" && as_dir
=.
3642 for ac_exec_ext
in '' $ac_executable_extensions; do
3643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3644 ac_cv_prog_ac_ct_CC
="gcc"
3645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3655 if test -n "$ac_ct_CC"; then
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3657 $as_echo "$ac_ct_CC" >&6; }
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3660 $as_echo "no" >&6; }
3663 if test "x$ac_ct_CC" = x
; then
3666 case $cross_compiling:$ac_tool_warned in
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3670 ac_tool_warned
=yes ;;
3678 if test -z "$CC"; then
3679 if test -n "$ac_tool_prefix"; then
3680 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3681 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3683 $as_echo_n "checking for $ac_word... " >&6; }
3684 if ${ac_cv_prog_CC+:} false
; then :
3685 $as_echo_n "(cached) " >&6
3687 if test -n "$CC"; then
3688 ac_cv_prog_CC
="$CC" # Let the user override the test.
3690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3694 test -z "$as_dir" && as_dir
=.
3695 for ac_exec_ext
in '' $ac_executable_extensions; do
3696 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3697 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3708 if test -n "$CC"; then
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3710 $as_echo "$CC" >&6; }
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3713 $as_echo "no" >&6; }
3719 if test -z "$CC"; then
3720 # Extract the first word of "cc", so it can be a program name with args.
3721 set dummy cc
; ac_word
=$2
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3723 $as_echo_n "checking for $ac_word... " >&6; }
3724 if ${ac_cv_prog_CC+:} false
; then :
3725 $as_echo_n "(cached) " >&6
3727 if test -n "$CC"; then
3728 ac_cv_prog_CC
="$CC" # Let the user override the test.
3731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3735 test -z "$as_dir" && as_dir
=.
3736 for ac_exec_ext
in '' $ac_executable_extensions; do
3737 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3738 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3739 ac_prog_rejected
=yes
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 if test $ac_prog_rejected = yes; then
3751 # We found a bogon in the path, so make sure we never use it.
3752 set dummy
$ac_cv_prog_CC
3754 if test $# != 0; then
3755 # We chose a different compiler from the bogus one.
3756 # However, it has the same basename, so the bogon will be chosen
3757 # first if we set CC to just the basename; use the full file name.
3759 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3765 if test -n "$CC"; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3767 $as_echo "$CC" >&6; }
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770 $as_echo "no" >&6; }
3775 if test -z "$CC"; then
3776 if test -n "$ac_tool_prefix"; then
3777 for ac_prog
in cl.exe
3779 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3780 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if ${ac_cv_prog_CC+:} false
; then :
3784 $as_echo_n "(cached) " >&6
3786 if test -n "$CC"; then
3787 ac_cv_prog_CC
="$CC" # Let the user override the test.
3789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3793 test -z "$as_dir" && as_dir
=.
3794 for ac_exec_ext
in '' $ac_executable_extensions; do
3795 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3796 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3807 if test -n "$CC"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3809 $as_echo "$CC" >&6; }
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3816 test -n "$CC" && break
3819 if test -z "$CC"; then
3821 for ac_prog
in cl.exe
3823 # Extract the first word of "$ac_prog", so it can be a program name with args.
3824 set dummy
$ac_prog; ac_word
=$2
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3826 $as_echo_n "checking for $ac_word... " >&6; }
3827 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3828 $as_echo_n "(cached) " >&6
3830 if test -n "$ac_ct_CC"; then
3831 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3837 test -z "$as_dir" && as_dir
=.
3838 for ac_exec_ext
in '' $ac_executable_extensions; do
3839 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3840 ac_cv_prog_ac_ct_CC
="$ac_prog"
3841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3850 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3851 if test -n "$ac_ct_CC"; then
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3853 $as_echo "$ac_ct_CC" >&6; }
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3856 $as_echo "no" >&6; }
3860 test -n "$ac_ct_CC" && break
3863 if test "x$ac_ct_CC" = x
; then
3866 case $cross_compiling:$ac_tool_warned in
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3870 ac_tool_warned
=yes ;;
3879 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3881 as_fn_error $?
"no acceptable C compiler found in \$PATH
3882 See \`config.log' for more details" "$LINENO" 5; }
3884 # Provide some information about the compiler.
3885 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3888 for ac_option
in --version -v -V -qversion; do
3889 { { ac_try
="$ac_compiler $ac_option >&5"
3891 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3892 *) ac_try_echo=$ac_try;;
3894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3895 $as_echo "$ac_try_echo"; } >&5
3896 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3898 if test -s conftest.err; then
3900 ... rest of stderr output deleted ...
3901 10q' conftest.err >conftest.er1
3902 cat conftest.er1 >&5
3904 rm -f conftest.er1 conftest.err
3905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3906 test $ac_status = 0; }
3909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910 /* end confdefs.h. */
3920 ac_clean_files_save=$ac_clean_files
3921 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3922 # Try to create an executable without -o first, disregard a.out.
3923 # It will help us diagnose broken compilers, and finding out an intuition
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3926 $as_echo_n "checking whether the C compiler works... " >&6; }
3927 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3929 # The possible output files:
3930 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3933 for ac_file in $ac_files
3936 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3937 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3942 if { { ac_try="$ac_link_default"
3944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3945 *) ac_try_echo
=$ac_try;;
3947 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3948 $as_echo "$ac_try_echo"; } >&5
3949 (eval "$ac_link_default") 2>&5
3951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3952 test $ac_status = 0; }; then :
3953 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3954 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3955 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3956 # so that the user can short-circuit this test for compilers unknown to
3958 for ac_file
in $ac_files ''
3960 test -f "$ac_file" ||
continue
3962 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3965 # We found the default executable, but exeext='' is most
3969 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3971 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3973 # We set ac_cv_exeext here because the later test for it is not
3974 # safe: cross compilers may not add the suffix if given an `-o'
3975 # argument, so we may need to know it at that point already.
3976 # Even if this section looks crufty: it has the advantage of
3983 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3988 if test -z "$ac_file"; then :
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3990 $as_echo "no" >&6; }
3991 $as_echo "$as_me: failed program was:" >&5
3992 sed 's/^/| /' conftest.
$ac_ext >&5
3994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3996 as_fn_error
77 "C compiler cannot create executables
3997 See \`config.log' for more details" "$LINENO" 5; }
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4000 $as_echo "yes" >&6; }
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4003 $as_echo_n "checking for C compiler default output file name... " >&6; }
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4005 $as_echo "$ac_file" >&6; }
4006 ac_exeext
=$ac_cv_exeext
4008 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4009 ac_clean_files
=$ac_clean_files_save
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4011 $as_echo_n "checking for suffix of executables... " >&6; }
4012 if { { ac_try
="$ac_link"
4014 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4015 *) ac_try_echo=$ac_try;;
4017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4018 $as_echo "$ac_try_echo"; } >&5
4019 (eval "$ac_link") 2>&5
4021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4022 test $ac_status = 0; }; then :
4023 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4024 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4025 # work properly (i.e., refer to `conftest.exe'), while it won't with
4027 for ac_file
in conftest.exe conftest conftest.
*; do
4028 test -f "$ac_file" ||
continue
4030 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4031 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4039 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4040 See \`config.log' for more details" "$LINENO" 5; }
4042 rm -f conftest conftest
$ac_cv_exeext
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4044 $as_echo "$ac_cv_exeext" >&6; }
4046 rm -f conftest.
$ac_ext
4047 EXEEXT
=$ac_cv_exeext
4049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4055 FILE *f = fopen ("conftest.out", "w");
4056 return ferror (f) || fclose (f) != 0;
4062 ac_clean_files
="$ac_clean_files conftest.out"
4063 # Check that the compiler produces executables we can run. If not, either
4064 # the compiler is broken, or we cross compile.
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4066 $as_echo_n "checking whether we are cross compiling... " >&6; }
4067 if test "$cross_compiling" != yes; then
4068 { { ac_try
="$ac_link"
4070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4071 *) ac_try_echo=$ac_try;;
4073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4074 $as_echo "$ac_try_echo"; } >&5
4075 (eval "$ac_link") 2>&5
4077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4078 test $ac_status = 0; }
4079 if { ac_try='./conftest$ac_cv_exeext'
4080 { { case "(($ac_try" in
4081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4082 *) ac_try_echo
=$ac_try;;
4084 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4085 $as_echo "$ac_try_echo"; } >&5
4086 (eval "$ac_try") 2>&5
4088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4089 test $ac_status = 0; }; }; then
4092 if test "$cross_compiling" = maybe
; then
4095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4097 as_fn_error $?
"cannot run C compiled programs.
4098 If you meant to cross compile, use \`--host'.
4099 See \`config.log' for more details" "$LINENO" 5; }
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4104 $as_echo "$cross_compiling" >&6; }
4106 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4107 ac_clean_files
=$ac_clean_files_save
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4109 $as_echo_n "checking for suffix of object files... " >&6; }
4110 if ${ac_cv_objext+:} false
; then :
4111 $as_echo_n "(cached) " >&6
4113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4114 /* end confdefs.h. */
4124 rm -f conftest.o conftest.obj
4125 if { { ac_try
="$ac_compile"
4127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4128 *) ac_try_echo=$ac_try;;
4130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4131 $as_echo "$ac_try_echo"; } >&5
4132 (eval "$ac_compile") 2>&5
4134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4135 test $ac_status = 0; }; then :
4136 for ac_file in conftest.o conftest.obj conftest.*; do
4137 test -f "$ac_file" || continue;
4139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4140 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4145 $as_echo "$as_me: failed program was:" >&5
4146 sed 's/^/| /' conftest.$ac_ext >&5
4148 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4150 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4151 See \
`config.log' for more details" "$LINENO" 5; }
4153 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4156 $as_echo "$ac_cv_objext" >&6; }
4157 OBJEXT=$ac_cv_objext
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4160 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4161 if ${ac_cv_c_compiler_gnu+:} false; then :
4162 $as_echo_n "(cached) " >&6
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4178 if ac_fn_c_try_compile "$LINENO"; then :
4183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4184 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4188 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4189 if test $ac_compiler_gnu = yes; then
4194 ac_test_CFLAGS=${CFLAGS+set}
4195 ac_save_CFLAGS=$CFLAGS
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4197 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4198 if ${ac_cv_prog_cc_g+:} false; then :
4199 $as_echo_n "(cached) " >&6
4201 ac_save_c_werror_flag=$ac_c_werror_flag
4202 ac_c_werror_flag=yes
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4216 if ac_fn_c_try_compile "$LINENO"; then :
4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4231 if ac_fn_c_try_compile "$LINENO"; then :
4234 ac_c_werror_flag=$ac_save_c_werror_flag
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4247 if ac_fn_c_try_compile "$LINENO"; then :
4250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4255 ac_c_werror_flag=$ac_save_c_werror_flag
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4258 $as_echo "$ac_cv_prog_cc_g" >&6; }
4259 if test "$ac_test_CFLAGS" = set; then
4260 CFLAGS=$ac_save_CFLAGS
4261 elif test $ac_cv_prog_cc_g = yes; then
4262 if test "$GCC" = yes; then
4268 if test "$GCC" = yes; then
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4275 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4276 if ${ac_cv_prog_cc_c89+:} false; then :
4277 $as_echo_n "(cached) " >&6
4279 ac_cv_prog_cc_c89=no
4281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */
4286 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4287 struct buf { int x; };
4288 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4289 static char *e (p, i)
4295 static char *f (char * (*g) (char **, int), char **p, ...)
4300 s = g (p, va_arg (v,int));
4305 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4306 function prototypes and stuff, but not '\xHH' hex character constants.
4307 These don't provoke an error unfortunately, instead are silently treated
4308 as 'x'. The following induces an error, until -std is added to get
4309 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4310 array size at least. It's necessary to write '\x00'==0 to get something
4311 that's true only with -std. */
4312 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4314 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4315 inside strings and character constants. */
4317 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4319 int test (int i, double x);
4320 struct s1 {int (*f) (int a);};
4321 struct s2 {int (*f) (double a);};
4322 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4328 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4333 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4334 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4336 CC="$ac_save_CC $ac_arg"
4337 if ac_fn_c_try_compile "$LINENO"; then :
4338 ac_cv_prog_cc_c89=$ac_arg
4340 rm -f core conftest.err conftest.$ac_objext
4341 test "x$ac_cv_prog_cc_c89" != "xno" && break
4343 rm -f conftest.$ac_ext
4348 case "x$ac_cv_prog_cc_c89" in
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4351 $as_echo "none needed" >&6; } ;;
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4354 $as_echo "unsupported" >&6; } ;;
4356 CC="$CC $ac_cv_prog_cc_c89"
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4358 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4360 if test "x$ac_cv_prog_cc_c89" != xno; then :
4365 ac_cpp='$CPP $CPPFLAGS'
4366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4371 ac_cpp='$CXXCPP $CPPFLAGS'
4372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4375 if test -z "$CXX"; then
4376 if test -n "$CCC"; then
4379 if test -n "$ac_tool_prefix"; then
4380 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4382 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4383 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4385 $as_echo_n "checking for $ac_word... " >&6; }
4386 if ${ac_cv_prog_CXX+:} false; then :
4387 $as_echo_n "(cached) " >&6
4389 if test -n "$CXX"; then
4390 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4396 test -z "$as_dir" && as_dir=.
4397 for ac_exec_ext in '' $ac_executable_extensions; do
4398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4399 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 if test -n "$CXX"; then
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4412 $as_echo "$CXX" >&6; }
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4415 $as_echo "no" >&6; }
4419 test -n "$CXX" && break
4422 if test -z "$CXX"; then
4424 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4426 # Extract the first word of "$ac_prog", so it can be a program name with args.
4427 set dummy $ac_prog; ac_word=$2
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4429 $as_echo_n "checking for $ac_word... " >&6; }
4430 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4431 $as_echo_n "(cached) " >&6
4433 if test -n "$ac_ct_CXX"; then
4434 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440 test -z "$as_dir" && as_dir=.
4441 for ac_exec_ext in '' $ac_executable_extensions; do
4442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4443 ac_cv_prog_ac_ct_CXX="$ac_prog"
4444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4454 if test -n "$ac_ct_CXX"; then
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4456 $as_echo "$ac_ct_CXX" >&6; }
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459 $as_echo "no" >&6; }
4463 test -n "$ac_ct_CXX" && break
4466 if test "x$ac_ct_CXX" = x; then
4469 case $cross_compiling:$ac_tool_warned in
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4473 ac_tool_warned=yes ;;
4481 # Provide some information about the compiler.
4482 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4485 for ac_option in --version -v -V -qversion; do
4486 { { ac_try="$ac_compiler $ac_option >&5"
4488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4489 *) ac_try_echo
=$ac_try;;
4491 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4492 $as_echo "$ac_try_echo"; } >&5
4493 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4495 if test -s conftest.err
; then
4497 ... rest of stderr output deleted ...
4498 10q' conftest.err
>conftest.er1
4499 cat conftest.er1
>&5
4501 rm -f conftest.er1 conftest.err
4502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4503 test $ac_status = 0; }
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4507 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4508 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4509 $as_echo_n "(cached) " >&6
4511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4525 if ac_fn_cxx_try_compile
"$LINENO"; then :
4530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4531 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4535 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4536 if test $ac_compiler_gnu = yes; then
4541 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4542 ac_save_CXXFLAGS
=$CXXFLAGS
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4544 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4545 if ${ac_cv_prog_cxx_g+:} false
; then :
4546 $as_echo_n "(cached) " >&6
4548 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4549 ac_cxx_werror_flag
=yes
4552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h. */
4563 if ac_fn_cxx_try_compile
"$LINENO"; then :
4564 ac_cv_prog_cxx_g
=yes
4567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4568 /* end confdefs.h. */
4578 if ac_fn_cxx_try_compile
"$LINENO"; then :
4581 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4584 /* end confdefs.h. */
4594 if ac_fn_cxx_try_compile
"$LINENO"; then :
4595 ac_cv_prog_cxx_g
=yes
4597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4602 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4605 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4606 if test "$ac_test_CXXFLAGS" = set; then
4607 CXXFLAGS
=$ac_save_CXXFLAGS
4608 elif test $ac_cv_prog_cxx_g = yes; then
4609 if test "$GXX" = yes; then
4615 if test "$GXX" = yes; then
4622 ac_cpp
='$CPP $CPPFLAGS'
4623 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4624 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4625 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4627 if test -n "$ac_tool_prefix"; then
4628 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4629 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4631 $as_echo_n "checking for $ac_word... " >&6; }
4632 if ${ac_cv_prog_CPPBIN+:} false
; then :
4633 $as_echo_n "(cached) " >&6
4635 if test -n "$CPPBIN"; then
4636 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4642 test -z "$as_dir" && as_dir
=.
4643 for ac_exec_ext
in '' $ac_executable_extensions; do
4644 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4645 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4655 CPPBIN
=$ac_cv_prog_CPPBIN
4656 if test -n "$CPPBIN"; then
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4658 $as_echo "$CPPBIN" >&6; }
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4661 $as_echo "no" >&6; }
4666 if test -z "$ac_cv_prog_CPPBIN"; then
4667 ac_ct_CPPBIN
=$CPPBIN
4668 # Extract the first word of "cpp", so it can be a program name with args.
4669 set dummy cpp
; ac_word
=$2
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4671 $as_echo_n "checking for $ac_word... " >&6; }
4672 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4673 $as_echo_n "(cached) " >&6
4675 if test -n "$ac_ct_CPPBIN"; then
4676 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4682 test -z "$as_dir" && as_dir
=.
4683 for ac_exec_ext
in '' $ac_executable_extensions; do
4684 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4685 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4695 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4696 if test -n "$ac_ct_CPPBIN"; then
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4698 $as_echo "$ac_ct_CPPBIN" >&6; }
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4701 $as_echo "no" >&6; }
4704 if test "x$ac_ct_CPPBIN" = x
; then
4707 case $cross_compiling:$ac_tool_warned in
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4711 ac_tool_warned
=yes ;;
4713 CPPBIN
=$ac_ct_CPPBIN
4716 CPPBIN
="$ac_cv_prog_CPPBIN"
4720 cat >>confdefs.h
<<_ACEOF
4721 #define EXEEXT "$ac_exeext"
4727 if test "x$enable_win64" = "xyes"
4732 notice_platform
="64-bit "
4739 notice_platform
="32-bit "
4742 enable_win16
=${enable_win16:-yes}
4744 with_fontconfig
=${with_fontconfig:-no}
4747 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4752 $as_echo_n "checking whether $CC works... " >&6; }
4754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4755 /* end confdefs.h. */
4765 if ac_fn_c_try_link
"$LINENO"; then :
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4767 $as_echo "yes" >&6; }
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4770 $as_echo "no" >&6; }
4771 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4773 rm -f core conftest.err conftest.
$ac_objext \
4774 conftest
$ac_exeext conftest.
$ac_ext
4776 notice_platform
="32-bit "
4779 enable_win16
=${enable_win16:-yes}
4781 if test "x${GCC}" = "xyes"
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4784 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4786 /* end confdefs.h. */
4791 void func(__builtin_ms_va_list *args);
4796 if ac_fn_c_try_compile
"$LINENO"; then :
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4798 $as_echo "yes" >&6; }
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4802 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4812 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4815 int ac_test(int i) { return i; }
4819 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4824 if ac_fn_c_try_link
"$LINENO"; then :
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4826 $as_echo "yes" >&6; }
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4829 $as_echo "no" >&6; }
4830 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4832 rm -f core conftest.err conftest.
$ac_objext \
4833 conftest
$ac_exeext conftest.
$ac_ext
4834 CFLAGS
="$CFLAGS -marm"
4838 *-mingw32*|
*-cygwin*)
4839 enable_win16
=${enable_win16:-no}
4840 CFLAGS
="$CFLAGS -D_WIN32"
4843 enable_win16
=${enable_win16:-yes}
4847 enable_win16
=${enable_win16:-no}
4848 enable_win64
=${enable_win64:-no}
4850 enable_winetest
=${enable_winetest:-$enable_tests}
4852 if test -n "$with_wine64"
4854 if test "x$enable_win64" = "xyes"
4856 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4857 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4859 enable_fonts
=${enable_fonts:-no}
4860 enable_server
=${enable_server:-no}
4861 elif test "x$enable_win64" = "xyes"
4863 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4867 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4868 if ${wine_cv_toolsdir+:} false
; then :
4869 $as_echo_n "(cached) " >&6
4871 wine_cv_toolsdir
="$with_wine_tools"
4872 if test -z "$with_wine_tools"; then
4873 if test "$cross_compiling" = "yes"; then
4874 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4875 elif test -n "$with_wine64"; then
4876 wine_cv_toolsdir
="$with_wine64"
4879 if test -z "$wine_cv_toolsdir"; then
4880 wine_makedep
=tools
/makedep
4881 wine_cv_toolsdir
="\$(top_builddir)"
4882 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4883 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4884 case "$wine_cv_toolsdir" in
4886 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4888 enable_tools
=${enable_tools:-no}
4889 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4891 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4895 $as_echo "$wine_cv_toolsdir" >&6; }
4896 TOOLSDIR
=$wine_cv_toolsdir
4898 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4900 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4906 # Extract the first word of "$ac_prog", so it can be a program name with args.
4907 set dummy
$ac_prog; ac_word
=$2
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4909 $as_echo_n "checking for $ac_word... " >&6; }
4910 if ${ac_cv_prog_FLEX+:} false
; then :
4911 $as_echo_n "(cached) " >&6
4913 if test -n "$FLEX"; then
4914 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4920 test -z "$as_dir" && as_dir
=.
4921 for ac_exec_ext
in '' $ac_executable_extensions; do
4922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4923 ac_cv_prog_FLEX
="$ac_prog"
4924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4933 FLEX
=$ac_cv_prog_FLEX
4934 if test -n "$FLEX"; then
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4936 $as_echo "$FLEX" >&6; }
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939 $as_echo "no" >&6; }
4943 test -n "$FLEX" && break
4945 test -n "$FLEX" || FLEX
="none"
4947 if test "$FLEX" = "none"
4949 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4952 $as_echo_n "checking whether flex is recent enough... " >&6; }
4953 cat >conftest.l
<<EOF
4955 #include "prediluvian.h"
4959 if $FLEX -t conftest.l
>/dev
/null
2>&5
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4962 $as_echo "yes" >&6; }
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4966 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4969 for ac_prog
in bison
4971 # Extract the first word of "$ac_prog", so it can be a program name with args.
4972 set dummy
$ac_prog; ac_word
=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if ${ac_cv_prog_BISON+:} false
; then :
4976 $as_echo_n "(cached) " >&6
4978 if test -n "$BISON"; then
4979 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4985 test -z "$as_dir" && as_dir
=.
4986 for ac_exec_ext
in '' $ac_executable_extensions; do
4987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_BISON
="$ac_prog"
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4998 BISON
=$ac_cv_prog_BISON
4999 if test -n "$BISON"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5001 $as_echo "$BISON" >&6; }
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5008 test -n "$BISON" && break
5010 test -n "$BISON" || BISON
="none"
5012 if test "$BISON" = "none"
5014 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5017 if test -n "$ac_tool_prefix"; then
5018 for ac_prog
in ar gar
5020 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5021 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if ${ac_cv_prog_AR+:} false
; then :
5025 $as_echo_n "(cached) " >&6
5027 if test -n "$AR"; then
5028 ac_cv_prog_AR
="$AR" # Let the user override the test.
5030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5034 test -z "$as_dir" && as_dir
=.
5035 for ac_exec_ext
in '' $ac_executable_extensions; do
5036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5037 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 if test -n "$AR"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5050 $as_echo "$AR" >&6; }
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5057 test -n "$AR" && break
5060 if test -z "$AR"; then
5062 for ac_prog
in ar gar
5064 # Extract the first word of "$ac_prog", so it can be a program name with args.
5065 set dummy
$ac_prog; ac_word
=$2
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5067 $as_echo_n "checking for $ac_word... " >&6; }
5068 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5069 $as_echo_n "(cached) " >&6
5071 if test -n "$ac_ct_AR"; then
5072 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5078 test -z "$as_dir" && as_dir
=.
5079 for ac_exec_ext
in '' $ac_executable_extensions; do
5080 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5081 ac_cv_prog_ac_ct_AR
="$ac_prog"
5082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5091 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5092 if test -n "$ac_ct_AR"; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5094 $as_echo "$ac_ct_AR" >&6; }
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097 $as_echo "no" >&6; }
5101 test -n "$ac_ct_AR" && break
5104 if test "x$ac_ct_AR" = x
; then
5107 case $cross_compiling:$ac_tool_warned in
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111 ac_tool_warned
=yes ;;
5117 if test -n "$ac_tool_prefix"; then
5118 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5119 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5121 $as_echo_n "checking for $ac_word... " >&6; }
5122 if ${ac_cv_prog_STRIP+:} false
; then :
5123 $as_echo_n "(cached) " >&6
5125 if test -n "$STRIP"; then
5126 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5132 test -z "$as_dir" && as_dir
=.
5133 for ac_exec_ext
in '' $ac_executable_extensions; do
5134 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5135 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 STRIP
=$ac_cv_prog_STRIP
5146 if test -n "$STRIP"; then
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5148 $as_echo "$STRIP" >&6; }
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 $as_echo "no" >&6; }
5156 if test -z "$ac_cv_prog_STRIP"; then
5158 # Extract the first word of "strip", so it can be a program name with args.
5159 set dummy strip
; ac_word
=$2
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5161 $as_echo_n "checking for $ac_word... " >&6; }
5162 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5163 $as_echo_n "(cached) " >&6
5165 if test -n "$ac_ct_STRIP"; then
5166 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5172 test -z "$as_dir" && as_dir
=.
5173 for ac_exec_ext
in '' $ac_executable_extensions; do
5174 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5175 ac_cv_prog_ac_ct_STRIP
="strip"
5176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5186 if test -n "$ac_ct_STRIP"; then
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5188 $as_echo "$ac_ct_STRIP" >&6; }
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5191 $as_echo "no" >&6; }
5194 if test "x$ac_ct_STRIP" = x
; then
5197 case $cross_compiling:$ac_tool_warned in
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5201 ac_tool_warned
=yes ;;
5206 STRIP
="$ac_cv_prog_STRIP"
5211 if test -n "$ac_tool_prefix"; then
5212 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5213 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if ${ac_cv_prog_RANLIB+:} false
; then :
5217 $as_echo_n "(cached) " >&6
5219 if test -n "$RANLIB"; then
5220 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5226 test -z "$as_dir" && as_dir
=.
5227 for ac_exec_ext
in '' $ac_executable_extensions; do
5228 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5229 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 RANLIB
=$ac_cv_prog_RANLIB
5240 if test -n "$RANLIB"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5242 $as_echo "$RANLIB" >&6; }
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245 $as_echo "no" >&6; }
5250 if test -z "$ac_cv_prog_RANLIB"; then
5251 ac_ct_RANLIB
=$RANLIB
5252 # Extract the first word of "ranlib", so it can be a program name with args.
5253 set dummy ranlib
; ac_word
=$2
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5255 $as_echo_n "checking for $ac_word... " >&6; }
5256 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5257 $as_echo_n "(cached) " >&6
5259 if test -n "$ac_ct_RANLIB"; then
5260 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5266 test -z "$as_dir" && as_dir
=.
5267 for ac_exec_ext
in '' $ac_executable_extensions; do
5268 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5269 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5280 if test -n "$ac_ct_RANLIB"; then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5282 $as_echo "$ac_ct_RANLIB" >&6; }
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5285 $as_echo "no" >&6; }
5288 if test "x$ac_ct_RANLIB" = x
; then
5291 case $cross_compiling:$ac_tool_warned in
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5295 ac_tool_warned
=yes ;;
5297 RANLIB
=$ac_ct_RANLIB
5300 RANLIB
="$ac_cv_prog_RANLIB"
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5304 $as_echo_n "checking whether ln -s works... " >&6; }
5306 if test "$LN_S" = "ln -s"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5308 $as_echo "yes" >&6; }
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5311 $as_echo "no, using $LN_S" >&6; }
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5315 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5316 if ${ac_cv_path_GREP+:} false
; then :
5317 $as_echo_n "(cached) " >&6
5319 if test -z "$GREP"; then
5320 ac_path_GREP_found
=false
5321 # Loop through the user's path and test for each of PROGNAME-LIST
5322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5323 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5326 test -z "$as_dir" && as_dir
=.
5327 for ac_prog
in grep ggrep
; do
5328 for ac_exec_ext
in '' $ac_executable_extensions; do
5329 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5330 as_fn_executable_p
"$ac_path_GREP" ||
continue
5331 # Check for GNU ac_path_GREP and select it if it is found.
5332 # Check for GNU $ac_path_GREP
5333 case `"$ac_path_GREP" --version 2>&1` in
5335 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5338 $as_echo_n 0123456789 >"conftest.in"
5341 cat "conftest.in" "conftest.in" >"conftest.tmp"
5342 mv "conftest.tmp" "conftest.in"
5343 cp "conftest.in" "conftest.nl"
5344 $as_echo 'GREP' >> "conftest.nl"
5345 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5346 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5347 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5348 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5349 # Best one so far, save it but keep looking for a better one
5350 ac_cv_path_GREP
="$ac_path_GREP"
5351 ac_path_GREP_max
=$ac_count
5353 # 10*(2^10) chars as input seems more than enough
5354 test $ac_count -gt 10 && break
5356 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5359 $ac_path_GREP_found && break 3
5364 if test -z "$ac_cv_path_GREP"; then
5365 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5368 ac_cv_path_GREP
=$GREP
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5373 $as_echo "$ac_cv_path_GREP" >&6; }
5374 GREP
="$ac_cv_path_GREP"
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5378 $as_echo_n "checking for egrep... " >&6; }
5379 if ${ac_cv_path_EGREP+:} false
; then :
5380 $as_echo_n "(cached) " >&6
5382 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5383 then ac_cv_path_EGREP
="$GREP -E"
5385 if test -z "$EGREP"; then
5386 ac_path_EGREP_found
=false
5387 # Loop through the user's path and test for each of PROGNAME-LIST
5388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5389 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5392 test -z "$as_dir" && as_dir
=.
5393 for ac_prog
in egrep; do
5394 for ac_exec_ext
in '' $ac_executable_extensions; do
5395 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5396 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5397 # Check for GNU ac_path_EGREP and select it if it is found.
5398 # Check for GNU $ac_path_EGREP
5399 case `"$ac_path_EGREP" --version 2>&1` in
5401 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5404 $as_echo_n 0123456789 >"conftest.in"
5407 cat "conftest.in" "conftest.in" >"conftest.tmp"
5408 mv "conftest.tmp" "conftest.in"
5409 cp "conftest.in" "conftest.nl"
5410 $as_echo 'EGREP' >> "conftest.nl"
5411 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5412 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5413 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5414 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5415 # Best one so far, save it but keep looking for a better one
5416 ac_cv_path_EGREP
="$ac_path_EGREP"
5417 ac_path_EGREP_max
=$ac_count
5419 # 10*(2^10) chars as input seems more than enough
5420 test $ac_count -gt 10 && break
5422 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5425 $ac_path_EGREP_found && break 3
5430 if test -z "$ac_cv_path_EGREP"; then
5431 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5434 ac_cv_path_EGREP
=$EGREP
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5440 $as_echo "$ac_cv_path_EGREP" >&6; }
5441 EGREP
="$ac_cv_path_EGREP"
5444 # Extract the first word of "ldconfig", so it can be a program name with args.
5445 set dummy ldconfig
; ac_word
=$2
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5447 $as_echo_n "checking for $ac_word... " >&6; }
5448 if ${ac_cv_path_LDCONFIG+:} false
; then :
5449 $as_echo_n "(cached) " >&6
5453 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5457 for as_dir
in /sbin
/usr
/sbin
$PATH
5460 test -z "$as_dir" && as_dir
=.
5461 for ac_exec_ext
in '' $ac_executable_extensions; do
5462 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5463 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5475 LDCONFIG
=$ac_cv_path_LDCONFIG
5476 if test -n "$LDCONFIG"; then
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5478 $as_echo "$LDCONFIG" >&6; }
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5481 $as_echo "no" >&6; }
5485 for ac_prog
in msgfmt
5487 # Extract the first word of "$ac_prog", so it can be a program name with args.
5488 set dummy
$ac_prog; ac_word
=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if ${ac_cv_prog_MSGFMT+:} false
; then :
5492 $as_echo_n "(cached) " >&6
5494 if test -n "$MSGFMT"; then
5495 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5501 test -z "$as_dir" && as_dir
=.
5502 for ac_exec_ext
in '' $ac_executable_extensions; do
5503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5504 ac_cv_prog_MSGFMT
="$ac_prog"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 MSGFMT
=$ac_cv_prog_MSGFMT
5515 if test -n "$MSGFMT"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5517 $as_echo "$MSGFMT" >&6; }
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5524 test -n "$MSGFMT" && break
5526 test -n "$MSGFMT" || MSGFMT
="false"
5528 if ${ac_tool_prefix+:} false
; then :
5529 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5530 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5532 $as_echo_n "checking for $ac_word... " >&6; }
5533 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5534 $as_echo_n "(cached) " >&6
5536 if test -n "$PKG_CONFIG"; then
5537 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5543 test -z "$as_dir" && as_dir
=.
5544 for ac_exec_ext
in '' $ac_executable_extensions; do
5545 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5546 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5556 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5557 if test -n "$PKG_CONFIG"; then
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5559 $as_echo "$PKG_CONFIG" >&6; }
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5562 $as_echo "no" >&6; }
5567 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5568 if test "x$cross_compiling" = xyes
; then :
5571 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5572 # Extract the first word of "pkg-config", so it can be a program name with args.
5573 set dummy pkg-config
; ac_word
=$2
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5575 $as_echo_n "checking for $ac_word... " >&6; }
5576 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5577 $as_echo_n "(cached) " >&6
5579 if test -n "$PKG_CONFIG"; then
5580 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5586 test -z "$as_dir" && as_dir
=.
5587 for ac_exec_ext
in '' $ac_executable_extensions; do
5588 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5589 ac_cv_prog_PKG_CONFIG
="pkg-config"
5590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5600 if test -n "$PKG_CONFIG"; then
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5602 $as_echo "$PKG_CONFIG" >&6; }
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5605 $as_echo "no" >&6; }
5611 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5614 if test "x$enable_maintainer_mode" != "xyes"
5621 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5622 for ac_prog
in fontforge
5624 # Extract the first word of "$ac_prog", so it can be a program name with args.
5625 set dummy
$ac_prog; ac_word
=$2
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5627 $as_echo_n "checking for $ac_word... " >&6; }
5628 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5629 $as_echo_n "(cached) " >&6
5631 if test -n "$FONTFORGE"; then
5632 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5638 test -z "$as_dir" && as_dir
=.
5639 for ac_exec_ext
in '' $ac_executable_extensions; do
5640 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5641 ac_cv_prog_FONTFORGE
="$ac_prog"
5642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5651 FONTFORGE
=$ac_cv_prog_FONTFORGE
5652 if test -n "$FONTFORGE"; then
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5654 $as_echo "$FONTFORGE" >&6; }
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5657 $as_echo "no" >&6; }
5661 test -n "$FONTFORGE" && break
5663 test -n "$FONTFORGE" || FONTFORGE
="false"
5667 # Extract the first word of "$ac_prog", so it can be a program name with args.
5668 set dummy
$ac_prog; ac_word
=$2
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5670 $as_echo_n "checking for $ac_word... " >&6; }
5671 if ${ac_cv_prog_RSVG+:} false
; then :
5672 $as_echo_n "(cached) " >&6
5674 if test -n "$RSVG"; then
5675 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5681 test -z "$as_dir" && as_dir
=.
5682 for ac_exec_ext
in '' $ac_executable_extensions; do
5683 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5684 ac_cv_prog_RSVG
="$ac_prog"
5685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5694 RSVG
=$ac_cv_prog_RSVG
5695 if test -n "$RSVG"; then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5697 $as_echo "$RSVG" >&6; }
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5700 $as_echo "no" >&6; }
5704 test -n "$RSVG" && break
5706 test -n "$RSVG" || RSVG
="false"
5708 for ac_prog
in convert
5710 # Extract the first word of "$ac_prog", so it can be a program name with args.
5711 set dummy
$ac_prog; ac_word
=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_prog_CONVERT+:} false
; then :
5715 $as_echo_n "(cached) " >&6
5717 if test -n "$CONVERT"; then
5718 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5724 test -z "$as_dir" && as_dir
=.
5725 for ac_exec_ext
in '' $ac_executable_extensions; do
5726 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5727 ac_cv_prog_CONVERT
="$ac_prog"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5737 CONVERT
=$ac_cv_prog_CONVERT
5738 if test -n "$CONVERT"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5740 $as_echo "$CONVERT" >&6; }
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5747 test -n "$CONVERT" && break
5749 test -n "$CONVERT" || CONVERT
="false"
5751 for ac_prog
in icotool
5753 # Extract the first word of "$ac_prog", so it can be a program name with args.
5754 set dummy
$ac_prog; ac_word
=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5758 $as_echo_n "(cached) " >&6
5760 if test -n "$ICOTOOL"; then
5761 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5767 test -z "$as_dir" && as_dir
=.
5768 for ac_exec_ext
in '' $ac_executable_extensions; do
5769 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5770 ac_cv_prog_ICOTOOL
="$ac_prog"
5771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5780 ICOTOOL
=$ac_cv_prog_ICOTOOL
5781 if test -n "$ICOTOOL"; then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5783 $as_echo "$ICOTOOL" >&6; }
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
5790 test -n "$ICOTOOL" && break
5792 test -n "$ICOTOOL" || ICOTOOL
="false"
5794 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5795 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5797 if test "$CONVERT" = false
5799 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5802 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5803 convert_version
=`convert --version | head -n1`
5804 if test "x$convert_version" != "x"
5806 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5807 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5808 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5813 if test "$CONVERT" = false
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5816 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5817 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5820 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5824 if test "$ICOTOOL" = false
5826 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5829 $as_echo_n "checking for recent enough icotool... " >&6; }
5830 icotool_version
=`icotool --version | head -n1`
5831 if test "x$icotool_version" != "x"
5833 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5834 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5835 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5838 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5841 if test "$ICOTOOL" = false
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5844 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5845 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5848 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5854 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5857 test "x$with_gettext" != xno || MSGFMT
=false
5858 if test "$MSGFMT" != "false"
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5861 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5862 cat >conftest.po
<<EOF
5868 if $MSGFMT -o /dev
/null conftest.po
2>&5
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5871 $as_echo "yes" >&6; }
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5874 $as_echo "no" >&6; }
5878 if test "$MSGFMT" = false
; then :
5879 case "x$with_gettext" in
5880 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5882 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5883 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5889 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5890 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5891 $as_echo_n "(cached) " >&6
5893 ac_check_lib_save_LIBS
=$LIBS
5895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5896 /* end confdefs.h. */
5898 /* Override any GCC internal prototype to avoid an error.
5899 Use char because int might match the return type of a GCC
5900 builtin and then its argument prototype would still apply. */
5904 char i386_set_ldt ();
5908 return i386_set_ldt ();
5913 if ac_fn_c_try_link
"$LINENO"; then :
5914 ac_cv_lib_i386_i386_set_ldt
=yes
5916 ac_cv_lib_i386_i386_set_ldt
=no
5918 rm -f core conftest.err conftest.
$ac_objext \
5919 conftest
$ac_exeext conftest.
$ac_ext
5920 LIBS
=$ac_check_lib_save_LIBS
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5923 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5924 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5925 cat >>confdefs.h
<<_ACEOF
5926 #define HAVE_LIBI386 1
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5934 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5935 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5936 $as_echo_n "(cached) " >&6
5938 ac_check_lib_save_LIBS
=$LIBS
5939 LIBS
="-lossaudio $LIBS"
5940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5941 /* end confdefs.h. */
5943 /* Override any GCC internal prototype to avoid an error.
5944 Use char because int might match the return type of a GCC
5945 builtin and then its argument prototype would still apply. */
5953 return _oss_ioctl ();
5958 if ac_fn_c_try_link
"$LINENO"; then :
5959 ac_cv_lib_ossaudio__oss_ioctl
=yes
5961 ac_cv_lib_ossaudio__oss_ioctl
=no
5963 rm -f core conftest.err conftest.
$ac_objext \
5964 conftest
$ac_exeext conftest.
$ac_ext
5965 LIBS
=$ac_check_lib_save_LIBS
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5968 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5969 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5970 cat >>confdefs.h
<<_ACEOF
5971 #define HAVE_LIBOSSAUDIO 1
5974 LIBS
="-lossaudio $LIBS"
5983 # Check whether --enable-largefile was given.
5984 if test "${enable_largefile+set}" = set; then :
5985 enableval
=$enable_largefile;
5988 if test "$enable_largefile" != no
; then
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5991 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5992 if ${ac_cv_sys_largefile_CC+:} false
; then :
5993 $as_echo_n "(cached) " >&6
5995 ac_cv_sys_largefile_CC
=no
5996 if test "$GCC" != yes; then
5999 # IRIX 6.2 and later do not support large files by default,
6000 # so use the C compiler's -n32 option if that helps.
6001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6002 /* end confdefs.h. */
6003 #include <sys/types.h>
6004 /* Check that off_t can represent 2**63 - 1 correctly.
6005 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6006 since some C++ compilers masquerading as C compilers
6007 incorrectly reject 9223372036854775807. */
6008 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6009 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6010 && LARGE_OFF_T % 2147483647 == 1)
6020 if ac_fn_c_try_compile
"$LINENO"; then :
6023 rm -f core conftest.err conftest.
$ac_objext
6025 if ac_fn_c_try_compile
"$LINENO"; then :
6026 ac_cv_sys_largefile_CC
=' -n32'; break
6028 rm -f core conftest.err conftest.
$ac_objext
6032 rm -f conftest.
$ac_ext
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6036 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6037 if test "$ac_cv_sys_largefile_CC" != no
; then
6038 CC
=$CC$ac_cv_sys_largefile_CC
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6042 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6043 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6044 $as_echo_n "(cached) " >&6
6047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6048 /* end confdefs.h. */
6049 #include <sys/types.h>
6050 /* Check that off_t can represent 2**63 - 1 correctly.
6051 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6052 since some C++ compilers masquerading as C compilers
6053 incorrectly reject 9223372036854775807. */
6054 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6055 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6056 && LARGE_OFF_T % 2147483647 == 1)
6066 if ac_fn_c_try_compile
"$LINENO"; then :
6067 ac_cv_sys_file_offset_bits
=no
; break
6069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6071 /* end confdefs.h. */
6072 #define _FILE_OFFSET_BITS 64
6073 #include <sys/types.h>
6074 /* Check that off_t can represent 2**63 - 1 correctly.
6075 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6076 since some C++ compilers masquerading as C compilers
6077 incorrectly reject 9223372036854775807. */
6078 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6079 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6080 && LARGE_OFF_T % 2147483647 == 1)
6090 if ac_fn_c_try_compile
"$LINENO"; then :
6091 ac_cv_sys_file_offset_bits
=64; break
6093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6094 ac_cv_sys_file_offset_bits
=unknown
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6099 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6100 case $ac_cv_sys_file_offset_bits in #(
6103 cat >>confdefs.h
<<_ACEOF
6104 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6109 if test $ac_cv_sys_file_offset_bits = unknown
; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6111 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6112 if ${ac_cv_sys_large_files+:} false
; then :
6113 $as_echo_n "(cached) " >&6
6116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6117 /* end confdefs.h. */
6118 #include <sys/types.h>
6119 /* Check that off_t can represent 2**63 - 1 correctly.
6120 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6121 since some C++ compilers masquerading as C compilers
6122 incorrectly reject 9223372036854775807. */
6123 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6124 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6125 && LARGE_OFF_T % 2147483647 == 1)
6135 if ac_fn_c_try_compile
"$LINENO"; then :
6136 ac_cv_sys_large_files
=no
; break
6138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6140 /* end confdefs.h. */
6141 #define _LARGE_FILES 1
6142 #include <sys/types.h>
6143 /* Check that off_t can represent 2**63 - 1 correctly.
6144 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6145 since some C++ compilers masquerading as C compilers
6146 incorrectly reject 9223372036854775807. */
6147 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6148 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6149 && LARGE_OFF_T % 2147483647 == 1)
6159 if ac_fn_c_try_compile
"$LINENO"; then :
6160 ac_cv_sys_large_files
=1; break
6162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6163 ac_cv_sys_large_files
=unknown
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6168 $as_echo "$ac_cv_sys_large_files" >&6; }
6169 case $ac_cv_sys_large_files in #(
6172 cat >>confdefs.h
<<_ACEOF
6173 #define _LARGE_FILES $ac_cv_sys_large_files
6185 ac_cpp
='$CPP $CPPFLAGS'
6186 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6187 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6188 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6190 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6191 # On Suns, sometimes $CPP names a directory.
6192 if test -n "$CPP" && test -d "$CPP"; then
6195 if test -z "$CPP"; then
6196 if ${ac_cv_prog_CPP+:} false
; then :
6197 $as_echo_n "(cached) " >&6
6199 # Double quotes because CPP needs to be expanded
6200 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6203 for ac_c_preproc_warn_flag
in '' yes
6205 # Use a header file that comes with gcc, so configuring glibc
6206 # with a fresh cross-compiler works.
6207 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6208 # <limits.h> exists even on freestanding compilers.
6209 # On the NeXT, cc -E runs the code through the compiler's parser,
6210 # not just through cpp. "Syntax error" is here to catch this case.
6211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6212 /* end confdefs.h. */
6214 # include <limits.h>
6216 # include <assert.h>
6220 if ac_fn_c_try_cpp
"$LINENO"; then :
6223 # Broken: fails on valid input.
6226 rm -f conftest.err conftest.i conftest.
$ac_ext
6228 # OK, works on sane cases. Now check whether nonexistent headers
6229 # can be detected and how.
6230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6231 /* end confdefs.h. */
6232 #include <ac_nonexistent.h>
6234 if ac_fn_c_try_cpp
"$LINENO"; then :
6235 # Broken: success on invalid input.
6238 # Passes both tests.
6242 rm -f conftest.err conftest.i conftest.
$ac_ext
6245 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6246 rm -f conftest.i conftest.err conftest.
$ac_ext
6247 if $ac_preproc_ok; then :
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6260 $as_echo "$CPP" >&6; }
6262 for ac_c_preproc_warn_flag
in '' yes
6264 # Use a header file that comes with gcc, so configuring glibc
6265 # with a fresh cross-compiler works.
6266 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6267 # <limits.h> exists even on freestanding compilers.
6268 # On the NeXT, cc -E runs the code through the compiler's parser,
6269 # not just through cpp. "Syntax error" is here to catch this case.
6270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6271 /* end confdefs.h. */
6273 # include <limits.h>
6275 # include <assert.h>
6279 if ac_fn_c_try_cpp
"$LINENO"; then :
6282 # Broken: fails on valid input.
6285 rm -f conftest.err conftest.i conftest.
$ac_ext
6287 # OK, works on sane cases. Now check whether nonexistent headers
6288 # can be detected and how.
6289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6290 /* end confdefs.h. */
6291 #include <ac_nonexistent.h>
6293 if ac_fn_c_try_cpp
"$LINENO"; then :
6294 # Broken: success on invalid input.
6297 # Passes both tests.
6301 rm -f conftest.err conftest.i conftest.
$ac_ext
6304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6305 rm -f conftest.i conftest.err conftest.
$ac_ext
6306 if $ac_preproc_ok; then :
6309 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6311 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6312 See \`config.log' for more details" "$LINENO" 5; }
6316 ac_cpp
='$CPP $CPPFLAGS'
6317 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6318 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6319 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6323 $as_echo_n "checking for ANSI C header files... " >&6; }
6324 if ${ac_cv_header_stdc+:} false
; then :
6325 $as_echo_n "(cached) " >&6
6327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6342 if ac_fn_c_try_compile
"$LINENO"; then :
6343 ac_cv_header_stdc
=yes
6345 ac_cv_header_stdc
=no
6347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6349 if test $ac_cv_header_stdc = yes; then
6350 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6352 /* end confdefs.h. */
6356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6357 $EGREP "memchr" >/dev
/null
2>&1; then :
6360 ac_cv_header_stdc
=no
6366 if test $ac_cv_header_stdc = yes; then
6367 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6369 /* end confdefs.h. */
6373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6374 $EGREP "free" >/dev
/null
2>&1; then :
6377 ac_cv_header_stdc
=no
6383 if test $ac_cv_header_stdc = yes; then
6384 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6385 if test "$cross_compiling" = yes; then :
6388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6389 /* end confdefs.h. */
6392 #if ((' ' & 0x0FF) == 0x020)
6393 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6394 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6396 # define ISLOWER(c) \
6397 (('a' <= (c) && (c) <= 'i') \
6398 || ('j' <= (c) && (c) <= 'r') \
6399 || ('s' <= (c) && (c) <= 'z'))
6400 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6403 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6408 for (i = 0; i < 256; i++)
6409 if (XOR (islower (i), ISLOWER (i))
6410 || toupper (i) != TOUPPER (i))
6415 if ac_fn_c_try_run
"$LINENO"; then :
6418 ac_cv_header_stdc
=no
6420 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6421 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6427 $as_echo "$ac_cv_header_stdc" >&6; }
6428 if test $ac_cv_header_stdc = yes; then
6430 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6434 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6435 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6436 inttypes.h stdint.h unistd.h
6438 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6439 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6441 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6442 cat >>confdefs.h
<<_ACEOF
6443 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6453 ApplicationServices
/ApplicationServices.h \
6454 AudioToolbox
/AudioConverter.h \
6455 AudioUnit
/AudioUnit.h \
6456 AudioUnit
/AudioComponent.h \
6459 CoreAudio
/CoreAudio.h \
6460 CoreServices
/CoreServices.h \
6461 DiskArbitration
/DiskArbitration.h \
6463 IOKit
/hid
/IOHIDLib.h \
6466 QuickTime
/ImageCompression.h \
6467 Security
/Security.h \
6518 netinet
/in_systm.h \
6580 valgrind
/memcheck.h \
6581 valgrind
/valgrind.h \
6585 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6586 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6587 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6588 cat >>confdefs.h
<<_ACEOF
6589 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6597 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6598 if ${ac_cv_header_stat_broken+:} false
; then :
6599 $as_echo_n "(cached) " >&6
6601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6602 /* end confdefs.h. */
6603 #include <sys/types.h>
6604 #include <sys/stat.h>
6606 #if defined S_ISBLK && defined S_IFDIR
6607 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6610 #if defined S_ISBLK && defined S_IFCHR
6611 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6614 #if defined S_ISLNK && defined S_IFREG
6615 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6618 #if defined S_ISSOCK && defined S_IFREG
6619 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6623 if ac_fn_c_try_compile
"$LINENO"; then :
6624 ac_cv_header_stat_broken
=no
6626 ac_cv_header_stat_broken
=yes
6628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6631 $as_echo "$ac_cv_header_stat_broken" >&6; }
6632 if test $ac_cv_header_stat_broken = yes; then
6634 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6640 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6642 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6643 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6644 #ifdef HAVE_SYS_PARAM_H
6645 # include <sys/param.h>
6648 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6649 cat >>confdefs.h
<<_ACEOF
6650 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6665 netinet
/if_ether.h \
6666 netinet
/if_inarp.h \
6675 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6676 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6677 #ifdef HAVE_SYS_SOCKET_H
6678 # include <sys/socket.h>
6680 #ifdef HAVE_SYS_SOCKETVAR_H
6681 # include <sys/socketvar.h>
6683 #ifdef HAVE_NET_ROUTE_H
6684 # include <net/route.h>
6686 #ifdef HAVE_NETINET_IN_H
6687 # include <netinet/in.h>
6689 #ifdef HAVE_NETINET_IN_SYSTM_H
6690 # include <netinet/in_systm.h>
6692 #ifdef HAVE_NET_IF_H
6693 # include <net/if.h>
6695 #ifdef HAVE_NETINET_IP_H
6696 # include <netinet/ip.h>
6699 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6700 cat >>confdefs.h
<<_ACEOF
6701 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6709 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6711 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6712 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6716 #ifdef HAVE_SYS_SOCKET_H
6717 # include <sys/socket.h>
6719 #ifdef HAVE_SYS_SOCKETVAR_H
6720 # include <sys/socketvar.h>
6722 #ifdef HAVE_SYS_TIMEOUT_H
6723 # include <sys/timeout.h>
6725 #ifdef HAVE_NETINET_IN_H
6726 # include <netinet/in.h>
6728 #ifdef HAVE_NETINET_IN_SYSTM_H
6729 # include <netinet/in_systm.h>
6731 #ifdef HAVE_NETINET_IP_H
6732 # include <netinet/ip.h>
6734 #ifdef HAVE_NETINET_IP_VAR_H
6735 # include <netinet/ip_var.h>
6737 #ifdef HAVE_NETINET_IP_ICMP_H
6738 # include <netinet/ip_icmp.h>
6740 #ifdef HAVE_NETINET_UDP_H
6741 # include <netinet/udp.h>
6743 #ifdef HAVE_NETINET_TCP_H
6744 # include <netinet/tcp.h>
6746 #ifdef HAVE_NETINET_TCP_TIMER_H
6747 #include <netinet/tcp_timer.h>
6750 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6751 cat >>confdefs.h
<<_ACEOF
6752 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6760 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6762 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6763 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6764 #ifdef HAVE_ASM_TYPES_H
6765 # include <asm/types.h>
6767 #ifdef HAVE_SYS_SOCKET_H
6768 # include <sys/socket.h>
6770 #ifdef HAVE_LINUX_TYPES_H
6771 # include <linux/types.h>
6774 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6775 cat >>confdefs.h
<<_ACEOF
6776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6784 for ac_header
in mach-o
/dyld_images.h
6786 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6787 # include <stdbool.h>
6789 #ifdef HAVE_STDINT_H
6790 # include <stdint.h>
6793 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6794 cat >>confdefs.h
<<_ACEOF
6795 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6803 for ac_header
in resolv.h
6805 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6806 #ifdef HAVE_SYS_SOCKET_H
6807 # include <sys/socket.h>
6809 #ifdef HAVE_NETINET_IN_H
6810 # include <netinet/in.h>
6812 #ifdef HAVE_ARPA_NAMESER_H
6813 # include <arpa/nameser.h>
6816 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6817 cat >>confdefs.h
<<_ACEOF
6818 #define HAVE_RESOLV_H 1
6826 for ac_header
in ifaddrs.h
6828 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6830 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6831 cat >>confdefs.h
<<_ACEOF
6832 #define HAVE_IFADDRS_H 1
6840 for ac_header
in sys
/ucontext.h
6842 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6844 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6845 cat >>confdefs.h
<<_ACEOF
6846 #define HAVE_SYS_UCONTEXT_H 1
6854 for ac_header
in sys
/thr.h
6856 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6857 #ifdef HAVE_SYS_UCONTEXT_H
6858 #include <sys/ucontext.h>
6861 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6862 cat >>confdefs.h
<<_ACEOF
6863 #define HAVE_SYS_THR_H 1
6871 for ac_header
in pthread_np.h
6873 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6874 #include <pthread.h>
6877 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6878 cat >>confdefs.h
<<_ACEOF
6879 #define HAVE_PTHREAD_NP_H 1
6887 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6889 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6890 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6891 #include <sys/time.h>
6893 #include <sys/types.h>
6894 #ifdef HAVE_ASM_TYPES_H
6895 #include <asm/types.h>
6898 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6899 cat >>confdefs.h
<<_ACEOF
6900 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6908 for ac_header
in libprocstat.h
6910 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6911 #include <sys/param.h>
6913 #ifdef HAVE_SYS_QUEUE_H
6914 #include <sys/queue.h>
6916 #ifdef HAVE_SYS_SOCKET_H
6917 #include <sys/socket.h>
6920 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6921 cat >>confdefs.h
<<_ACEOF
6922 #define HAVE_LIBPROCSTAT_H 1
6931 dlldir
="\${libdir}/wine"
6935 DLLFLAGS
="-D_REENTRANT"
6944 STATIC_IMPLIBEXT
="def.a"
6945 # Extract the first word of "ldd", so it can be a program name with args.
6946 set dummy ldd
; ac_word
=$2
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6948 $as_echo_n "checking for $ac_word... " >&6; }
6949 if ${ac_cv_path_LDD+:} false
; then :
6950 $as_echo_n "(cached) " >&6
6954 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6958 as_dummy
="/sbin:/usr/sbin:$PATH"
6959 for as_dir
in $as_dummy
6962 test -z "$as_dir" && as_dir
=.
6963 for ac_exec_ext
in '' $ac_executable_extensions; do
6964 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6965 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6973 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6978 if test -n "$LDD"; then
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6980 $as_echo "$LDD" >&6; }
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6983 $as_echo "no" >&6; }
6987 if test -n "$ac_tool_prefix"; then
6988 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6989 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6991 $as_echo_n "checking for $ac_word... " >&6; }
6992 if ${ac_cv_prog_READELF+:} false
; then :
6993 $as_echo_n "(cached) " >&6
6995 if test -n "$READELF"; then
6996 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7002 test -z "$as_dir" && as_dir
=.
7003 for ac_exec_ext
in '' $ac_executable_extensions; do
7004 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7005 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015 READELF
=$ac_cv_prog_READELF
7016 if test -n "$READELF"; then
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7018 $as_echo "$READELF" >&6; }
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7021 $as_echo "no" >&6; }
7026 if test -z "$ac_cv_prog_READELF"; then
7027 ac_ct_READELF
=$READELF
7028 # Extract the first word of "readelf", so it can be a program name with args.
7029 set dummy readelf
; ac_word
=$2
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7031 $as_echo_n "checking for $ac_word... " >&6; }
7032 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7033 $as_echo_n "(cached) " >&6
7035 if test -n "$ac_ct_READELF"; then
7036 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7042 test -z "$as_dir" && as_dir
=.
7043 for ac_exec_ext
in '' $ac_executable_extensions; do
7044 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7045 ac_cv_prog_ac_ct_READELF
="readelf"
7046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7056 if test -n "$ac_ct_READELF"; then
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7058 $as_echo "$ac_ct_READELF" >&6; }
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7061 $as_echo "no" >&6; }
7064 if test "x$ac_ct_READELF" = x
; then
7067 case $cross_compiling:$ac_tool_warned in
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7071 ac_tool_warned
=yes ;;
7073 READELF
=$ac_ct_READELF
7076 READELF
="$ac_cv_prog_READELF"
7079 wine_rules_file
=conf$
$rules.
make
7080 rm -f $wine_rules_file
7082 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7083 ALL_TEST_RESOURCES
=""
7086 wine_fn_append_file
()
7088 as_fn_append
$1 " \\$as_nl $2"
7091 wine_fn_ignore_file
()
7094 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7095 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7096 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7100 wine_fn_append_rule
()
7102 $as_echo "$1" >>$wine_rules_file
7107 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7110 wine_fn_depend_rules
()
7112 wine_fn_append_rule \
7113 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7114 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7115 depend: $ac_dir/depend
7116 .PHONY: $ac_dir/depend
7117 $ac_dir/depend: \$(MAKEDEP) dummy
7118 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7121 wine_fn_pot_rules
()
7123 test "x$with_gettextpo" = xyes ||
return
7125 if wine_fn_has_flag mc
7127 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7128 wine_fn_append_rule \
7129 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7130 @cd $ac_dir && \$(MAKE) msg.pot
7131 $ac_dir/msg.pot: tools/wmc include"
7133 if wine_fn_has_flag po
7135 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7136 wine_fn_append_rule \
7137 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7138 @cd $ac_dir && \$(MAKE) rsrc.pot
7139 $ac_dir/rsrc.pot: tools/wrc include"
7143 wine_fn_all_rules
()
7145 wine_fn_depend_rules
7146 wine_fn_append_rule \
7149 $ac_dir: $ac_dir/Makefile dummy
7150 @cd $ac_dir && \$(MAKE)"
7153 wine_fn_install_rules
()
7155 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7157 wine_fn_append_rule \
7158 ".PHONY: $ac_dir/install $ac_dir/uninstall
7159 $ac_dir/install:: $ac_dir
7160 @cd $ac_dir && \$(MAKE) install
7161 $ac_dir/uninstall:: $ac_dir/Makefile
7162 @cd $ac_dir && \$(MAKE) uninstall
7163 install:: $ac_dir/install
7164 __uninstall__: $ac_dir/uninstall"
7166 if wine_fn_has_flag install-lib
7168 wine_fn_append_rule \
7169 ".PHONY: $ac_dir/install-lib
7170 $ac_dir/install-lib:: $ac_dir
7171 @cd $ac_dir && \$(MAKE) install-lib
7172 install-lib:: $ac_dir/install-lib"
7175 if wine_fn_has_flag install-dev
7177 wine_fn_append_rule \
7178 ".PHONY: $ac_dir/install-dev
7179 $ac_dir/install-dev:: $ac_dir
7180 @cd $ac_dir && \$(MAKE) install-dev
7181 install-dev:: $ac_dir/install-dev"
7185 wine_fn_clean_rules
()
7188 ac_extraclean
="$ac_dir/Makefile"
7189 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7191 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7194 if wine_fn_has_flag clean
7196 wine_fn_append_rule \
7197 "__clean__: $ac_dir/clean
7198 .PHONY: $ac_dir/clean
7199 $ac_dir/clean: $ac_dir/Makefile
7200 @cd $ac_dir && \$(MAKE) clean
7201 \$(RM) $ac_extraclean"
7203 wine_fn_append_rule \
7204 "__clean__: $ac_dir/clean
7205 .PHONY: $ac_dir/clean
7206 $ac_dir/clean: dummy
7207 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7211 wine_fn_disabled_rules
()
7214 ac_extraclean
="$ac_dir/Makefile"
7215 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7217 wine_fn_append_rule \
7218 "__clean__: $ac_dir/clean
7219 .PHONY: $ac_dir/clean
7220 $ac_dir/clean: dummy
7221 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7224 wine_fn_config_makefile
()
7230 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7231 wine_fn_disabled_rules
; return
7234 wine_fn_install_rules
7238 wine_fn_config_lib
()
7242 ac_dir
=dlls
/$ac_name
7245 if test "x$enable_tools" = xno
; then :
7248 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7253 wine_fn_append_rule \
7254 ".PHONY: $ac_dir/install $ac_dir/uninstall
7255 $ac_dir/install:: $ac_dir
7256 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7258 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7259 install install-dev:: $ac_dir/install
7260 __uninstall__: $ac_dir/uninstall
7261 __builddeps__: $ac_dir
7265 wine_fn_config_dll
()
7268 ac_dir
=dlls
/$ac_name
7271 ac_implib
=${4:-$ac_name}
7272 ac_file
=$ac_dir/lib
$ac_implib
7277 if test "x$enable_tools" = xno
; then :
7280 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7283 *16) ac_implibflags
=" -m16" ;;
7285 *) ac_dll
=$ac_dll.dll
;;
7289 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7290 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7291 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7292 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7294 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7295 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7297 wine_fn_depend_rules
7298 wine_fn_clean_rules
$ac_clean
7300 wine_fn_disabled_rules
$ac_clean
7305 wine_fn_clean_rules
$ac_clean
7306 wine_fn_append_rule \
7307 "$ac_dir: __builddeps__
7308 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7309 @cd $ac_dir && \$(MAKE) \$@
7310 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7311 install install-lib:: $ac_dir/install-lib
7312 __uninstall__: $ac_dir/uninstall"
7313 if test -n "$DLLEXT"
7315 wine_fn_append_rule \
7316 "$ac_dir/install-lib:: $ac_dir
7317 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7318 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7320 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7322 wine_fn_append_rule \
7323 "$ac_dir/install-lib:: $ac_dir
7324 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7326 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7332 if wine_fn_has_flag staticimplib
7334 wine_fn_append_rule \
7335 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7336 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7337 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7338 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7339 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7340 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7341 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7342 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7343 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7345 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7346 install install-dev:: $ac_dir/install-dev
7347 __uninstall__: $ac_dir/uninstall"
7349 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7351 wine_fn_append_rule \
7352 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7353 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7355 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7358 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7360 wine_fn_append_rule \
7361 "__builddeps__: $ac_file.cross.a
7362 $ac_file.cross.a: $ac_dir/Makefile dummy
7363 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7366 elif wine_fn_has_flag implib
7368 wine_fn_append_rule \
7369 "__builddeps__: $ac_file.$IMPLIBEXT
7370 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7371 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7372 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7373 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7374 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7375 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7376 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7378 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7379 install install-dev:: $ac_dir/install-dev
7380 __uninstall__: $ac_dir/uninstall"
7381 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7383 wine_fn_append_rule \
7384 "__builddeps__: $ac_file.cross.a
7385 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7386 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7389 if test "$ac_name" != "$ac_implib"
7391 wine_fn_append_rule \
7392 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7393 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7394 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7396 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7397 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7398 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7400 wine_fn_append_rule \
7401 "__builddeps__: dlls/lib$ac_implib.cross.a
7402 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7403 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7405 \$(RM) dlls/lib$ac_implib.cross.a"
7406 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7412 wine_fn_config_program
()
7415 ac_dir
=programs
/$ac_name
7422 *) ac_program
=$ac_program.exe
;;
7426 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7427 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7428 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7429 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7431 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7432 wine_fn_disabled_rules
$ac_clean; return
7436 wine_fn_clean_rules
$ac_clean
7437 wine_fn_append_rule
"$ac_dir: __builddeps__"
7440 wine_fn_has_flag
install ||
return
7441 wine_fn_append_rule \
7442 ".PHONY: $ac_dir/install $ac_dir/uninstall
7443 install install-lib:: $ac_dir/install
7444 __uninstall__: $ac_dir/uninstall"
7446 if test -n "$DLLEXT"
7448 wine_fn_append_rule \
7449 "$ac_dir/install:: $ac_dir
7450 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7451 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7453 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7455 if test -z "$with_wine64" && wine_fn_has_flag installbin
7457 wine_fn_append_rule \
7458 "$ac_dir/install:: __tooldeps__
7459 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7461 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7464 wine_fn_append_rule \
7465 "$ac_dir/install:: $ac_dir
7466 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7468 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7471 if test -z "$with_wine64" && wine_fn_has_flag manpage
7473 wine_fn_append_rule \
7474 "$ac_dir/install:: $ac_dir
7475 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7477 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7481 wine_fn_config_test
()
7488 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7489 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7491 if test "x$enable_tests" = xno
; then :
7492 wine_fn_disabled_rules
$ac_clean; return
7495 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7497 wine_fn_clean_rules
$ac_clean
7499 wine_fn_append_rule \
7500 "$ac_dir: programs/winetest/Makefile __builddeps__
7501 programs/winetest: $ac_dir
7502 check test: $ac_dir/test
7503 .PHONY: $ac_dir/test
7505 @cd $ac_dir && \$(MAKE) test
7507 \$(RM) $ac_dir/*.ok"
7509 if test -n "$CROSSTARGET"
7511 wine_fn_append_rule \
7512 "crosstest: $ac_dir/crosstest
7513 .PHONY: $ac_dir/crosstest
7514 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7515 @cd $ac_dir && \$(MAKE) crosstest"
7519 wine_fn_config_tool
()
7523 if test "x$enable_tools" = xno
; then :
7528 wine_fn_install_rules
7531 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7532 wine_fn_append_rule
"$ac_dir: libs/port"
7534 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7538 wine_fn_config_symlink
()
7541 if test "x$1" = "x-d"
7547 wine_fn_append_rule \
7549 @./config.status \$@
7552 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7553 test -n "$ac_linkdir" ||
return
7554 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7558 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7559 loader_programs
="$wine_binary wine-installed"
7560 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7565 install install-lib:: wine-installed
7566 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7569 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7575 if test -n "$ac_tool_prefix"; then
7576 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7577 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7579 $as_echo_n "checking for $ac_word... " >&6; }
7580 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7581 $as_echo_n "(cached) " >&6
7583 if test -n "$DLLTOOL"; then
7584 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7590 test -z "$as_dir" && as_dir
=.
7591 for ac_exec_ext
in '' $ac_executable_extensions; do
7592 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7593 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603 DLLTOOL
=$ac_cv_prog_DLLTOOL
7604 if test -n "$DLLTOOL"; then
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7606 $as_echo "$DLLTOOL" >&6; }
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7609 $as_echo "no" >&6; }
7614 if test -z "$ac_cv_prog_DLLTOOL"; then
7615 ac_ct_DLLTOOL
=$DLLTOOL
7616 # Extract the first word of "dlltool", so it can be a program name with args.
7617 set dummy dlltool
; ac_word
=$2
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7619 $as_echo_n "checking for $ac_word... " >&6; }
7620 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7621 $as_echo_n "(cached) " >&6
7623 if test -n "$ac_ct_DLLTOOL"; then
7624 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7630 test -z "$as_dir" && as_dir
=.
7631 for ac_exec_ext
in '' $ac_executable_extensions; do
7632 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7633 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7643 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7644 if test -n "$ac_ct_DLLTOOL"; then
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7646 $as_echo "$ac_ct_DLLTOOL" >&6; }
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7649 $as_echo "no" >&6; }
7652 if test "x$ac_ct_DLLTOOL" = x
; then
7655 case $cross_compiling:$ac_tool_warned in
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7659 ac_tool_warned
=yes ;;
7661 DLLTOOL
=$ac_ct_DLLTOOL
7664 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7670 STATIC_IMPLIBEXT
="a"
7671 enable_iphlpapi
=${enable_iphlpapi:-no}
7672 enable_kernel32
=${enable_kernel32:-no}
7673 enable_msvcrt
=${enable_msvcrt:-no}
7674 enable_ntdll
=${enable_ntdll:-no}
7675 enable_ws2_32
=${enable_ws2_32:-no}
7676 enable_loader
=${enable_loader:-no}
7677 enable_server
=${enable_server:-no}
7678 with_x
=${with_x:-no}
7679 with_pthread
=${with_pthread:-no}
7685 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7689 libwine_targets
="libwine.dll libwine.a"
7691 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7693 all: libwine.dll libwine.a
7695 libwine.a: \$(srcdir)/wine.def
7696 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7698 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7699 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7701 install install-lib:: libwine.dll
7702 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7704 install install-dev:: libwine.a
7705 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7708 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7715 DLLFLAGS
="$DLLFLAGS -fPIC"
7716 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7717 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7718 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7719 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7721 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7723 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7725 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7727 CORESERVICES_LIBS
="-framework CoreServices"
7729 APPKIT_LIBS
="-framework AppKit"
7731 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7733 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7734 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7735 $as_echo_n "(cached) " >&6
7737 ac_wine_try_cflags_saved
=$CFLAGS
7738 CFLAGS
="$CFLAGS -Wl,-no_pie"
7739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7740 /* end confdefs.h. */
7741 int main(int argc, char **argv) { return 0; }
7743 if ac_fn_c_try_link
"$LINENO"; then :
7744 ac_cv_cflags__Wl__no_pie
=yes
7746 ac_cv_cflags__Wl__no_pie
=no
7748 rm -f core conftest.err conftest.
$ac_objext \
7749 conftest
$ac_exeext conftest.
$ac_ext
7750 CFLAGS
=$ac_wine_try_cflags_saved
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7753 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7754 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7755 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7757 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7759 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7762 if test "$ac_cv_header_Security_Security_h" = "yes"
7764 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7766 ac_save_LIBS
="$LIBS"
7767 LIBS
="$LIBS $SECURITY_LIBS"
7768 for ac_func
in SSLCopyPeerCertificates
7770 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7771 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7772 cat >>confdefs.h
<<_ACEOF
7773 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7779 LIBS
="$ac_save_LIBS"
7780 with_gnutls
=${with_gnutls:-no}
7782 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7784 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7786 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7789 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7792 ac_save_LIBS
="$LIBS"
7793 LIBS
="$LIBS $COREAUDIO_LIBS"
7794 for ac_func
in AUGraphAddNode
7796 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7797 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7798 cat >>confdefs.h
<<_ACEOF
7799 #define HAVE_AUGRAPHADDNODE 1
7805 LIBS
="$ac_save_LIBS"
7807 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7809 OPENAL_LIBS
="-framework OpenAL"
7812 cat >>confdefs.h
<<_ACEOF
7813 #define HAVE_OPENAL 1
7816 ac_cv_lib_openal
=yes
7818 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7820 OPENCL_LIBS
="-framework OpenCL"
7822 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7824 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7826 ac_save_LIBS
="$LIBS"
7827 LIBS
="$LIBS $IOKIT_LIBS"
7828 for ac_func
in IOHIDManagerCreate
7830 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7831 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7832 cat >>confdefs.h
<<_ACEOF
7833 #define HAVE_IOHIDMANAGERCREATE 1
7839 LIBS
="$ac_save_LIBS"
7841 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7843 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7845 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7847 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7849 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7851 CARBON_LIBS
="-framework Carbon"
7855 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7857 ac_save_LIBS
="$LIBS"
7858 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7859 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7860 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7861 enable_winemac_drv
=${enable_winemac_drv:-yes}
7864 LIBS
="$ac_save_LIBS"
7867 if test "x$enable_win16" = "xyes"
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7870 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7871 if test "$cross_compiling" = yes; then :
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7873 $as_echo "cross-compiling, assuming yes" >&6; }
7875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7876 /* end confdefs.h. */
7879 "good:\tnop;nop\n\t"
7880 ".globl _testfunc\n"
7881 "_testfunc:\tcallw good");
7882 extern void testfunc();
7886 unsigned short *p = (unsigned short *)testfunc;
7887 return p[0] != 0xe866 || p[1] != 0xfffa
7892 if ac_fn_c_try_run
"$LINENO"; then :
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7894 $as_echo "yes" >&6; }
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7897 $as_echo "no" >&6; }
7898 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
7900 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7901 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7906 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7908 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7912 libwine.$libwine_version.dylib: \$(OBJS)
7913 \$(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 \$@
7915 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7916 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7918 libwine.dylib: libwine.$libwine_soversion.dylib
7919 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7921 install install-lib:: libwine.$libwine_version.dylib
7922 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7923 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7925 install install-dev::
7926 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7929 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7933 as_fn_append LOADER_RULES
"
7934 $wine_binary: main.o wine_info.plist
7935 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7937 wine-installed: main.o wine_info.plist
7938 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7943 DLLFLAGS
="$DLLFLAGS -fPIC"
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7948 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7949 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7950 $as_echo_n "(cached) " >&6
7952 ac_wine_try_cflags_saved
=$CFLAGS
7953 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7955 /* end confdefs.h. */
7956 int main(int argc, char **argv) { return 0; }
7958 if ac_fn_c_try_link
"$LINENO"; then :
7959 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7961 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7963 rm -f core conftest.err conftest.
$ac_objext \
7964 conftest
$ac_exeext conftest.
$ac_ext
7965 CFLAGS
=$ac_wine_try_cflags_saved
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7968 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7969 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7970 LDEXECFLAGS
="-Wl,--export-dynamic"
7972 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7974 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7975 if eval \
${$as_ac_var+:} false
; then :
7976 $as_echo_n "(cached) " >&6
7978 ac_wine_try_cflags_saved
=$CFLAGS
7979 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7981 /* end confdefs.h. */
7982 int main(int argc, char **argv) { return 0; }
7984 if ac_fn_c_try_link
"$LINENO"; then :
7985 eval "$as_ac_var=yes"
7987 eval "$as_ac_var=no"
7989 rm -f core conftest.err conftest.
$ac_objext \
7990 conftest
$ac_exeext conftest.
$ac_ext
7991 CFLAGS
=$ac_wine_try_cflags_saved
7993 eval ac_res
=\$
$as_ac_var
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7995 $as_echo "$ac_res" >&6; }
7996 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7997 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7998 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8000 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8002 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8003 if eval \
${$as_ac_var+:} false
; then :
8004 $as_echo_n "(cached) " >&6
8006 ac_wine_try_cflags_saved
=$CFLAGS
8007 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8009 /* end confdefs.h. */
8010 int main(int argc, char **argv) { return 0; }
8012 if ac_fn_c_try_link
"$LINENO"; then :
8013 eval "$as_ac_var=yes"
8015 eval "$as_ac_var=no"
8017 rm -f core conftest.err conftest.
$ac_objext \
8018 conftest
$ac_exeext conftest.
$ac_ext
8019 CFLAGS
=$ac_wine_try_cflags_saved
8021 eval ac_res
=\$
$as_ac_var
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8023 $as_echo "$ac_res" >&6; }
8024 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8025 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8026 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8031 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8032 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8033 $as_echo_n "(cached) " >&6
8035 ac_wine_try_cflags_saved
=$CFLAGS
8036 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8038 /* end confdefs.h. */
8039 int main(int argc, char **argv) { return 0; }
8041 if ac_fn_c_try_link
"$LINENO"; then :
8042 ac_cv_cflags__Wl___enable_new_dtags
=yes
8044 ac_cv_cflags__Wl___enable_new_dtags
=no
8046 rm -f core conftest.err conftest.
$ac_objext \
8047 conftest
$ac_exeext conftest.
$ac_ext
8048 CFLAGS
=$ac_wine_try_cflags_saved
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8051 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8052 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8053 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8057 *i
[3456789]86* | x86_64
)
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8059 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8060 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8061 $as_echo_n "(cached) " >&6
8063 ac_wine_try_cflags_saved
=$CFLAGS
8064 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8066 /* end confdefs.h. */
8067 int main(int argc, char **argv) { return 0; }
8069 if ac_fn_c_try_link
"$LINENO"; then :
8070 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8072 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8074 rm -f core conftest.err conftest.
$ac_objext \
8075 conftest
$ac_exeext conftest.
$ac_ext
8076 CFLAGS
=$ac_wine_try_cflags_saved
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8079 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8080 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8081 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8086 libwine_targets
="libwine.so"
8088 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8092 libwine.so: \$(OBJS)
8093 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8095 install install-lib:: libwine.so
8096 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8099 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8103 as_fn_append LOADER_RULES
"
8104 $wine_binary: main.o
8105 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8107 wine-installed: main.o
8108 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8113 DLLFLAGS
="$DLLFLAGS -fPIC"
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8116 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8117 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8118 $as_echo_n "(cached) " >&6
8120 ac_wine_try_cflags_saved
=$CFLAGS
8121 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8123 /* end confdefs.h. */
8126 if ac_fn_c_try_link
"$LINENO"; then :
8127 ac_cv_c_dll_gnuelf
="yes"
8129 ac_cv_c_dll_gnuelf
="no"
8131 rm -f core conftest.err conftest.
$ac_objext \
8132 conftest
$ac_exeext conftest.
$ac_ext
8133 CFLAGS
=$ac_wine_try_cflags_saved
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8136 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8137 if test "$ac_cv_c_dll_gnuelf" = "yes"
8139 LDSHARED
="\$(CC) -shared"
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8141 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8142 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8143 $as_echo_n "(cached) " >&6
8145 ac_wine_try_cflags_saved
=$CFLAGS
8146 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8148 /* end confdefs.h. */
8149 int main(int argc, char **argv) { return 0; }
8151 if ac_fn_c_try_link
"$LINENO"; then :
8152 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8154 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8156 rm -f core conftest.err conftest.
$ac_objext \
8157 conftest
$ac_exeext conftest.
$ac_ext
8158 CFLAGS
=$ac_wine_try_cflags_saved
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8161 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8162 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8163 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8166 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8167 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8168 $as_echo_n "(cached) " >&6
8170 ac_wine_try_cflags_saved
=$CFLAGS
8171 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8173 /* end confdefs.h. */
8174 int main(int argc, char **argv) { return 0; }
8176 if ac_fn_c_try_link
"$LINENO"; then :
8177 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8179 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8181 rm -f core conftest.err conftest.
$ac_objext \
8182 conftest
$ac_exeext conftest.
$ac_ext
8183 CFLAGS
=$ac_wine_try_cflags_saved
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8186 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8187 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8188 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8192 echo '{ global: *; };' >conftest.map
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8194 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8195 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8196 $as_echo_n "(cached) " >&6
8198 ac_wine_try_cflags_saved
=$CFLAGS
8199 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8201 /* end confdefs.h. */
8202 int main(int argc, char **argv) { return 0; }
8204 if ac_fn_c_try_link
"$LINENO"; then :
8205 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8207 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8209 rm -f core conftest.err conftest.
$ac_objext \
8210 conftest
$ac_exeext conftest.
$ac_ext
8211 CFLAGS
=$ac_wine_try_cflags_saved
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8214 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8215 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8216 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8221 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8222 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8223 $as_echo_n "(cached) " >&6
8225 ac_wine_try_cflags_saved
=$CFLAGS
8226 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8228 /* end confdefs.h. */
8229 int main(int argc, char **argv) { return 0; }
8231 if ac_fn_c_try_link
"$LINENO"; then :
8232 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8234 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8236 rm -f core conftest.err conftest.
$ac_objext \
8237 conftest
$ac_exeext conftest.
$ac_ext
8238 CFLAGS
=$ac_wine_try_cflags_saved
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8241 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8242 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8243 LDEXECFLAGS
="-Wl,--export-dynamic"
8246 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8248 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8249 if eval \
${$as_ac_var+:} false
; then :
8250 $as_echo_n "(cached) " >&6
8252 ac_wine_try_cflags_saved
=$CFLAGS
8253 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8255 /* end confdefs.h. */
8256 int main(int argc, char **argv) { return 0; }
8258 if ac_fn_c_try_link
"$LINENO"; then :
8259 eval "$as_ac_var=yes"
8261 eval "$as_ac_var=no"
8263 rm -f core conftest.err conftest.
$ac_objext \
8264 conftest
$ac_exeext conftest.
$ac_ext
8265 CFLAGS
=$ac_wine_try_cflags_saved
8267 eval ac_res
=\$
$as_ac_var
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8269 $as_echo "$ac_res" >&6; }
8270 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8271 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8272 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8274 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8276 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8277 if eval \
${$as_ac_var+:} false
; then :
8278 $as_echo_n "(cached) " >&6
8280 ac_wine_try_cflags_saved
=$CFLAGS
8281 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8283 /* end confdefs.h. */
8284 int main(int argc, char **argv) { return 0; }
8286 if ac_fn_c_try_link
"$LINENO"; then :
8287 eval "$as_ac_var=yes"
8289 eval "$as_ac_var=no"
8291 rm -f core conftest.err conftest.
$ac_objext \
8292 conftest
$ac_exeext conftest.
$ac_ext
8293 CFLAGS
=$ac_wine_try_cflags_saved
8295 eval ac_res
=\$
$as_ac_var
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8297 $as_echo "$ac_res" >&6; }
8298 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8299 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8300 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8305 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8306 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8307 $as_echo_n "(cached) " >&6
8309 ac_wine_try_cflags_saved
=$CFLAGS
8310 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8312 /* end confdefs.h. */
8313 int main(int argc, char **argv) { return 0; }
8315 if ac_fn_c_try_link
"$LINENO"; then :
8316 ac_cv_cflags__Wl___enable_new_dtags
=yes
8318 ac_cv_cflags__Wl___enable_new_dtags
=no
8320 rm -f core conftest.err conftest.
$ac_objext \
8321 conftest
$ac_exeext conftest.
$ac_ext
8322 CFLAGS
=$ac_wine_try_cflags_saved
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8325 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8326 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8327 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8331 *i
[3456789]86* | x86_64
)
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8333 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8334 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8335 $as_echo_n "(cached) " >&6
8337 ac_wine_try_cflags_saved
=$CFLAGS
8338 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8341 int main(int argc, char **argv) { return 0; }
8343 if ac_fn_c_try_link
"$LINENO"; then :
8344 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8346 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8348 rm -f core conftest.err conftest.
$ac_objext \
8349 conftest
$ac_exeext conftest.
$ac_ext
8350 CFLAGS
=$ac_wine_try_cflags_saved
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8353 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8354 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8356 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8357 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8361 # Extract the first word of "prelink", so it can be a program name with args.
8362 set dummy prelink
; ac_word
=$2
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8364 $as_echo_n "checking for $ac_word... " >&6; }
8365 if ${ac_cv_path_PRELINK+:} false
; then :
8366 $as_echo_n "(cached) " >&6
8370 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8374 for as_dir
in /sbin
/usr
/sbin
$PATH
8377 test -z "$as_dir" && as_dir
=.
8378 for ac_exec_ext
in '' $ac_executable_extensions; do
8379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8380 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8388 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8392 PRELINK
=$ac_cv_path_PRELINK
8393 if test -n "$PRELINK"; then
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8395 $as_echo "$PRELINK" >&6; }
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8398 $as_echo "no" >&6; }
8402 if test "x$PRELINK" = xfalse
8404 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8411 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8412 if ${ac_cv_c_dll_unixware+:} false
; then :
8413 $as_echo_n "(cached) " >&6
8415 ac_wine_try_cflags_saved
=$CFLAGS
8416 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8418 /* end confdefs.h. */
8421 if ac_fn_c_try_link
"$LINENO"; then :
8422 ac_cv_c_dll_unixware
="yes"
8424 ac_cv_c_dll_unixware
="no"
8426 rm -f core conftest.err conftest.
$ac_objext \
8427 conftest
$ac_exeext conftest.
$ac_ext
8428 CFLAGS
=$ac_wine_try_cflags_saved
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8431 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8432 if test "$ac_cv_c_dll_unixware" = "yes"
8434 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8437 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8439 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8443 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8444 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8446 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8447 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8449 libwine.so: libwine.so.$libwine_soversion
8450 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8452 install install-lib:: libwine.so.$libwine_version
8453 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8454 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8456 install install-dev::
8457 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8460 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8464 as_fn_append LOADER_RULES
"
8465 $wine_binary: main.o
8466 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8468 wine-installed: main.o
8469 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8474 as_fn_append LIBWINE_RULES
"
8475 EXTRA_TARGETS = $libwine_targets
8478 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8479 enable_winemac_drv
=${enable_winemac_drv:-no}
8483 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8487 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
8490 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 " ;;
8492 ac_prefix_list
="" ;;
8494 for ac_prog
in $ac_prefix_list
8496 # Extract the first word of "$ac_prog", so it can be a program name with args.
8497 set dummy
$ac_prog; ac_word
=$2
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8499 $as_echo_n "checking for $ac_word... " >&6; }
8500 if ${ac_cv_prog_CROSSCC+:} false
; then :
8501 $as_echo_n "(cached) " >&6
8503 if test -n "$CROSSCC"; then
8504 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8510 test -z "$as_dir" && as_dir
=.
8511 for ac_exec_ext
in '' $ac_executable_extensions; do
8512 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8513 ac_cv_prog_CROSSCC
="$ac_prog"
8514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8523 CROSSCC
=$ac_cv_prog_CROSSCC
8524 if test -n "$CROSSCC"; then
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8526 $as_echo "$CROSSCC" >&6; }
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8529 $as_echo "no" >&6; }
8533 test -n "$CROSSCC" && break
8535 test -n "$CROSSCC" || CROSSCC
="false"
8537 if test "$CROSSCC" != "false"
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8542 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8544 /* end confdefs.h. */
8554 if ac_fn_c_try_compile
"$LINENO"; then :
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8556 $as_echo "yes" >&6; }
8562 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8568 $as_echo "no" >&6; }
8570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8576 if test "$ac_cv_header_pthread_h" = "yes"
8578 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8579 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8583 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8584 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8585 $as_echo_n "(cached) " >&6
8587 ac_check_lib_save_LIBS
=$LIBS
8588 LIBS
="-lpthread $LIBS"
8589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8590 /* end confdefs.h. */
8592 /* Override any GCC internal prototype to avoid an error.
8593 Use char because int might match the return type of a GCC
8594 builtin and then its argument prototype would still apply. */
8598 char pthread_create ();
8602 return pthread_create ();
8607 if ac_fn_c_try_link
"$LINENO"; then :
8608 ac_cv_lib_pthread_pthread_create
=yes
8610 ac_cv_lib_pthread_pthread_create
=no
8612 rm -f core conftest.err conftest.
$ac_objext \
8613 conftest
$ac_exeext conftest.
$ac_ext
8614 LIBS
=$ac_check_lib_save_LIBS
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8617 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8618 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8619 PTHREAD_LIBS
="-lpthread"
8626 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8627 case "x$with_pthread" in
8629 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8630 Wine cannot support threads without libpthread.
8631 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8637 $as_echo_n "checking for X... " >&6; }
8640 # Check whether --with-x was given.
8641 if test "${with_x+set}" = set; then :
8645 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8646 if test "x$with_x" = xno
; then
8647 # The user explicitly disabled X.
8650 case $x_includes,$x_libraries in #(
8651 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8652 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8653 $as_echo_n "(cached) " >&6
8655 # One or both of the vars are not set, and there is no cached value.
8656 ac_x_includes
=no ac_x_libraries
=no
8657 rm -f -r conftest.dir
8658 if mkdir conftest.dir
; then
8660 cat >Imakefile
<<'_ACEOF'
8662 @echo incroot='${INCROOT}'
8664 @echo usrlibdir='${USRLIBDIR}'
8666 @echo libdir='${LIBDIR}'
8668 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8669 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8670 for ac_var
in incroot usrlibdir libdir
; do
8671 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8673 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8674 for ac_extension
in a so sl dylib la dll
; do
8675 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8676 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8677 ac_im_usrlibdir
=$ac_im_libdir; break
8680 # Screen out bogus values from the imake configuration. They are
8681 # bogus both because they are the default anyway, and because
8682 # using them would break gcc on systems where it needs fixed includes.
8683 case $ac_im_incroot in
8684 /usr
/include
) ac_x_includes
= ;;
8685 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8687 case $ac_im_usrlibdir in
8688 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8689 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8693 rm -f -r conftest.dir
8696 # Standard set of common directories for X headers.
8697 # Check X11 before X11Rn because it is often a symlink to the current release.
8711 /usr/local/X11/include
8712 /usr/local/X11R7/include
8713 /usr/local/X11R6/include
8714 /usr/local/X11R5/include
8715 /usr/local/X11R4/include
8717 /usr/local/include/X11
8718 /usr/local/include/X11R7
8719 /usr/local/include/X11R6
8720 /usr/local/include/X11R5
8721 /usr/local/include/X11R4
8725 /usr/XFree86/include/X11
8729 /usr/unsupported/include
8731 /usr/local/x11r5/include
8732 /usr/lpp/Xamples/include
8734 /usr/openwin/include
8735 /usr/openwin/share/include'
8737 if test "$ac_x_includes" = no
; then
8738 # Guess where to find include files, by looking for Xlib.h.
8739 # First, try using that file with no special directory specified.
8740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8741 /* end confdefs.h. */
8742 #include <X11/Xlib.h>
8744 if ac_fn_c_try_cpp
"$LINENO"; then :
8745 # We can compile using X headers with no special include directory.
8748 for ac_dir
in $ac_x_header_dirs; do
8749 if test -r "$ac_dir/X11/Xlib.h"; then
8750 ac_x_includes
=$ac_dir
8755 rm -f conftest.err conftest.i conftest.
$ac_ext
8756 fi # $ac_x_includes = no
8758 if test "$ac_x_libraries" = no
; then
8759 # Check for the libraries.
8760 # See if we find them without any special options.
8761 # Don't add to $LIBS permanently.
8764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8765 /* end confdefs.h. */
8766 #include <X11/Xlib.h>
8775 if ac_fn_c_try_link
"$LINENO"; then :
8777 # We can link X programs with no special library path.
8781 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8783 # Don't even attempt the hair of trying to link an X program!
8784 for ac_extension
in a so sl dylib la dll
; do
8785 if test -r "$ac_dir/libX11.$ac_extension"; then
8786 ac_x_libraries
=$ac_dir
8792 rm -f core conftest.err conftest.
$ac_objext \
8793 conftest
$ac_exeext conftest.
$ac_ext
8794 fi # $ac_x_libraries = no
8796 case $ac_x_includes,$ac_x_libraries in #(
8798 # Didn't find X, or a directory has "'" in its name.
8799 ac_cv_have_x
="have_x=no";; #(
8801 # Record where we found X for the cache.
8802 ac_cv_have_x
="have_x=yes\
8803 ac_x_includes='$ac_x_includes'\
8804 ac_x_libraries='$ac_x_libraries'"
8810 eval "$ac_cv_have_x"
8813 if test "$have_x" != yes; then
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8815 $as_echo "$have_x" >&6; }
8818 # If each of the values was on the command line, it overrides each guess.
8819 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8820 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8821 # Update the cache value to reflect the command line values.
8822 ac_cv_have_x
="have_x=yes\
8823 ac_x_includes='$x_includes'\
8824 ac_x_libraries='$x_libraries'"
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8826 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8829 if test "$no_x" = yes; then
8830 # Not all programs may use this symbol, but it does not hurt to define it.
8832 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8834 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8836 if test -n "$x_includes"; then
8837 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8840 # It would also be nice to do this for all -L options, not just this one.
8841 if test -n "$x_libraries"; then
8842 X_LIBS
="$X_LIBS -L$x_libraries"
8843 # For Solaris; some versions of Sun CC require a space after -R and
8844 # others require no space. Words are not sufficient . . . .
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8846 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8847 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8848 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8849 ac_c_werror_flag
=yes
8850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8851 /* end confdefs.h. */
8861 if ac_fn_c_try_link
"$LINENO"; then :
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8863 $as_echo "no" >&6; }
8864 X_LIBS
="$X_LIBS -R$x_libraries"
8866 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8868 /* end confdefs.h. */
8878 if ac_fn_c_try_link
"$LINENO"; then :
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8880 $as_echo "yes" >&6; }
8881 X_LIBS
="$X_LIBS -R $x_libraries"
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8884 $as_echo "neither works" >&6; }
8886 rm -f core conftest.err conftest.
$ac_objext \
8887 conftest
$ac_exeext conftest.
$ac_ext
8889 rm -f core conftest.err conftest.
$ac_objext \
8890 conftest
$ac_exeext conftest.
$ac_ext
8891 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8895 # Check for system-dependent libraries X programs must link with.
8896 # Do this before checking for the system-independent R6 libraries
8897 # (-lICE), since we may need -lsocket or whatever for X linking.
8899 if test "$ISC" = yes; then
8900 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8902 # Martyn Johnson says this is needed for Ultrix, if the X
8903 # libraries were built with DECnet support. And Karl Berry says
8904 # the Alpha needs dnet_stub (dnet does not exist).
8905 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8907 /* end confdefs.h. */
8909 /* Override any GCC internal prototype to avoid an error.
8910 Use char because int might match the return type of a GCC
8911 builtin and then its argument prototype would still apply. */
8915 char XOpenDisplay ();
8919 return XOpenDisplay ();
8924 if ac_fn_c_try_link
"$LINENO"; then :
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8928 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8929 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8930 $as_echo_n "(cached) " >&6
8932 ac_check_lib_save_LIBS
=$LIBS
8934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8935 /* end confdefs.h. */
8937 /* Override any GCC internal prototype to avoid an error.
8938 Use char because int might match the return type of a GCC
8939 builtin and then its argument prototype would still apply. */
8947 return dnet_ntoa ();
8952 if ac_fn_c_try_link
"$LINENO"; then :
8953 ac_cv_lib_dnet_dnet_ntoa
=yes
8955 ac_cv_lib_dnet_dnet_ntoa
=no
8957 rm -f core conftest.err conftest.
$ac_objext \
8958 conftest
$ac_exeext conftest.
$ac_ext
8959 LIBS
=$ac_check_lib_save_LIBS
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8962 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8963 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8964 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8967 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8969 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8970 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8971 $as_echo_n "(cached) " >&6
8973 ac_check_lib_save_LIBS
=$LIBS
8974 LIBS
="-ldnet_stub $LIBS"
8975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8976 /* end confdefs.h. */
8978 /* Override any GCC internal prototype to avoid an error.
8979 Use char because int might match the return type of a GCC
8980 builtin and then its argument prototype would still apply. */
8988 return dnet_ntoa ();
8993 if ac_fn_c_try_link
"$LINENO"; then :
8994 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8996 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8998 rm -f core conftest.err conftest.
$ac_objext \
8999 conftest
$ac_exeext conftest.
$ac_ext
9000 LIBS
=$ac_check_lib_save_LIBS
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9003 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9004 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9005 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9010 rm -f core conftest.err conftest.
$ac_objext \
9011 conftest
$ac_exeext conftest.
$ac_ext
9012 LIBS
="$ac_xsave_LIBS"
9014 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9015 # to get the SysV transport functions.
9016 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9018 # The nsl library prevents programs from opening the X display
9019 # on Irix 5.2, according to T.E. Dickey.
9020 # The functions gethostbyname, getservbyname, and inet_addr are
9021 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9022 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9023 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9027 if test $ac_cv_func_gethostbyname = no
; then
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9029 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9030 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9031 $as_echo_n "(cached) " >&6
9033 ac_check_lib_save_LIBS
=$LIBS
9035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9036 /* end confdefs.h. */
9038 /* Override any GCC internal prototype to avoid an error.
9039 Use char because int might match the return type of a GCC
9040 builtin and then its argument prototype would still apply. */
9044 char gethostbyname ();
9048 return gethostbyname ();
9053 if ac_fn_c_try_link
"$LINENO"; then :
9054 ac_cv_lib_nsl_gethostbyname
=yes
9056 ac_cv_lib_nsl_gethostbyname
=no
9058 rm -f core conftest.err conftest.
$ac_objext \
9059 conftest
$ac_exeext conftest.
$ac_ext
9060 LIBS
=$ac_check_lib_save_LIBS
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9063 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9064 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9065 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9068 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9070 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9071 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9072 $as_echo_n "(cached) " >&6
9074 ac_check_lib_save_LIBS
=$LIBS
9076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9077 /* end confdefs.h. */
9079 /* Override any GCC internal prototype to avoid an error.
9080 Use char because int might match the return type of a GCC
9081 builtin and then its argument prototype would still apply. */
9085 char gethostbyname ();
9089 return gethostbyname ();
9094 if ac_fn_c_try_link
"$LINENO"; then :
9095 ac_cv_lib_bsd_gethostbyname
=yes
9097 ac_cv_lib_bsd_gethostbyname
=no
9099 rm -f core conftest.err conftest.
$ac_objext \
9100 conftest
$ac_exeext conftest.
$ac_ext
9101 LIBS
=$ac_check_lib_save_LIBS
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9104 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9105 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9106 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9112 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9113 # socket/setsockopt and other routines are undefined under SCO ODT
9114 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9115 # on later versions), says Simon Leinen: it contains gethostby*
9116 # variants that don't use the name server (or something). -lsocket
9117 # must be given before -lnsl if both are needed. We assume that
9118 # if connect needs -lnsl, so does gethostbyname.
9119 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9120 if test "x$ac_cv_func_connect" = xyes
; then :
9124 if test $ac_cv_func_connect = no
; then
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9126 $as_echo_n "checking for connect in -lsocket... " >&6; }
9127 if ${ac_cv_lib_socket_connect+:} false
; then :
9128 $as_echo_n "(cached) " >&6
9130 ac_check_lib_save_LIBS
=$LIBS
9131 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9135 /* Override any GCC internal prototype to avoid an error.
9136 Use char because int might match the return type of a GCC
9137 builtin and then its argument prototype would still apply. */
9150 if ac_fn_c_try_link
"$LINENO"; then :
9151 ac_cv_lib_socket_connect
=yes
9153 ac_cv_lib_socket_connect
=no
9155 rm -f core conftest.err conftest.
$ac_objext \
9156 conftest
$ac_exeext conftest.
$ac_ext
9157 LIBS
=$ac_check_lib_save_LIBS
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9160 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9161 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9162 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9167 # Guillermo Gomez says -lposix is necessary on A/UX.
9168 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9169 if test "x$ac_cv_func_remove" = xyes
; then :
9173 if test $ac_cv_func_remove = no
; then
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9175 $as_echo_n "checking for remove in -lposix... " >&6; }
9176 if ${ac_cv_lib_posix_remove+:} false
; then :
9177 $as_echo_n "(cached) " >&6
9179 ac_check_lib_save_LIBS
=$LIBS
9180 LIBS
="-lposix $LIBS"
9181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9182 /* end confdefs.h. */
9184 /* Override any GCC internal prototype to avoid an error.
9185 Use char because int might match the return type of a GCC
9186 builtin and then its argument prototype would still apply. */
9199 if ac_fn_c_try_link
"$LINENO"; then :
9200 ac_cv_lib_posix_remove
=yes
9202 ac_cv_lib_posix_remove
=no
9204 rm -f core conftest.err conftest.
$ac_objext \
9205 conftest
$ac_exeext conftest.
$ac_ext
9206 LIBS
=$ac_check_lib_save_LIBS
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9209 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9210 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9211 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9216 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9217 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9218 if test "x$ac_cv_func_shmat" = xyes
; then :
9222 if test $ac_cv_func_shmat = no
; then
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9224 $as_echo_n "checking for shmat in -lipc... " >&6; }
9225 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9226 $as_echo_n "(cached) " >&6
9228 ac_check_lib_save_LIBS
=$LIBS
9230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9231 /* end confdefs.h. */
9233 /* Override any GCC internal prototype to avoid an error.
9234 Use char because int might match the return type of a GCC
9235 builtin and then its argument prototype would still apply. */
9248 if ac_fn_c_try_link
"$LINENO"; then :
9249 ac_cv_lib_ipc_shmat
=yes
9251 ac_cv_lib_ipc_shmat
=no
9253 rm -f core conftest.err conftest.
$ac_objext \
9254 conftest
$ac_exeext conftest.
$ac_ext
9255 LIBS
=$ac_check_lib_save_LIBS
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9258 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9259 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9260 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9266 # Check for libraries that X11R6 Xt/Xaw programs need.
9267 ac_save_LDFLAGS
=$LDFLAGS
9268 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9269 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9270 # check for ICE first), but we must link in the order -lSM -lICE or
9271 # we get undefined symbols. So assume we have SM if we have ICE.
9272 # These have to be linked with before -lX11, unlike the other
9273 # libraries we check for below, so use a different variable.
9274 # John Interrante, Karl Berry
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9276 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9277 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9278 $as_echo_n "(cached) " >&6
9280 ac_check_lib_save_LIBS
=$LIBS
9281 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9285 /* Override any GCC internal prototype to avoid an error.
9286 Use char because int might match the return type of a GCC
9287 builtin and then its argument prototype would still apply. */
9291 char IceConnectionNumber ();
9295 return IceConnectionNumber ();
9300 if ac_fn_c_try_link
"$LINENO"; then :
9301 ac_cv_lib_ICE_IceConnectionNumber
=yes
9303 ac_cv_lib_ICE_IceConnectionNumber
=no
9305 rm -f core conftest.err conftest.
$ac_objext \
9306 conftest
$ac_exeext conftest.
$ac_ext
9307 LIBS
=$ac_check_lib_save_LIBS
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9310 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9311 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9312 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9315 LDFLAGS
=$ac_save_LDFLAGS
9320 if test "$have_x" = "yes"
9322 ac_save_CPPFLAGS
="$CPPFLAGS"
9323 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9326 $as_echo_n "checking for -lX11... " >&6; }
9327 if ${ac_cv_lib_soname_X11+:} false
; then :
9328 $as_echo_n "(cached) " >&6
9330 ac_check_soname_save_LIBS
=$LIBS
9331 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9333 /* end confdefs.h. */
9335 /* Override any GCC internal prototype to avoid an error.
9336 Use char because int might match the return type of a GCC
9337 builtin and then its argument prototype would still apply. */
9341 char XCreateWindow ();
9345 return XCreateWindow ();
9350 if ac_fn_c_try_link
"$LINENO"; then :
9352 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9353 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'` ;;
9354 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9355 if ${ac_cv_lib_soname_X11:+false} :; then :
9356 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9360 rm -f core conftest.err conftest.
$ac_objext \
9361 conftest
$ac_exeext conftest.
$ac_ext
9362 LIBS
=$ac_check_soname_save_LIBS
9364 if ${ac_cv_lib_soname_X11:+false} :; then :
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9366 $as_echo "not found" >&6; }
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9370 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9372 cat >>confdefs.h
<<_ACEOF
9373 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9379 $as_echo_n "checking for -lXext... " >&6; }
9380 if ${ac_cv_lib_soname_Xext+:} false
; then :
9381 $as_echo_n "(cached) " >&6
9383 ac_check_soname_save_LIBS
=$LIBS
9384 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9386 /* end confdefs.h. */
9388 /* Override any GCC internal prototype to avoid an error.
9389 Use char because int might match the return type of a GCC
9390 builtin and then its argument prototype would still apply. */
9394 char XextCreateExtension ();
9398 return XextCreateExtension ();
9403 if ac_fn_c_try_link
"$LINENO"; then :
9405 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9406 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'` ;;
9407 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9408 if ${ac_cv_lib_soname_Xext:+false} :; then :
9409 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9413 rm -f core conftest.err conftest.
$ac_objext \
9414 conftest
$ac_exeext conftest.
$ac_ext
9415 LIBS
=$ac_check_soname_save_LIBS
9417 if ${ac_cv_lib_soname_Xext:+false} :; then :
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9419 $as_echo "not found" >&6; }
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9423 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9425 cat >>confdefs.h
<<_ACEOF
9426 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9429 X_LIBS
="$X_LIBS -lXext"
9431 X_LIBS
="$X_LIBS -lX11"
9433 for ac_header
in X11
/Xlib.h \
9436 X11
/Xcursor
/Xcursor.h \
9437 X11
/extensions
/shape.h \
9438 X11
/extensions
/XInput.h \
9439 X11
/extensions
/XInput2.h \
9440 X11
/extensions
/XShm.h \
9441 X11
/extensions
/Xcomposite.h \
9442 X11
/extensions
/Xinerama.h \
9443 X11
/extensions
/Xrandr.h \
9444 X11
/extensions
/Xrender.h \
9445 X11
/extensions
/xf86vmode.h \
9446 X11
/extensions
/xf86vmproto.h
9448 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9449 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9450 # include <X11/Xlib.h>
9452 #ifdef HAVE_X11_XUTIL_H
9453 # include <X11/Xutil.h>
9456 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9457 cat >>confdefs.h
<<_ACEOF
9458 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9466 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9469 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9470 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9471 $as_echo_n "(cached) " >&6
9473 ac_check_lib_save_LIBS
=$LIBS
9474 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9476 /* end confdefs.h. */
9478 /* Override any GCC internal prototype to avoid an error.
9479 Use char because int might match the return type of a GCC
9480 builtin and then its argument prototype would still apply. */
9484 char XkbQueryExtension ();
9488 return XkbQueryExtension ();
9493 if ac_fn_c_try_link
"$LINENO"; then :
9494 ac_cv_lib_X11_XkbQueryExtension
=yes
9496 ac_cv_lib_X11_XkbQueryExtension
=no
9498 rm -f core conftest.err conftest.
$ac_objext \
9499 conftest
$ac_exeext conftest.
$ac_ext
9500 LIBS
=$ac_check_lib_save_LIBS
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9503 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9504 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9506 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9512 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9515 $as_echo_n "checking for -lXcursor... " >&6; }
9516 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9517 $as_echo_n "(cached) " >&6
9519 ac_check_soname_save_LIBS
=$LIBS
9520 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9522 /* end confdefs.h. */
9524 /* Override any GCC internal prototype to avoid an error.
9525 Use char because int might match the return type of a GCC
9526 builtin and then its argument prototype would still apply. */
9530 char XcursorImageLoadCursor ();
9534 return XcursorImageLoadCursor ();
9539 if ac_fn_c_try_link
"$LINENO"; then :
9541 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9542 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'` ;;
9543 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9544 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9545 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9549 rm -f core conftest.err conftest.
$ac_objext \
9550 conftest
$ac_exeext conftest.
$ac_ext
9551 LIBS
=$ac_check_soname_save_LIBS
9553 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9555 $as_echo "not found" >&6; }
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9559 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9561 cat >>confdefs.h
<<_ACEOF
9562 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9568 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9569 case "x$with_xcursor" in
9570 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9572 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9573 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9577 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9580 $as_echo_n "checking for -lXi... " >&6; }
9581 if ${ac_cv_lib_soname_Xi+:} false
; then :
9582 $as_echo_n "(cached) " >&6
9584 ac_check_soname_save_LIBS
=$LIBS
9585 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9589 /* Override any GCC internal prototype to avoid an error.
9590 Use char because int might match the return type of a GCC
9591 builtin and then its argument prototype would still apply. */
9595 char XOpenDevice ();
9599 return XOpenDevice ();
9604 if ac_fn_c_try_link
"$LINENO"; then :
9606 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9607 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'` ;;
9608 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9609 if ${ac_cv_lib_soname_Xi:+false} :; then :
9610 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9614 rm -f core conftest.err conftest.
$ac_objext \
9615 conftest
$ac_exeext conftest.
$ac_ext
9616 LIBS
=$ac_check_soname_save_LIBS
9618 if ${ac_cv_lib_soname_Xi:+false} :; then :
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9620 $as_echo "not found" >&6; }
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9624 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9626 cat >>confdefs.h
<<_ACEOF
9627 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9633 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9634 case "x$with_xinput" in
9635 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9637 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9638 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9642 if test "x$ac_cv_lib_soname_Xi" != x
9644 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9645 case "x$with_xinput2" in
9646 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9648 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9649 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9654 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9657 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9658 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9659 $as_echo_n "(cached) " >&6
9661 ac_check_lib_save_LIBS
=$LIBS
9662 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9664 /* end confdefs.h. */
9666 /* Override any GCC internal prototype to avoid an error.
9667 Use char because int might match the return type of a GCC
9668 builtin and then its argument prototype would still apply. */
9672 char XShmQueryExtension ();
9676 return XShmQueryExtension ();
9681 if ac_fn_c_try_link
"$LINENO"; then :
9682 ac_cv_lib_Xext_XShmQueryExtension
=yes
9684 ac_cv_lib_Xext_XShmQueryExtension
=no
9686 rm -f core conftest.err conftest.
$ac_objext \
9687 conftest
$ac_exeext conftest.
$ac_ext
9688 LIBS
=$ac_check_lib_save_LIBS
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9691 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9692 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9694 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9699 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9700 case "x$with_xshm" in
9701 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9703 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9704 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9708 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9711 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9712 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9713 $as_echo_n "(cached) " >&6
9715 ac_check_lib_save_LIBS
=$LIBS
9716 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9718 /* end confdefs.h. */
9720 /* Override any GCC internal prototype to avoid an error.
9721 Use char because int might match the return type of a GCC
9722 builtin and then its argument prototype would still apply. */
9726 char XShapeQueryExtension ();
9730 return XShapeQueryExtension ();
9735 if ac_fn_c_try_link
"$LINENO"; then :
9736 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9738 ac_cv_lib_Xext_XShapeQueryExtension
=no
9740 rm -f core conftest.err conftest.
$ac_objext \
9741 conftest
$ac_exeext conftest.
$ac_ext
9742 LIBS
=$ac_check_lib_save_LIBS
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9745 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9746 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9748 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9753 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9754 case "x$with_xshape" in
9755 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9757 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9758 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9762 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9765 $as_echo_n "checking for -lXxf86vm... " >&6; }
9766 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9767 $as_echo_n "(cached) " >&6
9769 ac_check_soname_save_LIBS
=$LIBS
9770 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9772 /* end confdefs.h. */
9774 /* Override any GCC internal prototype to avoid an error.
9775 Use char because int might match the return type of a GCC
9776 builtin and then its argument prototype would still apply. */
9780 char XF86VidModeQueryExtension ();
9784 return XF86VidModeQueryExtension ();
9789 if ac_fn_c_try_link
"$LINENO"; then :
9791 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9792 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'` ;;
9793 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9794 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9795 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9799 rm -f core conftest.err conftest.
$ac_objext \
9800 conftest
$ac_exeext conftest.
$ac_ext
9801 LIBS
=$ac_check_soname_save_LIBS
9803 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9805 $as_echo "not found" >&6; }
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9809 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9811 cat >>confdefs.h
<<_ACEOF
9812 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9818 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9819 case "x$with_xxf86vm" in
9820 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9822 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9823 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9827 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9830 $as_echo_n "checking for -lXrender... " >&6; }
9831 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9832 $as_echo_n "(cached) " >&6
9834 ac_check_soname_save_LIBS
=$LIBS
9835 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9839 /* Override any GCC internal prototype to avoid an error.
9840 Use char because int might match the return type of a GCC
9841 builtin and then its argument prototype would still apply. */
9845 char XRenderQueryExtension ();
9849 return XRenderQueryExtension ();
9854 if ac_fn_c_try_link
"$LINENO"; then :
9856 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9857 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'` ;;
9858 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9859 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9860 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9864 rm -f core conftest.err conftest.
$ac_objext \
9865 conftest
$ac_exeext conftest.
$ac_ext
9866 LIBS
=$ac_check_soname_save_LIBS
9868 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9870 $as_echo "not found" >&6; }
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9874 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9876 cat >>confdefs.h
<<_ACEOF
9877 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9881 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9882 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9883 $as_echo_n "(cached) " >&6
9885 ac_check_lib_save_LIBS
=$LIBS
9886 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9890 /* Override any GCC internal prototype to avoid an error.
9891 Use char because int might match the return type of a GCC
9892 builtin and then its argument prototype would still apply. */
9896 char XRenderSetPictureTransform ();
9900 return XRenderSetPictureTransform ();
9905 if ac_fn_c_try_link
"$LINENO"; then :
9906 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9908 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9910 rm -f core conftest.err conftest.
$ac_objext \
9911 conftest
$ac_exeext conftest.
$ac_ext
9912 LIBS
=$ac_check_lib_save_LIBS
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9915 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9916 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9918 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9923 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9924 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9925 $as_echo_n "(cached) " >&6
9927 ac_check_lib_save_LIBS
=$LIBS
9928 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9930 /* end confdefs.h. */
9932 /* Override any GCC internal prototype to avoid an error.
9933 Use char because int might match the return type of a GCC
9934 builtin and then its argument prototype would still apply. */
9938 char XRenderCreateLinearGradient ();
9942 return XRenderCreateLinearGradient ();
9947 if ac_fn_c_try_link
"$LINENO"; then :
9948 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9950 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9952 rm -f core conftest.err conftest.
$ac_objext \
9953 conftest
$ac_exeext conftest.
$ac_ext
9954 LIBS
=$ac_check_lib_save_LIBS
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9957 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9958 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9960 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9967 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9968 case "x$with_xrender" in
9969 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9971 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9972 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9976 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9979 /* end confdefs.h. */
9980 #include <X11/Xlib.h>
9981 #include <X11/extensions/Xrandr.h>
9985 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9990 if ac_fn_c_try_compile
"$LINENO"; then :
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9992 $as_echo_n "checking for -lXrandr... " >&6; }
9993 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9994 $as_echo_n "(cached) " >&6
9996 ac_check_soname_save_LIBS
=$LIBS
9997 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9999 /* end confdefs.h. */
10001 /* Override any GCC internal prototype to avoid an error.
10002 Use char because int might match the return type of a GCC
10003 builtin and then its argument prototype would still apply. */
10007 char XRRQueryExtension ();
10011 return XRRQueryExtension ();
10016 if ac_fn_c_try_link
"$LINENO"; then :
10018 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10019 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'` ;;
10020 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10021 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10022 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10026 rm -f core conftest.err conftest.
$ac_objext \
10027 conftest
$ac_exeext conftest.
$ac_ext
10028 LIBS
=$ac_check_soname_save_LIBS
10030 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10032 $as_echo "not found" >&6; }
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10036 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10038 cat >>confdefs.h
<<_ACEOF
10039 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10044 #include <X11/Xlib.h>
10045 #include <X11/extensions/Xrandr.h>
10049 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10054 if ac_fn_c_try_compile
"$LINENO"; then :
10056 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10064 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10065 case "x$with_xrandr" in
10066 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10068 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10069 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10073 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10076 /* end confdefs.h. */
10077 #include <X11/Xlib.h>
10078 #include <X11/extensions/Xinerama.h>
10082 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10087 if ac_fn_c_try_compile
"$LINENO"; then :
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10089 $as_echo_n "checking for -lXinerama... " >&6; }
10090 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10091 $as_echo_n "(cached) " >&6
10093 ac_check_soname_save_LIBS
=$LIBS
10094 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10096 /* end confdefs.h. */
10098 /* Override any GCC internal prototype to avoid an error.
10099 Use char because int might match the return type of a GCC
10100 builtin and then its argument prototype would still apply. */
10104 char XineramaQueryScreens ();
10108 return XineramaQueryScreens ();
10113 if ac_fn_c_try_link
"$LINENO"; then :
10115 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10116 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'` ;;
10117 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10118 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10119 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10123 rm -f core conftest.err conftest.
$ac_objext \
10124 conftest
$ac_exeext conftest.
$ac_ext
10125 LIBS
=$ac_check_soname_save_LIBS
10127 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10129 $as_echo "not found" >&6; }
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10133 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10135 cat >>confdefs.h
<<_ACEOF
10136 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10144 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10145 case "x$with_xinerama" in
10146 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10148 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10149 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10153 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10156 $as_echo_n "checking for -lXcomposite... " >&6; }
10157 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10158 $as_echo_n "(cached) " >&6
10160 ac_check_soname_save_LIBS
=$LIBS
10161 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10165 /* Override any GCC internal prototype to avoid an error.
10166 Use char because int might match the return type of a GCC
10167 builtin and then its argument prototype would still apply. */
10171 char XCompositeRedirectWindow ();
10175 return XCompositeRedirectWindow ();
10180 if ac_fn_c_try_link
"$LINENO"; then :
10182 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10183 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'` ;;
10184 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10185 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10186 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10190 rm -f core conftest.err conftest.
$ac_objext \
10191 conftest
$ac_exeext conftest.
$ac_ext
10192 LIBS
=$ac_check_soname_save_LIBS
10194 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10196 $as_echo "not found" >&6; }
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10200 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10202 cat >>confdefs.h
<<_ACEOF
10203 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10209 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10210 case "x$with_xcomposite" in
10211 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10213 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10214 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10218 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10219 #include <X11/Xlib.h>
10222 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10224 cat >>confdefs.h
<<_ACEOF
10225 #define HAVE_XICCALLBACK_CALLBACK 1
10230 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10231 #include <X11/Xlib.h>
10234 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10236 cat >>confdefs.h
<<_ACEOF
10237 #define HAVE_XEVENT_XCOOKIE 1
10246 if test "x$with_opengl" != "xno"
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10249 $as_echo_n "checking for -lGL... " >&6; }
10250 if ${ac_cv_lib_soname_GL+:} false
; then :
10251 $as_echo_n "(cached) " >&6
10253 ac_check_soname_save_LIBS
=$LIBS
10254 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10258 /* Override any GCC internal prototype to avoid an error.
10259 Use char because int might match the return type of a GCC
10260 builtin and then its argument prototype would still apply. */
10264 char glXCreateContext ();
10268 return glXCreateContext ();
10273 if ac_fn_c_try_link
"$LINENO"; then :
10275 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10276 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'` ;;
10277 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10278 if ${ac_cv_lib_soname_GL:+false} :; then :
10279 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10283 rm -f core conftest.err conftest.
$ac_objext \
10284 conftest
$ac_exeext conftest.
$ac_ext
10285 LIBS
=$ac_check_soname_save_LIBS
10287 if ${ac_cv_lib_soname_GL:+false} :; then :
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10289 $as_echo "not found" >&6; }
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10291 $as_echo_n "checking for -lGL... " >&6; }
10292 if ${ac_cv_lib_soname_GL+:} false
; then :
10293 $as_echo_n "(cached) " >&6
10295 ac_check_soname_save_LIBS
=$LIBS
10296 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"
10297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10298 /* end confdefs.h. */
10300 /* Override any GCC internal prototype to avoid an error.
10301 Use char because int might match the return type of a GCC
10302 builtin and then its argument prototype would still apply. */
10306 char glXCreateContext ();
10310 return glXCreateContext ();
10315 if ac_fn_c_try_link
"$LINENO"; then :
10317 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10318 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'` ;;
10319 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10320 if ${ac_cv_lib_soname_GL:+false} :; then :
10321 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10325 rm -f core conftest.err conftest.
$ac_objext \
10326 conftest
$ac_exeext conftest.
$ac_ext
10327 LIBS
=$ac_check_soname_save_LIBS
10329 if ${ac_cv_lib_soname_GL:+false} :; then :
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10331 $as_echo "not found" >&6; }
10332 if test -f /usr
/X11R
6/lib
/libGL.a
10334 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10335 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10337 opengl_msg
="No OpenGL library found on this system."
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10341 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10343 cat >>confdefs.h
<<_ACEOF
10344 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10347 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"
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10351 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10353 cat >>confdefs.h
<<_ACEOF
10354 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10359 if test "x$with_glu" != "xno"
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10362 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10363 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10364 $as_echo_n "(cached) " >&6
10366 ac_check_lib_save_LIBS
=$LIBS
10367 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10369 /* end confdefs.h. */
10371 /* Override any GCC internal prototype to avoid an error.
10372 Use char because int might match the return type of a GCC
10373 builtin and then its argument prototype would still apply. */
10381 return gluLookAt ();
10386 if ac_fn_c_try_link
"$LINENO"; then :
10387 ac_cv_lib_GLU_gluLookAt
=yes
10389 ac_cv_lib_GLU_gluLookAt
=no
10391 rm -f core conftest.err conftest.
$ac_objext \
10392 conftest
$ac_exeext conftest.
$ac_ext
10393 LIBS
=$ac_check_lib_save_LIBS
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10396 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10397 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10401 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10402 case "x$with_glu" in
10403 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10405 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10406 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10411 if test "x$with_osmesa" != "xno"
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10414 $as_echo_n "checking for -lOSMesa... " >&6; }
10415 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10416 $as_echo_n "(cached) " >&6
10418 ac_check_soname_save_LIBS
=$LIBS
10419 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10423 /* Override any GCC internal prototype to avoid an error.
10424 Use char because int might match the return type of a GCC
10425 builtin and then its argument prototype would still apply. */
10438 if ac_fn_c_try_link
"$LINENO"; then :
10440 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10441 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'` ;;
10442 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10443 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10444 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10448 rm -f core conftest.err conftest.
$ac_objext \
10449 conftest
$ac_exeext conftest.
$ac_ext
10450 LIBS
=$ac_check_soname_save_LIBS
10452 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10454 $as_echo "not found" >&6; }
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10458 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10460 cat >>confdefs.h
<<_ACEOF
10461 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10466 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10467 case "x$with_osmesa" in
10468 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10470 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10471 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10476 if test -n "$opengl_msg"; then :
10477 case "x$with_opengl" in
10478 x
) as_fn_append wine_warnings
"|$opengl_msg
10479 OpenGL and Direct3D won't be supported." ;;
10481 *) as_fn_error $?
"$opengl_msg
10482 OpenGL and Direct3D won't be supported.
10483 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10487 CPPFLAGS
="$ac_save_CPPFLAGS"
10491 enable_winex11_drv
=${enable_winex11_drv:-no}
10493 if test "x$X_LIBS" = "x"; then :
10496 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10497 without X support, which probably isn't what you want. You will need
10498 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10499 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10503 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10505 if test "$ac_cv_header_CL_cl_h" = "yes"
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10508 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10509 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10510 $as_echo_n "(cached) " >&6
10512 ac_check_lib_save_LIBS
=$LIBS
10513 LIBS
="-lOpenCL $LIBS"
10514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10515 /* end confdefs.h. */
10517 /* Override any GCC internal prototype to avoid an error.
10518 Use char because int might match the return type of a GCC
10519 builtin and then its argument prototype would still apply. */
10523 char clGetPlatformInfo ();
10527 return clGetPlatformInfo ();
10532 if ac_fn_c_try_link
"$LINENO"; then :
10533 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10535 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10537 rm -f core conftest.err conftest.
$ac_objext \
10538 conftest
$ac_exeext conftest.
$ac_ext
10539 LIBS
=$ac_check_lib_save_LIBS
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10542 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10543 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10544 OPENCL_LIBS
="-lOpenCL"
10549 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10550 case "x$with_opencl" in
10551 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10553 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10554 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10557 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10559 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10562 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10563 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10564 $as_echo_n "(cached) " >&6
10566 ac_check_lib_save_LIBS
=$LIBS
10567 LIBS
="-lpcap $LIBS"
10568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10569 /* end confdefs.h. */
10571 /* Override any GCC internal prototype to avoid an error.
10572 Use char because int might match the return type of a GCC
10573 builtin and then its argument prototype would still apply. */
10577 char pcap_create ();
10581 return pcap_create ();
10586 if ac_fn_c_try_link
"$LINENO"; then :
10587 ac_cv_lib_pcap_pcap_create
=yes
10589 ac_cv_lib_pcap_pcap_create
=no
10591 rm -f core conftest.err conftest.
$ac_objext \
10592 conftest
$ac_exeext conftest.
$ac_ext
10593 LIBS
=$ac_check_lib_save_LIBS
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10596 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10597 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10603 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10604 case "x$with_pcap" in
10605 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10607 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10608 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10611 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10614 if test "x$with_xml" != "xno"
10616 if ${XML2_CFLAGS:+false} :; then :
10617 if ${PKG_CONFIG+:} false
; then :
10618 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10621 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10622 if ${XML2_LIBS:+false} :; then :
10623 if ${PKG_CONFIG+:} false
; then :
10624 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10627 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10628 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10629 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10630 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10631 ac_save_CPPFLAGS
=$CPPFLAGS
10632 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10633 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10635 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10636 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10637 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10638 cat >>confdefs.h
<<_ACEOF
10639 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10646 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"
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10649 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10650 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10651 $as_echo_n "(cached) " >&6
10653 ac_check_lib_save_LIBS
=$LIBS
10654 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10658 /* Override any GCC internal prototype to avoid an error.
10659 Use char because int might match the return type of a GCC
10660 builtin and then its argument prototype would still apply. */
10664 char xmlParseMemory ();
10668 return xmlParseMemory ();
10673 if ac_fn_c_try_link
"$LINENO"; then :
10674 ac_cv_lib_xml2_xmlParseMemory
=yes
10676 ac_cv_lib_xml2_xmlParseMemory
=no
10678 rm -f core conftest.err conftest.
$ac_objext \
10679 conftest
$ac_exeext conftest.
$ac_ext
10680 LIBS
=$ac_check_lib_save_LIBS
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10683 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10684 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10686 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10693 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10694 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10695 $as_echo_n "(cached) " >&6
10697 ac_check_lib_save_LIBS
=$LIBS
10698 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10700 /* end confdefs.h. */
10702 /* Override any GCC internal prototype to avoid an error.
10703 Use char because int might match the return type of a GCC
10704 builtin and then its argument prototype would still apply. */
10708 char xmlReadMemory ();
10712 return xmlReadMemory ();
10717 if ac_fn_c_try_link
"$LINENO"; then :
10718 ac_cv_lib_xml2_xmlReadMemory
=yes
10720 ac_cv_lib_xml2_xmlReadMemory
=no
10722 rm -f core conftest.err conftest.
$ac_objext \
10723 conftest
$ac_exeext conftest.
$ac_ext
10724 LIBS
=$ac_check_lib_save_LIBS
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10727 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10728 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10730 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10735 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10736 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10737 $as_echo_n "(cached) " >&6
10739 ac_check_lib_save_LIBS
=$LIBS
10740 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10742 /* end confdefs.h. */
10744 /* Override any GCC internal prototype to avoid an error.
10745 Use char because int might match the return type of a GCC
10746 builtin and then its argument prototype would still apply. */
10750 char xmlNewDocPI ();
10754 return xmlNewDocPI ();
10759 if ac_fn_c_try_link
"$LINENO"; then :
10760 ac_cv_lib_xml2_xmlNewDocPI
=yes
10762 ac_cv_lib_xml2_xmlNewDocPI
=no
10764 rm -f core conftest.err conftest.
$ac_objext \
10765 conftest
$ac_exeext conftest.
$ac_ext
10766 LIBS
=$ac_check_lib_save_LIBS
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10769 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10770 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10772 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10777 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10778 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10779 $as_echo_n "(cached) " >&6
10781 ac_check_lib_save_LIBS
=$LIBS
10782 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10784 /* end confdefs.h. */
10786 /* Override any GCC internal prototype to avoid an error.
10787 Use char because int might match the return type of a GCC
10788 builtin and then its argument prototype would still apply. */
10792 char xmlSchemaSetParserStructuredErrors ();
10796 return xmlSchemaSetParserStructuredErrors ();
10801 if ac_fn_c_try_link
"$LINENO"; then :
10802 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10804 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10806 rm -f core conftest.err conftest.
$ac_objext \
10807 conftest
$ac_exeext conftest.
$ac_ext
10808 LIBS
=$ac_check_lib_save_LIBS
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10811 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10812 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10814 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10819 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10820 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10821 $as_echo_n "(cached) " >&6
10823 ac_check_lib_save_LIBS
=$LIBS
10824 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10826 /* end confdefs.h. */
10828 /* Override any GCC internal prototype to avoid an error.
10829 Use char because int might match the return type of a GCC
10830 builtin and then its argument prototype would still apply. */
10834 char xmlSchemaSetValidStructuredErrors ();
10838 return xmlSchemaSetValidStructuredErrors ();
10843 if ac_fn_c_try_link
"$LINENO"; then :
10844 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10846 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10848 rm -f core conftest.err conftest.
$ac_objext \
10849 conftest
$ac_exeext conftest.
$ac_ext
10850 LIBS
=$ac_check_lib_save_LIBS
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10853 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10854 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10856 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10861 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10862 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10863 $as_echo_n "(cached) " >&6
10865 ac_check_lib_save_LIBS
=$LIBS
10866 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10870 /* Override any GCC internal prototype to avoid an error.
10871 Use char because int might match the return type of a GCC
10872 builtin and then its argument prototype would still apply. */
10876 char xmlFirstElementChild ();
10880 return xmlFirstElementChild ();
10885 if ac_fn_c_try_link
"$LINENO"; then :
10886 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10888 ac_cv_lib_xml2_xmlFirstElementChild
=no
10890 rm -f core conftest.err conftest.
$ac_objext \
10891 conftest
$ac_exeext conftest.
$ac_ext
10892 LIBS
=$ac_check_lib_save_LIBS
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10895 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10896 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10898 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10902 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10904 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10906 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10914 CPPFLAGS
=$ac_save_CPPFLAGS
10915 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10916 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10919 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10920 case "x$with_xml" in
10921 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10923 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10924 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10928 if test "x$with_xslt" != "xno"
10930 if ${XSLT_CFLAGS:+false} :; then :
10931 if ${PKG_CONFIG+:} false
; then :
10932 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10935 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10936 if ${XSLT_LIBS:+false} :; then :
10937 if ${PKG_CONFIG+:} false
; then :
10938 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10941 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10942 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10943 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10944 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10945 ac_save_CPPFLAGS
=$CPPFLAGS
10946 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10947 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10949 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10950 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10951 # include <libxslt/pattern.h>
10954 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10955 cat >>confdefs.h
<<_ACEOF
10956 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10963 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10966 $as_echo_n "checking for -lxslt... " >&6; }
10967 if ${ac_cv_lib_soname_xslt+:} false
; then :
10968 $as_echo_n "(cached) " >&6
10970 ac_check_soname_save_LIBS
=$LIBS
10971 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10975 /* Override any GCC internal prototype to avoid an error.
10976 Use char because int might match the return type of a GCC
10977 builtin and then its argument prototype would still apply. */
10981 char xsltCompilePattern ();
10985 return xsltCompilePattern ();
10990 if ac_fn_c_try_link
"$LINENO"; then :
10992 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10993 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'` ;;
10994 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10995 if ${ac_cv_lib_soname_xslt:+false} :; then :
10996 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11000 rm -f core conftest.err conftest.
$ac_objext \
11001 conftest
$ac_exeext conftest.
$ac_ext
11002 LIBS
=$ac_check_soname_save_LIBS
11004 if ${ac_cv_lib_soname_xslt:+false} :; then :
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11006 $as_echo "not found" >&6; }
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11010 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11012 cat >>confdefs.h
<<_ACEOF
11013 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11021 CPPFLAGS
=$ac_save_CPPFLAGS
11022 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11023 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11026 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11027 case "x$with_xslt" in
11028 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11030 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11031 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11035 if test "x$with_dbus" != "xno"
11037 if ${DBUS_CFLAGS:+false} :; then :
11038 if ${PKG_CONFIG+:} false
; then :
11039 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11043 if ${DBUS_LIBS:+false} :; then :
11044 if ${PKG_CONFIG+:} false
; then :
11045 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11050 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11051 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11052 ac_save_CPPFLAGS
=$CPPFLAGS
11053 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11054 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11055 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11057 $as_echo_n "checking for -ldbus-1... " >&6; }
11058 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11059 $as_echo_n "(cached) " >&6
11061 ac_check_soname_save_LIBS
=$LIBS
11062 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11066 /* Override any GCC internal prototype to avoid an error.
11067 Use char because int might match the return type of a GCC
11068 builtin and then its argument prototype would still apply. */
11072 char dbus_connection_close ();
11076 return dbus_connection_close ();
11081 if ac_fn_c_try_link
"$LINENO"; then :
11083 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11084 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'` ;;
11085 *) 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'`
11086 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11087 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11091 rm -f core conftest.err conftest.
$ac_objext \
11092 conftest
$ac_exeext conftest.
$ac_ext
11093 LIBS
=$ac_check_soname_save_LIBS
11095 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11097 $as_echo "not found" >&6; }
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11101 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11103 cat >>confdefs.h
<<_ACEOF
11104 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11114 CPPFLAGS
=$ac_save_CPPFLAGS
11115 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11116 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11119 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11120 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11121 case "x$with_dbus" in
11122 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11124 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11125 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11129 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11131 if ${HAL_CFLAGS:+false} :; then :
11132 if ${PKG_CONFIG+:} false
; then :
11133 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11137 if ${HAL_LIBS:+false} :; then :
11138 if ${PKG_CONFIG+:} false
; then :
11139 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11143 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11144 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11145 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11146 ac_save_CPPFLAGS
=$CPPFLAGS
11147 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11148 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11149 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11151 $as_echo_n "checking for -lhal... " >&6; }
11152 if ${ac_cv_lib_soname_hal+:} false
; then :
11153 $as_echo_n "(cached) " >&6
11155 ac_check_soname_save_LIBS
=$LIBS
11156 LIBS
="-lhal $HAL_LIBS $LIBS"
11157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11160 /* Override any GCC internal prototype to avoid an error.
11161 Use char because int might match the return type of a GCC
11162 builtin and then its argument prototype would still apply. */
11166 char libhal_ctx_new ();
11170 return libhal_ctx_new ();
11175 if ac_fn_c_try_link
"$LINENO"; then :
11177 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11178 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'` ;;
11179 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11180 if ${ac_cv_lib_soname_hal:+false} :; then :
11181 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11185 rm -f core conftest.err conftest.
$ac_objext \
11186 conftest
$ac_exeext conftest.
$ac_ext
11187 LIBS
=$ac_check_soname_save_LIBS
11189 if ${ac_cv_lib_soname_hal:+false} :; then :
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11191 $as_echo "not found" >&6; }
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11195 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11197 cat >>confdefs.h
<<_ACEOF
11198 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11208 CPPFLAGS
=$ac_save_CPPFLAGS
11209 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11210 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11212 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11213 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11214 case "x$with_hal" in
11215 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11217 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11218 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11223 if test "x$with_gnutls" != "xno"
11225 if ${GNUTLS_CFLAGS:+false} :; then :
11226 if ${PKG_CONFIG+:} false
; then :
11227 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11231 if ${GNUTLS_LIBS:+false} :; then :
11232 if ${PKG_CONFIG+:} false
; then :
11233 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11238 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11239 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11240 ac_save_CPPFLAGS
=$CPPFLAGS
11241 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11242 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11243 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11245 /* end confdefs.h. */
11246 #include <gnutls/gnutls.h>
11247 #include <gnutls/crypto.h>
11251 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11256 if ac_fn_c_try_compile
"$LINENO"; then :
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11258 $as_echo_n "checking for -lgnutls... " >&6; }
11259 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11260 $as_echo_n "(cached) " >&6
11262 ac_check_soname_save_LIBS
=$LIBS
11263 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11273 char gnutls_global_init ();
11277 return gnutls_global_init ();
11282 if ac_fn_c_try_link
"$LINENO"; then :
11284 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11285 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'` ;;
11286 *) 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'`
11287 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11288 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'`
11292 rm -f core conftest.err conftest.
$ac_objext \
11293 conftest
$ac_exeext conftest.
$ac_ext
11294 LIBS
=$ac_check_soname_save_LIBS
11296 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11298 $as_echo "not found" >&6; }
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11302 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11304 cat >>confdefs.h
<<_ACEOF
11305 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11317 CPPFLAGS
=$ac_save_CPPFLAGS
11318 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11319 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11322 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11323 case "x$with_gnutls" in
11324 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11326 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11327 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11332 if test "$ac_cv_header_ncurses_h" = "yes"
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11335 $as_echo_n "checking for -lncurses... " >&6; }
11336 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11337 $as_echo_n "(cached) " >&6
11339 ac_check_soname_save_LIBS
=$LIBS
11340 LIBS
="-lncurses $LIBS"
11341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11344 /* Override any GCC internal prototype to avoid an error.
11345 Use char because int might match the return type of a GCC
11346 builtin and then its argument prototype would still apply. */
11359 if ac_fn_c_try_link
"$LINENO"; then :
11361 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11362 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'` ;;
11363 *) 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'`
11364 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11365 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11369 rm -f core conftest.err conftest.
$ac_objext \
11370 conftest
$ac_exeext conftest.
$ac_ext
11371 LIBS
=$ac_check_soname_save_LIBS
11373 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11375 $as_echo "not found" >&6; }
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11379 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11381 cat >>confdefs.h
<<_ACEOF
11382 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11385 CURSES_LIBS
="-lncurses"
11387 elif test "$ac_cv_header_curses_h" = "yes"
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11390 $as_echo_n "checking for -lcurses... " >&6; }
11391 if ${ac_cv_lib_soname_curses+:} false
; then :
11392 $as_echo_n "(cached) " >&6
11394 ac_check_soname_save_LIBS
=$LIBS
11395 LIBS
="-lcurses $LIBS"
11396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11397 /* end confdefs.h. */
11399 /* Override any GCC internal prototype to avoid an error.
11400 Use char because int might match the return type of a GCC
11401 builtin and then its argument prototype would still apply. */
11414 if ac_fn_c_try_link
"$LINENO"; then :
11416 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11417 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'` ;;
11418 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11419 if ${ac_cv_lib_soname_curses:+false} :; then :
11420 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11424 rm -f core conftest.err conftest.
$ac_objext \
11425 conftest
$ac_exeext conftest.
$ac_ext
11426 LIBS
=$ac_check_soname_save_LIBS
11428 if ${ac_cv_lib_soname_curses:+false} :; then :
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11430 $as_echo "not found" >&6; }
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11434 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11436 cat >>confdefs.h
<<_ACEOF
11437 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11440 CURSES_LIBS
="-lcurses"
11443 ac_save_LIBS
="$LIBS"
11444 LIBS
="$LIBS $CURSES_LIBS"
11445 for ac_func
in mousemask
11447 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11448 if test "x$ac_cv_func_mousemask" = xyes
; then :
11449 cat >>confdefs.h
<<_ACEOF
11450 #define HAVE_MOUSEMASK 1
11456 LIBS
="$ac_save_LIBS"
11457 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11458 case "x$with_curses" in
11459 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11461 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11462 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11466 if test "x$with_sane" != "xno"
11468 if ${SANE_CFLAGS:+false} :; then :
11469 if ${PKG_CONFIG+:} false
; then :
11470 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11473 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11474 if ${SANE_LIBS:+false} :; then :
11475 if ${PKG_CONFIG+:} false
; then :
11476 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11479 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11481 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11482 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11483 ac_save_CPPFLAGS
=$CPPFLAGS
11484 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11485 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11486 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11488 $as_echo_n "checking for -lsane... " >&6; }
11489 if ${ac_cv_lib_soname_sane+:} false
; then :
11490 $as_echo_n "(cached) " >&6
11492 ac_check_soname_save_LIBS
=$LIBS
11493 LIBS
="-lsane $SANE_LIBS $LIBS"
11494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11497 /* Override any GCC internal prototype to avoid an error.
11498 Use char because int might match the return type of a GCC
11499 builtin and then its argument prototype would still apply. */
11507 return sane_init ();
11512 if ac_fn_c_try_link
"$LINENO"; then :
11514 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11515 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'` ;;
11516 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11517 if ${ac_cv_lib_soname_sane:+false} :; then :
11518 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11522 rm -f core conftest.err conftest.
$ac_objext \
11523 conftest
$ac_exeext conftest.
$ac_ext
11524 LIBS
=$ac_check_soname_save_LIBS
11526 if ${ac_cv_lib_soname_sane:+false} :; then :
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11528 $as_echo "not found" >&6; }
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11532 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11534 cat >>confdefs.h
<<_ACEOF
11535 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11545 CPPFLAGS
=$ac_save_CPPFLAGS
11546 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11547 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11550 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11551 case "x$with_sane" in
11552 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11554 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11555 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11559 if test "x$with_v4l" != "xno"
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11562 $as_echo_n "checking for -lv4l1... " >&6; }
11563 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11564 $as_echo_n "(cached) " >&6
11566 ac_check_soname_save_LIBS
=$LIBS
11567 LIBS
="-lv4l1 $LIBS"
11568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11569 /* end confdefs.h. */
11571 /* Override any GCC internal prototype to avoid an error.
11572 Use char because int might match the return type of a GCC
11573 builtin and then its argument prototype would still apply. */
11581 return v4l1_open ();
11586 if ac_fn_c_try_link
"$LINENO"; then :
11588 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11589 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'` ;;
11590 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11591 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11592 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11596 rm -f core conftest.err conftest.
$ac_objext \
11597 conftest
$ac_exeext conftest.
$ac_ext
11598 LIBS
=$ac_check_soname_save_LIBS
11600 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11602 $as_echo "not found" >&6; }
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11606 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11608 cat >>confdefs.h
<<_ACEOF
11609 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11615 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11616 case "x$with_v4l" in
11617 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11619 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11620 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11624 if test "x$with_gphoto" != "xno"
11626 if ${GPHOTO2_CFLAGS:+false} :; then :
11627 if ${PKG_CONFIG+:} false
; then :
11628 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11631 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11632 if ${GPHOTO2_LIBS:+false} :; then :
11633 if ${PKG_CONFIG+:} false
; then :
11634 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11637 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11638 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11639 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11640 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11641 ac_save_CPPFLAGS
=$CPPFLAGS
11642 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11643 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11644 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11646 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11647 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11648 $as_echo_n "(cached) " >&6
11650 ac_check_lib_save_LIBS
=$LIBS
11651 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11655 /* Override any GCC internal prototype to avoid an error.
11656 Use char because int might match the return type of a GCC
11657 builtin and then its argument prototype would still apply. */
11661 char gp_camera_new ();
11665 return gp_camera_new ();
11670 if ac_fn_c_try_link
"$LINENO"; then :
11671 ac_cv_lib_gphoto2_gp_camera_new
=yes
11673 ac_cv_lib_gphoto2_gp_camera_new
=no
11675 rm -f core conftest.err conftest.
$ac_objext \
11676 conftest
$ac_exeext conftest.
$ac_ext
11677 LIBS
=$ac_check_lib_save_LIBS
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11680 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11681 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11683 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11686 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11690 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11694 CPPFLAGS
=$ac_save_CPPFLAGS
11695 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11696 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11698 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11699 if ${PKG_CONFIG+:} false
; then :
11700 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11703 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11704 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11705 if ${PKG_CONFIG+:} false
; then :
11706 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11709 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11710 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11711 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11712 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11713 ac_save_CPPFLAGS
=$CPPFLAGS
11714 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11715 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11716 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11718 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11719 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11720 $as_echo_n "(cached) " >&6
11722 ac_check_lib_save_LIBS
=$LIBS
11723 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11725 /* end confdefs.h. */
11727 /* Override any GCC internal prototype to avoid an error.
11728 Use char because int might match the return type of a GCC
11729 builtin and then its argument prototype would still apply. */
11733 char gp_port_info_list_new ();
11737 return gp_port_info_list_new ();
11742 if ac_fn_c_try_link
"$LINENO"; then :
11743 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11745 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11747 rm -f core conftest.err conftest.
$ac_objext \
11748 conftest
$ac_exeext conftest.
$ac_ext
11749 LIBS
=$ac_check_lib_save_LIBS
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11752 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11753 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11755 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11758 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11762 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11766 CPPFLAGS
=$ac_save_CPPFLAGS
11767 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11768 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11771 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11772 case "x$with_gphoto" in
11773 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11775 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11776 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11779 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11780 case "x$with_gphoto" in
11781 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11783 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11784 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11789 if test "$ac_cv_header_resolv_h" = "yes"
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11792 $as_echo_n "checking for resolver library... " >&6; }
11793 if ${ac_cv_have_resolv+:} false
; then :
11794 $as_echo_n "(cached) " >&6
11796 ac_save_LIBS
="$LIBS"
11797 for lib
in '' -lresolv
11799 LIBS
="$lib $ac_save_LIBS"
11800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11802 #ifdef HAVE_NETINET_IN_H
11803 #include <netinet/in.h>
11805 #include <resolv.h>
11809 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11814 if ac_fn_c_try_link
"$LINENO"; then :
11815 ac_cv_have_resolv
=${lib:-"none required"}
11817 ac_cv_have_resolv
="not found"
11819 rm -f core conftest.err conftest.
$ac_objext \
11820 conftest
$ac_exeext conftest.
$ac_ext
11821 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11823 LIBS
="$ac_save_LIBS"
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11826 $as_echo "$ac_cv_have_resolv" >&6; }
11828 case "$ac_cv_have_resolv" in
11832 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11835 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11837 RESOLV_LIBS
=$ac_cv_have_resolv
11842 if test "x$with_lcms2" != "xno"
11844 if ${LCMS2_CFLAGS:+false} :; then :
11845 if ${PKG_CONFIG+:} false
; then :
11846 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11850 if ${LCMS2_LIBS:+false} :; then :
11851 if ${PKG_CONFIG+:} false
; then :
11852 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11856 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11857 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11858 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11859 ac_save_CPPFLAGS
=$CPPFLAGS
11860 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11861 for ac_header
in lcms2.h
11863 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11864 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11865 cat >>confdefs.h
<<_ACEOF
11866 #define HAVE_LCMS2_H 1
11873 if test "$ac_cv_header_lcms2_h" = "yes"
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11876 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11877 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11878 $as_echo_n "(cached) " >&6
11880 ac_check_lib_save_LIBS
=$LIBS
11881 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11885 /* Override any GCC internal prototype to avoid an error.
11886 Use char because int might match the return type of a GCC
11887 builtin and then its argument prototype would still apply. */
11891 char cmsOpenProfileFromFile ();
11895 return cmsOpenProfileFromFile ();
11900 if ac_fn_c_try_link
"$LINENO"; then :
11901 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11903 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11905 rm -f core conftest.err conftest.
$ac_objext \
11906 conftest
$ac_exeext conftest.
$ac_ext
11907 LIBS
=$ac_check_lib_save_LIBS
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11910 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11911 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11913 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11923 CPPFLAGS
=$ac_save_CPPFLAGS
11924 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11925 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11928 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11929 case "x$with_cms" in
11930 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11932 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11933 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11937 if test "x$with_freetype" != "xno"
11939 if ${FREETYPE_CFLAGS:+false} :; then :
11940 if ${PKG_CONFIG+:} false
; then :
11941 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11944 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11945 if ${FREETYPE_LIBS:+false} :; then :
11946 if ${PKG_CONFIG+:} false
; then :
11947 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11950 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11951 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11952 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11953 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11954 ac_save_CPPFLAGS
=$CPPFLAGS
11955 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11956 for ac_header
in ft2build.h
11958 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11959 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11960 cat >>confdefs.h
<<_ACEOF
11961 #define HAVE_FT2BUILD_H 1
11968 if test "$ac_cv_header_ft2build_h" = "yes"
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11971 $as_echo_n "checking for -lfreetype... " >&6; }
11972 if ${ac_cv_lib_soname_freetype+:} false
; then :
11973 $as_echo_n "(cached) " >&6
11975 ac_check_soname_save_LIBS
=$LIBS
11976 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11978 /* end confdefs.h. */
11980 /* Override any GCC internal prototype to avoid an error.
11981 Use char because int might match the return type of a GCC
11982 builtin and then its argument prototype would still apply. */
11986 char FT_Init_FreeType ();
11990 return FT_Init_FreeType ();
11995 if ac_fn_c_try_link
"$LINENO"; then :
11997 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11998 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'` ;;
11999 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12000 if ${ac_cv_lib_soname_freetype:+false} :; then :
12001 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12005 rm -f core conftest.err conftest.
$ac_objext \
12006 conftest
$ac_exeext conftest.
$ac_ext
12007 LIBS
=$ac_check_soname_save_LIBS
12009 if ${ac_cv_lib_soname_freetype:+false} :; then :
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12011 $as_echo "not found" >&6; }
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12015 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12017 cat >>confdefs.h
<<_ACEOF
12018 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12022 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12024 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12025 #include FT_MODULE_H
12027 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12029 cat >>confdefs.h
<<_ACEOF
12030 #define HAVE_FT_TRUETYPEENGINETYPE 1
12041 CPPFLAGS
=$ac_save_CPPFLAGS
12042 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12043 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12046 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12047 case "x$with_freetype" in
12049 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12050 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12053 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12056 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12057 if ${ac_cv_c_ppdev+:} false
; then :
12058 $as_echo_n "(cached) " >&6
12060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12061 /* end confdefs.h. */
12062 #ifdef HAVE_SYS_IOCTL_H
12063 # include <sys/ioctl.h>
12065 #include <linux/ppdev.h>
12069 ioctl (1,PPCLAIM,0)
12074 if ac_fn_c_try_compile
"$LINENO"; then :
12075 ac_cv_c_ppdev
="yes"
12079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12082 $as_echo "$ac_cv_c_ppdev" >&6; }
12083 if test "$ac_cv_c_ppdev" = "yes"
12086 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12090 ac_wine_check_funcs_save_LIBS
="$LIBS"
12091 LIBS
="$LIBS $PTHREAD_LIBS"
12093 pthread_attr_get_np \
12094 pthread_getattr_np \
12095 pthread_getthreadid_np \
12096 pthread_get_stackaddr_np \
12097 pthread_get_stacksize_np
12099 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12100 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12101 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12102 cat >>confdefs.h
<<_ACEOF
12103 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12109 LIBS
="$ac_wine_check_funcs_save_LIBS"
12111 if test "$ac_cv_header_zlib_h" = "yes"
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12114 $as_echo_n "checking for inflate in -lz... " >&6; }
12115 if ${ac_cv_lib_z_inflate+:} false
; then :
12116 $as_echo_n "(cached) " >&6
12118 ac_check_lib_save_LIBS
=$LIBS
12120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12121 /* end confdefs.h. */
12123 /* Override any GCC internal prototype to avoid an error.
12124 Use char because int might match the return type of a GCC
12125 builtin and then its argument prototype would still apply. */
12138 if ac_fn_c_try_link
"$LINENO"; then :
12139 ac_cv_lib_z_inflate
=yes
12141 ac_cv_lib_z_inflate
=no
12143 rm -f core conftest.err conftest.
$ac_objext \
12144 conftest
$ac_exeext conftest.
$ac_ext
12145 LIBS
=$ac_check_lib_save_LIBS
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12148 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12149 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12151 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12158 if test "x$Z_LIBS" = "x"; then :
12159 case "x$with_zlib" in
12160 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12162 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12163 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12167 if test "x$enable_tools" != xno
12169 if test "$ac_cv_header_gettext_po_h" = "yes"
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12172 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12173 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12174 $as_echo_n "(cached) " >&6
12176 ac_check_lib_save_LIBS
=$LIBS
12177 LIBS
="-lgettextpo $LIBS"
12178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12179 /* end confdefs.h. */
12181 /* Override any GCC internal prototype to avoid an error.
12182 Use char because int might match the return type of a GCC
12183 builtin and then its argument prototype would still apply. */
12187 char po_message_msgctxt ();
12191 return po_message_msgctxt ();
12196 if ac_fn_c_try_link
"$LINENO"; then :
12197 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12199 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12201 rm -f core conftest.err conftest.
$ac_objext \
12202 conftest
$ac_exeext conftest.
$ac_ext
12203 LIBS
=$ac_check_lib_save_LIBS
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12206 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12207 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12209 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12211 GETTEXTPO_LIBS
="-lgettextpo"
12216 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12217 case "x$with_gettextpo" in
12218 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12220 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12221 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12226 if test "x$with_gstreamer" != "xno"
12228 if ${GSTREAMER_CFLAGS:+false} :; then :
12229 if ${PKG_CONFIG+:} false
; then :
12230 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12234 if ${GSTREAMER_LIBS:+false} :; then :
12235 if ${PKG_CONFIG+:} false
; then :
12236 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12241 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12242 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12243 ac_save_CPPFLAGS
=$CPPFLAGS
12244 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12246 for i
in $GSTREAMER_CFLAGS
12249 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12252 GSTREAMER_CFLAGS
=$ac_gst_incl
12253 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12254 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12255 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12256 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12257 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12259 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12261 /* end confdefs.h. */
12262 #include <gst/app/gstappsink.h>
12266 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12271 if ac_fn_c_try_compile
"$LINENO"; then :
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12273 $as_echo "yes" >&6; }
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12275 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12276 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12277 $as_echo_n "(cached) " >&6
12279 ac_check_lib_save_LIBS
=$LIBS
12280 LIBS
="-lgstreamer-0.10 $LIBS"
12281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12284 /* Override any GCC internal prototype to avoid an error.
12285 Use char because int might match the return type of a GCC
12286 builtin and then its argument prototype would still apply. */
12290 char gst_pad_get_caps_reffed ();
12294 return gst_pad_get_caps_reffed ();
12299 if ac_fn_c_try_link
"$LINENO"; then :
12300 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12302 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12304 rm -f core conftest.err conftest.
$ac_objext \
12305 conftest
$ac_exeext conftest.
$ac_ext
12306 LIBS
=$ac_check_lib_save_LIBS
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12309 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12310 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12312 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12313 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12314 $as_echo_n "(cached) " >&6
12316 ac_check_lib_save_LIBS
=$LIBS
12317 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12319 /* end confdefs.h. */
12321 /* Override any GCC internal prototype to avoid an error.
12322 Use char because int might match the return type of a GCC
12323 builtin and then its argument prototype would still apply. */
12327 char gst_app_buffer_new ();
12331 return gst_app_buffer_new ();
12336 if ac_fn_c_try_link
"$LINENO"; then :
12337 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12339 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12341 rm -f core conftest.err conftest.
$ac_objext \
12342 conftest
$ac_exeext conftest.
$ac_ext
12343 LIBS
=$ac_check_lib_save_LIBS
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12346 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12347 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12355 $as_echo "no" >&6; }
12357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12362 GSTREAMER_CFLAGS
=""
12366 CPPFLAGS
=$ac_save_CPPFLAGS
12367 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12368 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12371 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12372 case "x$with_gstreamer" in
12373 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12375 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12376 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12379 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12383 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12386 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12387 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12388 $as_echo_n "(cached) " >&6
12390 ac_check_lib_save_LIBS
=$LIBS
12391 LIBS
="-lasound $LIBS"
12392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12393 /* end confdefs.h. */
12395 /* Override any GCC internal prototype to avoid an error.
12396 Use char because int might match the return type of a GCC
12397 builtin and then its argument prototype would still apply. */
12401 char snd_pcm_hw_params_get_access_mask ();
12405 return snd_pcm_hw_params_get_access_mask ();
12410 if ac_fn_c_try_link
"$LINENO"; then :
12411 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12413 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12415 rm -f core conftest.err conftest.
$ac_objext \
12416 conftest
$ac_exeext conftest.
$ac_ext
12417 LIBS
=$ac_check_lib_save_LIBS
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12420 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12421 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12424 #ifdef HAVE_ALSA_ASOUNDLIB_H
12425 #include <alsa/asoundlib.h>
12426 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12427 #include <sys/asoundlib.h>
12432 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12437 if ac_fn_c_try_compile
"$LINENO"; then :
12438 ALSA_LIBS
="-lasound"
12440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12445 if test "x$with_oss" != xno
12447 ac_save_CPPFLAGS
="$CPPFLAGS"
12448 if test -f /etc
/oss.conf
12452 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12453 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12454 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12455 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12456 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12458 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12460 cat >>confdefs.h
<<_ACEOF
12461 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12464 OSS4_CFLAGS
="$ac_oss_incl"
12471 CPPFLAGS
="$ac_save_CPPFLAGS"
12472 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12474 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12478 if test "x$with_capi" != "xno"
12480 if ${CAPI20_CFLAGS:+false} :; then :
12481 if ${PKG_CONFIG+:} false
; then :
12482 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12486 if ${CAPI20_LIBS:+false} :; then :
12487 if ${PKG_CONFIG+:} false
; then :
12488 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12493 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12494 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12495 ac_save_CPPFLAGS
=$CPPFLAGS
12496 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12497 for ac_header
in capi20.h linux
/capi.h
12499 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12500 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12502 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12503 cat >>confdefs.h
<<_ACEOF
12504 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12511 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12514 $as_echo_n "checking for -lcapi20... " >&6; }
12515 if ${ac_cv_lib_soname_capi20+:} false
; then :
12516 $as_echo_n "(cached) " >&6
12518 ac_check_soname_save_LIBS
=$LIBS
12519 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12521 /* end confdefs.h. */
12523 /* Override any GCC internal prototype to avoid an error.
12524 Use char because int might match the return type of a GCC
12525 builtin and then its argument prototype would still apply. */
12529 char capi20_register ();
12533 return capi20_register ();
12538 if ac_fn_c_try_link
"$LINENO"; then :
12540 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12541 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'` ;;
12542 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12543 if ${ac_cv_lib_soname_capi20:+false} :; then :
12544 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12548 rm -f core conftest.err conftest.
$ac_objext \
12549 conftest
$ac_exeext conftest.
$ac_ext
12550 LIBS
=$ac_check_soname_save_LIBS
12552 if ${ac_cv_lib_soname_capi20:+false} :; then :
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12554 $as_echo "not found" >&6; }
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12558 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12560 cat >>confdefs.h
<<_ACEOF
12561 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12567 CPPFLAGS
=$ac_save_CPPFLAGS
12568 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12569 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12572 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12573 case "x$with_capi" in
12574 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12576 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12577 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12583 if test "x$with_cups" != "xno"
12585 ac_save_CPPFLAGS
="$CPPFLAGS"
12586 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12587 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12588 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12589 for ac_header
in cups
/cups.h
12591 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12592 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12593 cat >>confdefs.h
<<_ACEOF
12594 #define HAVE_CUPS_CUPS_H 1
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12597 $as_echo_n "checking for -lcups... " >&6; }
12598 if ${ac_cv_lib_soname_cups+:} false
; then :
12599 $as_echo_n "(cached) " >&6
12601 ac_check_soname_save_LIBS
=$LIBS
12602 LIBS
="-lcups $ac_cups_libs $LIBS"
12603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12604 /* end confdefs.h. */
12606 /* Override any GCC internal prototype to avoid an error.
12607 Use char because int might match the return type of a GCC
12608 builtin and then its argument prototype would still apply. */
12612 char cupsGetDefault ();
12616 return cupsGetDefault ();
12621 if ac_fn_c_try_link
"$LINENO"; then :
12623 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12624 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'` ;;
12625 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12626 if ${ac_cv_lib_soname_cups:+false} :; then :
12627 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12631 rm -f core conftest.err conftest.
$ac_objext \
12632 conftest
$ac_exeext conftest.
$ac_ext
12633 LIBS
=$ac_check_soname_save_LIBS
12635 if ${ac_cv_lib_soname_cups:+false} :; then :
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12637 $as_echo "not found" >&6; }
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12641 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12643 cat >>confdefs.h
<<_ACEOF
12644 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12647 CUPS_CFLAGS
="$ac_cups_cflags"
12653 CPPFLAGS
="$ac_save_CPPFLAGS"
12655 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12656 case "x$with_cups" in
12657 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12659 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12660 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12664 if test "x$with_fontconfig" != "xno"
12666 if ${FONTCONFIG_CFLAGS:+false} :; then :
12667 if ${PKG_CONFIG+:} false
; then :
12668 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12671 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12672 if ${FONTCONFIG_LIBS:+false} :; then :
12673 if ${PKG_CONFIG+:} false
; then :
12674 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12677 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12679 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12680 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12681 ac_save_CPPFLAGS
=$CPPFLAGS
12682 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12683 for ac_header
in fontconfig
/fontconfig.h
12685 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12686 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12687 cat >>confdefs.h
<<_ACEOF
12688 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12695 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12698 $as_echo_n "checking for -lfontconfig... " >&6; }
12699 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12700 $as_echo_n "(cached) " >&6
12702 ac_check_soname_save_LIBS
=$LIBS
12703 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12705 /* end confdefs.h. */
12707 /* Override any GCC internal prototype to avoid an error.
12708 Use char because int might match the return type of a GCC
12709 builtin and then its argument prototype would still apply. */
12722 if ac_fn_c_try_link
"$LINENO"; then :
12724 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12725 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'` ;;
12726 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12727 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12728 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12732 rm -f core conftest.err conftest.
$ac_objext \
12733 conftest
$ac_exeext conftest.
$ac_ext
12734 LIBS
=$ac_check_soname_save_LIBS
12736 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12738 $as_echo "not found" >&6; }
12739 FONTCONFIG_CFLAGS
=""
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12742 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12744 cat >>confdefs.h
<<_ACEOF
12745 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12751 FONTCONFIG_CFLAGS
=""
12753 CPPFLAGS
=$ac_save_CPPFLAGS
12754 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12755 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12758 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12759 case "x$with_fontconfig" in
12760 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12762 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12763 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12767 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12770 $as_echo_n "checking for -lgsm... " >&6; }
12771 if ${ac_cv_lib_soname_gsm+:} false
; then :
12772 $as_echo_n "(cached) " >&6
12774 ac_check_soname_save_LIBS
=$LIBS
12776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12777 /* end confdefs.h. */
12779 /* Override any GCC internal prototype to avoid an error.
12780 Use char because int might match the return type of a GCC
12781 builtin and then its argument prototype would still apply. */
12785 char gsm_create ();
12789 return gsm_create ();
12794 if ac_fn_c_try_link
"$LINENO"; then :
12796 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12797 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'` ;;
12798 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12799 if ${ac_cv_lib_soname_gsm:+false} :; then :
12800 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12804 rm -f core conftest.err conftest.
$ac_objext \
12805 conftest
$ac_exeext conftest.
$ac_ext
12806 LIBS
=$ac_check_soname_save_LIBS
12808 if ${ac_cv_lib_soname_gsm:+false} :; then :
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12810 $as_echo "not found" >&6; }
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12814 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12816 cat >>confdefs.h
<<_ACEOF
12817 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12823 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12824 case "x$with_gsm" in
12825 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12827 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12828 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12832 if test "x$with_jpeg" != "xno"
12834 if ${JPEG_CFLAGS:+false} :; then :
12835 if ${PKG_CONFIG+:} false
; then :
12836 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12840 if ${JPEG_LIBS:+false} :; then :
12841 if ${PKG_CONFIG+:} false
; then :
12842 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12847 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12848 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12849 ac_save_CPPFLAGS
=$CPPFLAGS
12850 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12851 for ac_header
in jpeglib.h
12853 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12854 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12855 cat >>confdefs.h
<<_ACEOF
12856 #define HAVE_JPEGLIB_H 1
12863 if test "$ac_cv_header_jpeglib_h" = "yes"
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12866 $as_echo_n "checking for -ljpeg... " >&6; }
12867 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12868 $as_echo_n "(cached) " >&6
12870 ac_check_soname_save_LIBS
=$LIBS
12871 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12873 /* end confdefs.h. */
12875 /* Override any GCC internal prototype to avoid an error.
12876 Use char because int might match the return type of a GCC
12877 builtin and then its argument prototype would still apply. */
12881 char jpeg_start_decompress ();
12885 return jpeg_start_decompress ();
12890 if ac_fn_c_try_link
"$LINENO"; then :
12892 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12893 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'` ;;
12894 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12895 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12896 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12900 rm -f core conftest.err conftest.
$ac_objext \
12901 conftest
$ac_exeext conftest.
$ac_ext
12902 LIBS
=$ac_check_soname_save_LIBS
12904 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12906 $as_echo "not found" >&6; }
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12910 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12912 cat >>confdefs.h
<<_ACEOF
12913 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12921 CPPFLAGS
=$ac_save_CPPFLAGS
12922 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12923 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12926 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12927 case "x$with_jpeg" in
12928 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12930 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12931 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12935 if test "x$with_png" != "xno"
12937 if ${PNG_CFLAGS:+false} :; then :
12938 if ${PKG_CONFIG+:} false
; then :
12939 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12942 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12943 if ${PNG_LIBS:+false} :; then :
12944 if ${PKG_CONFIG+:} false
; then :
12945 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12948 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12950 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12951 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12952 ac_save_CPPFLAGS
=$CPPFLAGS
12953 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12954 for ac_header
in png.h
12956 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12957 if test "x$ac_cv_header_png_h" = xyes
; then :
12958 cat >>confdefs.h
<<_ACEOF
12959 #define HAVE_PNG_H 1
12966 if test "$ac_cv_header_png_h" = "yes"
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12969 $as_echo_n "checking for -lpng... " >&6; }
12970 if ${ac_cv_lib_soname_png+:} false
; then :
12971 $as_echo_n "(cached) " >&6
12973 ac_check_soname_save_LIBS
=$LIBS
12974 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12976 /* end confdefs.h. */
12978 /* Override any GCC internal prototype to avoid an error.
12979 Use char because int might match the return type of a GCC
12980 builtin and then its argument prototype would still apply. */
12984 char png_create_read_struct ();
12988 return png_create_read_struct ();
12993 if ac_fn_c_try_link
"$LINENO"; then :
12995 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12996 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'` ;;
12997 *) 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'`
12998 if ${ac_cv_lib_soname_png:+false} :; then :
12999 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13003 rm -f core conftest.err conftest.
$ac_objext \
13004 conftest
$ac_exeext conftest.
$ac_ext
13005 LIBS
=$ac_check_soname_save_LIBS
13007 if ${ac_cv_lib_soname_png:+false} :; then :
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13009 $as_echo "not found" >&6; }
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13013 $as_echo "$ac_cv_lib_soname_png" >&6; }
13015 cat >>confdefs.h
<<_ACEOF
13016 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13020 /* end confdefs.h. */
13025 typeof(png_set_expand_gray_1_2_4_to_8) *p
13030 if ac_fn_c_try_compile
"$LINENO"; then :
13032 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13040 CPPFLAGS
=$ac_save_CPPFLAGS
13041 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13042 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13045 if test "x$ac_cv_lib_soname_png" = "x"; then :
13046 case "x$with_png" in
13047 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13049 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13050 This is an error since --with-png was requested." "$LINENO" 5 ;;
13054 if test "x$with_tiff" != "xno"
13056 if ${TIFF_CFLAGS:+false} :; then :
13057 if ${PKG_CONFIG+:} false
; then :
13058 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13062 if ${TIFF_LIBS:+false} :; then :
13063 if ${PKG_CONFIG+:} false
; then :
13064 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13069 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13070 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13071 ac_save_CPPFLAGS
=$CPPFLAGS
13072 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13073 for ac_header
in tiffio.h
13075 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13076 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13077 cat >>confdefs.h
<<_ACEOF
13078 #define HAVE_TIFFIO_H 1
13085 if test "$ac_cv_header_tiffio_h" = "yes"
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13088 $as_echo_n "checking for -ltiff... " >&6; }
13089 if ${ac_cv_lib_soname_tiff+:} false
; then :
13090 $as_echo_n "(cached) " >&6
13092 ac_check_soname_save_LIBS
=$LIBS
13093 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h. */
13097 /* Override any GCC internal prototype to avoid an error.
13098 Use char because int might match the return type of a GCC
13099 builtin and then its argument prototype would still apply. */
13103 char TIFFClientOpen ();
13107 return TIFFClientOpen ();
13112 if ac_fn_c_try_link
"$LINENO"; then :
13114 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13115 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'` ;;
13116 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13117 if ${ac_cv_lib_soname_tiff:+false} :; then :
13118 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13122 rm -f core conftest.err conftest.
$ac_objext \
13123 conftest
$ac_exeext conftest.
$ac_ext
13124 LIBS
=$ac_check_soname_save_LIBS
13126 if ${ac_cv_lib_soname_tiff:+false} :; then :
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13128 $as_echo "not found" >&6; }
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13132 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13134 cat >>confdefs.h
<<_ACEOF
13135 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13141 CPPFLAGS
=$ac_save_CPPFLAGS
13142 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13143 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13146 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13147 case "x$with_tiff" in
13148 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13150 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13151 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13155 if test "x$with_mpg123" != "xno"
13157 if ${MPG123_CFLAGS:+false} :; then :
13158 if ${PKG_CONFIG+:} false
; then :
13159 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13163 if ${MPG123_LIBS:+false} :; then :
13164 if ${PKG_CONFIG+:} false
; then :
13165 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13169 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13170 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13171 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13172 ac_save_CPPFLAGS
=$CPPFLAGS
13173 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13174 for ac_header
in mpg123.h
13176 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13177 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13178 cat >>confdefs.h
<<_ACEOF
13179 #define HAVE_MPG123_H 1
13186 if test "$ac_cv_header_mpg123_h" = "yes"
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13189 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13190 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13191 $as_echo_n "(cached) " >&6
13193 ac_check_lib_save_LIBS
=$LIBS
13194 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13196 /* end confdefs.h. */
13198 /* Override any GCC internal prototype to avoid an error.
13199 Use char because int might match the return type of a GCC
13200 builtin and then its argument prototype would still apply. */
13204 char mpg123_feed ();
13208 return mpg123_feed ();
13213 if ac_fn_c_try_link
"$LINENO"; then :
13214 ac_cv_lib_mpg123_mpg123_feed
=yes
13216 ac_cv_lib_mpg123_mpg123_feed
=no
13218 rm -f core conftest.err conftest.
$ac_objext \
13219 conftest
$ac_exeext conftest.
$ac_ext
13220 LIBS
=$ac_check_lib_save_LIBS
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13223 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13224 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13234 CPPFLAGS
=$ac_save_CPPFLAGS
13235 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13236 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13239 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13240 case "x$with_mpg123" in
13241 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13243 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13244 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13247 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}
13249 if test "$ac_cv_header_AL_al_h" = "yes"
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13252 $as_echo_n "checking for -lopenal... " >&6; }
13253 if ${ac_cv_lib_soname_openal+:} false
; then :
13254 $as_echo_n "(cached) " >&6
13256 ac_check_soname_save_LIBS
=$LIBS
13257 LIBS
="-lopenal $LIBS"
13258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13259 /* end confdefs.h. */
13261 /* Override any GCC internal prototype to avoid an error.
13262 Use char because int might match the return type of a GCC
13263 builtin and then its argument prototype would still apply. */
13267 char alGetSource3i ();
13271 return alGetSource3i ();
13276 if ac_fn_c_try_link
"$LINENO"; then :
13278 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13279 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'` ;;
13280 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13281 if ${ac_cv_lib_soname_openal:+false} :; then :
13282 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13286 rm -f core conftest.err conftest.
$ac_objext \
13287 conftest
$ac_exeext conftest.
$ac_ext
13288 LIBS
=$ac_check_soname_save_LIBS
13290 if ${ac_cv_lib_soname_openal:+false} :; then :
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13292 $as_echo "not found" >&6; }
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13296 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13298 cat >>confdefs.h
<<_ACEOF
13299 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13302 OPENAL_LIBS
="-lopenal"
13304 ac_cv_lib_openal
=yes
13306 cat >>confdefs.h
<<_ACEOF
13307 #define HAVE_OPENAL 1
13312 if test "x$ac_cv_lib_openal" != xyes
; then :
13313 case "x$with_openal" in
13314 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13316 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13317 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13320 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13322 if test "$ac_cv_header_kstat_h" = "yes"
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13325 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13326 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13327 $as_echo_n "(cached) " >&6
13329 ac_check_lib_save_LIBS
=$LIBS
13330 LIBS
="-lkstat $LIBS"
13331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13332 /* end confdefs.h. */
13334 /* Override any GCC internal prototype to avoid an error.
13335 Use char because int might match the return type of a GCC
13336 builtin and then its argument prototype would still apply. */
13340 char kstat_open ();
13344 return kstat_open ();
13349 if ac_fn_c_try_link
"$LINENO"; then :
13350 ac_cv_lib_kstat_kstat_open
=yes
13352 ac_cv_lib_kstat_kstat_open
=no
13354 rm -f core conftest.err conftest.
$ac_objext \
13355 conftest
$ac_exeext conftest.
$ac_ext
13356 LIBS
=$ac_check_lib_save_LIBS
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13359 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13360 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13362 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13364 KSTAT_LIBS
="-lkstat"
13370 if test "$ac_cv_header_libprocstat_h" = "yes"
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13373 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13374 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13375 $as_echo_n "(cached) " >&6
13377 ac_check_lib_save_LIBS
=$LIBS
13378 LIBS
="-lprocstat $LIBS"
13379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13380 /* end confdefs.h. */
13382 /* Override any GCC internal prototype to avoid an error.
13383 Use char because int might match the return type of a GCC
13384 builtin and then its argument prototype would still apply. */
13388 char procstat_open_sysctl ();
13392 return procstat_open_sysctl ();
13397 if ac_fn_c_try_link
"$LINENO"; then :
13398 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13400 ac_cv_lib_procstat_procstat_open_sysctl
=no
13402 rm -f core conftest.err conftest.
$ac_objext \
13403 conftest
$ac_exeext conftest.
$ac_ext
13404 LIBS
=$ac_check_lib_save_LIBS
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13407 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13408 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13410 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13412 PROCSTAT_LIBS
="-lprocstat"
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13419 $as_echo_n "checking for -lodbc... " >&6; }
13420 if ${ac_cv_lib_soname_odbc+:} false
; then :
13421 $as_echo_n "(cached) " >&6
13423 ac_check_soname_save_LIBS
=$LIBS
13424 LIBS
="-lodbc $LIBS"
13425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13426 /* end confdefs.h. */
13428 /* Override any GCC internal prototype to avoid an error.
13429 Use char because int might match the return type of a GCC
13430 builtin and then its argument prototype would still apply. */
13434 char SQLConnect ();
13438 return SQLConnect ();
13443 if ac_fn_c_try_link
"$LINENO"; then :
13445 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13446 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'` ;;
13447 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13448 if ${ac_cv_lib_soname_odbc:+false} :; then :
13449 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13453 rm -f core conftest.err conftest.
$ac_objext \
13454 conftest
$ac_exeext conftest.
$ac_ext
13455 LIBS
=$ac_check_soname_save_LIBS
13457 if ${ac_cv_lib_soname_odbc:+false} :; then :
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13459 $as_echo "not found" >&6; }
13460 cat >>confdefs.h
<<_ACEOF
13461 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13466 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13468 cat >>confdefs.h
<<_ACEOF
13469 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13475 if test "x$with_netapi" != "xno"
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13478 $as_echo_n "checking for -lnetapi... " >&6; }
13479 if ${ac_cv_lib_soname_netapi+:} false
; then :
13480 $as_echo_n "(cached) " >&6
13482 ac_check_soname_save_LIBS
=$LIBS
13483 LIBS
="-lnetapi $LIBS"
13484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13485 /* end confdefs.h. */
13487 /* Override any GCC internal prototype to avoid an error.
13488 Use char because int might match the return type of a GCC
13489 builtin and then its argument prototype would still apply. */
13493 char libnetapi_init ();
13497 return libnetapi_init ();
13502 if ac_fn_c_try_link
"$LINENO"; then :
13504 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13505 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'` ;;
13506 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13507 if ${ac_cv_lib_soname_netapi:+false} :; then :
13508 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13512 rm -f core conftest.err conftest.
$ac_objext \
13513 conftest
$ac_exeext conftest.
$ac_ext
13514 LIBS
=$ac_check_soname_save_LIBS
13516 if ${ac_cv_lib_soname_netapi:+false} :; then :
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13518 $as_echo "not found" >&6; }
13519 cat >>confdefs.h
<<_ACEOF
13520 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13525 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13527 cat >>confdefs.h
<<_ACEOF
13528 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13535 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13536 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13537 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13538 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13540 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13541 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13542 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13544 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13550 if test "x${GCC}" = "xyes"
13552 EXTRACFLAGS
="-Wall -pipe"
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13555 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13556 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13557 $as_echo_n "(cached) " >&6
13559 if test "$cross_compiling" = yes; then :
13560 ac_cv_c_gcc_strength_bug
="yes"
13562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13563 /* end confdefs.h. */
13564 int L[4] = {0,1,2,3};
13568 static int Array[3];
13569 unsigned int B = 3;
13571 for(i=0; i<B; i++) Array[i] = i - 3;
13572 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13574 return (Array[1] != -2 || L[2] != 3)
13579 if ac_fn_c_try_run
"$LINENO"; then :
13580 ac_cv_c_gcc_strength_bug
="no"
13582 ac_cv_c_gcc_strength_bug
="yes"
13584 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13585 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13590 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13591 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13593 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13597 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13598 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13599 $as_echo_n "(cached) " >&6
13601 ac_wine_try_cflags_saved
=$CFLAGS
13602 CFLAGS
="$CFLAGS -fno-builtin"
13603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13604 /* end confdefs.h. */
13605 int main(int argc, char **argv) { return 0; }
13607 if ac_fn_c_try_link
"$LINENO"; then :
13608 ac_cv_cflags__fno_builtin
=yes
13610 ac_cv_cflags__fno_builtin
=no
13612 rm -f core conftest.err conftest.
$ac_objext \
13613 conftest
$ac_exeext conftest.
$ac_ext
13614 CFLAGS
=$ac_wine_try_cflags_saved
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13617 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13618 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13619 BUILTINFLAG
="-fno-builtin"
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13623 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13624 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13625 $as_echo_n "(cached) " >&6
13627 ac_wine_try_cflags_saved
=$CFLAGS
13628 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13630 /* end confdefs.h. */
13631 int main(int argc, char **argv) { return 0; }
13633 if ac_fn_c_try_link
"$LINENO"; then :
13634 ac_cv_cflags__fno_strict_aliasing
=yes
13636 ac_cv_cflags__fno_strict_aliasing
=no
13638 rm -f core conftest.err conftest.
$ac_objext \
13639 conftest
$ac_exeext conftest.
$ac_ext
13640 CFLAGS
=$ac_wine_try_cflags_saved
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13643 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13644 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13645 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13647 saved_CFLAGS
=$CFLAGS
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13649 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13650 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13651 $as_echo_n "(cached) " >&6
13653 ac_wine_try_cflags_saved
=$CFLAGS
13654 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13657 int main(int argc, char **argv) { return 0; }
13659 if ac_fn_c_try_link
"$LINENO"; then :
13660 ac_cv_cflags__Werror_unknown_warning_option
=yes
13662 ac_cv_cflags__Werror_unknown_warning_option
=no
13664 rm -f core conftest.err conftest.
$ac_objext \
13665 conftest
$ac_exeext conftest.
$ac_ext
13666 CFLAGS
=$ac_wine_try_cflags_saved
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13669 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13670 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13671 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13674 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13675 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13676 $as_echo_n "(cached) " >&6
13678 ac_wine_try_cflags_saved
=$CFLAGS
13679 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13682 int main(int argc, char **argv) { return 0; }
13684 if ac_fn_c_try_link
"$LINENO"; then :
13685 ac_cv_cflags__Wdeclaration_after_statement
=yes
13687 ac_cv_cflags__Wdeclaration_after_statement
=no
13689 rm -f core conftest.err conftest.
$ac_objext \
13690 conftest
$ac_exeext conftest.
$ac_ext
13691 CFLAGS
=$ac_wine_try_cflags_saved
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13694 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13695 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13696 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13699 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13700 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13701 $as_echo_n "(cached) " >&6
13703 ac_wine_try_cflags_saved
=$CFLAGS
13704 CFLAGS
="$CFLAGS -Wempty-body"
13705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13706 /* end confdefs.h. */
13707 int main(int argc, char **argv) { return 0; }
13709 if ac_fn_c_try_link
"$LINENO"; then :
13710 ac_cv_cflags__Wempty_body
=yes
13712 ac_cv_cflags__Wempty_body
=no
13714 rm -f core conftest.err conftest.
$ac_objext \
13715 conftest
$ac_exeext conftest.
$ac_ext
13716 CFLAGS
=$ac_wine_try_cflags_saved
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13719 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13720 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13721 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13724 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13725 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13726 $as_echo_n "(cached) " >&6
13728 ac_wine_try_cflags_saved
=$CFLAGS
13729 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13732 int main(int argc, char **argv) { return 0; }
13734 if ac_fn_c_try_link
"$LINENO"; then :
13735 ac_cv_cflags__Wignored_qualifiers
=yes
13737 ac_cv_cflags__Wignored_qualifiers
=no
13739 rm -f core conftest.err conftest.
$ac_objext \
13740 conftest
$ac_exeext conftest.
$ac_ext
13741 CFLAGS
=$ac_wine_try_cflags_saved
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13744 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13745 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13746 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13749 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13750 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13751 $as_echo_n "(cached) " >&6
13753 ac_wine_try_cflags_saved
=$CFLAGS
13754 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13756 /* end confdefs.h. */
13757 int main(int argc, char **argv) { return 0; }
13759 if ac_fn_c_try_link
"$LINENO"; then :
13760 ac_cv_cflags__Wstrict_prototypes
=yes
13762 ac_cv_cflags__Wstrict_prototypes
=no
13764 rm -f core conftest.err conftest.
$ac_objext \
13765 conftest
$ac_exeext conftest.
$ac_ext
13766 CFLAGS
=$ac_wine_try_cflags_saved
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13769 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13770 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13771 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13774 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13775 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13776 $as_echo_n "(cached) " >&6
13778 ac_wine_try_cflags_saved
=$CFLAGS
13779 CFLAGS
="$CFLAGS -Wtype-limits"
13780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13782 int main(int argc, char **argv) { return 0; }
13784 if ac_fn_c_try_link
"$LINENO"; then :
13785 ac_cv_cflags__Wtype_limits
=yes
13787 ac_cv_cflags__Wtype_limits
=no
13789 rm -f core conftest.err conftest.
$ac_objext \
13790 conftest
$ac_exeext conftest.
$ac_ext
13791 CFLAGS
=$ac_wine_try_cflags_saved
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13794 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13795 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13796 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13799 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13800 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13801 $as_echo_n "(cached) " >&6
13803 ac_wine_try_cflags_saved
=$CFLAGS
13804 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13806 /* end confdefs.h. */
13807 int main(int argc, char **argv) { return 0; }
13809 if ac_fn_c_try_link
"$LINENO"; then :
13810 ac_cv_cflags__Wunused_but_set_parameter
=yes
13812 ac_cv_cflags__Wunused_but_set_parameter
=no
13814 rm -f core conftest.err conftest.
$ac_objext \
13815 conftest
$ac_exeext conftest.
$ac_ext
13816 CFLAGS
=$ac_wine_try_cflags_saved
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13819 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13820 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13821 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13824 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13825 if ${ac_cv_cflags__Wvla+:} false
; then :
13826 $as_echo_n "(cached) " >&6
13828 ac_wine_try_cflags_saved
=$CFLAGS
13829 CFLAGS
="$CFLAGS -Wvla"
13830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13831 /* end confdefs.h. */
13832 int main(int argc, char **argv) { return 0; }
13834 if ac_fn_c_try_link
"$LINENO"; then :
13835 ac_cv_cflags__Wvla
=yes
13837 ac_cv_cflags__Wvla
=no
13839 rm -f core conftest.err conftest.
$ac_objext \
13840 conftest
$ac_exeext conftest.
$ac_ext
13841 CFLAGS
=$ac_wine_try_cflags_saved
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13844 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13845 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13846 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13849 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13850 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13851 $as_echo_n "(cached) " >&6
13853 ac_wine_try_cflags_saved
=$CFLAGS
13854 CFLAGS
="$CFLAGS -Wwrite-strings"
13855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13856 /* end confdefs.h. */
13857 int main(int argc, char **argv) { return 0; }
13859 if ac_fn_c_try_link
"$LINENO"; then :
13860 ac_cv_cflags__Wwrite_strings
=yes
13862 ac_cv_cflags__Wwrite_strings
=no
13864 rm -f core conftest.err conftest.
$ac_objext \
13865 conftest
$ac_exeext conftest.
$ac_ext
13866 CFLAGS
=$ac_wine_try_cflags_saved
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13869 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13870 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13871 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13875 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13876 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13877 $as_echo_n "(cached) " >&6
13879 ac_wine_try_cflags_saved
=$CFLAGS
13880 CFLAGS
="$CFLAGS -Wpointer-arith"
13881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13882 /* end confdefs.h. */
13883 int main(int argc, char **argv) { return 0; }
13885 if ac_fn_c_try_link
"$LINENO"; then :
13886 ac_cv_cflags__Wpointer_arith
=yes
13888 ac_cv_cflags__Wpointer_arith
=no
13890 rm -f core conftest.err conftest.
$ac_objext \
13891 conftest
$ac_exeext conftest.
$ac_ext
13892 CFLAGS
=$ac_wine_try_cflags_saved
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13895 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13896 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13897 saved_string_h_CFLAGS
=$CFLAGS
13898 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13900 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13901 if ${ac_cv_c_string_h_warnings+:} false
; then :
13902 $as_echo_n "(cached) " >&6
13904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13906 #include <string.h>
13915 if ac_fn_c_try_compile
"$LINENO"; then :
13916 ac_cv_c_string_h_warnings
=no
13918 ac_cv_c_string_h_warnings
=yes
13920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13923 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13924 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13925 CFLAGS
=$saved_string_h_CFLAGS
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13929 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13930 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13931 $as_echo_n "(cached) " >&6
13933 ac_wine_try_cflags_saved
=$CFLAGS
13934 CFLAGS
="$CFLAGS -Wlogical-op"
13935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13936 /* end confdefs.h. */
13937 int main(int argc, char **argv) { return 0; }
13939 if ac_fn_c_try_link
"$LINENO"; then :
13940 ac_cv_cflags__Wlogical_op
=yes
13942 ac_cv_cflags__Wlogical_op
=no
13944 rm -f core conftest.err conftest.
$ac_objext \
13945 conftest
$ac_exeext conftest.
$ac_ext
13946 CFLAGS
=$ac_wine_try_cflags_saved
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13949 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13950 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13951 saved_string_h_CFLAGS
=$CFLAGS
13952 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13954 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13955 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13956 $as_echo_n "(cached) " >&6
13958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13959 /* end confdefs.h. */
13960 #include <string.h>
13961 char*f(const char *h,char n) {return strchr(h,n);}
13970 if ac_fn_c_try_compile
"$LINENO"; then :
13971 ac_cv_c_logicalop_noisy
=no
13973 ac_cv_c_logicalop_noisy
=yes
13975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13978 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13979 CFLAGS
=$saved_string_h_CFLAGS
13980 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13983 CFLAGS
=$saved_CFLAGS
13985 for ac_flag
in $CFLAGS; do
13987 -g) case $host_os in
13988 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13989 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13990 if ${ac_cv_cflags__gstabsp+:} false
; then :
13991 $as_echo_n "(cached) " >&6
13993 ac_wine_try_cflags_saved
=$CFLAGS
13994 CFLAGS
="$CFLAGS -gstabs+"
13995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13996 /* end confdefs.h. */
13997 int main(int argc, char **argv) { return 0; }
13999 if ac_fn_c_try_link
"$LINENO"; then :
14000 ac_cv_cflags__gstabsp
=yes
14002 ac_cv_cflags__gstabsp
=no
14004 rm -f core conftest.err conftest.
$ac_objext \
14005 conftest
$ac_exeext conftest.
$ac_ext
14006 CFLAGS
=$ac_wine_try_cflags_saved
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14009 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14010 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14011 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14013 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14014 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14015 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14016 $as_echo_n "(cached) " >&6
14018 ac_wine_try_cflags_saved
=$CFLAGS
14019 CFLAGS
="$CFLAGS -gdwarf-2"
14020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14021 /* end confdefs.h. */
14022 int main(int argc, char **argv) { return 0; }
14024 if ac_fn_c_try_link
"$LINENO"; then :
14025 ac_cv_cflags__gdwarf_2
=yes
14027 ac_cv_cflags__gdwarf_2
=no
14029 rm -f core conftest.err conftest.
$ac_objext \
14030 conftest
$ac_exeext conftest.
$ac_ext
14031 CFLAGS
=$ac_wine_try_cflags_saved
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14034 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14035 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14036 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14039 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14040 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14041 $as_echo_n "(cached) " >&6
14043 ac_wine_try_cflags_saved
=$CFLAGS
14044 CFLAGS
="$CFLAGS -gstrict-dwarf"
14045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14046 /* end confdefs.h. */
14047 int main(int argc, char **argv) { return 0; }
14049 if ac_fn_c_try_link
"$LINENO"; then :
14050 ac_cv_cflags__gstrict_dwarf
=yes
14052 ac_cv_cflags__gstrict_dwarf
=no
14054 rm -f core conftest.err conftest.
$ac_objext \
14055 conftest
$ac_exeext conftest.
$ac_ext
14056 CFLAGS
=$ac_wine_try_cflags_saved
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14059 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14060 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14061 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14068 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14069 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14070 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14071 $as_echo_n "(cached) " >&6
14073 ac_wine_try_cflags_saved
=$CFLAGS
14074 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14077 int main(int argc, char **argv) { return 0; }
14079 if ac_fn_c_try_link
"$LINENO"; then :
14080 ac_cv_cflags__fno_omit_frame_pointer
=yes
14082 ac_cv_cflags__fno_omit_frame_pointer
=no
14084 rm -f core conftest.err conftest.
$ac_objext \
14085 conftest
$ac_exeext conftest.
$ac_ext
14086 CFLAGS
=$ac_wine_try_cflags_saved
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14089 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14090 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14091 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14096 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14097 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14098 if ${ac_cv_cflags__Wno_format+:} false
; then :
14099 $as_echo_n "(cached) " >&6
14101 ac_wine_try_cflags_saved
=$CFLAGS
14102 CFLAGS
="$CFLAGS -Wno-format"
14103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14105 int main(int argc, char **argv) { return 0; }
14107 if ac_fn_c_try_link
"$LINENO"; then :
14108 ac_cv_cflags__Wno_format
=yes
14110 ac_cv_cflags__Wno_format
=no
14112 rm -f core conftest.err conftest.
$ac_objext \
14113 conftest
$ac_exeext conftest.
$ac_ext
14114 CFLAGS
=$ac_wine_try_cflags_saved
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14117 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14118 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14119 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14123 if test "x$enable_maintainer_mode" = "xyes"
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14126 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14127 if ${ac_cv_cflags__Werror+:} false
; then :
14128 $as_echo_n "(cached) " >&6
14130 ac_wine_try_cflags_saved
=$CFLAGS
14131 CFLAGS
="$CFLAGS -Werror"
14132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14133 /* end confdefs.h. */
14134 int main(int argc, char **argv) { return 0; }
14136 if ac_fn_c_try_link
"$LINENO"; then :
14137 ac_cv_cflags__Werror
=yes
14139 ac_cv_cflags__Werror
=no
14141 rm -f core conftest.err conftest.
$ac_objext \
14142 conftest
$ac_exeext conftest.
$ac_ext
14143 CFLAGS
=$ac_wine_try_cflags_saved
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14146 $as_echo "$ac_cv_cflags__Werror" >&6; }
14147 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14148 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14152 saved_CFLAGS
="$CFLAGS"
14153 CFLAGS
="$CFLAGS -Werror"
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14155 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14156 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14157 $as_echo_n "(cached) " >&6
14159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14160 /* end confdefs.h. */
14161 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14170 if ac_fn_c_try_compile
"$LINENO"; then :
14171 ac_cv_have_ms_hook_prologue
="yes"
14173 ac_cv_have_ms_hook_prologue
="no"
14175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14178 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14179 CFLAGS
="$saved_CFLAGS"
14180 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14183 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14186 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14193 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14194 if ${ac_cv_c_fortify_enabled+:} false
; then :
14195 $as_echo_n "(cached) " >&6
14197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14199 #include <string.h>
14203 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14204 #error Fortify enabled
14210 if ac_fn_c_try_compile
"$LINENO"; then :
14211 ac_cv_c_fortify_enabled
=no
14213 ac_cv_c_fortify_enabled
=yes
14215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14218 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14219 if test "$ac_cv_c_fortify_enabled" = yes
14221 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14226 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14227 if ${ac_cv_c_extern_prefix+:} false
; then :
14228 $as_echo_n "(cached) " >&6
14230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14231 /* end confdefs.h. */
14232 extern int ac_test;
14236 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14241 if ac_fn_c_try_link
"$LINENO"; then :
14242 ac_cv_c_extern_prefix
="yes"
14244 ac_cv_c_extern_prefix
="no"
14246 rm -f core conftest.err conftest.
$ac_objext \
14247 conftest
$ac_exeext conftest.
$ac_ext
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14250 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14255 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14256 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14257 $as_echo_n "(cached) " >&6
14259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14262 #define __stdcall __attribute__((__stdcall__))
14264 int __stdcall ac_test(int i) { return i; }
14268 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14273 if ac_fn_c_try_link
"$LINENO"; then :
14274 ac_cv_c_stdcall_suffix
="yes"
14276 ac_cv_c_stdcall_suffix
="no"
14278 rm -f core conftest.err conftest.
$ac_objext \
14279 conftest
$ac_exeext conftest.
$ac_ext
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14282 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14283 *) ac_cv_c_stdcall_suffix
="no" ;;
14287 if test "$ac_cv_c_extern_prefix" = "yes"
14289 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14291 asm_name_prefix
="_"
14293 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14299 if test "$ac_cv_c_stdcall_suffix" = "yes"
14301 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14304 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14310 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14311 if ${ac_cv_asm_func_def+:} false
; then :
14312 $as_echo_n "(cached) " >&6
14314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h. */
14320 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14325 if ac_fn_c_try_link
"$LINENO"; then :
14326 ac_cv_asm_func_def
=".def"
14328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14329 /* end confdefs.h. */
14334 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14339 if ac_fn_c_try_link
"$LINENO"; then :
14340 ac_cv_asm_func_def
=".type @function"
14342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14348 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14353 if ac_fn_c_try_link
"$LINENO"; then :
14354 ac_cv_asm_func_def
=".type 2"
14356 ac_cv_asm_func_def
="unknown"
14358 rm -f core conftest.err conftest.
$ac_objext \
14359 conftest
$ac_exeext conftest.
$ac_ext
14361 rm -f core conftest.err conftest.
$ac_objext \
14362 conftest
$ac_exeext conftest.
$ac_ext
14364 rm -f core conftest.err conftest.
$ac_objext \
14365 conftest
$ac_exeext conftest.
$ac_ext
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14368 $as_echo "$ac_cv_asm_func_def" >&6; }
14371 case "$ac_cv_asm_func_def" in
14373 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14375 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14377 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14379 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14381 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14383 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14385 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14387 asm_func_header
="" ;;
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14391 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14392 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14393 $as_echo_n "(cached) " >&6
14395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14396 /* end confdefs.h. */
14397 asm(".text\n\t.long 0");
14406 if ac_fn_c_try_compile
"$LINENO"; then :
14407 ac_cv_c_asm_outside_funcs
="yes"
14409 ac_cv_c_asm_outside_funcs
="no"
14411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14414 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14417 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14418 if ${ac_cv_c_dot_previous+:} false
; then :
14419 $as_echo_n "(cached) " >&6
14421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14427 asm(".text\nac_test:\t.long 0\n\t.previous");
14432 if ac_fn_c_try_link
"$LINENO"; then :
14433 ac_cv_c_dot_previous
="yes"
14435 ac_cv_c_dot_previous
="no"
14437 rm -f core conftest.err conftest.
$ac_objext \
14438 conftest
$ac_exeext conftest.
$ac_ext
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14441 $as_echo "$ac_cv_c_dot_previous" >&6; }
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14444 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14445 if ${ac_cv_c_cfi_support+:} false
; then :
14446 $as_echo_n "(cached) " >&6
14448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14450 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14459 if ac_fn_c_try_compile
"$LINENO"; then :
14460 ac_cv_c_cfi_support
="yes"
14462 ac_cv_c_cfi_support
="no"
14464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14467 $as_echo "$ac_cv_c_cfi_support" >&6; }
14469 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14470 asm_func_trailer
=""
14471 if test "$ac_cv_c_dot_previous" = "yes"
14473 asm_func_trailer
="\\n\\t.previous"
14475 if test "$ac_cv_c_cfi_support" = "yes"
14477 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14478 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14480 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14482 UNWINDFLAGS
=-fasynchronous-unwind-tables
14485 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14489 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14492 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14494 cat >>confdefs.h
<<_ACEOF
14495 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14499 cat >>confdefs.h
<<_ACEOF
14500 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14505 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14508 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14513 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14520 *i
[3456789]86*|x86_64
*)
14521 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14522 loader_programs
="$loader_programs $wine_binary-preloader"
14523 as_fn_append LOADER_RULES
"
14524 $wine_binary-preloader: preloader.o
14525 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14527 install install-lib:: $wine_binary-preloader
14528 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14531 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14533 preloader_EXTRADEFS = $BUILTINFLAG
14538 as_fn_append LOADER_RULES
"
14539 PROGRAMS = $loader_programs
14543 ac_save_CFLAGS
="$CFLAGS"
14544 CFLAGS
="$CFLAGS $BUILTINFLAG"
14621 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14622 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14623 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14624 cat >>confdefs.h
<<_ACEOF
14625 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14631 CFLAGS
="$ac_save_CFLAGS"
14633 if test "$ac_cv_func_dlopen" = no
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14636 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14637 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14638 $as_echo_n "(cached) " >&6
14640 ac_check_lib_save_LIBS
=$LIBS
14642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14645 /* Override any GCC internal prototype to avoid an error.
14646 Use char because int might match the return type of a GCC
14647 builtin and then its argument prototype would still apply. */
14660 if ac_fn_c_try_link
"$LINENO"; then :
14661 ac_cv_lib_dl_dlopen
=yes
14663 ac_cv_lib_dl_dlopen
=no
14665 rm -f core conftest.err conftest.
$ac_objext \
14666 conftest
$ac_exeext conftest.
$ac_ext
14667 LIBS
=$ac_check_lib_save_LIBS
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14670 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14671 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14672 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14678 ac_wine_check_funcs_save_LIBS
="$LIBS"
14679 LIBS
="$LIBS $DL_LIBS"
14680 for ac_func
in dladdr
14682 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14683 if test "x$ac_cv_func_dladdr" = xyes
; then :
14684 cat >>confdefs.h
<<_ACEOF
14685 #define HAVE_DLADDR 1
14691 LIBS
="$ac_wine_check_funcs_save_LIBS"
14693 if test "$ac_cv_func_poll" = no
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14696 $as_echo_n "checking for poll in -lpoll... " >&6; }
14697 if ${ac_cv_lib_poll_poll+:} false
; then :
14698 $as_echo_n "(cached) " >&6
14700 ac_check_lib_save_LIBS
=$LIBS
14701 LIBS
="-lpoll $LIBS"
14702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14703 /* end confdefs.h. */
14705 /* Override any GCC internal prototype to avoid an error.
14706 Use char because int might match the return type of a GCC
14707 builtin and then its argument prototype would still apply. */
14720 if ac_fn_c_try_link
"$LINENO"; then :
14721 ac_cv_lib_poll_poll
=yes
14723 ac_cv_lib_poll_poll
=no
14725 rm -f core conftest.err conftest.
$ac_objext \
14726 conftest
$ac_exeext conftest.
$ac_ext
14727 LIBS
=$ac_check_lib_save_LIBS
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14730 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14731 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14732 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14740 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14741 if ${ac_cv_search_gethostbyname+:} false
; then :
14742 $as_echo_n "(cached) " >&6
14744 ac_func_search_save_LIBS
=$LIBS
14745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14746 /* end confdefs.h. */
14748 /* Override any GCC internal prototype to avoid an error.
14749 Use char because int might match the return type of a GCC
14750 builtin and then its argument prototype would still apply. */
14754 char gethostbyname ();
14758 return gethostbyname ();
14763 for ac_lib
in '' nsl
; do
14764 if test -z "$ac_lib"; then
14765 ac_res
="none required"
14768 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14770 if ac_fn_c_try_link
"$LINENO"; then :
14771 ac_cv_search_gethostbyname
=$ac_res
14773 rm -f core conftest.err conftest.
$ac_objext \
14775 if ${ac_cv_search_gethostbyname+:} false
; then :
14779 if ${ac_cv_search_gethostbyname+:} false
; then :
14782 ac_cv_search_gethostbyname
=no
14784 rm conftest.
$ac_ext
14785 LIBS
=$ac_func_search_save_LIBS
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14788 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14789 ac_res
=$ac_cv_search_gethostbyname
14790 if test "$ac_res" != no
; then :
14791 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14797 $as_echo_n "checking for library containing connect... " >&6; }
14798 if ${ac_cv_search_connect+:} false
; then :
14799 $as_echo_n "(cached) " >&6
14801 ac_func_search_save_LIBS
=$LIBS
14802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14805 /* Override any GCC internal prototype to avoid an error.
14806 Use char because int might match the return type of a GCC
14807 builtin and then its argument prototype would still apply. */
14820 for ac_lib
in '' socket
; do
14821 if test -z "$ac_lib"; then
14822 ac_res
="none required"
14825 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14827 if ac_fn_c_try_link
"$LINENO"; then :
14828 ac_cv_search_connect
=$ac_res
14830 rm -f core conftest.err conftest.
$ac_objext \
14832 if ${ac_cv_search_connect+:} false
; then :
14836 if ${ac_cv_search_connect+:} false
; then :
14839 ac_cv_search_connect
=no
14841 rm conftest.
$ac_ext
14842 LIBS
=$ac_func_search_save_LIBS
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14845 $as_echo "$ac_cv_search_connect" >&6; }
14846 ac_res
=$ac_cv_search_connect
14847 if test "$ac_res" != no
; then :
14848 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14854 $as_echo_n "checking for library containing inet_aton... " >&6; }
14855 if ${ac_cv_search_inet_aton+:} false
; then :
14856 $as_echo_n "(cached) " >&6
14858 ac_func_search_save_LIBS
=$LIBS
14859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14862 /* Override any GCC internal prototype to avoid an error.
14863 Use char because int might match the return type of a GCC
14864 builtin and then its argument prototype would still apply. */
14872 return inet_aton ();
14877 for ac_lib
in '' resolv
; do
14878 if test -z "$ac_lib"; then
14879 ac_res
="none required"
14882 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14884 if ac_fn_c_try_link
"$LINENO"; then :
14885 ac_cv_search_inet_aton
=$ac_res
14887 rm -f core conftest.err conftest.
$ac_objext \
14889 if ${ac_cv_search_inet_aton+:} false
; then :
14893 if ${ac_cv_search_inet_aton+:} false
; then :
14896 ac_cv_search_inet_aton
=no
14898 rm conftest.
$ac_ext
14899 LIBS
=$ac_func_search_save_LIBS
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14902 $as_echo "$ac_cv_search_inet_aton" >&6; }
14903 ac_res
=$ac_cv_search_inet_aton
14904 if test "$ac_res" != no
; then :
14905 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14925 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14926 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14927 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14928 cat >>confdefs.h
<<_ACEOF
14929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14938 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14939 if ${ac_cv_search_clock_gettime+:} false
; then :
14940 $as_echo_n "(cached) " >&6
14942 ac_func_search_save_LIBS
=$LIBS
14943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14944 /* end confdefs.h. */
14946 /* Override any GCC internal prototype to avoid an error.
14947 Use char because int might match the return type of a GCC
14948 builtin and then its argument prototype would still apply. */
14952 char clock_gettime ();
14956 return clock_gettime ();
14961 for ac_lib
in '' rt
; do
14962 if test -z "$ac_lib"; then
14963 ac_res
="none required"
14966 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14968 if ac_fn_c_try_link
"$LINENO"; then :
14969 ac_cv_search_clock_gettime
=$ac_res
14971 rm -f core conftest.err conftest.
$ac_objext \
14973 if ${ac_cv_search_clock_gettime+:} false
; then :
14977 if ${ac_cv_search_clock_gettime+:} false
; then :
14980 ac_cv_search_clock_gettime
=no
14982 rm conftest.
$ac_ext
14983 LIBS
=$ac_func_search_save_LIBS
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14986 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14987 ac_res
=$ac_cv_search_clock_gettime
14988 if test "$ac_res" != no
; then :
14989 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14991 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14993 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15001 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15003 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15005 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15007 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15008 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15009 $as_echo_n "(cached) " >&6
15011 ac_check_lib_save_LIBS
=$LIBS
15012 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15014 /* end confdefs.h. */
15016 /* Override any GCC internal prototype to avoid an error.
15017 Use char because int might match the return type of a GCC
15018 builtin and then its argument prototype would still apply. */
15022 char ldap_initialize ();
15026 return ldap_initialize ();
15031 if ac_fn_c_try_link
"$LINENO"; then :
15032 ac_cv_lib_ldap_r_ldap_initialize
=yes
15034 ac_cv_lib_ldap_r_ldap_initialize
=no
15036 rm -f core conftest.err conftest.
$ac_objext \
15037 conftest
$ac_exeext conftest.
$ac_ext
15038 LIBS
=$ac_check_lib_save_LIBS
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15041 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15042 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15044 $as_echo_n "checking for ber_init in -llber... " >&6; }
15045 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15046 $as_echo_n "(cached) " >&6
15048 ac_check_lib_save_LIBS
=$LIBS
15049 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15051 /* end confdefs.h. */
15053 /* Override any GCC internal prototype to avoid an error.
15054 Use char because int might match the return type of a GCC
15055 builtin and then its argument prototype would still apply. */
15063 return ber_init ();
15068 if ac_fn_c_try_link
"$LINENO"; then :
15069 ac_cv_lib_lber_ber_init
=yes
15071 ac_cv_lib_lber_ber_init
=no
15073 rm -f core conftest.err conftest.
$ac_objext \
15074 conftest
$ac_exeext conftest.
$ac_ext
15075 LIBS
=$ac_check_lib_save_LIBS
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15078 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15079 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15081 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15083 LDAP_LIBS
="-lldap_r -llber"
15090 ac_wine_check_funcs_save_LIBS
="$LIBS"
15091 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15093 ldap_count_references \
15094 ldap_first_reference \
15095 ldap_next_reference \
15096 ldap_parse_reference \
15097 ldap_parse_sort_control \
15098 ldap_parse_sortresponse_control \
15099 ldap_parse_vlv_control \
15100 ldap_parse_vlvresponse_control
15102 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15103 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15104 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15105 cat >>confdefs.h
<<_ACEOF
15106 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15112 LIBS
="$ac_wine_check_funcs_save_LIBS"
15114 if test "x$LDAP_LIBS" = "x"; then :
15115 case "x$with_ldap" in
15116 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15118 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15119 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15124 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15125 if ${wine_cv_one_arg_mkdir+:} false
; then :
15126 $as_echo_n "(cached) " >&6
15128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15130 #include <sys/stat.h>
15139 if ac_fn_c_try_compile
"$LINENO"; then :
15140 wine_cv_one_arg_mkdir
=yes
15142 wine_cv_one_arg_mkdir
=no
15144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15147 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15148 if test "$wine_cv_one_arg_mkdir" = "yes"
15151 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15156 $as_echo_n "checking for sched_setaffinity... " >&6; }
15157 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15158 $as_echo_n "(cached) " >&6
15160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15162 #define _GNU_SOURCE
15167 sched_setaffinity(0, 0, 0);
15172 if ac_fn_c_try_link
"$LINENO"; then :
15173 wine_cv_have_sched_setaffinity
=yes
15175 wine_cv_have_sched_setaffinity
=no
15177 rm -f core conftest.err conftest.
$ac_objext \
15178 conftest
$ac_exeext conftest.
$ac_ext
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15181 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15182 if test "$wine_cv_have_sched_setaffinity" = "yes"
15185 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15190 $as_echo_n "checking for fallocate... " >&6; }
15191 if ${wine_cv_have_fallocate+:} false
; then :
15192 $as_echo_n "(cached) " >&6
15194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15195 /* end confdefs.h. */
15196 #define _GNU_SOURCE
15201 fallocate(-1, 0, 0, 0);
15206 if ac_fn_c_try_link
"$LINENO"; then :
15207 wine_cv_have_fallocate
=yes
15209 wine_cv_have_fallocate
=no
15211 rm -f core conftest.err conftest.
$ac_objext \
15212 conftest
$ac_exeext conftest.
$ac_ext
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15215 $as_echo "$wine_cv_have_fallocate" >&6; }
15216 if test "$wine_cv_have_fallocate" = "yes"
15219 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15225 $as_echo_n "checking for inline... " >&6; }
15226 if ${ac_cv_c_inline+:} false
; then :
15227 $as_echo_n "(cached) " >&6
15230 for ac_kw
in inline __inline__ __inline
; do
15231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15232 /* end confdefs.h. */
15233 #ifndef __cplusplus
15235 static $ac_kw foo_t static_foo () {return 0; }
15236 $ac_kw foo_t foo () {return 0; }
15240 if ac_fn_c_try_compile
"$LINENO"; then :
15241 ac_cv_c_inline
=$ac_kw
15243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15244 test "$ac_cv_c_inline" != no
&& break
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15249 $as_echo "$ac_cv_c_inline" >&6; }
15251 case $ac_cv_c_inline in
15254 case $ac_cv_c_inline in
15256 *) ac_val
=$ac_cv_c_inline;;
15258 cat >>confdefs.h
<<_ACEOF
15259 #ifndef __cplusplus
15260 #define inline $ac_val
15266 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15267 if test "x$ac_cv_type_mode_t" = xyes
; then :
15269 cat >>confdefs.h
<<_ACEOF
15270 #define HAVE_MODE_T 1
15275 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15276 if test "x$ac_cv_type_off_t" = xyes
; then :
15278 cat >>confdefs.h
<<_ACEOF
15279 #define HAVE_OFF_T 1
15284 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15285 if test "x$ac_cv_type_pid_t" = xyes
; then :
15287 cat >>confdefs.h
<<_ACEOF
15288 #define HAVE_PID_T 1
15293 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15294 if test "x$ac_cv_type_size_t" = xyes
; then :
15296 cat >>confdefs.h
<<_ACEOF
15297 #define HAVE_SIZE_T 1
15302 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15303 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15305 cat >>confdefs.h
<<_ACEOF
15306 #define HAVE_SSIZE_T 1
15311 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15312 if test "x$ac_cv_type_long_long" = xyes
; then :
15314 cat >>confdefs.h
<<_ACEOF
15315 #define HAVE_LONG_LONG 1
15320 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15321 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15323 cat >>confdefs.h
<<_ACEOF
15324 #define HAVE_FSBLKCNT_T 1
15329 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15330 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15332 cat >>confdefs.h
<<_ACEOF
15333 #define HAVE_FSFILCNT_T 1
15339 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15340 #include <signal.h>
15342 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15344 cat >>confdefs.h
<<_ACEOF
15345 #define HAVE_SIGSET_T 1
15351 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15353 if test "x$ac_cv_type_request_sense" = xyes
; then :
15355 cat >>confdefs.h
<<_ACEOF
15356 #define HAVE_REQUEST_SENSE 1
15363 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15364 #ifdef HAVE_SYS_SOCKET_H
15365 #include <sys/socket.h>
15367 #ifdef HAVE_SYS_SOCKETVAR_H
15368 #include <sys/socketvar.h>
15370 #ifdef HAVE_NET_ROUTE_H
15371 #include <net/route.h>
15373 #ifdef HAVE_NETINET_IN_H
15374 #include <netinet/in.h>
15376 #ifdef HAVE_NETINET_IN_SYSTM_H
15377 #include <netinet/in_systm.h>
15379 #ifdef HAVE_NETINET_IP_H
15380 #include <netinet/ip.h>
15382 #ifdef HAVE_NETINET_IN_PCB_H
15383 #include <netinet/in_pcb.h>
15386 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15388 cat >>confdefs.h
<<_ACEOF
15389 #define HAVE_STRUCT_XINPGEN 1
15396 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15399 #ifdef HAVE_SYS_LINK_H
15400 #include <sys/link.h>
15403 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15405 cat >>confdefs.h
<<_ACEOF
15406 #define HAVE_STRUCT_R_DEBUG 1
15411 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15414 #ifdef HAVE_SYS_LINK_H
15415 #include <sys/link.h>
15418 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15420 cat >>confdefs.h
<<_ACEOF
15421 #define HAVE_STRUCT_LINK_MAP 1
15428 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15429 #include <linux/input.h>
15432 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15434 cat >>confdefs.h
<<_ACEOF
15435 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15443 $as_echo_n "checking for sigaddset... " >&6; }
15444 if ${wine_cv_have_sigaddset+:} false
; then :
15445 $as_echo_n "(cached) " >&6
15447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15448 /* end confdefs.h. */
15449 #include <signal.h>
15453 sigset_t set; sigaddset(&set,SIGTERM);
15458 if ac_fn_c_try_link
"$LINENO"; then :
15459 wine_cv_have_sigaddset
=yes
15461 wine_cv_have_sigaddset
=no
15463 rm -f core conftest.err conftest.
$ac_objext \
15464 conftest
$ac_exeext conftest.
$ac_ext
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15467 $as_echo "$wine_cv_have_sigaddset" >&6; }
15468 if test "$wine_cv_have_sigaddset" = "yes"
15471 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15477 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15478 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15479 $as_echo_n "(cached) " >&6
15481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15482 /* end confdefs.h. */
15490 struct hostent *result;
15497 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15498 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15504 if ac_fn_c_try_link
"$LINENO"; then :
15505 wine_cv_linux_gethostbyname_r_6
=yes
15507 wine_cv_linux_gethostbyname_r_6
=no
15510 rm -f core conftest.err conftest.
$ac_objext \
15511 conftest
$ac_exeext conftest.
$ac_ext
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15515 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15516 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15519 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15523 if test "$ac_cv_header_linux_joystick_h" = "yes"
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15526 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15527 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15528 $as_echo_n "(cached) " >&6
15530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15531 /* end confdefs.h. */
15533 #include <sys/ioctl.h>
15534 #include <sys/types.h>
15535 #include <linux/joystick.h>
15537 struct js_event blub;
15538 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15539 #error "no 2.2 header"
15550 if ac_fn_c_try_compile
"$LINENO"; then :
15551 wine_cv_linux_joystick_22_api
=yes
15553 wine_cv_linux_joystick_22_api
=no
15555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15559 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15560 if test "$wine_cv_linux_joystick_22_api" = "yes"
15563 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15569 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15570 #ifdef HAVE_SYS_PARAM_H
15571 # include <sys/param.h>
15573 #ifdef HAVE_SYS_MOUNT_H
15574 # include <sys/mount.h>
15576 #ifdef HAVE_SYS_VFS_H
15577 # include <sys/vfs.h>
15579 #ifdef HAVE_SYS_STATFS_H
15580 # include <sys/statfs.h>
15583 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15585 cat >>confdefs.h
<<_ACEOF
15586 #define HAVE_STRUCT_STATFS_F_BFREE 1
15591 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15592 #ifdef HAVE_SYS_PARAM_H
15593 # include <sys/param.h>
15595 #ifdef HAVE_SYS_MOUNT_H
15596 # include <sys/mount.h>
15598 #ifdef HAVE_SYS_VFS_H
15599 # include <sys/vfs.h>
15601 #ifdef HAVE_SYS_STATFS_H
15602 # include <sys/statfs.h>
15605 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15607 cat >>confdefs.h
<<_ACEOF
15608 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15613 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15614 #ifdef HAVE_SYS_PARAM_H
15615 # include <sys/param.h>
15617 #ifdef HAVE_SYS_MOUNT_H
15618 # include <sys/mount.h>
15620 #ifdef HAVE_SYS_VFS_H
15621 # include <sys/vfs.h>
15623 #ifdef HAVE_SYS_STATFS_H
15624 # include <sys/statfs.h>
15627 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15629 cat >>confdefs.h
<<_ACEOF
15630 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15635 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15636 #ifdef HAVE_SYS_PARAM_H
15637 # include <sys/param.h>
15639 #ifdef HAVE_SYS_MOUNT_H
15640 # include <sys/mount.h>
15642 #ifdef HAVE_SYS_VFS_H
15643 # include <sys/vfs.h>
15645 #ifdef HAVE_SYS_STATFS_H
15646 # include <sys/statfs.h>
15649 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15651 cat >>confdefs.h
<<_ACEOF
15652 #define HAVE_STRUCT_STATFS_F_FFREE 1
15657 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15658 #ifdef HAVE_SYS_PARAM_H
15659 # include <sys/param.h>
15661 #ifdef HAVE_SYS_MOUNT_H
15662 # include <sys/mount.h>
15664 #ifdef HAVE_SYS_VFS_H
15665 # include <sys/vfs.h>
15667 #ifdef HAVE_SYS_STATFS_H
15668 # include <sys/statfs.h>
15671 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15673 cat >>confdefs.h
<<_ACEOF
15674 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15679 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15680 #ifdef HAVE_SYS_PARAM_H
15681 # include <sys/param.h>
15683 #ifdef HAVE_SYS_MOUNT_H
15684 # include <sys/mount.h>
15686 #ifdef HAVE_SYS_VFS_H
15687 # include <sys/vfs.h>
15689 #ifdef HAVE_SYS_STATFS_H
15690 # include <sys/statfs.h>
15693 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15695 cat >>confdefs.h
<<_ACEOF
15696 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15703 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15704 #include <sys/statvfs.h>
15707 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15709 cat >>confdefs.h
<<_ACEOF
15710 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15717 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15718 #include <dirent.h>
15721 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15723 cat >>confdefs.h
<<_ACEOF
15724 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15731 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15732 #ifdef HAVE_SYS_SOCKET_H
15733 # include <sys/socket.h>
15735 #ifdef HAVE_SYS_UN_H
15736 # include <sys/un.h>
15739 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15741 cat >>confdefs.h
<<_ACEOF
15742 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15747 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15748 #ifdef HAVE_SYS_SOCKET_H
15749 # include <sys/socket.h>
15751 #ifdef HAVE_SYS_UN_H
15752 # include <sys/un.h>
15755 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15757 cat >>confdefs.h
<<_ACEOF
15758 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15763 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15764 #ifdef HAVE_SYS_SOCKET_H
15765 # include <sys/socket.h>
15767 #ifdef HAVE_SYS_UN_H
15768 # include <sys/un.h>
15771 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15773 cat >>confdefs.h
<<_ACEOF
15774 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15781 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15782 #ifdef HAVE_SCSI_SG_H
15783 #include <scsi/sg.h>
15786 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15788 cat >>confdefs.h
<<_ACEOF
15789 #define HAVE_SCSIREQ_T_CMD 1
15794 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>
15795 #ifdef HAVE_SCSI_SG_H
15796 #include <scsi/sg.h>
15799 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15801 cat >>confdefs.h
<<_ACEOF
15802 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15809 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15811 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15813 cat >>confdefs.h
<<_ACEOF
15814 #define HAVE_SIGINFO_T_SI_FD 1
15821 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15822 #ifdef HAVE_SYS_MTIO_H
15823 #include <sys/mtio.h>
15826 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15828 cat >>confdefs.h
<<_ACEOF
15829 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15834 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15835 #ifdef HAVE_SYS_MTIO_H
15836 #include <sys/mtio.h>
15839 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15841 cat >>confdefs.h
<<_ACEOF
15842 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15847 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15848 #ifdef HAVE_SYS_MTIO_H
15849 #include <sys/mtio.h>
15852 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15854 cat >>confdefs.h
<<_ACEOF
15855 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15862 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15863 #include <getopt.h>
15866 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15868 cat >>confdefs.h
<<_ACEOF
15869 #define HAVE_STRUCT_OPTION_NAME 1
15876 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15877 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15879 cat >>confdefs.h
<<_ACEOF
15880 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15885 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15886 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15888 cat >>confdefs.h
<<_ACEOF
15889 #define HAVE_STRUCT_STAT_ST_MTIM 1
15894 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15895 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15897 cat >>confdefs.h
<<_ACEOF
15898 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15903 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15904 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15906 cat >>confdefs.h
<<_ACEOF
15907 #define HAVE_STRUCT_STAT_ST_CTIM 1
15912 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15913 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15915 cat >>confdefs.h
<<_ACEOF
15916 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15921 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15922 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15924 cat >>confdefs.h
<<_ACEOF
15925 #define HAVE_STRUCT_STAT_ST_ATIM 1
15930 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15931 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15933 cat >>confdefs.h
<<_ACEOF
15934 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15939 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15940 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15942 cat >>confdefs.h
<<_ACEOF
15943 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15948 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15949 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15951 cat >>confdefs.h
<<_ACEOF
15952 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15957 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15958 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15960 cat >>confdefs.h
<<_ACEOF
15961 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15966 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15967 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15969 cat >>confdefs.h
<<_ACEOF
15970 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15975 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15976 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15978 cat >>confdefs.h
<<_ACEOF
15979 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15986 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
15987 #include <sys/types.h>
15989 #ifdef HAVE_NETINET_IN_H
15990 #include <netinet/in.h>
15993 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15995 cat >>confdefs.h
<<_ACEOF
15996 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16003 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16004 #include <resolv.h>
16007 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16009 cat >>confdefs.h
<<_ACEOF
16010 #define HAVE_STRUCT___RES_STATE 1
16017 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
16018 #include <resolv.h>
16021 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16023 cat >>confdefs.h
<<_ACEOF
16024 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16031 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16032 #include <sys/types.h>
16034 #ifdef HAVE_NETINET_IN_H
16035 # include <netinet/in.h>
16037 #ifdef HAVE_ARPA_NAMESER_H
16038 # include <arpa/nameser.h>
16041 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16043 cat >>confdefs.h
<<_ACEOF
16044 #define HAVE_NS_MSG__MSG_PTR 1
16051 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16052 #include <sys/types.h>
16054 #ifdef HAVE_NETINET_IP_H
16055 #include <netinet/ip.h>
16057 #ifdef HAVE_NETINET_IP_ICMP_H
16058 #include <netinet/ip_icmp.h>
16060 #ifdef HAVE_NETINET_ICMP_VAR_H
16061 #include <netinet/icmp_var.h>
16064 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16066 cat >>confdefs.h
<<_ACEOF
16067 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16074 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16075 #include <sys/types.h>
16077 #ifdef HAVE_ALIAS_H
16080 #ifdef HAVE_SYS_SOCKET_H
16081 #include <sys/socket.h>
16083 #ifdef HAVE_SYS_SOCKETVAR_H
16084 #include <sys/socketvar.h>
16086 #ifdef HAVE_SYS_TIMEOUT_H
16087 #include <sys/timeout.h>
16089 #ifdef HAVE_NETINET_IN_H
16090 #include <netinet/in.h>
16092 #ifdef HAVE_NETINET_IN_SYSTM_H
16093 #include <netinet/in_systm.h>
16095 #ifdef HAVE_NETINET_IP_H
16096 #include <netinet/ip.h>
16098 #ifdef HAVE_NETINET_IP_VAR_H
16099 #include <netinet/ip_var.h>
16101 #ifdef HAVE_NETINET_IP_ICMP_H
16102 #include <netinet/ip_icmp.h>
16104 #ifdef HAVE_NETINET_ICMP_VAR_H
16105 #include <netinet/icmp_var.h>
16108 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16110 cat >>confdefs.h
<<_ACEOF
16111 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16118 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16119 #include <sys/types.h>
16121 #ifdef HAVE_SYS_SOCKETVAR_H
16122 #include <sys/socketvar.h>
16124 #ifdef HAVE_NETINET_IN_H
16125 #include <netinet/in.h>
16127 #ifdef HAVE_NETINET_IP_VAR_H
16128 #include <netinet/ip_var.h>
16131 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16133 cat >>confdefs.h
<<_ACEOF
16134 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16141 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
16142 #include <netinet/ip_var.h>
16145 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16147 cat >>confdefs.h
<<_ACEOF
16148 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16155 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16156 #include <sys/types.h>
16158 #ifdef HAVE_SYS_SOCKETVAR_H
16159 #include <sys/socketvar.h>
16161 #ifdef HAVE_NETINET_IN_H
16162 #include <netinet/in.h>
16164 #ifdef HAVE_NETINET_TCP_H
16165 #include <netinet/tcp.h>
16167 #ifdef HAVE_NETINET_TCP_VAR_H
16168 #include <netinet/tcp_var.h>
16171 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16173 cat >>confdefs.h
<<_ACEOF
16174 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16181 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
16182 #include <netinet/tcp_var.h>
16185 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16187 cat >>confdefs.h
<<_ACEOF
16188 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16195 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16196 #include <sys/types.h>
16198 #ifdef HAVE_NETINET_IN_H
16199 #include <netinet/in.h>
16201 #ifdef HAVE_NETINET_IP_VAR_H
16202 #include <netinet/ip_var.h>
16204 #ifdef HAVE_NETINET_UDP_H
16205 #include <netinet/udp.h>
16207 #ifdef HAVE_NETINET_UDP_VAR_H
16208 #include <netinet/udp_var.h>
16211 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16213 cat >>confdefs.h
<<_ACEOF
16214 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16221 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16222 #include <sys/types.h>
16224 #ifdef HAVE_NET_IF_H
16225 # include <net/if.h>
16228 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16230 cat >>confdefs.h
<<_ACEOF
16231 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16239 $as_echo_n "checking for timezone variable... " >&6; }
16240 if ${ac_cv_have_timezone+:} false
; then :
16241 $as_echo_n "(cached) " >&6
16243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16244 /* end confdefs.h. */
16254 if ac_fn_c_try_link
"$LINENO"; then :
16255 ac_cv_have_timezone
="yes"
16257 ac_cv_have_timezone
="no"
16259 rm -f core conftest.err conftest.
$ac_objext \
16260 conftest
$ac_exeext conftest.
$ac_ext
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16263 $as_echo "$ac_cv_have_timezone" >&6; }
16264 if test "$ac_cv_have_timezone" = "yes"
16267 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16271 $as_echo_n "checking for daylight variable... " >&6; }
16272 if ${ac_cv_have_daylight+:} false
; then :
16273 $as_echo_n "(cached) " >&6
16275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16276 /* end confdefs.h. */
16286 if ac_fn_c_try_link
"$LINENO"; then :
16287 ac_cv_have_daylight
="yes"
16289 ac_cv_have_daylight
="no"
16291 rm -f core conftest.err conftest.
$ac_objext \
16292 conftest
$ac_exeext conftest.
$ac_ext
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16295 $as_echo "$ac_cv_have_daylight" >&6; }
16296 if test "$ac_cv_have_daylight" = "yes"
16299 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16303 ac_save_LIBS
="$LIBS"
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16306 $as_echo_n "checking for isfinite... " >&6; }
16307 if ${ac_cv_have_isfinite+:} false
; then :
16308 $as_echo_n "(cached) " >&6
16310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16311 /* end confdefs.h. */
16312 #define _GNU_SOURCE
16317 float f = 0.0; return isfinite(f)
16322 if ac_fn_c_try_link
"$LINENO"; then :
16323 ac_cv_have_isfinite
="yes"
16325 ac_cv_have_isfinite
="no"
16327 rm -f core conftest.err conftest.
$ac_objext \
16328 conftest
$ac_exeext conftest.
$ac_ext
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16331 $as_echo "$ac_cv_have_isfinite" >&6; }
16332 if test "$ac_cv_have_isfinite" = "yes"
16335 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16339 ac_save_LIBS
="$LIBS"
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16342 $as_echo_n "checking for isinf... " >&6; }
16343 if ${ac_cv_have_isinf+:} false
; then :
16344 $as_echo_n "(cached) " >&6
16346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16347 /* end confdefs.h. */
16352 float f = 0.0; return isinf(f)
16357 if ac_fn_c_try_link
"$LINENO"; then :
16358 ac_cv_have_isinf
="yes"
16360 ac_cv_have_isinf
="no"
16362 rm -f core conftest.err conftest.
$ac_objext \
16363 conftest
$ac_exeext conftest.
$ac_ext
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16366 $as_echo "$ac_cv_have_isinf" >&6; }
16367 if test "$ac_cv_have_isinf" = "yes"
16370 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16375 $as_echo_n "checking for isnan... " >&6; }
16376 if ${ac_cv_have_isnan+:} false
; then :
16377 $as_echo_n "(cached) " >&6
16379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16385 float f = 0.0; return isnan(f)
16390 if ac_fn_c_try_link
"$LINENO"; then :
16391 ac_cv_have_isnan
="yes"
16393 ac_cv_have_isnan
="no"
16395 rm -f core conftest.err conftest.
$ac_objext \
16396 conftest
$ac_exeext conftest.
$ac_ext
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16399 $as_echo "$ac_cv_have_isnan" >&6; }
16400 if test "$ac_cv_have_isnan" = "yes"
16403 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16406 LIBS
="$ac_save_LIBS"
16410 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16411 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16412 if ${ac_cv_cpp_def___i386__+:} false
; then :
16413 $as_echo_n "(cached) " >&6
16415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h. */
16421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16422 $EGREP "yes" >/dev
/null
2>&1; then :
16423 ac_cv_cpp_def___i386__
=yes
16425 ac_cv_cpp_def___i386__
=no
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16431 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16432 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16433 CFLAGS
="$CFLAGS -D__i386__"
16434 LINTFLAGS
="$LINTFLAGS -D__i386__"
16436 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16437 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16438 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16439 $as_echo_n "(cached) " >&6
16441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16448 $EGREP "yes" >/dev
/null
2>&1; then :
16449 ac_cv_cpp_def___x86_64__
=yes
16451 ac_cv_cpp_def___x86_64__
=no
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16457 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16458 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16459 CFLAGS
="$CFLAGS -D__x86_64__"
16460 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16462 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16463 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16464 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16465 $as_echo_n "(cached) " >&6
16467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16468 /* end confdefs.h. */
16469 #ifndef __sparc64__
16473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16474 $EGREP "yes" >/dev
/null
2>&1; then :
16475 ac_cv_cpp_def___sparc64__
=yes
16477 ac_cv_cpp_def___sparc64__
=no
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16483 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16484 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16485 CFLAGS
="$CFLAGS -D__sparc64__"
16486 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16488 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16489 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16490 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16491 $as_echo_n "(cached) " >&6
16493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16500 $EGREP "yes" >/dev
/null
2>&1; then :
16501 ac_cv_cpp_def___sparc__
=yes
16503 ac_cv_cpp_def___sparc__
=no
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16509 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16510 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16511 CFLAGS
="$CFLAGS -D__sparc__"
16512 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16514 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16515 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16516 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16517 $as_echo_n "(cached) " >&6
16519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h. */
16521 #ifndef __powerpc64__
16525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16526 $EGREP "yes" >/dev
/null
2>&1; then :
16527 ac_cv_cpp_def___powerpc64__
=yes
16529 ac_cv_cpp_def___powerpc64__
=no
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16535 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16536 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16537 CFLAGS
="$CFLAGS -D__powerpc64__"
16538 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16540 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16541 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16542 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16543 $as_echo_n "(cached) " >&6
16545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16546 /* end confdefs.h. */
16547 #ifndef __powerpc__
16551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16552 $EGREP "yes" >/dev
/null
2>&1; then :
16553 ac_cv_cpp_def___powerpc__
=yes
16555 ac_cv_cpp_def___powerpc__
=no
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16561 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16562 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16563 CFLAGS
="$CFLAGS -D__powerpc__"
16564 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16566 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16567 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16568 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16569 $as_echo_n "(cached) " >&6
16571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16573 #ifndef __aarch64__
16577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16578 $EGREP "yes" >/dev
/null
2>&1; then :
16579 ac_cv_cpp_def___aarch64__
=yes
16581 ac_cv_cpp_def___aarch64__
=no
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16587 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16588 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16589 CFLAGS
="$CFLAGS -D__aarch64__"
16590 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16592 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16593 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16594 if ${ac_cv_cpp_def___arm__+:} false
; then :
16595 $as_echo_n "(cached) " >&6
16597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16598 /* end confdefs.h. */
16603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16604 $EGREP "yes" >/dev
/null
2>&1; then :
16605 ac_cv_cpp_def___arm__
=yes
16607 ac_cv_cpp_def___arm__
=no
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16613 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16614 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16615 CFLAGS
="$CFLAGS -D__arm__"
16616 LINTFLAGS
="$LINTFLAGS -D__arm__"
16620 case $host_vendor in
16621 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16622 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16623 if ${ac_cv_cpp_def___sun__+:} false
; then :
16624 $as_echo_n "(cached) " >&6
16626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16627 /* end confdefs.h. */
16632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16633 $EGREP "yes" >/dev
/null
2>&1; then :
16634 ac_cv_cpp_def___sun__
=yes
16636 ac_cv_cpp_def___sun__
=no
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16642 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16643 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16644 CFLAGS
="$CFLAGS -D__sun__"
16645 LINTFLAGS
="$LINTFLAGS -D__sun__"
16653 ac_config_commands
="$ac_config_commands include/stamp-h"
16655 $as_echo_n "creating Makefile rules..." >&6
16657 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16658 SOCKET_LIBS = $SOCKET_LIBS
16659 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16660 IOKIT_LIBS = $IOKIT_LIBS
16661 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16662 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16663 CORESERVICES_LIBS = $CORESERVICES_LIBS
16664 APPKIT_LIBS = $APPKIT_LIBS
16665 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16666 SECURITY_LIBS = $SECURITY_LIBS
16667 COREAUDIO_LIBS = $COREAUDIO_LIBS
16668 OPENAL_LIBS = $OPENAL_LIBS
16669 OPENCL_LIBS = $OPENCL_LIBS
16670 QUICKTIME_LIBS = $QUICKTIME_LIBS
16671 CARBON_LIBS = $CARBON_LIBS
16672 PTHREAD_LIBS = $PTHREAD_LIBS
16673 X_CFLAGS = $X_CFLAGS
16674 X_PRE_LIBS = $X_PRE_LIBS
16676 X_EXTRA_LIBS = $X_EXTRA_LIBS
16677 XML2_CFLAGS = $XML2_CFLAGS
16678 XML2_LIBS = $XML2_LIBS
16679 XSLT_CFLAGS = $XSLT_CFLAGS
16680 XSLT_LIBS = $XSLT_LIBS
16681 DBUS_CFLAGS = $DBUS_CFLAGS
16682 DBUS_LIBS = $DBUS_LIBS
16683 HAL_CFLAGS = $HAL_CFLAGS
16684 HAL_LIBS = $HAL_LIBS
16685 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16686 GNUTLS_LIBS = $GNUTLS_LIBS
16687 SANE_CFLAGS = $SANE_CFLAGS
16688 SANE_LIBS = $SANE_LIBS
16689 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16690 GPHOTO2_LIBS = $GPHOTO2_LIBS
16691 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16692 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16693 RESOLV_LIBS = $RESOLV_LIBS
16694 LCMS2_CFLAGS = $LCMS2_CFLAGS
16695 LCMS2_LIBS = $LCMS2_LIBS
16696 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16697 FREETYPE_LIBS = $FREETYPE_LIBS
16699 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16700 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16701 GSTREAMER_LIBS = $GSTREAMER_LIBS
16702 ALSA_LIBS = $ALSA_LIBS
16703 OSS4_CFLAGS = $OSS4_CFLAGS
16704 CAPI20_CFLAGS = $CAPI20_CFLAGS
16705 CAPI20_LIBS = $CAPI20_LIBS
16706 CUPS_CFLAGS = $CUPS_CFLAGS
16707 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16708 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16709 JPEG_CFLAGS = $JPEG_CFLAGS
16710 JPEG_LIBS = $JPEG_LIBS
16711 PNG_CFLAGS = $PNG_CFLAGS
16712 PNG_LIBS = $PNG_LIBS
16713 TIFF_CFLAGS = $TIFF_CFLAGS
16714 TIFF_LIBS = $TIFF_LIBS
16715 MPG123_CFLAGS = $MPG123_CFLAGS
16716 MPG123_LIBS = $MPG123_LIBS
16717 KSTAT_LIBS = $KSTAT_LIBS
16718 PROCSTAT_LIBS = $PROCSTAT_LIBS
16720 POLL_LIBS = $POLL_LIBS
16722 LDAP_LIBS = $LDAP_LIBS
16727 wine_fn_append_rule
"
16728 # Rules automatically generated by configure
16730 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16735 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16736 @./config.status Make.tmp Makefile"
16738 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16739 .gitignore: config.status
16740 @./config.status .gitignore"
16742 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16743 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16745 if test "x$enable_fonts" != xno
; then
16746 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16747 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16748 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16749 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16750 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16752 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16753 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16754 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16755 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16756 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16757 wine_fn_config_symlink wine
16758 if test "x$enable_win64" != xno
; then
16759 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16760 wine_fn_config_symlink wine64
16763 wine_fn_config_dll acledit enable_acledit
16764 wine_fn_config_dll aclui enable_aclui implib
16765 wine_fn_config_dll activeds enable_activeds implib
16766 wine_fn_config_dll actxprxy enable_actxprxy clean
16767 wine_fn_config_lib adsiid
16768 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16769 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16770 wine_fn_config_dll advpack enable_advpack implib
16771 wine_fn_config_test dlls
/advpack
/tests advpack_test
16772 wine_fn_config_dll amstream enable_amstream clean
16773 wine_fn_config_test dlls
/amstream
/tests amstream_test
16774 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16775 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16776 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16777 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16778 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16779 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16780 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16781 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16782 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16783 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16784 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16785 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16786 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16787 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16788 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16789 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16790 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16791 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16792 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16793 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16794 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16795 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16796 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16797 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16798 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16799 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16800 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16801 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16802 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16803 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16804 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16805 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16806 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16807 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16808 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16809 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16810 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16811 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16812 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16813 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16814 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16815 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16816 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16817 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16818 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16819 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16820 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16821 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16822 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16823 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16824 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16825 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16826 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16827 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16828 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16829 wine_fn_config_dll apphelp enable_apphelp
16830 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16831 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16832 wine_fn_config_dll atl enable_atl clean
,implib
16833 wine_fn_config_test dlls
/atl
/tests atl_test
16834 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16835 wine_fn_config_test dlls
/atl100
/tests atl100_test
16836 wine_fn_config_dll atl110 enable_atl110 clean
16837 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16838 wine_fn_config_test dlls
/atl80
/tests atl80_test
16839 wine_fn_config_dll atl90 enable_atl90 clean
16840 wine_fn_config_dll authz enable_authz
16841 wine_fn_config_dll avicap32 enable_avicap32 implib
16842 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16843 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16844 wine_fn_config_dll avifile.dll16 enable_win16
16845 wine_fn_config_dll avrt enable_avrt implib
16846 wine_fn_config_dll bcrypt enable_bcrypt
16847 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16848 wine_fn_config_dll browseui enable_browseui clean
,po
16849 wine_fn_config_test dlls
/browseui
/tests browseui_test
16850 wine_fn_config_dll cabinet enable_cabinet implib
16851 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16852 wine_fn_config_dll capi2032 enable_capi2032 implib
16853 wine_fn_config_dll cards enable_cards implib
16854 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16855 wine_fn_config_dll clusapi enable_clusapi implib
16856 wine_fn_config_dll comcat enable_comcat
16857 wine_fn_config_test dlls
/comcat
/tests comcat_test
16858 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16859 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16860 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16861 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16862 wine_fn_config_dll
comm.drv16 enable_win16
16863 wine_fn_config_dll commdlg.dll16 enable_win16
16864 wine_fn_config_dll compobj.dll16 enable_win16
16865 wine_fn_config_dll compstui enable_compstui implib
16866 wine_fn_config_dll comsvcs enable_comsvcs implib
16867 wine_fn_config_dll credui enable_credui implib
,po
16868 wine_fn_config_test dlls
/credui
/tests credui_test
16869 wine_fn_config_dll crtdll enable_crtdll implib
16870 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16871 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16872 wine_fn_config_dll cryptdlg enable_cryptdlg po
16873 wine_fn_config_dll cryptdll enable_cryptdll implib
16874 wine_fn_config_dll cryptext enable_cryptext
16875 wine_fn_config_dll cryptnet enable_cryptnet implib
16876 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16877 wine_fn_config_dll cryptui enable_cryptui implib
,po
16878 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16879 wine_fn_config_dll ctapi32 enable_ctapi32
16880 wine_fn_config_dll ctl3d.dll16 enable_win16
16881 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16882 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16883 wine_fn_config_dll d2d1 enable_d2d1 implib
16884 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16885 wine_fn_config_dll d3d10 enable_d3d10 implib
16886 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16887 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16888 wine_fn_config_dll d3d10core enable_d3d10core implib
16889 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16890 wine_fn_config_dll d3d11 enable_d3d11
16891 wine_fn_config_dll d3d8 enable_d3d8 implib
16892 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16893 wine_fn_config_dll d3d9 enable_d3d9 implib
16894 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16895 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16896 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16897 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16898 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16899 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16900 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16901 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16902 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16903 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16904 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16905 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16906 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16907 wine_fn_config_dll d3dim enable_d3dim implib
16908 wine_fn_config_dll d3drm enable_d3drm implib
16909 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16910 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16911 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16912 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16913 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16914 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16915 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16916 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16917 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16918 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16919 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16920 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16921 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16922 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16923 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16924 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16925 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16926 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16927 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16928 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16929 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16930 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16931 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16932 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16933 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16934 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16935 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16936 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16937 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16938 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16939 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16940 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16941 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16942 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16943 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16944 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16945 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16946 wine_fn_config_dll dbgeng enable_dbgeng implib
16947 wine_fn_config_dll dbghelp enable_dbghelp implib
16948 wine_fn_config_dll dciman32 enable_dciman32 implib
16949 wine_fn_config_dll ddeml.dll16 enable_win16
16950 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16951 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16952 wine_fn_config_dll ddrawex enable_ddrawex clean
16953 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16954 wine_fn_config_dll devenum enable_devenum clean
,po
16955 wine_fn_config_test dlls
/devenum
/tests devenum_test
16956 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16957 wine_fn_config_dll difxapi enable_difxapi
16958 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16959 wine_fn_config_test dlls
/dinput
/tests dinput_test
16960 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16961 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16962 wine_fn_config_dll dispdib.dll16 enable_win16
16963 wine_fn_config_dll dispex enable_dispex clean
16964 wine_fn_config_test dlls
/dispex
/tests dispex_test
16965 wine_fn_config_dll display.drv16 enable_win16
16966 wine_fn_config_dll dmband enable_dmband clean
16967 wine_fn_config_test dlls
/dmband
/tests dmband_test
16968 wine_fn_config_dll dmcompos enable_dmcompos clean
16969 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16970 wine_fn_config_dll dmime enable_dmime clean
16971 wine_fn_config_test dlls
/dmime
/tests dmime_test
16972 wine_fn_config_dll dmloader enable_dmloader clean
16973 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16974 wine_fn_config_dll dmscript enable_dmscript clean
16975 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16976 wine_fn_config_dll dmstyle enable_dmstyle clean
16977 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16978 wine_fn_config_dll dmsynth enable_dmsynth clean
16979 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16980 wine_fn_config_dll dmusic enable_dmusic clean
16981 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16982 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16983 wine_fn_config_dll dnsapi enable_dnsapi implib
16984 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16985 wine_fn_config_dll dplay enable_dplay implib
16986 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16987 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16988 wine_fn_config_dll dpnaddr enable_dpnaddr
16989 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16990 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16991 wine_fn_config_dll dpnhpast enable_dpnhpast
16992 wine_fn_config_dll dpnlobby enable_dpnlobby
16993 wine_fn_config_dll dpvoice enable_dpvoice clean
16994 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
16995 wine_fn_config_dll dpwsockx enable_dpwsockx
16996 wine_fn_config_dll drmclien enable_drmclien
16997 wine_fn_config_dll dsound enable_dsound clean
,implib
16998 wine_fn_config_test dlls
/dsound
/tests dsound_test
16999 wine_fn_config_dll dssenh enable_dssenh
17000 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17001 wine_fn_config_dll dswave enable_dswave clean
17002 wine_fn_config_test dlls
/dswave
/tests dswave_test
17003 wine_fn_config_dll dwmapi enable_dwmapi implib
17004 wine_fn_config_dll dwrite enable_dwrite implib
17005 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17006 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17007 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17008 wine_fn_config_lib dxerr8
17009 wine_fn_config_lib dxerr9
17010 wine_fn_config_dll dxgi enable_dxgi implib
17011 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17012 wine_fn_config_lib dxguid
17013 wine_fn_config_dll dxva2 enable_dxva2
17014 wine_fn_config_dll explorerframe enable_explorerframe clean
17015 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17016 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17017 wine_fn_config_dll faultrep enable_faultrep implib
17018 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17019 wine_fn_config_dll fltlib enable_fltlib
17020 wine_fn_config_dll fntcache enable_fntcache
17021 wine_fn_config_dll fontsub enable_fontsub
17022 wine_fn_config_dll fusion enable_fusion
17023 wine_fn_config_test dlls
/fusion
/tests fusion_test
17024 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17025 wine_fn_config_dll gameux enable_gameux clean
17026 wine_fn_config_test dlls
/gameux
/tests gameux_test
17027 wine_fn_config_dll gdi.exe16 enable_win16
17028 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17029 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17030 wine_fn_config_dll gdiplus enable_gdiplus implib
17031 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17032 wine_fn_config_dll glu32 enable_glu32 implib
17033 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17034 wine_fn_config_dll gpkcsp enable_gpkcsp
17035 wine_fn_config_dll hal enable_hal
17036 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17037 wine_fn_config_dll hid enable_hid implib
17038 wine_fn_config_dll hlink enable_hlink clean
,implib
17039 wine_fn_config_test dlls
/hlink
/tests hlink_test
17040 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17041 wine_fn_config_dll httpapi enable_httpapi
17042 wine_fn_config_dll iccvid enable_iccvid po
17043 wine_fn_config_dll icmp enable_icmp
17044 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17045 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17046 wine_fn_config_dll ifsmgr.vxd enable_win16
17047 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17048 wine_fn_config_dll imagehlp enable_imagehlp implib
17049 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17050 wine_fn_config_dll imm.dll16 enable_win16
17051 wine_fn_config_dll imm32 enable_imm32 implib
17052 wine_fn_config_test dlls
/imm32
/tests imm32_test
17053 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17054 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17055 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17056 wine_fn_config_dll inetmib1 enable_inetmib1
17057 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17058 wine_fn_config_dll infosoft enable_infosoft clean
17059 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17060 wine_fn_config_dll initpki enable_initpki
17061 wine_fn_config_dll inkobj enable_inkobj
17062 wine_fn_config_dll inseng enable_inseng clean
17063 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17064 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17065 wine_fn_config_dll itircl enable_itircl
17066 wine_fn_config_dll itss enable_itss clean
17067 wine_fn_config_test dlls
/itss
/tests itss_test
17068 wine_fn_config_dll joy.cpl enable_joy_cpl po
17069 wine_fn_config_dll jscript enable_jscript clean
,po
17070 wine_fn_config_test dlls
/jscript
/tests jscript_test
17071 wine_fn_config_dll jsproxy enable_jsproxy implib
17072 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17073 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17074 wine_fn_config_dll keyboard.drv16 enable_win16
17075 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17076 wine_fn_config_dll ksuser enable_ksuser
17077 wine_fn_config_dll ktmw32 enable_ktmw32
17078 wine_fn_config_dll loadperf enable_loadperf implib
17079 wine_fn_config_dll localspl enable_localspl po
17080 wine_fn_config_test dlls
/localspl
/tests localspl_test
17081 wine_fn_config_dll localui enable_localui po
17082 wine_fn_config_test dlls
/localui
/tests localui_test
17083 wine_fn_config_dll lz32 enable_lz32 implib
17084 wine_fn_config_test dlls
/lz32
/tests lz32_test
17085 wine_fn_config_dll lzexpand.dll16 enable_win16
17086 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17087 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17088 wine_fn_config_dll mapistub enable_mapistub
17089 wine_fn_config_dll mciavi32 enable_mciavi32
17090 wine_fn_config_dll mcicda enable_mcicda
17091 wine_fn_config_dll mciqtz32 enable_mciqtz32
17092 wine_fn_config_dll mciseq enable_mciseq
17093 wine_fn_config_dll mciwave enable_mciwave
17094 wine_fn_config_dll mgmtapi enable_mgmtapi
17095 wine_fn_config_dll midimap enable_midimap
17096 wine_fn_config_dll mlang enable_mlang clean
,implib
17097 wine_fn_config_test dlls
/mlang
/tests mlang_test
17098 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17099 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17100 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17101 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17102 wine_fn_config_dll mmdevldr.vxd enable_win16
17103 wine_fn_config_dll mmsystem.dll16 enable_win16
17104 wine_fn_config_dll monodebg.vxd enable_win16
17105 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17106 wine_fn_config_dll mouse.drv16 enable_win16
17107 wine_fn_config_dll mpr enable_mpr implib
,po
17108 wine_fn_config_test dlls
/mpr
/tests mpr_test
17109 wine_fn_config_dll mprapi enable_mprapi implib
17110 wine_fn_config_dll msacm.dll16 enable_win16
17111 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17112 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17113 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17114 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17115 wine_fn_config_dll msasn1 enable_msasn1 implib
17116 wine_fn_config_dll mscat32 enable_mscat32
17117 wine_fn_config_dll mscms enable_mscms implib
17118 wine_fn_config_test dlls
/mscms
/tests mscms_test
17119 wine_fn_config_dll mscoree enable_mscoree clean
17120 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17121 wine_fn_config_dll msctf enable_msctf clean
17122 wine_fn_config_test dlls
/msctf
/tests msctf_test
17123 wine_fn_config_dll msdaps enable_msdaps clean
17124 wine_fn_config_dll msdmo enable_msdmo implib
17125 wine_fn_config_dll msftedit enable_msftedit
17126 wine_fn_config_dll msg711.acm enable_msg711_acm
17127 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17128 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17129 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17130 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17131 wine_fn_config_dll msi enable_msi clean
,implib
,po
17132 wine_fn_config_test dlls
/msi
/tests msi_test
17133 wine_fn_config_dll msident enable_msident clean
17134 wine_fn_config_dll msimg32 enable_msimg32 implib
17135 wine_fn_config_dll msimsg enable_msimsg
17136 wine_fn_config_dll msimtf enable_msimtf clean
17137 wine_fn_config_dll msisip enable_msisip
17138 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17139 wine_fn_config_dll msls31 enable_msls31
17140 wine_fn_config_dll msnet32 enable_msnet32
17141 wine_fn_config_dll mspatcha enable_mspatcha
17142 wine_fn_config_dll msrle32 enable_msrle32 po
17143 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17144 wine_fn_config_dll mssign32 enable_mssign32
17145 wine_fn_config_dll mssip32 enable_mssip32
17146 wine_fn_config_dll mstask enable_mstask clean
17147 wine_fn_config_test dlls
/mstask
/tests mstask_test
17148 wine_fn_config_dll msvcirt enable_msvcirt
17149 wine_fn_config_dll msvcm80 enable_msvcm80
17150 wine_fn_config_dll msvcm90 enable_msvcm90
17151 wine_fn_config_dll msvcp100 enable_msvcp100
17152 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17153 wine_fn_config_dll msvcp110 enable_msvcp110
17154 wine_fn_config_dll msvcp120 enable_msvcp120
17155 wine_fn_config_dll msvcp60 enable_msvcp60
17156 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17157 wine_fn_config_dll msvcp70 enable_msvcp70
17158 wine_fn_config_dll msvcp71 enable_msvcp71
17159 wine_fn_config_dll msvcp80 enable_msvcp80
17160 wine_fn_config_dll msvcp90 enable_msvcp90
17161 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17162 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17163 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17164 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17165 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17166 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17167 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17168 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17169 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17170 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17171 wine_fn_config_dll msvcrt enable_msvcrt implib
17172 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17173 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17174 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17175 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17176 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17177 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17178 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17179 wine_fn_config_dll msvidc32 enable_msvidc32 po
17180 wine_fn_config_dll msvideo.dll16 enable_win16
17181 wine_fn_config_dll mswsock enable_mswsock implib
17182 wine_fn_config_dll msxml enable_msxml clean
17183 wine_fn_config_dll msxml2 enable_msxml2 clean
17184 wine_fn_config_dll msxml3 enable_msxml3 clean
17185 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17186 wine_fn_config_dll msxml4 enable_msxml4 clean
17187 wine_fn_config_dll msxml6 enable_msxml6 clean
17188 wine_fn_config_dll nddeapi enable_nddeapi implib
17189 wine_fn_config_dll ndis.sys enable_ndis_sys
17190 wine_fn_config_dll netapi32 enable_netapi32 implib
17191 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17192 wine_fn_config_dll netcfgx enable_netcfgx clean
17193 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17194 wine_fn_config_dll netprofm enable_netprofm clean
17195 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17196 wine_fn_config_dll newdev enable_newdev implib
17197 wine_fn_config_dll normaliz enable_normaliz implib
17198 wine_fn_config_dll npmshtml enable_npmshtml
17199 wine_fn_config_dll npptools enable_npptools
17200 wine_fn_config_dll ntdll enable_ntdll implib
17201 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17202 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17203 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17204 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17205 wine_fn_config_dll ntprint enable_ntprint
17206 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17207 wine_fn_config_dll objsel enable_objsel clean
17208 wine_fn_config_dll odbc32 enable_odbc32 implib
17209 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17210 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17211 wine_fn_config_dll odbccu32 enable_odbccu32
17212 wine_fn_config_dll ole2.dll16 enable_win16
17213 wine_fn_config_dll ole2conv.dll16 enable_win16
17214 wine_fn_config_dll ole2disp.dll16 enable_win16
17215 wine_fn_config_dll ole2nls.dll16 enable_win16
17216 wine_fn_config_dll ole2prox.dll16 enable_win16
17217 wine_fn_config_dll ole2thk.dll16 enable_win16
17218 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17219 wine_fn_config_test dlls
/ole32
/tests ole32_test
17220 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17221 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17222 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17223 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17224 wine_fn_config_dll olecli.dll16 enable_win16
17225 wine_fn_config_dll olecli32 enable_olecli32 implib
17226 wine_fn_config_dll oledb32 enable_oledb32 clean
17227 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17228 wine_fn_config_dll oledlg enable_oledlg implib
,po
17229 wine_fn_config_dll olepro32 enable_olepro32 implib
17230 wine_fn_config_dll olesvr.dll16 enable_win16
17231 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17232 wine_fn_config_dll olethk32 enable_olethk32
17233 wine_fn_config_dll openal32 enable_openal32
17234 wine_fn_config_dll opencl enable_opencl
17235 wine_fn_config_dll opengl32 enable_opengl32 implib
17236 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17237 wine_fn_config_dll packager enable_packager clean
17238 wine_fn_config_test dlls
/packager
/tests packager_test
17239 wine_fn_config_dll pdh enable_pdh implib
17240 wine_fn_config_test dlls
/pdh
/tests pdh_test
17241 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17242 wine_fn_config_dll pidgen enable_pidgen
17243 wine_fn_config_dll powrprof enable_powrprof implib
17244 wine_fn_config_dll printui enable_printui
17245 wine_fn_config_dll prntvpt enable_prntvpt
17246 wine_fn_config_dll propsys enable_propsys clean
,implib
17247 wine_fn_config_test dlls
/propsys
/tests propsys_test
17248 wine_fn_config_dll psapi enable_psapi implib
17249 wine_fn_config_test dlls
/psapi
/tests psapi_test
17250 wine_fn_config_dll pstorec enable_pstorec clean
17251 wine_fn_config_dll qcap enable_qcap
17252 wine_fn_config_test dlls
/qcap
/tests qcap_test
17253 wine_fn_config_dll qedit enable_qedit clean
17254 wine_fn_config_test dlls
/qedit
/tests qedit_test
17255 wine_fn_config_dll qmgr enable_qmgr clean
17256 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17257 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17258 wine_fn_config_dll quartz enable_quartz clean
,implib
17259 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17260 wine_fn_config_dll query enable_query
17261 wine_fn_config_dll rasapi16.dll16 enable_win16
17262 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17263 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17264 wine_fn_config_dll rasdlg enable_rasdlg implib
17265 wine_fn_config_dll regapi enable_regapi
17266 wine_fn_config_dll resutils enable_resutils implib
17267 wine_fn_config_dll riched20 enable_riched20 implib
17268 wine_fn_config_test dlls
/riched20
/tests riched20_test
17269 wine_fn_config_dll riched32 enable_riched32
17270 wine_fn_config_test dlls
/riched32
/tests riched32_test
17271 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17272 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17273 wine_fn_config_dll rsabase enable_rsabase
17274 wine_fn_config_dll rsaenh enable_rsaenh implib
17275 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17276 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17277 wine_fn_config_dll rtutils enable_rtutils implib
17278 wine_fn_config_dll samlib enable_samlib
17279 wine_fn_config_dll sane.ds enable_sane_ds po
17280 wine_fn_config_dll scarddlg enable_scarddlg
17281 wine_fn_config_dll sccbase enable_sccbase
17282 wine_fn_config_dll schannel enable_schannel
17283 wine_fn_config_test dlls
/schannel
/tests schannel_test
17284 wine_fn_config_dll schedsvc enable_schedsvc clean
17285 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17286 wine_fn_config_dll scrrun enable_scrrun clean
17287 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17288 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17289 wine_fn_config_dll secur32 enable_secur32 implib
17290 wine_fn_config_test dlls
/secur32
/tests secur32_test
17291 wine_fn_config_dll security enable_security
17292 wine_fn_config_dll sensapi enable_sensapi implib
17293 wine_fn_config_dll serialui enable_serialui implib
,po
17294 wine_fn_config_test dlls
/serialui
/tests serialui_test
17295 wine_fn_config_dll setupapi enable_setupapi implib
,po
17296 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17297 wine_fn_config_dll setupx.dll16 enable_win16
17298 wine_fn_config_dll sfc enable_sfc implib
17299 wine_fn_config_dll sfc_os enable_sfc_os implib
17300 wine_fn_config_dll shdoclc enable_shdoclc po
17301 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17302 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17303 wine_fn_config_dll shell.dll16 enable_win16
17304 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17305 wine_fn_config_test dlls
/shell32
/tests shell32_test
17306 wine_fn_config_dll shfolder enable_shfolder implib
17307 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17308 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17309 wine_fn_config_dll slbcsp enable_slbcsp
17310 wine_fn_config_dll slc enable_slc implib
17311 wine_fn_config_dll snmpapi enable_snmpapi implib
17312 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17313 wine_fn_config_dll softpub enable_softpub
17314 wine_fn_config_dll sound.drv16 enable_win16
17315 wine_fn_config_dll spoolss enable_spoolss implib
17316 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17317 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17318 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17319 wine_fn_config_dll sti enable_sti clean
,implib
17320 wine_fn_config_test dlls
/sti
/tests sti_test
17321 wine_fn_config_dll storage.dll16 enable_win16
17322 wine_fn_config_dll stress.dll16 enable_win16
17323 wine_fn_config_lib strmbase
17324 wine_fn_config_lib strmiids
17325 wine_fn_config_dll svrapi enable_svrapi
17326 wine_fn_config_dll sxs enable_sxs implib
17327 wine_fn_config_test dlls
/sxs
/tests sxs_test
17328 wine_fn_config_dll system.drv16 enable_win16
17329 wine_fn_config_dll t2embed enable_t2embed
17330 wine_fn_config_dll tapi32 enable_tapi32 implib
17331 wine_fn_config_dll taskschd enable_taskschd clean
17332 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17333 wine_fn_config_dll toolhelp.dll16 enable_win16
17334 wine_fn_config_dll traffic enable_traffic
17335 wine_fn_config_dll twain.dll16 enable_win16
17336 wine_fn_config_dll twain_32 enable_twain_32
17337 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17338 wine_fn_config_dll typelib.dll16 enable_win16
17339 wine_fn_config_dll unicows enable_unicows implib
17340 wine_fn_config_dll updspapi enable_updspapi
17341 wine_fn_config_dll url enable_url implib
17342 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17343 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17344 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17345 wine_fn_config_dll user.exe16 enable_win16
17346 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17347 wine_fn_config_test dlls
/user32
/tests user32_test
17348 wine_fn_config_dll userenv enable_userenv implib
17349 wine_fn_config_test dlls
/userenv
/tests userenv_test
17350 wine_fn_config_dll usp10 enable_usp10 implib
17351 wine_fn_config_test dlls
/usp10
/tests usp10_test
17352 wine_fn_config_lib uuid
17353 wine_fn_config_dll uxtheme enable_uxtheme implib
17354 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17355 wine_fn_config_dll vbscript enable_vbscript clean
17356 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17357 wine_fn_config_dll vcomp enable_vcomp
17358 wine_fn_config_dll vcomp100 enable_vcomp100
17359 wine_fn_config_dll vcomp90 enable_vcomp90
17360 wine_fn_config_dll vdhcp.vxd enable_win16
17361 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17362 wine_fn_config_dll ver.dll16 enable_win16
17363 wine_fn_config_dll version enable_version implib
17364 wine_fn_config_test dlls
/version
/tests version_test
17365 wine_fn_config_dll vmm.vxd enable_win16
17366 wine_fn_config_dll vnbt.vxd enable_win16
17367 wine_fn_config_dll vnetbios.vxd enable_win16
17368 wine_fn_config_dll vssapi enable_vssapi
17369 wine_fn_config_dll vtdapi.vxd enable_win16
17370 wine_fn_config_dll vwin32.vxd enable_win16
17371 wine_fn_config_dll w32skrnl enable_win16
17372 wine_fn_config_dll w32sys.dll16 enable_win16
17373 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17374 wine_fn_config_dll wbemprox enable_wbemprox clean
17375 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17376 wine_fn_config_dll webservices enable_webservices implib
17377 wine_fn_config_dll wer enable_wer implib
17378 wine_fn_config_test dlls
/wer
/tests wer_test
17379 wine_fn_config_dll wevtapi enable_wevtapi
17380 wine_fn_config_dll wiaservc enable_wiaservc clean
17381 wine_fn_config_dll win32s16.dll16 enable_win16
17382 wine_fn_config_dll win87em.dll16 enable_win16
17383 wine_fn_config_dll winaspi.dll16 enable_win16
17384 wine_fn_config_dll windebug.dll16 enable_win16
17385 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17386 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17387 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17388 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17389 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17390 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17391 wine_fn_config_lib winecrt0
17392 wine_fn_config_dll wined3d enable_wined3d implib
17393 wine_fn_config_dll winegstreamer enable_winegstreamer
17394 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17395 wine_fn_config_dll winemac.drv enable_winemac_drv
17396 wine_fn_config_dll winemapi enable_winemapi
17397 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17398 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17399 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17400 wine_fn_config_dll wineps16.drv16 enable_win16
17401 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17402 wine_fn_config_dll winex11.drv enable_winex11_drv
17403 wine_fn_config_dll wing.dll16 enable_win16
17404 wine_fn_config_dll wing32 enable_wing32
17405 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17406 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17407 wine_fn_config_dll wininet enable_wininet implib
,po
17408 wine_fn_config_test dlls
/wininet
/tests wininet_test
17409 wine_fn_config_dll winmm enable_winmm implib
,po
17410 wine_fn_config_test dlls
/winmm
/tests winmm_test
17411 wine_fn_config_dll winnls.dll16 enable_win16
17412 wine_fn_config_dll winnls32 enable_winnls32 implib
17413 wine_fn_config_dll winscard enable_winscard implib
17414 wine_fn_config_dll winsock.dll16 enable_win16
17415 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17416 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17417 wine_fn_config_dll winsta enable_winsta
17418 wine_fn_config_dll wintab.dll16 enable_win16
17419 wine_fn_config_dll wintab32 enable_wintab32 implib
17420 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17421 wine_fn_config_dll wintrust enable_wintrust implib
17422 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17423 wine_fn_config_dll wlanapi enable_wlanapi
17424 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17425 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17426 wine_fn_config_dll wmi enable_wmi
17427 wine_fn_config_dll wmiutils enable_wmiutils clean
17428 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17429 wine_fn_config_dll wmp enable_wmp clean
17430 wine_fn_config_test dlls
/wmp
/tests wmp_test
17431 wine_fn_config_dll wmvcore enable_wmvcore
17432 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17433 wine_fn_config_dll wow32 enable_win16 implib
17434 wine_fn_config_dll wpcap enable_wpcap
17435 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17436 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17437 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17438 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17439 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17440 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17441 wine_fn_config_dll wsock32 enable_wsock32 implib
17442 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17443 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17444 wine_fn_config_dll wuapi enable_wuapi clean
17445 wine_fn_config_dll wuaueng enable_wuaueng
17446 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17447 wine_fn_config_dll xinput1_1 enable_xinput1_1
17448 wine_fn_config_dll xinput1_2 enable_xinput1_2
17449 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17450 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17451 wine_fn_config_dll xinput1_4 enable_xinput1_4
17452 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17453 wine_fn_config_dll xmllite enable_xmllite implib
17454 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17455 wine_fn_config_dll xolehlp enable_xolehlp
17456 wine_fn_config_dll xpsprint enable_xpsprint
17457 wine_fn_config_dll xpssvcs enable_xpssvcs
17458 wine_fn_config_makefile documentation enable_documentation clean
17459 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17460 wine_fn_config_makefile include enable_include clean
,install-dev
17461 wine_fn_config_makefile libs
/port enable_libs_port
17462 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17463 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17464 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17465 wine_fn_config_program arp enable_arp
install
17466 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17467 wine_fn_config_program attrib enable_attrib
install,po
17468 wine_fn_config_program cabarc enable_cabarc
install
17469 wine_fn_config_program cacls enable_cacls
install
17470 wine_fn_config_program
clock enable_clock
install,po
17471 wine_fn_config_program cmd enable_cmd
install,po
17472 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17473 wine_fn_config_program conhost enable_conhost
install
17474 wine_fn_config_program control enable_control
install
17475 wine_fn_config_program cscript enable_cscript clean
,install
17476 wine_fn_config_program dpnsvr enable_dpnsvr
install
17477 wine_fn_config_program dxdiag enable_dxdiag
install,po
17478 wine_fn_config_program eject enable_eject
install
17479 wine_fn_config_program
expand enable_expand
install
17480 wine_fn_config_program explorer enable_explorer
install,po
17481 wine_fn_config_program extrac32 enable_extrac32
install
17482 wine_fn_config_program findstr enable_findstr
install
17483 wine_fn_config_program hh enable_hh
install
17484 wine_fn_config_program hostname enable_hostname
install,po
17485 wine_fn_config_program icinfo enable_icinfo
install
17486 wine_fn_config_program iexplore enable_iexplore
install
17487 wine_fn_config_program ipconfig enable_ipconfig
install,po
17488 wine_fn_config_program lodctr enable_lodctr
install
17489 wine_fn_config_program mofcomp enable_mofcomp
install
17490 wine_fn_config_program mshta enable_mshta
install
17491 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17492 wine_fn_config_program net enable_net
install,po
17493 wine_fn_config_program netsh enable_netsh
install
17494 wine_fn_config_program netstat enable_netstat
install,po
17495 wine_fn_config_program ngen enable_ngen
install
17496 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17497 wine_fn_config_program oleview enable_oleview
install,po
17498 wine_fn_config_program
ping enable_ping
install
17499 wine_fn_config_program plugplay enable_plugplay
install
17500 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17501 wine_fn_config_program progman enable_progman
install,po
17502 wine_fn_config_program reg enable_reg
install,po
17503 wine_fn_config_test programs
/reg
/tests reg.exe_test
17504 wine_fn_config_program regasm enable_regasm
install
17505 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17506 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17507 wine_fn_config_program regsvcs enable_regsvcs
install
17508 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17509 wine_fn_config_program rpcss enable_rpcss clean
,install
17510 wine_fn_config_program rundll.exe16 enable_win16
install
17511 wine_fn_config_program rundll32 enable_rundll32
install
17512 wine_fn_config_program sc enable_sc
install
17513 wine_fn_config_program schtasks enable_schtasks
install
17514 wine_fn_config_program sdbinst enable_sdbinst
install
17515 wine_fn_config_program secedit enable_secedit
install
17516 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17517 wine_fn_config_program services enable_services clean
,install
17518 wine_fn_config_test programs
/services
/tests services.exe_test
17519 wine_fn_config_program spoolsv enable_spoolsv
install
17520 wine_fn_config_program start enable_start
install,po
17521 wine_fn_config_program svchost enable_svchost
install
17522 wine_fn_config_program systeminfo enable_systeminfo
install
17523 wine_fn_config_program taskkill enable_taskkill
install,po
17524 wine_fn_config_program tasklist enable_tasklist
install
17525 wine_fn_config_program taskmgr enable_taskmgr
install,po
17526 wine_fn_config_program termsv enable_termsv
install
17527 wine_fn_config_program uninstaller enable_uninstaller
install,po
17528 wine_fn_config_program unlodctr enable_unlodctr
install
17529 wine_fn_config_program view enable_view
install,po
17530 wine_fn_config_program wevtutil enable_wevtutil
install
17531 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17532 wine_fn_config_program winebrowser enable_winebrowser
install
17533 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17534 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17535 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17536 wine_fn_config_program winedevice enable_winedevice
install
17537 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17538 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17539 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17540 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17541 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17542 wine_fn_config_program winetest enable_winetest clean
17543 wine_fn_config_program winevdm enable_win16
install
17544 wine_fn_config_program winhelp.exe16 enable_win16
install
17545 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17546 wine_fn_config_program winoldap.mod16 enable_win16
install
17547 wine_fn_config_program winver enable_winver
install
17548 wine_fn_config_program wmic enable_wmic
install,po
17549 wine_fn_config_program wordpad enable_wordpad
install,po
17550 wine_fn_config_program
write enable_write
install,po
17551 wine_fn_config_program wscript enable_wscript clean
,install
17552 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17553 wine_fn_config_program wusa enable_wusa
install
17554 wine_fn_config_program xcopy enable_xcopy
install,po
17555 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17556 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17557 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17558 wine_fn_config_tool tools
/sfnt2fon clean
17559 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17560 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17561 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17562 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17563 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17564 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17616 wine_fn_ignore_file
".gitignore"
17617 wine_fn_ignore_file
"Makefile"
17618 wine_fn_ignore_file
"TAGS"
17619 wine_fn_ignore_file
"tags"
17620 wine_fn_ignore_file
"autom4te.cache"
17621 wine_fn_ignore_file
"config.cache"
17622 wine_fn_ignore_file
"config.log"
17623 wine_fn_ignore_file
"config.status"
17624 wine_fn_ignore_file
"configure.lineno"
17625 wine_fn_ignore_file
"include/config.h"
17626 wine_fn_ignore_file
"include/stamp-h"
17627 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17629 if test "x$enable_tools" != xno
17631 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17632 ac_config_commands
="$ac_config_commands tools/makedep"
17636 ac_config_commands
="$ac_config_commands Makefile"
17639 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17643 if test "x$enable_maintainer_mode" = xyes
17645 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17646 autoconf --warnings=all
17647 include/config.h.in: include/stamp-h.in
17648 include/stamp-h.in: configure.ac aclocal.m4
17649 autoheader --warnings=all
17650 @echo timestamp > \$@"
17653 if test "x$with_gettextpo" = xyes
17655 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17656 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17657 \$(LINGUAS:%=po/%.po): po/wine.pot
17658 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17659 po/wine.pot: \$(ALL_POT_FILES)
17660 msgcat -o \$@ \$(ALL_POT_FILES)"
17663 if test "$MSGFMT" != false
17665 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17667 \$(RM) \$(LINGUAS:%=po/%.mo)"
17670 test "$srcdir" = . || posrc
="$srcdir/po"
17673 wine_fn_ignore_file
"po/$i.mo"
17674 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17675 \$(MSGFMT) -o \$@ $posrc/$i.po"
17681 if test "x$enable_tools" != xno
17683 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17684 @./config.status tools/makedep
17685 Makefile: tools/makedep$ac_exeext
17687 \$(RM) tools/makedep$ac_exeext"
17689 wine_fn_append_rule
"\$(MAKEDEP):
17690 @echo \"You need to run make in $TOOLSDIR first\" && false"
17693 if test -n "$with_wine64"
17695 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17696 fonts server tools:
17697 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17698 $with_wine64/loader/wine:
17699 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17700 $with_wine64/loader/wine-preloader:
17701 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17703 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17705 as_fn_append LOADER_RULES
"
17706 install install-lib:: wine.inf install-man-pages
17707 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17708 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17711 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17715 if test "$srcdir" = .
17717 ac_config_commands
="$ac_config_commands .gitignore"
17721 $as_echo " done" >&6
17722 cat >confcache
<<\_ACEOF
17723 # This file is a shell script that caches the results of configure
17724 # tests run on this system so they can be shared between configure
17725 # scripts and configure runs, see configure's option --config-cache.
17726 # It is not useful on other systems. If it contains results you don't
17727 # want to keep, you may remove or edit it.
17729 # config.status only pays attention to the cache file if you give it
17730 # the --recheck option to rerun configure.
17732 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17733 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17734 # following values.
17738 # The following way of writing the cache mishandles newlines in values,
17739 # but we know of no workaround that is simple, portable, and efficient.
17740 # So, we kill variables containing newlines.
17741 # Ultrix sh set writes to stderr and can't be redirected directly,
17742 # and sets the high bit in the cache file unless we assign to the vars.
17744 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17745 eval ac_val
=\$
$ac_var
17749 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17750 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17753 _ | IFS | as_nl
) ;; #(
17754 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17755 *) { eval $ac_var=; unset $ac_var;} ;;
17761 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17762 *${as_nl}ac_space
=\
*)
17763 # `set' does not quote correctly, so add quotes: double-quote
17764 # substitution turns \\\\ into \\, and sed turns \\ into \.
17767 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17770 # `set' quotes correctly as required by POSIX, so do not add quotes.
17771 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17780 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17782 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17784 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17785 if test -w "$cache_file"; then
17786 if test "x$cache_file" != "x/dev/null"; then
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17788 $as_echo "$as_me: updating cache $cache_file" >&6;}
17789 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17790 cat confcache
>"$cache_file"
17792 case $cache_file in #(
17794 mv -f confcache
"$cache_file"$$
&&
17795 mv -f "$cache_file"$$
"$cache_file" ;; #(
17797 mv -f confcache
"$cache_file" ;;
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17803 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17808 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17809 # Let make expand exec_prefix.
17810 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17812 DEFS
=-DHAVE_CONFIG_H
17817 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17818 # 1. Remove the extension, and $U if already installed.
17819 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17820 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17821 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17822 # will be set to the directory where LIBOBJS objects are built.
17823 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17824 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17826 LIBOBJS
=$ac_libobjs
17828 LTLIBOBJS
=$ac_ltlibobjs
17832 : "${CONFIG_STATUS=./config.status}"
17834 ac_clean_files_save
=$ac_clean_files
17835 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17837 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17839 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17841 # Generated by $as_me.
17842 # Run this file to recreate the current configuration.
17843 # Compiler output produced by configure, useful for debugging
17844 # configure, is in config.log if it exists.
17847 ac_cs_recheck=false
17850 SHELL=\${CONFIG_SHELL-$SHELL}
17853 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17854 ## -------------------- ##
17855 ## M4sh Initialization. ##
17856 ## -------------------- ##
17858 # Be more Bourne compatible
17859 DUALCASE
=1; export DUALCASE
# for MKS sh
17860 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17863 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17864 # is contrary to our usage. Disable this feature.
17865 alias -g '${1+"$@"}'='"$@"'
17866 setopt NO_GLOB_SUBST
17868 case `(set -o) 2>/dev/null` in #(
17880 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17881 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17882 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17883 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17884 # Prefer a ksh shell builtin over an external printf program on Solaris,
17885 # but without wasting forks for bash or zsh.
17886 if test -z "$BASH_VERSION$ZSH_VERSION" \
17887 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17888 as_echo='print
-r --'
17889 as_echo_n='print
-rn --'
17890 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17891 as_echo='printf %s
\n'
17892 as_echo_n='printf %s
'
17894 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17895 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17896 as_echo_n='/usr
/ucb
/echo -n'
17898 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17899 as_echo_n_body='eval
17903 expr "X$arg" : "X\\(.*\\)$as_nl";
17904 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17906 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17908 export as_echo_n_body
17909 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17911 export as_echo_body
17912 as_echo='sh
-c $as_echo_body as_echo
'
17915 # The user is always right.
17916 if test "${PATH_SEPARATOR+set}" != set; then
17918 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17919 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17926 # We need space, tab and new line, in precisely that order. Quoting is
17927 # there to prevent editors from complaining about space-tab.
17928 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17929 # splitting by setting IFS to empty value.)
17932 # Find who we are. Look in the path if we contain no directory separator.
17935 *[\\/]* ) as_myself=$0 ;;
17936 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17937 for as_dir in $PATH
17940 test -z "$as_dir" && as_dir=.
17941 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17947 # We did not find ourselves, most probably we were run as `sh COMMAND'
17948 # in which case we are not to be found in the path.
17949 if test "x$as_myself" = x
; then
17952 if test ! -f "$as_myself"; then
17953 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17957 # Unset variables that we do not need and which cause bugs (e.g. in
17958 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17959 # suppresses any "Segmentation fault" message there. '((' could
17960 # trigger a bug in pdksh 5.2.14.
17961 for as_var
in BASH_ENV ENV MAIL MAILPATH
17962 do eval test x\
${$as_var+set} = xset \
17963 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17976 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17979 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17980 # ----------------------------------------
17981 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17982 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17983 # script with STATUS, using 1 if that was 0.
17986 as_status
=$1; test $as_status -eq 0 && as_status
=1
17988 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17989 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17991 $as_echo "$as_me: error: $2" >&2
17992 as_fn_exit
$as_status
17996 # as_fn_set_status STATUS
17997 # -----------------------
17998 # Set $? to STATUS, without forking.
17999 as_fn_set_status
()
18002 } # as_fn_set_status
18004 # as_fn_exit STATUS
18005 # -----------------
18006 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18010 as_fn_set_status
$1
18016 # Portably unset VAR.
18019 { eval $1=; unset $1;}
18021 as_unset
=as_fn_unset
18022 # as_fn_append VAR VALUE
18023 # ----------------------
18024 # Append the text in VALUE to the end of the definition contained in VAR. Take
18025 # advantage of any shell optimizations that allow amortized linear growth over
18026 # repeated appends, instead of the typical quadratic growth present in naive
18028 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18029 eval 'as_fn_append ()
18040 # as_fn_arith ARG...
18041 # ------------------
18042 # Perform arithmetic evaluation on the ARGs, and store the result in the
18043 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18044 # must be portable across $(()) and expr.
18045 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18046 eval 'as_fn_arith ()
18053 as_val
=`expr "$@" || test $? -eq 1`
18058 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18059 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18065 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18066 as_basename
=basename
18071 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18077 as_me
=`$as_basename -- "$0" ||
18078 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18079 X"$0" : 'X\(//\)$' \| \
18080 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18082 sed '/^.*\/\([^/][^/]*\)\/*$/{
18096 # Avoid depending upon Character Ranges.
18097 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18098 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18099 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18100 as_cr_digits
='0123456789'
18101 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18103 ECHO_C
= ECHO_N
= ECHO_T
=
18104 case `echo -n x` in #(((((
18106 case `echo 'xy\c'` in
18107 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18109 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18116 rm -f conf$$ conf$$.exe conf$$.
file
18117 if test -d conf$$.dir
; then
18118 rm -f conf$$.dir
/conf$$.
file
18121 mkdir conf$$.dir
2>/dev
/null
18123 if (echo >conf$$.
file) 2>/dev
/null
; then
18124 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18126 # ... but there are two gotchas:
18127 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18128 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18129 # In both cases, we have to default to `cp -pR'.
18130 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18132 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18140 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18141 rmdir conf$$.dir
2>/dev
/null
18146 # Create "$as_dir" as a directory, including parents if necessary.
18151 -*) as_dir
=.
/$as_dir;;
18153 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18157 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18158 *) as_qdir
=$as_dir;;
18160 as_dirs
="'$as_qdir' $as_dirs"
18161 as_dir
=`$as_dirname -- "$as_dir" ||
18162 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18163 X"$as_dir" : 'X\(//\)[^/]' \| \
18164 X"$as_dir" : 'X\(//\)$' \| \
18165 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18166 $as_echo X"$as_dir" |
18167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18171 /^X\(\/\/\)[^/].*/{
18184 test -d "$as_dir" && break
18186 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18187 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18191 if mkdir
-p .
2>/dev
/null
; then
18192 as_mkdir_p
='mkdir -p "$as_dir"'
18194 test -d .
/-p && rmdir .
/-p
18199 # as_fn_executable_p FILE
18200 # -----------------------
18201 # Test if FILE is an executable regular file.
18202 as_fn_executable_p
()
18204 test -f "$1" && test -x "$1"
18205 } # as_fn_executable_p
18206 as_test_x
='test -x'
18207 as_executable_p
=as_fn_executable_p
18209 # Sed expression to map a string onto a valid CPP name.
18210 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18212 # Sed expression to map a string onto a valid variable name.
18213 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18217 ## ----------------------------------- ##
18218 ## Main body of $CONFIG_STATUS script. ##
18219 ## ----------------------------------- ##
18221 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18224 # Save the log message, to keep $0 and so on meaningful, and to
18225 # report actual input values of CONFIG_FILES etc. instead of their
18226 # values after options handling.
18228 This file was extended by Wine $as_me 1.7.32, which was
18229 generated by GNU Autoconf 2.69. Invocation command line was
18231 CONFIG_FILES = $CONFIG_FILES
18232 CONFIG_HEADERS = $CONFIG_HEADERS
18233 CONFIG_LINKS = $CONFIG_LINKS
18234 CONFIG_COMMANDS = $CONFIG_COMMANDS
18237 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18242 case $ac_config_files in *"
18243 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18246 case $ac_config_headers in *"
18247 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18252 # Files that config.status was made for.
18253 config_files="$ac_config_files"
18254 config_headers="$ac_config_headers"
18255 config_links="$ac_config_links"
18256 config_commands="$ac_config_commands"
18260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18262 \`$as_me' instantiates files and other configuration actions
18263 from templates according to the current configuration. Unless the files
18264 and actions are specified as TAGs, all are instantiated by default.
18266 Usage: $0 [OPTION]... [TAG]...
18268 -h, --help print this help, then exit
18269 -V, --version print version number and configuration settings, then exit
18270 --config print configuration, then exit
18271 -q, --quiet, --silent
18272 do not print progress messages
18273 -d, --debug don't remove temporary files
18274 --recheck update $as_me by reconfiguring in the same conditions
18275 --file=FILE[:TEMPLATE]
18276 instantiate the configuration file FILE
18277 --header=FILE[:TEMPLATE]
18278 instantiate the configuration header FILE
18280 Configuration files:
18283 Configuration headers:
18286 Configuration links:
18289 Configuration commands:
18292 Report bugs to <wine-devel@winehq.org>.
18293 Wine home page: <http://www.winehq.org>."
18296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18297 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18299 Wine config.status 1.7.32
18300 configured by $0, generated by GNU Autoconf 2.69,
18301 with options \\"\$ac_cs_config\\"
18303 Copyright (C) 2012 Free Software Foundation, Inc.
18304 This config.status script is free software; the Free Software Foundation
18305 gives unlimited permission to copy, distribute and modify it."
18309 test -n "\$AWK" || AWK=awk
18312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18313 # The default lists apply if the user does not specify any file.
18319 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18320 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18324 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18336 # Handling of the options.
18337 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18339 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18340 $as_echo "$ac_cs_version"; exit ;;
18341 --config |
--confi |
--conf |
--con |
--co |
--c )
18342 $as_echo "$ac_cs_config"; exit ;;
18343 --debug |
--debu |
--deb |
--de |
--d |
-d )
18345 --file |
--fil |
--fi |
--f )
18348 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18349 '') as_fn_error $?
"missing file argument" ;;
18351 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18352 ac_need_defaults
=false
;;
18353 --header |
--heade |
--head |
--hea )
18356 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18358 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18359 ac_need_defaults
=false
;;
18361 # Conflict between --help and --header
18362 as_fn_error $?
"ambiguous option: \`$1'
18363 Try \`$0 --help' for more information.";;
18364 --help |
--hel |
-h )
18365 $as_echo "$ac_cs_usage"; exit ;;
18366 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18367 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18370 # This is an error.
18371 -*) as_fn_error $?
"unrecognized option: \`$1'
18372 Try \`$0 --help' for more information." ;;
18374 *) as_fn_append ac_config_targets
" $1"
18375 ac_need_defaults
=false
;;
18381 ac_configure_extra_args
=
18383 if $ac_cs_silent; then
18385 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18390 if \$ac_cs_recheck; then
18391 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18393 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18394 CONFIG_SHELL='$SHELL'
18395 export CONFIG_SHELL
18400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18404 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18405 ## Running $as_me. ##
18411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18415 wine_fn_output_makedep ()
18417 as_dir=tools; as_fn_mkdir_p
18418 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18420 wine_fn_output_makefile ()
18422 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18423 `cat $wine_rules_file`
18425 as_fn_error $? "could not create Makefile" "$LINENO" 5
18427 wine_fn_output_gitignore ()
18429 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18432 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18439 # Handling of arguments.
18440 for ac_config_target
in $ac_config_targets
18442 case $ac_config_target in
18443 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18444 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18445 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18446 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18447 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18448 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18449 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18450 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18451 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18452 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18453 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18454 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18455 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18456 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18458 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18463 # If the user did not use the arguments to specify the items to instantiate,
18464 # then the envvar interface is used. Set only those that are not.
18465 # We use the long form for the default assignment because of an extremely
18466 # bizarre bug on SunOS 4.1.3.
18467 if $ac_need_defaults; then
18468 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18469 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18470 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18471 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18474 # Have a temporary directory for convenience. Make it in the build tree
18475 # simply because there is no reason against having it here, and in addition,
18476 # creating and moving files from /tmp can sometimes cause problems.
18477 # Hook for its removal unless debugging.
18478 # Note that there is a small window in which the directory will not be cleaned:
18479 # after its creation but before its name has been assigned to `$tmp'.
18483 trap 'exit_status=$?
18484 : "${ac_tmp:=$tmp}"
18485 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18487 trap 'as_fn_exit 1' 1 2 13 15
18489 # Create a (secure) tmp directory for tmp files.
18492 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18496 tmp
=.
/conf$$
-$RANDOM
18497 (umask 077 && mkdir
"$tmp")
18498 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18501 # Set up the scripts for CONFIG_FILES section.
18502 # No need to generate them if there are no CONFIG_FILES.
18503 # This happens for instance with `./config.status config.h'.
18504 if test -n "$CONFIG_FILES"; then
18507 ac_cr
=`echo X | tr X '\015'`
18508 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18509 # But we know of no other shell where ac_cr would be empty at this
18510 # point, so we can use a bashism as a fallback.
18511 if test "x$ac_cr" = x
; then
18512 eval ac_cr
=\$
\'\\r
\'
18514 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18515 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18518 ac_cs_awk_cr
=$ac_cr
18521 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18526 echo "cat >conf$$subs.awk <<_ACEOF" &&
18527 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18529 } >conf$$subs.sh ||
18530 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18531 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18533 for ac_last_try in false false false false false :; do
18534 . ./conf$$subs.sh ||
18535 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18537 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18538 if test $ac_delim_n = $ac_delim_num; then
18540 elif $ac_last_try; then
18541 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18543 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18546 rm -f conf$$subs.sh
18548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18549 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18553 s/^/S["/; s
/!.
*/"]=/
18563 s/\(.\{148\}\)..*/\1/
18565 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18570 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18577 s/\(.\{148\}\)..*/\1/
18579 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18583 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18588 ' <conf$$subs.awk | sed '
18593 ' >>$CONFIG_STATUS || ac_write_fail=1
18594 rm -f conf$$subs.awk
18595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18597 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18598 for (key in S) S_is_set[key] = 1
18604 nfields = split(line, field, "@
")
18606 len = length(field[1])
18607 for (i = 2; i < nfields; i++) {
18609 keylen = length(key)
18610 if (S_is_set[key]) {
18612 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18613 len += length(value) + length(field[++i])
18624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18625 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18626 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18629 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18630 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18633 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18634 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18635 # trailing colons and then remove the whole line if VPATH becomes empty
18636 # (actually we leave an empty line to preserve line numbers).
18637 if test "x
$srcdir" = x.; then
18638 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18657 fi # test -n "$CONFIG_FILES"
18659 # Set up the scripts for CONFIG_HEADERS section.
18660 # No need to generate them if there are no CONFIG_HEADERS.
18661 # This happens for instance with `./config.status Makefile'.
18662 if test -n "$CONFIG_HEADERS"; then
18663 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18667 # Transform confdefs.h into an awk script `defines.awk', embedded as
18668 # here-document in config.status, that substitutes the proper values into
18669 # config.h.in to produce config.h.
18671 # Create a delimiter string that does not exist in confdefs.h, to ease
18672 # handling of long lines.
18674 for ac_last_try in false false :; do
18675 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18676 if test -z "$ac_tt"; then
18678 elif $ac_last_try; then
18679 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18681 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18685 # For the awk script, D is an array of macro values keyed by name,
18686 # likewise P contains macro parameters if any. Preserve backslash
18687 # newline sequences.
18689 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18691 s/.\{148\}/&'"$ac_delim"'/g
18694 s/^[ ]*#[ ]*define[ ][ ]*/ /
18701 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18703 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18707 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18708 D["\
1"]=" \
3\\\\\\n
"\\/p
18710 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18715 s/.\{148\}/&'"$ac_delim"'/g
18720 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18723 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18725 ' <confdefs.h | sed '
18726 s/'"$ac_delim"'/"\\\
18727 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18730 for (key in D) D_is_set[key] = 1
18733 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18735 split(line, arg, " ")
18736 if (arg[1] == "#") {
18740 defundef
= substr
(arg
[1], 2)
18743 split(mac1
, mac2
, "(") #)
18745 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18746 if (D_is_set
[macro
]) {
18747 # Preserve the white space surrounding the "#".
18748 print prefix
"define", macro P
[macro
] D
[macro
]
18751 # Replace #undef with comments. This is necessary, for example,
18752 # in the case of _POSIX_SOURCE, which is predefined and required
18753 # on some systems where configure will not decide to define it.
18754 if (defundef
== "undef") {
18755 print
"/*", prefix defundef
, macro
, "*/"
18763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18764 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18765 fi # test -n "$CONFIG_HEADERS"
18768 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18773 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18775 case $ac_mode$ac_tag in
18777 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18778 :[FH
]-) ac_tag
=-:-;;
18779 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18796 -) ac_f
="$ac_tmp/stdin";;
18797 *) # Look for the file first in the build tree, then in the source tree
18798 # (if the path is not absolute). The absolute path cannot be DOS-style,
18799 # because $ac_f cannot contain `:'.
18803 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18805 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18807 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18808 as_fn_append ac_file_inputs
" '$ac_f'"
18811 # Let's still pretend it is `configure' which instantiates (i.e., don't
18812 # use $as_me), people would be surprised to read:
18813 # /* config.h. Generated by config.status. */
18814 configure_input
='Generated from '`
18815 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18817 if test x
"$ac_file" != x-
; then
18818 configure_input
="$ac_file. $configure_input"
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18820 $as_echo "$as_me: creating $ac_file" >&6;}
18822 # Neutralize special characters interpreted by sed in replacement strings.
18823 case $configure_input in #(
18824 *\
&* |
*\|
* |
*\\* )
18825 ac_sed_conf_input
=`$as_echo "$configure_input" |
18826 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18827 *) ac_sed_conf_input
=$configure_input;;
18831 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18832 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18837 ac_dir
=`$as_dirname -- "$ac_file" ||
18838 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18839 X"$ac_file" : 'X\(//\)[^/]' \| \
18840 X"$ac_file" : 'X\(//\)$' \| \
18841 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18842 $as_echo X"$ac_file" |
18843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18847 /^X\(\/\/\)[^/].*/{
18860 as_dir
="$ac_dir"; as_fn_mkdir_p
18864 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18866 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18867 # A ".." for each directory in $ac_dir_suffix.
18868 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18869 case $ac_top_builddir_sub in
18870 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18871 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18874 ac_abs_top_builddir
=$ac_pwd
18875 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18876 # for backward compatibility:
18877 ac_top_builddir
=$ac_top_build_prefix
18880 .
) # We are building in place.
18882 ac_top_srcdir
=$ac_top_builddir_sub
18883 ac_abs_top_srcdir
=$ac_pwd ;;
18884 [\\/]* | ?
:[\\/]* ) # Absolute name.
18885 ac_srcdir
=$srcdir$ac_dir_suffix;
18886 ac_top_srcdir
=$srcdir
18887 ac_abs_top_srcdir
=$srcdir ;;
18888 *) # Relative name.
18889 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18890 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18891 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18893 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18905 # If the template does not know about datarootdir, expand it.
18906 # FIXME: This hack should be removed a few years after 2.60.
18907 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18918 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18919 *datarootdir
*) ac_datarootdir_seen
=yes;;
18920 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18922 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18925 ac_datarootdir_hack='
18926 s&@datadir@&$datadir&g
18927 s&@docdir@&$docdir&g
18928 s&@infodir@&$infodir&g
18929 s&@localedir@&$localedir&g
18930 s&@mandir@&$mandir&g
18931 s&\\\${datarootdir}&$datarootdir&g' ;;
18935 # Neutralize VPATH when `$srcdir' = `.'.
18936 # Shell code in configure.ac might set extrasub.
18937 # FIXME: do we really want to maintain this feature?
18938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18939 ac_sed_extra="$ac_vpsub
18942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18944 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18945 s|@configure_input@|
$ac_sed_conf_input|
;t t
18946 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18947 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18948 s
&@srcdir@
&$ac_srcdir&;t t
18949 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18950 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18951 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18952 s
&@builddir@
&$ac_builddir&;t t
18953 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18954 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18955 $ac_datarootdir_hack
18957 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18958 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18960 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18961 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18962 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18963 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18965 which seems to be undefined. Please make sure it is defined" >&5
18966 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18967 which seems to be undefined. Please make sure it is defined" >&2;}
18969 rm -f "$ac_tmp/stdin"
18971 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18972 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18974 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18980 if test x"$ac_file" != x-; then
18982 $as_echo "/* $configure_input */" \
18983 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18984 } >"$ac_tmp/config.h" \
18985 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18986 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18987 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18988 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18991 mv "$ac_tmp/config.h" "$ac_file" \
18992 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18995 $as_echo "/* $configure_input */" \
18996 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18997 || as_fn_error $? "could not create -" "$LINENO" 5
19005 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19008 # Prefer the file from the source tree if names are identical.
19009 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19010 ac_source=$srcdir/$ac_source
19013 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19014 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19016 if test ! -r "$ac_source"; then
19017 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19021 # Try a relative symlink, then a hard link, then a copy.
19023 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19024 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19026 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19027 ln "$ac_source" "$ac_file" 2>/dev/null ||
19028 cp -p "$ac_source" "$ac_file" ||
19029 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19032 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19033 $as_echo "$as_me: executing $ac_file commands" >&6;}
19038 case $ac_file$ac_mode in
19039 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19040 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19041 "Makefile":C) wine_fn_output_makefile Makefile ;;
19042 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19050 ac_clean_files=$ac_clean_files_save
19052 test $ac_write_fail = 0 ||
19053 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19056 # configure is writing to config.log, and then calls config.status.
19057 # config.status does its own redirection, appending to config.log.
19058 # Unfortunately, on DOS this fails, as config.log is still kept open
19059 # by configure, so config.status won't be able to
write to it
; its
19060 # output is simply discarded. So we exec the FD to /dev/null,
19061 # effectively closing config.log, so it can be properly (re)opened and
19062 # appended to by config.status. When coming back to configure, we
19063 # need to make the FD available again.
19064 if test "$no_create" != yes; then
19066 ac_config_status_args
=
19067 test "$silent" = yes &&
19068 ac_config_status_args
="$ac_config_status_args --quiet"
19070 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19072 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19073 # would make configure fail if this is the last instruction.
19074 $ac_cs_success || as_fn_exit
1
19076 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19078 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19082 if test "$no_create" = "yes"
19088 if test "x$wine_notices != "x
; then
19091 for msg
in $wine_notices; do
19093 if ${msg:+false} :; then :
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19097 $as_echo "$as_me: $msg" >&6;}
19102 for msg
in $wine_warnings; do
19104 if ${msg:+false} :; then :
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19109 $as_echo "$as_me: WARNING: $msg" >&2;}
19115 $as_me: Finished. Do '${ac_make}' to compile Wine.